Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
Move marketing site to separate repo
christianmatc65eeeb6b7cb
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex f176d5f0..ed06909a 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -2,14 +2,14 @@# The Mac job runs everything; Windows and Linux typecheck, unit-test, build their helpers and run the e2e specs that work there.name: CI-# Docs, the website and licence text don't run it (site.yml checks the website). A newer push to the same branch+# Docs and licence text don't run it. A newer push to the same branch# stops the run before it: macOS minutes cost ten times Linux ones.on:push:branches: [main]- paths-ignore: ['site/**', 'docs/**', '**/*.md', 'LICENSE', '.github/workflows/site.yml']+ paths-ignore: ['docs/**', '**/*.md', 'LICENSE']pull_request:- paths-ignore: ['site/**', 'docs/**', '**/*.md', 'LICENSE', '.github/workflows/site.yml']+ paths-ignore: ['docs/**', '**/*.md', 'LICENSE']workflow_dispatch:concurrency:diff --git a/.github/workflows/site.yml b/.github/workflows/site.ymldeleted file mode 100644index 5ef10be9..00000000--- a/.github/workflows/site.yml+++ /dev/null@@ -1,34 +0,0 @@-# The website (site/): builds the way Vercel does, only when it changes.-name: Site--on:- push:- branches: [main]- paths: ['site/**', '.github/workflows/site.yml']- pull_request:- paths: ['site/**', '.github/workflows/site.yml']- workflow_dispatch:--concurrency:- group: site-${{ github.ref }}- cancel-in-progress: true--jobs:- site:- runs-on: ubuntu-latest- defaults:- run:- working-directory: site- steps:- - uses: actions/checkout@v4- - uses: pnpm/action-setup@v4- - uses: actions/setup-node@v4- with:- node-version-file: .nvmrc- cache: pnpm- cache-dependency-path: site/pnpm-lock.yaml- - run: pnpm install --ignore-workspace --frozen-lockfile- - run: pnpm test- - run: pnpm build- env:- GITHUB_TOKEN: ${{ github.token }}diff --git a/.gitignore b/.gitignoreindex 3f2cbe8c..76a396eb 100644--- a/.gitignore+++ b/.gitignore@@ -34,11 +34,6 @@ output/*.dmg# marketing site-site/node_modules/-site/.next/-site/next-env.d.ts-site/*.tsbuildinfo-site/.vercel/# local credentials.env@@ -48,5 +43,3 @@ site/.vercel/*.p8# written by next dev-site/AGENTS.md-site/CLAUDE.mddiff --git a/site/.gitignore b/site/.gitignoredeleted file mode 100644index 9b7655a7..00000000--- a/site/.gitignore+++ /dev/null@@ -1,4 +0,0 @@-node_modules/-.next/-next-env.d.ts-*.tsbuildinfodiff --git a/site/app/layout.tsx b/site/app/layout.tsxdeleted file mode 100644index 0b1163df..00000000--- a/site/app/layout.tsx+++ /dev/null@@ -1,7 +0,0 @@-export default function RootLayout({ children }: { children: React.ReactNode }) {- return (- <html lang="en">- <body>{children}</body>- </html>- )-}diff --git a/site/app/llms-full.txt/route.ts b/site/app/llms-full.txt/route.tsdeleted file mode 100644index 02dd942a..00000000--- a/site/app/llms-full.txt/route.ts+++ /dev/null@@ -1,7 +0,0 @@-import { fullGuide } from '../../scripts/llms-full.mjs'--export const dynamic = 'force-static'--export function GET() {- return new Response(fullGuide(), { headers: { 'Content-Type': 'text/plain; charset=utf-8' } })-}diff --git a/site/app/route.ts b/site/app/route.tsdeleted file mode 100644index e80d764a..00000000--- a/site/app/route.ts+++ /dev/null@@ -1,8 +0,0 @@-import { homePage } from '../scripts/site-page.mjs'-import { siteResponse } from './site-response'--export const dynamic = 'force-static'--export function GET() {- return siteResponse(homePage())-}diff --git a/site/app/site-response.ts b/site/app/site-response.tsdeleted file mode 100644index cc56617a..00000000--- a/site/app/site-response.ts+++ /dev/null@@ -1,14 +0,0 @@-import {readFileSync} from 'node:fs'-import {join} from 'node:path'-import {renderActivity,validSnapshot} from '../scripts/activity.mjs'-import baked from '../content/activity.json'-import releases from '../scripts/release-history.mjs'--export function siteResponse(html: string) {- let activity = baked- try {- const cached = JSON.parse(readFileSync(join(process.cwd(), '.next/cache/activity.json'), 'utf8'))- if (validSnapshot(cached)) activity = cached- } catch { /* The checked-in snapshot also serves local dev and a cold build. */ }- return new Response(renderActivity(html, activity, releases), {headers:{'Content-Type':'text/html; charset=utf-8'}})-}diff --git a/site/app/sitemap.ts b/site/app/sitemap.tsdeleted file mode 100644index ada49e75..00000000--- a/site/app/sitemap.ts+++ /dev/null@@ -1,7 +0,0 @@-import type { MetadataRoute } from 'next'-import releases from '../scripts/release-history.mjs'-import { pageUrls } from '../scripts/site-urls.mjs'--export default function sitemap(): MetadataRoute.Sitemap {- return pageUrls.map(url => ({ url, lastModified: releases[0].published }))-}diff --git a/site/app/updates/route.ts b/site/app/updates/route.tsdeleted file mode 100644index ad8dd9b0..00000000--- a/site/app/updates/route.ts+++ /dev/null@@ -1,9 +0,0 @@-import releases from '../../scripts/release-history.mjs'-import { updatesPage } from '../../scripts/updates.mjs'-import { siteResponse } from '../site-response'--export const dynamic = 'force-static'--export function GET() {- return siteResponse(updatesPage(releases))-}diff --git a/site/content/activity.json b/site/content/activity.jsondeleted file mode 100644index c0dc07d7..00000000--- a/site/content/activity.json+++ /dev/null@@ -1 +0,0 @@-{"capturedAt":"2026-11-18T17:19:25.511Z","count":2275,"history":[[1794411984000,2],[1794415608000,7],[1794419996000,46],[1794423594000,131],[1794427180000,217],[1794430773000,273],[1794434360000,313],[1794437967000,340],[1794441344000,372],[1794444963000,400],[1794448785000,425],[1794452365000,451],[1794455841000,483],[1794459471000,503],[1794463001000,519],[1794466703000,548],[1794470279000,578],[1794473844000,614],[1794477386000,647],[1794480976000,672],[1794484664000,704],[1794488247000,729],[1794491908000,759],[1794495081000,778],[1794498945000,790],[1794502786000,807],[1794505864000,823],[1794509754000,841],[1794513492000,856],[1794516930000,872],[1794520785000,897],[1794524360000,917],[1794527820000,929],[1794530496000,943],[1794534956000,958],[1794538734000,978],[1794541995000,986],[1794545892000,995],[1794549591000,1014],[1794553193000,1036],[1794556727000,1056],[1794560325000,1072],[1794563778000,1090],[1794567368000,1099],[1794570569000,1115],[1794574669000,1135],[1794578365000,1157],[1794581795000,1177],[1794585391000,1184],[1794588716000,1197],[1794592434000,1208],[1794596349000,1217],[1794599759000,1227],[1794603088000,1236],[1794606888000,1244],[1794610383000,1253],[1794614047000,1257],[1794617691000,1265],[1794621355000,1280],[1794624606000,1297],[1794628474000,1309],[1794632390000,1317],[1794634139000,1319],[1794638695000,1324],[1794643069000,1332],[1794646623000,1340],[1794649624000,1343],[1794653099000,1349],[1794657453000,1355],[1794660829000,1360],[1794664640000,1369],[1794667947000,1385],[1794671092000,1394],[1794675382000,1403],[1794678960000,1412],[1794682625000,1423],[1794686380000,1441],[1794689914000,1451],[1794693190000,1459],[1794696527000,1473],[1794699953000,1480],[1794704139000,1488],[1794707623000,1495],[1794711417000,1503],[1794714907000,1509],[1794718642000,1514],[1794721419000,1518],[1794725858000,1523],[1794728822000,1527],[1794732919000,1537],[1794736021000,1541],[1794740249000,1549],[1794743835000,1557],[1794747236000,1560],[1794751069000,1569],[1794754754000,1579],[1794757763000,1587],[1794761693000,1597],[1794764960000,1601],[1794768868000,1606],[1794772223000,1612],[1794775136000,1617],[1794779465000,1626],[1794782433000,1634],[1794786969000,1640],[1794790546000,1650],[1794793627000,1656],[1794797904000,1669],[1794800805000,1673],[1794803396000,1675],[1794808694000,1694],[1794811958000,1711],[1794815955000,1718],[1794819108000,1728],[1794823172000,1738],[1794826536000,1747],[1794829840000,1760],[1794833564000,1766],[1794837527000,1776],[1794841102000,1794],[1794844670000,1799],[1794847844000,1810],[1794850565000,1814],[1794855314000,1823],[1794858239000,1829],[1794862798000,1843],[1794865564000,1851],[1794869280000,1855],[1794873398000,1861],[1794876965000,1876],[1794880742000,1881],[1794883498000,1886],[1794887904000,1892],[1794890430000,1898],[1794894887000,1904],[1794898347000,1913],[1794901549000,1918],[1794905894000,1927],[1794908833000,1934],[1794912901000,1941],[1794916715000,1947],[1794918183000,1950],[1794923436000,1958],[1794927546000,1966],[1794931085000,1968],[1794934115000,1970],[1794938370000,1975],[1794941628000,1980],[1794945471000,1984],[1794949129000,1992],[1794951555000,1998],[1794956362000,2004],[1794959447000,2010],[1794963201000,2019],[1794966225000,2028],[1794970524000,2036],[1794974315000,2044],[1794977970000,2058],[1794981215000,2067],[1794985046000,2084],[1794988759000,2105],[1794992366000,2124],[1794995928000,2144],[1794999540000,2168],[1795002977000,2188],[1795006572000,2202],[1795010251000,2222],[1795013763000,2242],[1795017500000,2254],[1795020838000,2272],[1795022356000,2275]],"historyCapturedAt":"2026-11-18T17:19:25.511Z","releases":43,"week":[2,6,4,5,13,5,4],"latest":{"tag":"v0.3.45","published":"2026-11-18T16:05:11.000Z"}}diff --git a/site/content/faq.json b/site/content/faq.jsondeleted file mode 100644index 3f795ad1..00000000--- a/site/content/faq.json+++ /dev/null@@ -1,32 +0,0 @@-[- {- "id": "faq-computer",- "question": "What kind of computer do I\u00a0need?",- "answer": "A Mac with Apple silicon and macOS 14.4 or newer, a 64-bit PC with Windows 10 (version 2004) or newer, or a 64-bit Linux computer with Ubuntu 22.04 or newer. Each needs at least 8 GB of memory. If your computer is too slow, Yogurt tells you during setup. On Windows and Linux, you connect your calendar with a private calendar\u00a0link."- },- {- "id": "faq-meetings",- "question": "Does Yogurt join my\u00a0meetings?",- "answer": "No. Yogurt records your microphone and the sound playing on your computer. No bot joins the call, so let the other people on the call know you’re\u00a0recording."- },- {- "id": "faq-recordings",- "question": "Are recordings saved?",- "answer": "Yes. Your recordings, transcripts, and notes are saved locally on your\u00a0computer."- },- {- "id": "faq-free",- "question": "Is Yogurt free?",- "answer": "Yes. Yogurt is free and open source under the MIT\u00a0license."- },- {- "id": "faq-languages",- "question": "Which languages does Yogurt\u00a0understand?",- "answer": "Yogurt transcribes 99 languages. English is the default and the fastest. For meetings in other languages, pick Multi-language in Settings, or from the language menu in a note, even during a call. In Multi-language mode, everyone can speak their own language, and Yogurt keeps up when someone switches languages mid-meeting. Summaries are written in the meeting’s main language, or one you\u00a0choose."- },- {- "id": "faq-offline",- "question": "Does Yogurt work\u00a0offline?",- "answer": "Yes. After a one-time download of the AI models, transcription and summaries run locally on your\u00a0computer."- }-]diff --git a/site/content/home.html b/site/content/home.htmldeleted file mode 100644index 35f390f2..00000000--- a/site/content/home.html+++ /dev/null@@ -1,1004 +0,0 @@-<main id="main" tabindex="-1"><section aria-labelledby="headline" class="hero"><div class="hero-copy"><span aria-label="Frigade, the team behind Yogurt, is backed by Y Combinator" class="yc-pill" role="img"><span aria-hidden="true" class="yc-mark"><svg fill="none" viewBox="0 0 10 12"><path d="M2 2 5 6.5 8 2M5 6.5V10" stroke="currentColor" stroke-linecap="square" stroke-width="1.5"></path></svg></span>Backed by Y Combinator</span><h1 aria-label="Take note." id="headline"><span aria-hidden="true" class="headline-visual"><span class="headline-take">Take</span> <span class="headline-word plain-word">note.</span></span></h1><p><span>Private AI meeting notes.</span> <span>Free and open source.</span> <span class="hero-wrap">Because your business should never be anyone else’s.</span></p><div class="hero-actions"><a class="button primary" data-download="" href="https://github.com/FrigadeHQ/yogurt/releases/latest/download/Yogurt-mac-arm64.dmg" id="download"><svg aria-hidden="true" fill="currentColor" viewBox="0 0 24 24"><path d="M17.1 12.3c0-2.6 2.2-3.9 2.3-4-1.3-1.9-3.2-2.1-3.9-2.1-1.7-.2-3.3 1-4.2 1-.9 0-2.2-1-3.6-.9-1.9 0-3.6 1.1-4.6 2.7-2 3.4-.5 8.4 1.4 11.1.9 1.3 2 2.7 3.4 2.6 1.3 0 1.9-.8 3.5-.8s2.1.8 3.5.8c1.5 0 2.4-1.3 3.3-2.6 1.1-1.5 1.5-3 1.5-3.1-.1 0-2.6-1-2.6-3.7ZM14.4 4.5c.8-1 1.4-2.3 1.2-3.5-1.2.1-2.6.8-3.4 1.7-.7.8-1.4 2.2-1.2 3.4 1.3.1 2.6-.7 3.4-1.6Z"></path></svg><span data-download-label="">Download for Mac</span></a><button aria-controls="demo-dialog" aria-haspopup="dialog" class="button secondary demo-play" type="button"><svg aria-hidden="true" fill="none" viewBox="0 0 16 16"><path d="m5 3 8 5-8 5Z" stroke="currentColor" stroke-linejoin="round"></path></svg>Watch demo</button><span class="download-requirements"><span class="download-alternatives">Also for <a class="link-label" aria-label="Download for Windows" href="https://github.com/FrigadeHQ/yogurt/releases/latest/download/Yogurt-windows-x64.exe">Windows</a> and <a class="link-label" aria-label="Download for Linux" href="https://github.com/FrigadeHQ/yogurt/releases/latest/download/Yogurt-linux-x86_64.AppImage">Linux</a></span></span></div></div>-<div class="product-stage"><div aria-hidden="true" class="backdrop ribbon"><svg class="signal-wings" fill="none" preserveaspectratio="none" viewbox="0 0 1600 650"><defs>-<lineargradient gradientunits="userSpaceOnUse" id="ribbon-purple" x1="0" x2="800" y1="0" y2="325"><stop stop-color="#9b65f5"></stop><stop offset=".5" stop-color="#7940e7"></stop><stop offset="1" stop-color="#b189fc"></stop></lineargradient>-<lineargradient id="ribbon-surface" x2="0" y2="1"><stop stop-color="#fff" stop-opacity=".24"></stop><stop offset=".42" stop-color="#fff" stop-opacity="0"></stop><stop offset="1" stop-color="#4f17c0" stop-opacity=".13"></stop></lineargradient>-<lineargradient id="ribbon-glint"><stop stop-color="#fff" stop-opacity="0"></stop><stop offset=".5" stop-color="#fff" stop-opacity=".15"></stop><stop offset="1" stop-color="#fff" stop-opacity="0"></stop></lineargradient>-<pattern id="ribbon-grain-pattern" patternUnits="userSpaceOnUse" width="128" height="128"><image href="/marketing/assets/ribbon-grain.png" width="128" height="128"/></pattern><clippath id="wing-clip"><path d="M0 0 800 325 0 650Z"></path></clippath><g id="wing"><g data-ribbon-band="1" id="ribbon-band-1"><path d="M0 0 800 325 0 130Z" fill="url(#ribbon-purple)"></path><path d="M0 0 800 325 0 130Z" fill="url(#ribbon-surface)"></path><path d="M0 16.250 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 32.500 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 48.750 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 65.000 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 81.250 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 97.500 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 113.750 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 0 800 325 0 130Z" fill="url(#ribbon-grain-pattern)" opacity=".05"/></g><g data-ribbon-band="2" id="ribbon-band-2"><path d="M0 130 800 325 0 260Z" fill="url(#ribbon-purple)"></path><path d="M0 130 800 325 0 260Z" fill="url(#ribbon-surface)"></path><path d="M0 146.250 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 162.500 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 178.750 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 195.000 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 211.250 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 227.500 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 243.750 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 130 800 325 0 260Z" fill="url(#ribbon-grain-pattern)" opacity=".05"/></g><g data-ribbon-band="3" id="ribbon-band-3"><path d="M0 260 800 325 0 390Z" fill="url(#ribbon-purple)"></path><path d="M0 260 800 325 0 390Z" fill="url(#ribbon-surface)"></path><path d="M0 276.250 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 292.500 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 308.750 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 325.000 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 341.250 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 357.500 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 373.750 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 260 800 325 0 390Z" fill="url(#ribbon-grain-pattern)" opacity=".05"/></g><g data-ribbon-band="4" id="ribbon-band-4"><path d="M0 390 800 325 0 520Z" fill="url(#ribbon-purple)"></path><path d="M0 390 800 325 0 520Z" fill="url(#ribbon-surface)"></path><path d="M0 406.250 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 422.500 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 438.750 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 455.000 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 471.250 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 487.500 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 503.750 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 390 800 325 0 520Z" fill="url(#ribbon-grain-pattern)" opacity=".05"/></g><g data-ribbon-band="5" id="ribbon-band-5"><path d="M0 520 800 325 0 650Z" fill="url(#ribbon-purple)"></path><path d="M0 520 800 325 0 650Z" fill="url(#ribbon-surface)"></path><path d="M0 536.250 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 552.500 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 568.750 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 585.000 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 601.250 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 617.500 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 633.750 800 325" stroke="#eee1ff" stroke-opacity=".49" stroke-width="1.15"></path><path d="M0 520 800 325 0 650Z" fill="url(#ribbon-grain-pattern)" opacity=".05"/></g><path d="M0 130 800 325" id="ribbon-seam-1" stroke="currentColor" stroke-width="3"></path><path d="M0 260 800 325" id="ribbon-seam-2" stroke="currentColor" stroke-width="3"></path><path d="M0 390 800 325" id="ribbon-seam-3" stroke="currentColor" stroke-width="3"></path><path d="M0 520 800 325" id="ribbon-seam-4" stroke="currentColor" stroke-width="3"></path><g clip-path="url(#wing-clip)" id="ribbon-reflection"><rect class="signal-reflection" fill="url(#ribbon-glint)" height="650" width="450" x="-500" y="0"></rect></g></g></defs><g data-hero-band="1"><use href="#ribbon-band-1"></use><use href="#ribbon-band-1" transform="translate(1600 0) scale(-1 1)"></use></g><g data-hero-band="2"><use href="#ribbon-band-2"></use><use href="#ribbon-band-2" transform="translate(1600 0) scale(-1 1)"></use></g><g data-hero-band="3"><use href="#ribbon-band-3"></use><use href="#ribbon-band-3" transform="translate(1600 0) scale(-1 1)"></use></g><g data-hero-band="4"><use href="#ribbon-band-4"></use><use href="#ribbon-band-4" transform="translate(1600 0) scale(-1 1)"></use></g><g data-hero-band="5"><use href="#ribbon-band-5"></use><use href="#ribbon-band-5" transform="translate(1600 0) scale(-1 1)"></use></g><g data-hero-divider="1"><use href="#ribbon-seam-1"></use><use href="#ribbon-seam-1" transform="translate(1600 0) scale(-1 1)"></use></g><g data-hero-divider="2"><use href="#ribbon-seam-2"></use><use href="#ribbon-seam-2" transform="translate(1600 0) scale(-1 1)"></use></g><g data-hero-divider="3"><use href="#ribbon-seam-3"></use><use href="#ribbon-seam-3" transform="translate(1600 0) scale(-1 1)"></use></g><g data-hero-divider="4"><use href="#ribbon-seam-4"></use><use href="#ribbon-seam-4" transform="translate(1600 0) scale(-1 1)"></use></g><use href="#ribbon-reflection"></use><use href="#ribbon-reflection" transform="translate(1600 0) scale(-1 1)"></use></svg></div><figure aria-label="Yogurt’s current UI, animated with a fictional sample conversation. No microphone is used." class="product-window demo-window" id="product-demo">-<picture class="hero-still" aria-hidden="true"><source media="(prefers-reduced-motion: reduce) and (min-width:761px)" srcset="/marketing/stills/hero-finished-desktop.webp"/><source media="(max-width:760px)" srcset="/marketing/stills/hero-phone.webp"/><img src="/marketing/stills/hero-desktop.webp" width="2000" height="1216" alt="" fetchpriority="high"/></picture>-<noscript>-<svg class="hero-no-script-poster desktop" viewBox="0 0 1000 608" aria-hidden="true"><foreignObject width="1000" height="608"><iframe src="/marketing/stills/hero-light-answer.html" width="1000" height="608" title="Launch planning" tabindex="-1" inert sandbox="allow-same-origin"></iframe></foreignObject></svg>-<svg class="hero-no-script-poster phone" viewBox="0 0 600 912" aria-hidden="true"><foreignObject width="600" height="912"><iframe src="/marketing/stills/hero-light-phone.html" width="600" height="912" title="Launch planning" tabindex="-1" inert sandbox="allow-same-origin"></iframe></foreignObject></svg>-</noscript>-</figure></div></section>-<section aria-labelledby="how-heading" class="section-wrap product-tour" id="how-it-works" tabindex="-1">- <div class="section-intro">- <h2 id="how-heading">From conversation to clear notes.</h2>- <p>Record the call, keep the useful details, and ask about them later.</p>- </div>- <div class="tour-layout" data-mode="auto" data-playing="false">- <div class="tour-list">- <div class="tour-item" data-selected="true">- <h3>- <button- aria-controls="panel-transcript"- aria-expanded="true"- data-scene="transcript"- id="tour-transcript"- type="button"- >- <span aria-hidden="true" class="tour-number"- ><svg class="step-blob" viewBox="0 0 40 40">- <path- class="blob-neutral"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- ></path>- <path- class="blob-base"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- ></path>- <g transform="translate(20 20) scale(1.13) translate(-20 -20)">- <path- class="marker-track"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- ></path>- <path- class="marker-rim"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- pathlength="1"- ></path>- </g></svg- ><span class="marker-label">01</span><span class="marker-label-active">01</span></span- ><span>Record the conversation</span><span aria-hidden="true" class="tour-plus">−</span>- </button>- </h3>- <div class="tour-detail">- <p class="tour-description">Yogurt transcribes the call while you add your own notes.</p>- </div>- </div>- <div class="tour-item" data-selected="false">- <h3>- <button- aria-controls="panel-summary"- aria-expanded="false"- data-scene="summary"- id="tour-summary"- type="button"- >- <span aria-hidden="true" class="tour-number"- ><svg class="step-blob" viewBox="0 0 40 40">- <path- class="blob-neutral"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- ></path>- <path- class="blob-base"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- ></path>- <g transform="translate(20 20) scale(1.13) translate(-20 -20)">- <path- class="marker-track"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- ></path>- <path- class="marker-rim"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- pathlength="1"- ></path>- </g></svg- ><span class="marker-label">02</span><span class="marker-label-active">02</span></span- ><span>Leave with a clear plan</span><span aria-hidden="true" class="tour-plus">+</span>- </button>- </h3>- <div class="tour-detail">- <p class="tour-description">Yogurt’s AI turns your notes and the conversation into a summary.</p>- </div>- </div>- <div class="tour-item" data-selected="false">- <h3>- <button aria-controls="panel-ask" aria-expanded="false" data-scene="ask" id="tour-ask" type="button">- <span aria-hidden="true" class="tour-number"- ><svg class="step-blob" viewBox="0 0 40 40">- <path- class="blob-neutral"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- ></path>- <path- class="blob-base"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- ></path>- <g transform="translate(20 20) scale(1.13) translate(-20 -20)">- <path- class="marker-track"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- ></path>- <path- class="marker-rim"- d="M20 3C29 2 38 9 37 20C38 30 29 38 19 37C9 39 2 29 3 19C2 9 10 2 20 3Z"- pathlength="1"- ></path>- </g></svg- ><span class="marker-label">03</span><span class="marker-label-active">03</span></span- ><span>Ask what you missed</span><span aria-hidden="true" class="tour-plus">+</span>- </button>- </h3>- <div class="tour-detail">- <p class="tour-description">Ask Yogurt’s AI and get an answer linked to the meeting.</p>- </div>- </div>- </div>- <div class="tour-visual">- <div- aria-hidden="false"- aria-labelledby="tour-transcript"- class="tour-panel"- id="panel-transcript"- role="region"- >- <div class="tour-frame" data-fragment="transcript"></div>- </div>- <div- aria-hidden="true"- aria-labelledby="tour-summary"- class="tour-panel"- hidden=""- id="panel-summary"- role="region"- >- <div class="tour-frame" data-fragment="summary"></div>- </div>- <div- aria-hidden="true"- aria-labelledby="tour-ask"- class="tour-panel"- hidden=""- id="panel-ask"- role="region"- >- <div class="tour-frame" data-fragment="ask"></div>- </div>- </div>- </div>-</section>-<section aria-labelledby="features-title" class="section-wrap app-features" id="features">- <div class="section-intro">- <h2 id="features-title">Make more of every meeting.</h2>- <p>- Keep your notes private, organized, and useful after the call.- </p>- </div>- <div class="feature-grid">- <article class="feature-card card-local" id="privacy">- <div class="feature-copy">- <span class="feature-label">Privacy</span>- <h3>Keep your meetings private.</h3>- <p>Your audio, notes and AI processing stay on your computer.</p>- </div>- <div aria-hidden="true" class="feature-visual material-art">- <svg aria-hidden="true" class="dial-lock" fill="none" viewBox="330 38 340 340">- <defs>- <linearGradient id="plain-dial-shell" x1="0" x2="0.3" y1="0" y2="1">- <stop stop-color="var(--color-white)"></stop>- <stop offset=".5" stop-color="var(--color-ink-50)"></stop>- <stop offset="1" stop-color="var(--color-ink-200)"></stop>- </linearGradient>- <linearGradient id="plain-dial-face" x1="0" x2=".3" y1="0" y2="1">- <stop stop-color="var(--color-white)"></stop>- <stop offset="1" stop-color="var(--color-ink-100)"></stop>- </linearGradient>- <linearGradient id="plain-dial-purple" x1="0" x2="1" y1="0" y2="1">- <stop stop-color="var(--color-accent-purple-light)"></stop>- <stop offset="1" stop-color="var(--color-knowledge)"></stop>- </linearGradient>- <linearGradient id="plain-dial-track">- <stop stop-color="var(--color-knowledge)" stop-opacity="0"></stop>- <stop offset="1" stop-color="var(--color-knowledge)" stop-opacity=".65"></stop>- </linearGradient>- <filter height="220%" id="plain-dial-lift" width="200%" x="-50%" y="-50%">- <fedropshadow- dx="0"- dy="3"- flood-color="var(--color-ink-900)"- flood-opacity=".08"- stdDeviation="2"- ></fedropshadow>- <fedropshadow- dx="0"- dy="14"- flood-color="var(--color-ink-900)"- flood-opacity=".09"- stdDeviation="12"- ></fedropshadow>- </filter>- <filter height="160%" id="plain-dial-recess" width="160%" x="-30%" y="-30%">- <feoffset dy="2"></feoffset>- <feGaussianBlur result="blur" stdDeviation="2"></feGaussianBlur>- <fecomposite in="SourceGraphic" in2="blur" operator="out" result="cut"></fecomposite>- <feflood flood-color="var(--color-ink-500)" flood-opacity=".24"></feflood>- <fecomposite in2="cut" operator="in"></fecomposite>- <fecomposite in2="SourceGraphic" operator="over"></fecomposite>- </filter>- <linearGradient id="plain-dial-inlay" x2=".35" y2="1">- <stop stop-color="var(--seal-top)"></stop>- <stop offset=".55" stop-color="var(--seal-mid)"></stop>- <stop offset="1" stop-color="var(--seal-base)"></stop>- </linearGradient>- </defs>- <defs>- <linearGradient id="plain-dial-blue" x2=".3" y2="1">- <stop stop-color="color-mix(in srgb,var(--color-brand) 75%,#fff)"></stop>- <stop offset="1" stop-color="var(--color-brand)"></stop>- </linearGradient>- <pattern height="24" id="plain-dots" patternUnits="userSpaceOnUse" width="24">- <circle cx="12" cy="12" fill="var(--color-ink-300)" r=".7"></circle>- </pattern>- <radialGradient id="plain-grid-fade">- <stop stop-color="white"></stop>- <stop offset="1" stop-color="black"></stop>- </radialGradient>- <mask id="plain-grid-mask">- <rect fill="url(#plain-grid-fade)" height="340" width="340" x="330" y="38"></rect>- </mask>- </defs>- <g mask="url(#plain-grid-mask)" opacity=".45">- <rect fill="url(#plain-dots)" height="340" width="340" x="330" y="38"></rect>- <path d="M330 208h340M500 38v340" stroke="var(--color-ink-200)"></path>- </g>- <ellipse- cx="500"- cy="354"- fill="var(--color-ink-200)"- opacity=".4"- rx="110"- ry="12"- style="filter: blur(13px)"- ></ellipse>- <g transform="translate(500 228) scale(1.14)">- <g filter="url(#plain-dial-lift)">- <path- d="M-49-65V-105a49 49 0 0 1 98 0v40"- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="18"- ></path>- <path- d="M-49-65V-105a49 49 0 0 1 98 0v40"- stroke="url(#plain-dial-shell)"- stroke-linecap="round"- stroke-width="15"- ></path>- <path- d="M-49-65V-105a49 49 0 0 1 98 0v40"- stroke="var(--color-white)"- stroke-opacity=".9"- stroke-width="2"- transform="translate(-3 -2)"- ></path>- </g>- <circle- fill="url(#plain-dial-shell)"- filter="url(#plain-dial-lift)"- r="97"- stroke="var(--color-ink-200)"- ></circle>- <circle r="94" stroke="var(--color-white)"></circle>- <circle- filter="url(#plain-dial-recess)"- r="83"- stroke="var(--color-ink-200)"- stroke-width="5"- ></circle>- <circle fill="url(#plain-dial-face)" r="76" stroke="var(--color-ink-200)"></circle>- <g class="dial-index">- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(0.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(7.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(15.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(22.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(30.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(37.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(45.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(52.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(60.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(67.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(75.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(82.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(90.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(97.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(105.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(112.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(120.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(127.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(135.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(142.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(150.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(157.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(165.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(172.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(180.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(187.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(195.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(202.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(210.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(217.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(225.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(232.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(240.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(247.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(255.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(262.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(270.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(277.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(285.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(292.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(300.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(307.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(315.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(322.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1.6"- transform="rotate(330.0)"- x1="0"- x2="0"- y1="-66"- y2="-59"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(337.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(345.0)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <line- stroke="var(--color-ink-200)"- stroke-linecap="round"- stroke-width="1"- transform="rotate(352.5)"- x1="0"- x2="0"- y1="-66"- y2="-62"- ></line>- <path d="M0-66v7" stroke="var(--dial-index)" stroke-linecap="round" stroke-width="2.8"></path>- </g>- <circle fill="url(#plain-dial-shell)" filter="url(#plain-dial-recess)" r="46"></circle>- <circle fill="url(#plain-dial-shell)" filter="url(#plain-dial-lift)" r="32"></circle>- <circle- fill="url(#plain-dial-inlay)"- r="30.5"- stroke="var(--color-white)"- stroke-width="1.5"- ></circle>- <circle r="27.8" stroke="var(--seal-rim)" stroke-opacity=".55"></circle>- <path d="M-3-87h6l-3 5z" fill="var(--color-ink-400)"></path>- </g>- </svg>- </div>- </article>- <article class="feature-card card-folders">- <div class="feature-copy">- <span class="feature-label">Organization</span>- <h3>Keep each project together.</h3>- <p>Group meetings in folders and search titles, notes and transcripts.</p>- </div>- <div aria-hidden="true" class="feature-visual material-art">- <div class="folder-list">- <div class="folder-row" data-folder-color="violet">- <svg aria-hidden="true" class="lucide lucide-rocket" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75">- <path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"/>- <path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09"/>- <path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z"/>- <path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05"/>- </svg><span>Launch</span>- </div>- <div class="folder-row" data-folder-color="teal">- <svg aria-hidden="true" class="lucide lucide-users-round" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75">- <path d="M18 21a8 8 0 0 0-16 0"/>- <circle cx="10" cy="8" r="5"/>- <path d="M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3"/>- </svg><span>Hiring</span>- </div>- <div class="folder-row" data-folder-color="amber">- <svg aria-hidden="true" class="lucide lucide-message-circle" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75">- <path d="M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719"/>- </svg><span>Customer calls</span>- </div>- </div>- </div>- </article>- <article class="feature-card card-mcp" id="local-mcp">- <div class="feature-copy">- <span class="feature-label">Local MCP</span>- <h3>Use your notes in your AI app.</h3>- <p>Let your assistant read meeting notes and transcripts directly from your computer.</p>- </div>- <div class="feature-visual material-art">- <svg role="group" aria-label="Local MCP clients" class="mcp-tiles" viewBox="0 0 224 154" fill="none">- <defs>- <linearGradient id="wired-shell" x1="0" x2="0.3" y1="0" y2="1">- <stop stop-color="var(--color-white)"/>- <stop offset=".5" stop-color="var(--color-ink-50)"/>- <stop offset="1" stop-color="var(--color-ink-200)"/>- </linearGradient>- <linearGradient id="wired-face" x1="0" x2=".3" y1="0" y2="1">- <stop stop-color="var(--color-white)"/>- <stop offset="1" stop-color="var(--color-ink-100)"/>- </linearGradient>- <filter height="220%" id="wired-lift" width="200%" x="-50%" y="-50%">- <fedropshadow dx="0" dy="3" flood-color="var(--color-ink-900)" flood-opacity=".08" stdDeviation="2"/>- <fedropshadow dx="0" dy="14" flood-color="var(--color-ink-900)" flood-opacity=".09" stdDeviation="12"/>- </filter>- <pattern id="wired-pad" width="8" height="8" patternUnits="userSpaceOnUse">- <circle cx="4" cy="4" r=".75" fill="var(--pad-dot)"/>- </pattern>- <radialGradient id="wired-fade">- <stop offset=".45" stop-color="white"/>- <stop offset="1" stop-color="white" stop-opacity="0"/>- </radialGradient>- <mask id="wired-fade-mask">- <ellipse cx="112" cy="76" rx="105" ry="64" fill="url(#wired-fade)"/>- </mask>- </defs>- <rect x="8" y="12" width="208" height="132" fill="url(#wired-pad)" mask="url(#wired-fade-mask)"/>- <g stroke-linecap="round">- <path d="M70 53H94C119 53 104 101 130 101H153" stroke="var(--art-edge)" stroke-width="6"/>- <path d="M70 52H94C119 52 104 100 130 100H153" stroke="var(--art-inner)" stroke-width="4"/>- <path d="M70 52H94C119 52 104 100 130 100H153" stroke="var(--wire)" stroke-width="2"/>- </g>- <g transform="translate(18 21)">- <rect x="-1" y="2" width="64" height="64" rx="15" fill="var(--color-ink-100)" filter="url(#wired-lift)"/>- <rect x="0" y="0" width="62" height="62" rx="14" fill="url(#wired-shell)" stroke="var(--art-edge)"/>- <rect x="2" y="2" width="58" height="57" rx="12" fill="url(#wired-face)" stroke="var(--art-rim)"/>- <rect x="5" y="5" width="52" height="51" rx="10" fill="none" stroke="var(--art-inner)"/>- <g transform="translate(14 14)" fill="none" stroke="var(--art-glyph)" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round">- <path d="M9 3h11l7 7v20H9z M20 3v8h7 M13 16h10 M13 21h8 M13 26h5"/>- </g>- </g>- <g transform="translate(145 70)">- <rect x="-1" y="2" width="64" height="64" rx="15" fill="var(--color-ink-100)" filter="url(#wired-lift)"/>- <rect x="0" y="0" width="62" height="62" rx="14" fill="url(#wired-shell)" stroke="var(--art-edge)"/>- <rect x="2" y="2" width="58" height="57" rx="12" fill="url(#wired-face)" stroke="var(--art-rim)"/>- <rect x="5" y="5" width="52" height="51" rx="10" fill="none" stroke="var(--art-inner)"/>- <g class="client-mark claude" role="img" aria-label="Claude Desktop">- <svg x="14" y="14" width="34" height="34" viewBox="0 0 248 248" fill="currentColor">- <title>Claude Desktop</title>- <path d="M52.4285 162.873L98.7844 136.879L99.5485 134.602L98.7844 133.334H96.4921L88.7237 132.862L62.2346 132.153L39.3113 131.207L17.0249 130.026L11.4214 128.844L6.2 121.873L6.7094 118.447L11.4214 115.257L18.171 115.847L33.0711 116.911L55.485 118.447L71.6586 119.392L95.728 121.873H99.5485L100.058 120.337L98.7844 119.392L97.7656 118.447L74.5877 102.732L49.4995 86.1905L36.3823 76.62L29.3779 71.7757L25.8121 67.2858L24.2839 57.3608L30.6515 50.2716L39.3113 50.8623L41.4763 51.4531L50.2636 58.1879L68.9842 72.7209L93.4357 90.6804L97.0015 93.6343L98.4374 92.6652L98.6571 91.9801L97.0015 89.2625L83.757 65.2772L69.621 40.8192L63.2534 30.6579L61.5978 24.632C60.9565 22.1032 60.579 20.0111 60.579 17.4246L67.8381 7.49965L71.9133 6.19995L81.7193 7.49965L85.7946 11.0443L91.9074 24.9865L101.714 46.8451L116.996 76.62L121.453 85.4816L123.873 93.6343L124.764 96.1155H126.292V94.6976L127.566 77.9197L129.858 57.3608L132.15 30.8942L132.915 23.4505L136.608 14.4708L143.994 9.62643L149.725 12.344L154.437 19.0788L153.8 23.4505L150.998 41.6463L145.522 70.1215L141.957 89.2625H143.994L146.414 86.7813L156.093 74.0206L172.266 53.698L179.398 45.6635L187.803 36.802L193.152 32.5484H203.34L210.726 43.6549L207.415 55.1159L196.972 68.3492L188.312 79.5739L175.896 96.2095L168.191 109.585L168.882 110.689L170.738 110.53L198.755 104.504L213.91 101.787L231.994 98.7149L240.144 102.496L241.036 106.395L237.852 114.311L218.495 119.037L195.826 123.645L162.07 131.592L161.696 131.893L162.137 132.547L177.36 133.925L183.855 134.279H199.774L229.447 136.524L237.215 141.605L241.8 147.867L241.036 152.711L229.065 158.737L213.019 154.956L175.45 145.977L162.587 142.787H160.805V143.85L171.502 154.366L191.242 172.089L215.82 195.011L217.094 200.682L213.91 205.172L210.599 204.699L188.949 188.394L180.544 181.069L161.696 165.118H160.422V166.772L164.752 173.152L187.803 207.771L188.949 218.405L187.294 221.832L181.308 223.959L174.813 222.777L161.187 203.754L147.305 182.486L136.098 163.345L134.745 164.2L128.075 235.42L125.019 239.082L117.887 241.8L111.902 237.31L108.718 229.984L111.902 215.452L115.722 196.547L118.779 181.541L121.58 162.873L123.291 156.636L123.14 156.219L121.773 156.449L107.699 175.752L86.304 204.699L69.3663 222.777L65.291 224.431L58.2867 220.768L58.9235 214.27L62.8713 208.48L86.304 178.705L100.44 160.155L109.551 149.507L109.462 147.967L108.959 147.924L46.6977 188.512L35.6182 189.93L30.7788 185.44L31.4156 178.115L33.7079 175.752L52.4285 162.873Z"/>- </svg>- </g>- <g class="client-mark chatgpt" role="img" aria-label="ChatGPT desktop with a local plugin">- <svg x="12" y="12" width="38" height="38" viewBox="0 0 180 180" fill="currentColor">- <title>ChatGPT desktop with a local plugin</title>- <path d="M101.228 164.247C96.2776 164.247 91.5751 163.307 87.1201 161.426C82.6651 159.545 78.7051 156.921 75.2401 153.555C71.4781 154.842 67.5676 155.486 63.5086 155.486C56.8756 155.486 50.7376 153.852 45.0946 150.585C39.4516 147.318 34.8976 142.863 31.4326 137.22C28.0666 131.577 26.3836 125.291 26.3836 118.361C26.3836 115.49 26.7796 112.371 27.5716 109.005C23.6116 105.342 20.5426 101.135 18.3646 96.3828C16.1866 91.5318 15.0976 86.4828 15.0976 81.2358C15.0976 75.8898 16.2361 70.7418 18.5131 65.7918C20.7901 60.8418 23.9581 56.5848 28.0171 53.0208C32.1751 49.3578 36.9766 46.8333 42.4216 45.4473C43.5106 39.8043 45.7876 34.7553 49.2526 30.3003C52.8166 25.7463 57.1726 22.1823 62.3206 19.6083C67.4686 17.0343 72.9631 15.7473 78.8041 15.7473C83.7541 15.7473 88.4566 16.6878 92.9116 18.5688C97.3666 20.4498 101.327 23.0733 104.792 26.4393C108.554 25.1523 112.464 24.5088 116.523 24.5088C123.156 24.5088 129.294 26.1423 134.937 29.4093C140.58 32.6763 145.085 37.1313 148.451 42.7743C151.916 48.4173 153.648 54.7038 153.648 61.6338C153.648 64.5048 153.252 67.6233 152.46 70.9893C156.42 74.6523 159.489 78.9093 161.667 83.7603C163.845 88.5123 164.934 93.5118 164.934 98.7588C164.934 104.105 163.796 109.253 161.519 114.203C159.242 119.153 156.024 123.459 151.866 127.122C147.807 130.686 143.055 133.161 137.61 134.547C136.521 140.19 134.195 145.239 130.631 149.694C127.166 154.248 122.859 157.812 117.711 160.386C112.563 162.96 107.069 164.247 101.228 164.247ZM64.5481 145.685C69.4981 145.685 73.8046 144.645 77.4676 142.566L105.386 126.528C106.376 125.835 106.871 124.895 106.871 123.707V110.936L70.9336 131.577C68.7556 132.864 66.5776 132.864 64.3996 131.577L36.3331 115.391C36.3331 115.688 36.2836 116.034 36.1846 116.43C36.1846 116.826 36.1846 117.42 36.1846 118.212C36.1846 123.261 37.3726 127.914 39.7486 132.171C42.2236 136.329 45.6391 139.596 49.9951 141.972C54.3511 144.447 59.2021 145.685 64.5481 145.685ZM66.0331 121.479C66.6271 121.776 67.1716 121.925 67.6666 121.925C68.1616 121.925 68.6566 121.776 69.1516 121.479L80.2891 115.094L44.5006 94.3038C42.3226 93.0168 41.2336 91.0863 41.2336 88.5123V56.2878C36.2836 58.4658 32.3236 61.8318 29.3536 66.3858C26.3836 70.8408 24.8986 75.7908 24.8986 81.2358C24.8986 86.0868 26.1361 90.7398 28.6111 95.1948C31.0861 99.6498 34.3036 103.016 38.2636 105.293L66.0331 121.479ZM101.228 154.446C106.475 154.446 111.227 153.258 115.484 150.882C119.741 148.506 123.107 145.239 125.582 141.081C128.057 136.923 129.294 132.27 129.294 127.122V95.0463C129.294 93.8583 128.799 92.9673 127.809 92.3733L116.523 85.8393V127.271C116.523 129.845 115.434 131.775 113.256 133.062L85.1896 149.249C90.0406 152.714 95.3866 154.446 101.228 154.446ZM106.871 100.095V79.8993L90.09 70.3953L73.1611 79.8993V100.095L90.09 109.599L106.871 100.095ZM63.5086 52.7238C63.5086 50.1498 64.5976 48.2193 66.7756 46.9323L94.8421 30.7458C89.9911 27.2808 84.6451 25.5483 78.8041 25.5483C73.5571 25.5483 68.8051 26.7363 64.5481 29.1123C60.2911 31.4883 56.9251 34.7553 54.4501 38.9133C52.0741 43.0713 50.8861 47.7243 50.8861 52.8723V84.7998C50.8861 85.9878 51.3811 86.9283 52.3711 87.6213L63.5086 94.1553V52.7238ZM138.947 123.707C143.897 121.529 147.807 118.163 150.678 113.609C153.648 109.055 155.133 104.105 155.133 98.7588C155.133 93.9078 153.896 89.2548 151.421 84.7998C148.946 80.3448 145.728 76.9788 141.768 74.7018L113.999 58.6638C113.405 58.2678 112.86 58.1193 112.365 58.2183C111.87 58.2183 111.375 58.3668 110.88 58.6638L99.7426 64.9008L135.68 85.8393C136.769 86.4333 137.561 87.2253 138.056 88.2153C138.65 89.1063 138.947 90.1953 138.947 91.4823V123.707ZM109.098 48.2688C111.276 46.8828 113.454 46.8828 115.632 48.2688L143.847 64.7523C143.847 64.0593 143.847 63.1683 143.847 62.0793C143.847 57.3273 142.659 52.8228 140.283 48.5658C138.006 44.2098 134.69 40.7448 130.334 38.1708C126.077 35.5968 121.127 34.3098 115.484 34.3098C110.534 34.3098 106.227 35.3493 102.564 37.4283L74.6461 53.4663C73.6561 54.1593 73.1611 55.0998 73.1611 56.2878V69.0588L109.098 48.2688Z"/>- </svg>- </g>- <g class="client-mark cursor" role="img" aria-label="Cursor">- <svg x="16" y="16" width="30" height="30" viewBox="0 0 466.73 532.09" fill="currentColor">- <title>Cursor</title>- <path d="M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z"/>- </svg>- </g>- </g>- </svg>- </div>- </article>- <article class="feature-card card-language">- <div class="feature-copy">- <span class="feature-label">Languages</span>- <h3>Take notes in your language.</h3>- <p>Transcribe in 99 languages with multi-language mode.</p>- </div>- <div aria-hidden="true" class="feature-visual">- <canvas class="language-dots" aria-hidden="true"></canvas>- <div aria-label="Yogurt translated into eight languages" class="language-art" data-morph="">- <svg aria-hidden="true" viewBox="0 0 210 80">- <path fill-rule="evenodd" d="M56.5,35.7L56.5,39.6L56.5,43.5L57.1,47.4L59.1,50.6L62.8,51.5L66.2,49.8L67.7,46.3L68.5,47.3L68,51.1L66,54.4L62.3,55.2L58.6,54.1L56.5,55L57.8,57.8L61.5,58.8L65.4,58.7L68.9,57L71,53.8L71.7,50L71.8,46.1L71.8,42.2L71.8,38.3L70.5,35.7L67.6,36.7L67.6,40.6L67.2,44.5L65.2,47.7L61.7,46.9L60.8,43.2L60.7,39.3L60.4,35.7ZM83.2,35.3L81.4,35.5L79.7,35.9L78.1,36.7L76.8,37.8L75.7,39.3L75,40.9L74.7,42.6L74.6,44.4L74.7,46.2L75.1,47.9L75.8,49.5L76.8,50.9L78.2,52.1L79.8,52.9L81.5,53.3L83.2,53.4L85,53.3L86.7,52.8L88.3,52.1L89.7,50.9L90.7,49.5L91.4,47.9L91.8,46.1L91.8,44.4L91.7,42.6L91.3,40.9L90.6,39.2L89.6,37.8L88.2,36.7L86.7,35.9L84.9,35.5ZM83.1,38.6L82,38.7L81.1,39.1L80.2,39.7L79.6,40.5L79.2,41.4L78.9,42.4L78.8,43.5L78.8,44.5L78.8,45.5L79,46.6L79.3,47.6L79.8,48.5L80.5,49.2L81.4,49.8L82.3,50.2L83.4,50.3L84.4,50.2L85.4,49.8L86.2,49.2L86.8,48.4L87.3,47.4L87.5,46.4L87.7,45.4L87.7,44.4L87.6,43.3L87.4,42.3L87.1,41.3L86.6,40.4L85.9,39.6L85.1,39L84.1,38.7ZM102.2,35.6L98.7,36L95.7,37.7L94.2,40.8L95,44.1L98,45.6L96.1,47L94.7,49.8L98,50.8L95.5,52L93.4,54.6L94.7,57.6L98,58.7L101.5,58.9L105,58.7L108.3,57.8L110.7,55.4L110.8,51.9L108.4,49.5L105,48.9L101.5,48.9L98.1,48.5L100.5,46.7L104,46.7L107.3,45.6L109.2,42.9L108.1,39.8L105.3,38.3L108.6,38.6L110.7,37.5L109.2,35.6L105.7,35.6ZM100.2,51.4L99.5,51.5L98.7,51.7L98.1,52.1L97.6,52.7L97.3,53.4L97.4,54.2L97.8,54.8L98.4,55.2L99.2,55.4L99.9,55.5L100.7,55.5L101.5,55.6L102.2,55.6L103,55.5L103.8,55.5L104.5,55.4L105.3,55.3L106,55.1L106.7,54.7L107.2,54.2L107.3,53.4L107.3,52.7L106.9,52L106.3,51.6L105.5,51.4L104.8,51.4L104,51.4L103.2,51.4L102.5,51.4L101.7,51.4L101,51.4ZM101.9,38.4L101.2,38.4L100.6,38.5L99.9,38.7L99.4,39.1L98.9,39.6L98.6,40.1L98.4,40.8L98.3,41.4L98.3,42.1L98.5,42.7L98.9,43.3L99.3,43.8L99.9,44.1L100.5,44.4L101.2,44.5L101.8,44.5L102.5,44.5L103.2,44.4L103.8,44.2L104.4,43.8L104.8,43.4L105.2,42.8L105.4,42.2L105.4,41.5L105.3,40.8L105.2,40.2L104.8,39.6L104.4,39.1L103.8,38.8L103.2,38.5L102.5,38.4ZM113.3,35.7L113.3,38.8L113.3,41.8L113.3,44.9L113.5,47.9L114.4,50.8L116.6,52.9L119.5,53.4L122.4,52.5L124.3,50.2L125.4,47.5L125.6,50.3L126,53L129,53L129,50L129,47L129,43.9L129,40.9L129,37.8L128.1,35.7L125,35.7L124.9,38.6L124.9,41.7L124.8,44.7L123.9,47.6L121.9,49.8L119,49.4L117.6,46.8L117.5,43.7L117.5,40.7L117.5,37.6L116.3,35.7ZM142.4,35.3L140.4,35.7L138.7,36.8L137.7,38.5L137.1,40.5L136.3,41.5L136.4,39.5L136.4,37.5L136.1,35.7L134.1,35.7L132.9,36.6L132.9,38.6L132.9,40.6L132.9,42.7L132.9,44.7L132.9,46.7L132.9,48.7L132.9,50.8L132.9,52.8L134.7,53L136.7,53L137.1,51.3L137.1,49.3L137.1,47.3L137.1,45.2L137.5,43.3L138.3,41.5L139.7,40L141.7,39.6L143.7,39.9L143.8,38L143.9,36ZM148.3,31.9L148,34.1L146.8,35.7L144.5,35.8L144.2,37.7L145,39.1L146.7,39.6L146.7,41.8L146.7,44L146.7,46.2L146.8,48.4L147.2,50.6L148.5,52.4L150.5,53.3L152.7,53.4L154.9,53L155.4,51.2L155.4,49L153.4,49.5L151.3,49L150.7,47L150.7,44.7L150.7,42.5L150.7,40.3L151.8,39.2L154,39.2L155.3,38.2L155.3,36L153.3,35.7L151.1,35.7L150.7,33.9L150.5,31.9Z"></path>- </svg>- </div>- </div>- </article>- </div>-</section>-<section aria-labelledby="progress-title" class="section-wrap open-progress" id="progress" data-captured-at="{{capturedAt}}">- <div class="section-intro">- <h2 id="progress-title">Built in the open.</h2>- <p>- Follow the work and help make Yogurt better.- <a class="quiet-link" href="https://github.com/FrigadeHQ/yogurt"- target="_blank" rel="noopener noreferrer"><span class="link-label">Explore the code</span- ><svg aria-hidden="true" class="link-chevron link-arrow" fill="none" viewBox="0 0 14 14">- <path- d="m5 3 4 4-4 4"- stroke="currentColor"- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="1.4"- ></path></svg- ></a>- </p>- </div>- <div class="growth-block activity-board">- <a- aria-label="{{stars}} GitHub stars. View on GitHub"- class="oss-card oss-history"- href="https://github.com/FrigadeHQ/yogurt"- target="_blank" rel="noopener noreferrer"><span class="oss-stat"- ><span class="oss-figure"><span class="stat-value">{{stars}}</span></span- ><span class="oss-caption">GitHub stars <span aria-hidden="true" class="card-arrow"- ><svg aria-hidden="true" class="oss-arrow" fill="none" viewBox="0 0 16 16">- <path- d="M4 12 12 4M5 4h7v7"- stroke="currentColor"- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="1.4"- ></path></svg></span></span></span- >- <div class="star-plot">- <svg- aria-labelledby="chart-title chart-desc"- class="star-chart"- preserveAspectRatio="none"- role="img"- viewBox="0 0 510 90"- >- <title id="chart-title">GitHub star history</title>- <desc id="chart-desc">{{historyLabel}}</desc>- <defs>- <clipPath id="history-trace"><rect class="chart-clip" x="0" y="-2" width="510" height="94"></rect></clipPath>- <linearGradient id="history-wash" x1="0" x2="0" y1="0" y2="1">- <stop stop-color="currentColor" stop-opacity=".16"></stop>- <stop offset="1" stop-color="currentColor" stop-opacity=".025"></stop>- </linearGradient>- </defs>- <g clip-path="url(#history-trace)">- <path class="chart-fill" d="{{area}}" fill="url(#history-wash)"></path>- <polyline class="chart-line" points="{{vertices}}"></polyline>- </g>- </svg>- </div>- </a- ><a class="oss-card oss-calendar" href="/updates"><span class="oss-stat"- ><span class="oss-figure">{{releases}}</span><span class="oss-caption">published {{releaseNoun}}</span></span- >- <div aria-label="{{weekSummary}}" class="oss-week" role="img">{{bars}}</div>- <span aria-hidden="true" class="card-arrow"- ><svg aria-hidden="true" class="link-chevron" fill="none" viewBox="0 0 14 14">- <path- d="m5 3 4 4-4 4"- stroke="currentColor"- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="1.4"- ></path></svg></span></a- ><a class="oss-card oss-latest" href="/updates#{{version}}"><span class="release-version"><span class="oss-kicker">Latest release </span><strong>{{version}}</strong></span><span class="release-status"><time data-latest-age="" datetime="{{published}}">Released {{releaseDate}}</time- ><span aria-hidden="true" class="card-arrow"- ><svg aria-hidden="true" class="link-chevron" fill="none" viewBox="0 0 14 14">- <path- d="m5 3 4 4-4 4"- stroke="currentColor"- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="1.4"- ></path></svg></span- ></span></a>- </div>-</section>-<section aria-labelledby="faq-heading" class="faq-section section-wrap" id="questions" tabindex="-1">- <div class="section-intro"><h2 id="faq-heading">FAQ</h2></div>- <div class="faq-cards">- {{homeFaq}}- </div>-</section>--</main>-<dialog aria-label="Yogurt demo" class="demo-dialog site-dialog" id="demo-dialog"><div class="demo-player"><button aria-label="Close video" class="demo-close" data-dialog-close="" type="button"><svg aria-hidden="true" fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2.25" viewBox="0 0 24 24"><path d="m6 6 12 12M18 6 6 18"></path></svg></button><video aria-label="Yogurt product demo" controls="" data-poster="/marketing/assets/demo-poster.webp" data-src="/marketing/assets/demo.mp4" id="demo-video" playsinline="" preload="none"></video></div><div class="demo-video-message"><p aria-live="polite" id="demo-video-status" role="status"></p><button class="button secondary" hidden="" id="demo-retry" type="button">Retry</button></div></dialog>diff --git a/site/content/shell.html b/site/content/shell.htmldeleted file mode 100644index 17202dd2..00000000--- a/site/content/shell.html+++ /dev/null@@ -1,35 +0,0 @@-<!DOCTYPE html>--<html data-theme="light" {{pageHero}} lang="en"><head><meta charset="utf-8"/>-<meta name="referrer" content="strict-origin"/>-<meta content="width=device-width,initial-scale=1" name="viewport"/><title>{{pageTitle}}</title><meta content="{{pageDescription}}" name="description"/><link href="/marketing/assets/favicon-32.png" rel="icon" type="image/png" sizes="32x32"/><link href="/marketing/assets/favicon.svg" rel="icon" type="image/svg+xml" sizes="any"/><link href="/marketing/assets/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180"/><noscript><style>html .fragment-art picture{opacity:1!important}html .hero-still{display:block!important}html .product-window{visibility:visible!important}html .signal-wings{visibility:visible!important}html .transcript-turn,html .stream-word,html .summary-reveal,html .summary-reveal.action-item>i,html .result-paper .ready-label,html .result-check,html .answer-result{opacity:1;filter:none;transform:none}html .result-paper .writing-label{opacity:0}html .process-art *,html .roster-asset *{animation:none;transition:none}</style></noscript><link href="https://yogurt.so{{pagePath}}" rel="canonical"/><meta content="#ffffff" name="theme-color"/><script>-(function(){- if(new URLSearchParams(location.search).get('static')==='1')document.documentElement.dataset.heroStatic='true';- var theme=matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';- try{var saved=localStorage.getItem('yogurt-theme');if(saved==='light'||saved==='dark')theme=saved}catch{}- document.documentElement.dataset.theme=theme;- if(theme==='dark'){- document.querySelector('meta[name="theme-color"]').content='#1B1B1D';- }-})();-</script><link href="/marketing/site.css" rel="stylesheet"/><link href="/marketing/headline.css" rel="stylesheet"/>{{pageStyles}}<meta content="Yogurt" property="og:site_name"/><meta content="website" property="og:type"/><meta content="https://yogurt.so{{pagePath}}" property="og:url"/><meta content="{{pageTitle}}" property="og:title"/><meta content="{{pageDescription}}" property="og:description"/><meta content="https://yogurt.so/marketing/assets/og-image.png" property="og:image"/><meta content="1200" property="og:image:width"/><meta content="630" property="og:image:height"/><meta content="Yogurt logo, Private AI meeting notes, and the app’s meeting summary." property="og:image:alt"/><meta content="summary_large_image" name="twitter:card"/><meta content="{{pageTitle}}" name="twitter:title"/><meta content="{{pageDescription}}" name="twitter:description"/><meta content="https://yogurt.so/marketing/assets/og-image.png" name="twitter:image"/><meta content="Yogurt logo, Private AI meeting notes, and the app’s meeting summary." name="twitter:image:alt"/><script>window.va=window.va||function(){(window.vaq=window.vaq||[]).push(arguments)};</script><script defer src="/_vercel/insights/script.js"></script>-{{pageStructuredData}}-</head>-<body id="top" tabindex="-1" {{pageBody}}><a class="skip" href="#main"><span class="link-label">Skip to content</span></a>-<div class="sticky-header">- <div class="nav-surface" aria-hidden="true"><i></i><i></i><i></i></div>-<header class="site-header"><a aria-label="Yogurt home" class="wordmark" href="{{pageHome}}#main"><img alt="yogurt" height="30" src="/marketing/assets/wordmark.svg" width="108"/></a><nav aria-label="Main navigation"><button aria-label="Switch to dark mode" aria-pressed="false" class="theme-toggle" hidden="" type="button"><svg aria-hidden="true" class="theme-moon" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7" viewBox="0 0 24 24"><path d="M20.9 13A9 9 0 0 1 11 3.1 9 9 0 1 0 20.9 13Z"></path></svg><svg aria-hidden="true" class="theme-sun" fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.7" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2m0 16v2M2 12h2m16 0h2M4.9 4.9l1.4 1.4m11.4 11.4 1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"></path></svg></button><a aria-label="Yogurt on GitHub, {{stars}} stars" class="nav-stars" href="https://github.com/FrigadeHQ/yogurt" title="Yogurt on GitHub" target="_blank" rel="noopener noreferrer"><svg aria-hidden="true" fill="currentColor" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M6.766 11.328c-2.063-.25-3.516-1.734-3.516-3.656 0-.781.281-1.625.75-2.188-.203-.515-.172-1.609.063-2.062.625-.078 1.468.25 1.968.703.594-.187 1.219-.281 1.985-.281.765 0 1.39.094 1.953.265.484-.437 1.344-.765 1.969-.687.218.422.25 1.515.046 2.047.5.593.766 1.39.766 2.203 0 1.922-1.453 3.375-3.547 3.64.531.344.89 1.094.89 1.954v1.625c0 .468.391.734.86.547C13.781 14.359 16 11.53 16 8.03 16 3.61 12.406 0 7.984 0 3.563 0 0 3.61 0 8.031a7.88 7.88 0 0 0 5.172 7.422c.422.156.828-.125.828-.547v-1.25c-.219.094-.5.156-.75.156-1.031 0-1.64-.562-2.078-1.609-.172-.422-.36-.672-.719-.719-.187-.015-.25-.093-.25-.187 0-.188.313-.328.625-.328.453 0 .844.281 1.25.86.313.452.64.655 1.031.655s.641-.14 1-.5c.266-.265.47-.5.657-.656"></path></svg><span>{{navStars}}</span></a><a class="button secondary nav-download" data-download="" href="https://github.com/FrigadeHQ/yogurt/releases/latest/download/Yogurt-mac-arm64.dmg">Download</a></nav></header>-</div>-{{pageContent}}-<footer class="brand-footer site-footer" id="footer" tabindex="-1"><svg class="footer-field" preserveAspectRatio="none" aria-hidden="true" color-interpolation="sRGB"><defs>-<linearGradient id="footer-base" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="0" y2="122"><stop stop-color="#8f38ff"/><stop offset=".45" stop-color="#6F00FF"/><stop offset="1" stop-color="#5b00d1"/></linearGradient>-<linearGradient id="footer-wash" gradientUnits="userSpaceOnUse" x1="0" y1="0"><stop class="wash-start" stop-color="#6F00FF" stop-opacity="0"/><stop offset="1" stop-color="#6F00FF"/></linearGradient>-</defs><path class="footer-field-base"/><path class="footer-field-wash"/></svg><a class="footer-dock" aria-label="Yogurt home" href="{{pageHome}}#top"><svg class="footer-dock-art" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="10 10 236 236"><defs><linearGradient id="footer-icon-face" gradientUnits="userSpaceOnUse" x1="10" y1="10" x2="10" y2="246"><stop stop-color="#8f38ff"/><stop offset=".45" stop-color="#6F00FF"/><stop offset="1" stop-color="#5b00d1"/></linearGradient><linearGradient id="footer-icon-rim" x2=".2" y2="1"><stop stop-color="#d8baff"/><stop offset=".48" stop-color="#b073ff"/><stop offset="1" stop-color="#6200e0"/></linearGradient><filter id="footer-icon-grain"><feTurbulence type="fractalNoise" baseFrequency=".8" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/><feComposite in2="SourceGraphic" operator="in"/><feBlend in="SourceGraphic" mode="soft-light"/></filter><filter id="footer-icon-mark-shadow" x="-30%" y="-20%" width="160%" height="160%"><feDropShadow dx="0" dy="2.5" stdDeviation="2" flood-color="#320073" flood-opacity=".32"/></filter><clipPath id="footer-icon-face-clip"><rect x="10" y="10" width="236" height="236" rx="53"/></clipPath></defs><rect x="10" y="10" width="236" height="236" rx="53" fill="url(#footer-icon-face)"/><rect x="10" y="10" width="236" height="236" rx="53" fill="#6F00FF" filter="url(#footer-icon-grain)" opacity=".18" clip-path="url(#footer-icon-face-clip)"/><rect x="10.8" y="10.8" width="234.4" height="234.4" rx="52.2" fill="none" stroke="#6200e0" stroke-width="1.6"/><rect x="14" y="14" width="228" height="228" rx="49" fill="none" stroke="url(#footer-icon-rim)" stroke-width="2"/></svg>-<svg class="footer-dock-lockup" aria-hidden="true" viewBox="3.25 9.7307 287.034 57.5093"><path fill="#fff" transform="translate(0 5) scale(.65)" d="M21.528 8.111Q25.000 7.278 30.000 7.278L30.000 7.278Q35.000 7.278 45.833 7.833L56.667 8.389L56.667 8.389L56.111 20.056Q55.556 31.722 54.861 34.222L54.861 34.222Q54.167 36.722 53.472 37.556L53.472 37.556Q52.778 38.389 51.528 39.083L51.528 39.083Q50.278 39.778 44.028 40.889L44.028 40.889Q37.778 42.000 36.111 43.250L36.111 43.250Q34.444 44.500 33.889 45.750L33.889 45.750Q33.333 47.000 33.472 48.806L33.472 48.806Q33.611 50.611 34.583 52.417L34.583 52.417Q35.556 54.222 37.361 55.889L37.361 55.889Q39.167 57.556 40.694 58.250L42.222 58.944L42.222 58.944L42.361 59.778Q42.500 60.611 42.500 62.278L42.500 63.944L42.500 63.944L41.250 63.944Q40.000 63.944 35.139 62.972L35.139 62.972Q30.278 62.000 25.556 60.056L25.556 60.056Q20.833 58.111 18.194 56.306L18.194 56.306Q15.556 54.500 13.611 52.556L13.611 52.556Q11.667 50.611 10.278 48.667L10.278 48.667Q8.889 46.722 7.500 43.389L7.500 43.389Q6.111 40.056 5.556 36.861L5.556 36.861Q5.000 33.667 5.000 31.167L5.000 31.167Q5.000 28.667 5.417 26.028L5.417 26.028Q5.833 23.389 6.944 20.611L6.944 20.611Q8.056 17.833 9.444 15.889L9.444 15.889Q10.833 13.944 12.639 12.417L12.639 12.417Q14.444 10.889 16.250 9.917L16.250 9.917Q18.056 8.944 21.528 8.111L21.528 8.111Z M66.250 33.944Q68.611 33.667 72.639 33.667L72.639 33.667Q76.667 33.667 79.028 34.083L79.028 34.083Q81.389 34.500 83.889 35.611L83.889 35.611Q86.389 36.722 88.611 38.667L88.611 38.667Q90.833 40.611 92.083 42.694L92.083 42.694Q93.333 44.778 93.889 46.444L93.889 46.444Q94.444 48.111 94.861 51.306L94.861 51.306Q95.278 54.500 95.139 57.972L95.139 57.972Q95.000 61.444 94.444 64.222L94.444 64.222Q93.889 67.000 92.083 71.306L92.083 71.306Q90.278 75.611 89.028 77.278L89.028 77.278Q87.778 78.944 85.694 81.028L85.694 81.028Q83.611 83.111 80.694 85.194L80.694 85.194Q77.778 87.278 75.556 88.389L75.556 88.389Q73.333 89.500 71.111 90.333L71.111 90.333Q68.889 91.167 65.833 91.861L65.833 91.861Q62.778 92.556 59.028 92.833L55.278 93.111L55.278 93.111L55.278 89.222L55.278 89.222L56.944 88.528Q58.611 87.833 60.972 85.889L60.972 85.889Q63.333 83.944 64.444 81.722L64.444 81.722Q65.556 79.500 65.417 77.417L65.417 77.417Q65.278 75.333 64.722 74.639L64.722 74.639Q64.167 73.944 63.194 73.528L63.194 73.528Q62.222 73.111 56.667 72.972L56.667 72.972Q51.111 72.833 50.139 72.556L50.139 72.556Q49.167 72.278 48.472 71.583L48.472 71.583Q47.778 70.889 47.361 66.861L47.361 66.861Q46.944 62.833 46.944 57.833L46.944 57.833Q46.944 52.833 47.222 51.167L47.222 51.167Q47.500 49.500 48.611 46.722L48.611 46.722Q49.722 43.944 51.944 41.306L51.944 41.306Q54.167 38.667 56.667 37.139L56.667 37.139Q59.167 35.611 61.528 34.917L61.528 34.917Q63.889 34.222 66.250 33.944L66.250 33.944Z" filter="url(#footer-icon-mark-shadow)"/><path fill="#FBFAFF" transform="translate(82 55) scale(.068 -.068)" d="M265 -179Q225 -179 184.0 -171.0Q143 -163 107.5 -146.5Q72 -130 48 -104L91 0Q120 -33 166.0 -50.0Q212 -67 259 -67Q314 -67 350.0 -44.5Q386 -22 405.0 25.0Q424 72 426 142L433 237H412Q402 169 379.0 126.5Q356 84 321.5 64.5Q287 45 241 45Q184 45 145.0 74.0Q106 103 86.5 160.0Q67 217 67 301V523H194V330Q194 236 217.0 193.5Q240 151 287 151Q312 151 333.0 164.5Q354 178 368.5 203.5Q383 229 391.5 267.0Q400 305 401 354V523H528V137Q528 74 517.5 23.5Q507 -27 486.0 -64.5Q465 -102 433.5 -128.0Q402 -154 360.0 -166.5Q318 -179 265 -179ZM875 -13Q798 -13 739.0 18.5Q680 50 646.5 111.5Q613 173 613 263Q613 355 647.5 415.5Q682 476 741.0 506.0Q800 536 874 536Q951 536 1010.0 505.0Q1069 474 1103.0 412.5Q1137 351 1137 260Q1137 168 1103.0 107.0Q1069 46 1009.5 16.5Q950 -13 875 -13ZM880 83Q922 83 951.0 102.5Q980 122 995.5 161.0Q1011 200 1011 254Q1011 311 994.5 351.5Q978 392 947.5 414.0Q917 436 871 436Q831 436 801.0 416.5Q771 397 755.5 359.0Q740 321 740 265Q740 177 777.5 130.0Q815 83 880 83ZM1428 -180Q1343 -180 1288.5 -167.0Q1234 -154 1208.0 -128.0Q1182 -102 1182 -64Q1182 -18 1218.5 11.5Q1255 41 1327 48V68Q1273 67 1245.0 79.5Q1217 92 1217 120Q1217 147 1244.5 168.0Q1272 189 1336 203V223Q1275 226 1241.0 261.5Q1207 297 1207 354Q1207 405 1235.0 444.0Q1263 483 1317.5 505.5Q1372 528 1450 528H1709V428L1545 452V430Q1607 420 1636.5 395.0Q1666 370 1666 327Q1666 286 1640.0 254.5Q1614 223 1564.5 205.5Q1515 188 1445 188Q1432 188 1417.0 189.0Q1402 190 1370 194Q1349 179 1336.0 167.5Q1323 156 1323 146Q1323 138 1333.0 132.5Q1343 127 1359.0 125.0Q1375 123 1390 123H1529Q1549 123 1580.5 120.0Q1612 117 1643.5 104.0Q1675 91 1696.5 63.0Q1718 35 1718 -16Q1718 -73 1685.5 -109.5Q1653 -146 1588.5 -163.0Q1524 -180 1428 -180ZM1439 -78Q1501 -78 1538.0 -71.0Q1575 -64 1591.0 -48.5Q1607 -33 1607 -9Q1607 13 1597.0 25.5Q1587 38 1571.5 43.0Q1556 48 1540.0 49.0Q1524 50 1513 50H1390Q1342 43 1322.5 23.0Q1303 3 1303 -21Q1303 -45 1319.0 -57.5Q1335 -70 1365.5 -74.0Q1396 -78 1439 -78ZM1442 257Q1494 257 1521.0 281.5Q1548 306 1548 346Q1548 389 1520.5 416.5Q1493 444 1441 444Q1389 444 1360.5 417.0Q1332 390 1332 348Q1332 321 1344.5 300.5Q1357 280 1381.5 268.5Q1406 257 1442 257ZM1968 -13Q1878 -13 1832.5 48.5Q1787 110 1787 235V523H1914V249Q1914 170 1938.0 131.0Q1962 92 2012 92Q2041 92 2063.0 106.5Q2085 121 2101.0 147.5Q2117 174 2126.5 209.0Q2136 244 2138 286V523H2264V215V0H2160L2162 165H2144Q2131 102 2107.5 63.0Q2084 24 2050.0 5.5Q2016 -13 1968 -13ZM2381 0V262V523H2487L2485 343H2503Q2512 407 2531.0 449.5Q2550 492 2584.0 513.5Q2618 535 2668 535Q2678 535 2689.5 534.0Q2701 533 2715 529L2710 396Q2694 402 2677.5 404.5Q2661 407 2647 407Q2608 407 2579.5 387.0Q2551 367 2533.5 330.5Q2516 294 2507 244V0ZM2961 -12Q2878 -12 2839.0 32.5Q2800 77 2800 171V422H2723L2725 522H2776Q2805 522 2819.0 531.0Q2833 540 2836 563L2848 639H2921V523H3059V418H2921V176Q2921 139 2938.5 122.0Q2956 105 2991 105Q3010 105 3028.5 109.5Q3047 114 3063 125V5Q3032 -5 3006.5 -8.5Q2981 -12 2961 -12Z"/></svg></a><div class="footer-main"><div class="footer-brand"><div><p>Private AI meeting notes.<br/>Free and open source.</p><a data-download class="button secondary footer-download" href="https://github.com/FrigadeHQ/yogurt/releases/latest/download/Yogurt-mac-arm64.dmg"><svg aria-hidden="true" fill="currentColor" viewbox="0 0 24 24"><path d="M17.1 12.3c0-2.6 2.2-3.9 2.3-4-1.3-1.9-3.2-2.1-3.9-2.1-1.7-.2-3.3 1-4.2 1-.9 0-2.2-1-3.6-.9-1.9 0-3.6 1.1-4.6 2.7-2 3.4-.5 8.4 1.4 11.1.9 1.3 2 2.7 3.4 2.6 1.3 0 1.9-.8 3.5-.8s2.1.8 3.5.8c1.5 0 2.4-1.3 3.3-2.6 1.1-1.5 1.5-3 1.5-3.1-.1 0-2.6-1-2.6-3.7ZM14.4 4.5c.8-1 1.4-2.3 1.2-3.5-1.2.1-2.6.8-3.4 1.7-.7.8-1.4 2.2-1.2 3.4 1.3.1 2.6-.7 3.4-1.6Z"></path></svg><span data-download-label>Download for Mac</span></a><span class="download-requirements"><span data-requirements><span>macOS 14.4+</span> · <span>Apple Silicon (M1+)</span></span><span class="download-alternatives">Also for <a class="link-label" aria-label="Download for Windows" href="https://github.com/FrigadeHQ/yogurt/releases/latest/download/Yogurt-windows-x64.exe">Windows</a> and <a class="link-label" aria-label="Download for Linux" href="https://github.com/FrigadeHQ/yogurt/releases/latest/download/Yogurt-linux-x86_64.AppImage">Linux</a></span></span></div></div><div class="footer-column"><h3>Yogurt</h3><a href="{{pageHome}}#how-it-works"><span class="link-label">How it works</span><svg class="link-arrow" width="12" height="12" viewBox="0 0 14 14" aria-hidden="true" fill="none"><path d="m5 3 4 4-4 4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.4"/></svg></a><a href="{{pageHome}}#privacy"><span class="link-label">Privacy</span><svg class="link-arrow" width="12" height="12" viewBox="0 0 14 14" aria-hidden="true" fill="none"><path d="m5 3 4 4-4 4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.4"/></svg></a><a href="{{pageHome}}#questions"><span class="link-label">FAQ</span><svg class="link-arrow" width="12" height="12" viewBox="0 0 14 14" aria-hidden="true" fill="none"><path d="m5 3 4 4-4 4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.4"/></svg></a>-<a href="/updates"><span class="link-label">Updates</span><svg class="link-arrow" width="12" height="12" viewBox="0 0 14 14" aria-hidden="true" fill="none"><path d="m5 3 4 4-4 4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.4"/></svg></a></div><div class="footer-column"><h3>Open source</h3><a href="https://github.com/FrigadeHQ/yogurt" target="_blank" rel="noopener noreferrer"><span class="link-label">Source code</span><span class="link-arrow" aria-hidden="true">↗</span></a><a href="https://github.com/FrigadeHQ/yogurt/issues" target="_blank" rel="noopener noreferrer"><span class="link-label">Feedback</span><span class="link-arrow" aria-hidden="true">↗</span></a></div></div><div class="footer-bottom"><div><span>© 2026 Frigade</span><a class="link-label" href="/llms.txt">llms.txt</a></div><div><a aria-label="Made by Frigade — visit Frigade" class="made-by" href="https://frigade.com?utm_source=yogurt&utm_medium=site" rel="noopener noreferrer" target="_blank"><span class="link-label">Made by</span><img alt="Frigade" height="26" src="/marketing/assets/frigade-logo.svg" width="76"/></a></div></div></footer>-<script type="module" src="/marketing/theme.mjs"></script>-<script type="module" src="/marketing/downloads.mjs"></script>-<script type="module" src="/marketing/navigation.mjs"></script>-<script type="module" src="/marketing/footer.mjs"></script>-{{pageModules}}-</body></html>diff --git a/site/content/updates.json b/site/content/updates.jsondeleted file mode 100644index c813b9af..00000000--- a/site/content/updates.json+++ /dev/null@@ -1,474 +0,0 @@-[- {- "version": "v0.3.52",- "published": "2026-11-20T01:12:30Z",- "headline": "Download models on work networks with custom certificates",- "changes": [- "Setup now trusts the same certificates as your computer."- ]- },- {- "version": "v0.3.51",- "published": "2026-11-20T00:08:08Z",- "headline": "Ask how a meeting went",- "changes": [- "Ask reads the summary and keeps follow-ups on that meeting.",- "Writing notes after long calls no longer freezes 24 GB Macs.",- "Install Yogurt on a Mac with Homebrew."- ]- },- {- "version": "v0.3.50",- "published": "2026-11-19T19:50:49Z",- "headline": "See call names again in Teams on Mac and Windows",- "changes": [- "Code Integrity on Windows now lets the speech engine run.",- "Each linked calendar has its own row in Settings.",- "The stop prompt closes when recording ends."- ]- },- {- "version": "v0.3.49",- "published": "2026-11-19T17:45:03Z",- "headline": "See where an Ask answer came from",- "changes": [- "Hover over a highlighted sentence to see its source.",- "Meet no longer lists chat messages or page text as names."- ]- },- {- "version": "v0.3.48",- "published": "2026-11-19T00:28:51Z",- "headline": "Turn an audio file into a meeting note",- "changes": [- "Choose an MP3, M4A or WAV file from your computer.",- "Set the date and time of the original meeting.",- "Yogurt transcribes the file into a new note on your computer."- ]- },- {- "version": "v0.3.47",- "published": "2026-11-18T23:17:21Z",- "headline": "Get a transcript when the graphics card misses speech",- "changes": [- "On Windows and Linux, Yogurt tests the graphics card first.",- "If the test finds no speech, the processor takes over.",- "Delete audio keeps your transcript and meeting notes."- ]- },- {- "version": "v0.3.46",- "published": "2026-11-18T19:09:23Z",- "headline": "Keep control of recordings you start yourself",- "changes": [- "If the call releases the mic, your recording keeps going.",- "After 30 seconds, Yogurt asks whether to keep recording."- ]- },- {- "version": "v0.3.45",- "published": "2026-11-18T16:05:11Z",- "headline": "Identify Teams speakers on Windows",- "changes": [- "Yogurt recognizes Teams calls in a browser.",- "Speaker names come through from the Windows app too."- ]- },- {- "version": "v0.3.44",- "published": "2026-11-18T09:20:49Z",- "headline": "Open large calendars without freezing",- "changes": [- "Calendars with years of recurring meetings now load.",- "On Windows and Linux, stalled transcription can use the CPU."- ]- },- {- "version": "v0.3.43",- "published": "2026-11-18T05:13:53Z",- "headline": "See the meeting behind an Ask answer",- "changes": [- "In Ask, select a meeting name to read the quoted passage.",- "Automatic stop waits about five seconds after a call ends.",- "The Windows installer is now digitally signed.",- "If Zoom stops naming speakers, Yogurt checks again.",- "People lists you with your company using your invite email."- ]- },- {- "version": "v0.3.42",- "published": "2026-11-18T00:49:11Z",- "headline": "Connect your calendar on Windows and Linux",- "changes": [- "Add a private calendar link during setup or in Settings.",- "On Mac, paste your link in Add another calendar.",- "Multi-language follows speakers who switch languages."- ]- },- {- "version": "v0.3.41",- "published": "2026-11-17T21:20:41Z",- "headline": "Keep speaker names during a Zoom screen share",- "changes": [- "On Mac, Yogurt reads names from Zoom’s floating window.",- "AI apps you enable can read a meeting’s linked calendar event.",- "AI apps you enable can read attendee names and emails.",- "Calls during setup no longer trigger a recording reminder."- ]- },- {- "version": "v0.3.40",- "published": "2026-11-17T20:42:08Z",- "headline": "Find a word in the full transcript",- "changes": [- "Search highlights matches in the full transcript.",- "Press Enter to jump to the next match.",- "Summaries use less memory on Macs with under 28 GB of RAM.",- "Manage appears only for permissions with a settings page.",- "Choose Later to keep working when Update ready appears."- ]- },- {- "version": "v0.3.39",- "published": "2026-11-17T06:52:01Z",- "headline": "Tell Yogurt how to rewrite a summary",- "changes": [- "In Regenerate summary, ask for a shorter version.",- "Stop a rewrite to keep your previous summary.",- "The audio player moves aside when you scroll down.",- "If the window fails to open, choose Reload to try again."- ]- },- {- "version": "v0.3.38",- "published": "2026-11-17T04:43:38Z",- "headline": "See where each day starts in the agenda",- "changes": [- "Each date now sits just above its first meeting."- ]- },- {- "version": "v0.3.37",- "published": "2026-11-17T02:15:22Z",- "headline": "Choose a language for your summaries",- "changes": [- "Summary language applies to new summaries and rewrites.",- "See who spoke in Meet, Teams and Zoom on Windows.",- "On Mac, Menu bar only hides the Dock icon.",- "Use your mouse buttons to go back or forward in Yogurt.",- "Meet controls no longer appear as speaker names."- ]- },- {- "version": "v0.3.36",- "published": "2026-11-16T19:58:54Z",- "headline": "Suggested folders stay in place",- "changes": [- "Open the folder list by keyboard to start on Suggested."- ]- },- {- "version": "v0.3.35",- "published": "2026-11-16T17:50:32Z",- "headline": "Know which microphone is recording",- "changes": [- "Yogurt tells you when it switches to your system microphone.",- "If a rewrite fails, Yogurt says it kept your last summary."- ]- },- {- "version": "v0.3.34",- "published": "2026-11-16T14:50:56Z",- "headline": "Fewer stray names in transcripts",- "changes": [- "Yogurt removes stray names from the start of transcript lines."- ]- },- {- "version": "v0.3.33",- "published": "2026-11-16T14:05:13Z",- "headline": "Hear both sides of a Teams call on Windows",- "changes": [- "Windows captures Teams audio through your sound output."- ]- },- {- "version": "v0.3.32",- "published": "2026-11-16T12:21:45Z",- "headline": "Recover empty meeting notes",- "changes": [- "Yogurt rebuilds empty notes from the saved recording."- ]- },- {- "version": "v0.3.31",- "published": "2026-11-16T11:23:23Z",- "headline": "Fill in missing transcripts from older recordings",- "changes": [- "On startup, Yogurt checks older recordings for missing text."- ]- },- {- "version": "v0.3.30",- "published": "2026-11-16T09:51:45Z",- "headline": "Write summaries when graphics memory runs short",- "changes": [- "Summaries can use your processor if graphics memory is full."- ]- },- {- "version": "v0.3.29",- "published": "2026-11-16T08:33:33Z",- "headline": "Keep your summary in view during a rewrite",- "changes": [- "Your previous summary stays visible until the rewrite starts.",- "A status shows when Yogurt is reading your transcript."- ]- },- {- "version": "v0.3.28",- "published": "2026-11-16T06:48:09Z",- "headline": "Choose which meetings Ask searches",- "changes": [- "Pick meetings and folders from one searchable list.",- "Each answer shows which meetings Ask searched.",- "While reading, Ask names the closest match."- ]- },- {- "version": "v0.3.27",- "published": "2026-11-16T05:50:26Z",- "headline": "A quieter place to type a question",- "changes": [- "The Ask box lights up briefly when you open it."- ]- },- {- "version": "v0.3.26",- "published": "2026-11-16T04:49:26Z",- "headline": "Pause the recorder preview when it is hidden",- "changes": [- "The recorder preview pauses behind the main window."- ]- },- {- "version": "v0.3.25",- "published": "2026-11-16T03:48:52Z",- "headline": "Keep long meetings searchable while recording",- "changes": [- "The live transcript displays the most recent lines.",- "Show earlier lines reveals the rest of the recording.",- "Search still covers the whole transcript."- ]- },- {- "version": "v0.3.24",- "published": "2026-11-16T00:51:56Z",- "headline": "Get notes from meetings recorded during setup",- "changes": [- "Saved recordings get a transcript once setup finishes.",- "You can hide events without a call link from your agenda."- ]- },- {- "version": "v0.3.23",- "published": "2026-11-15T20:23:35Z",- "headline": "Connect an AI app quietly on Mac",- "changes": [- "An AI connection can start Yogurt in the background."- ]- },- {- "version": "v0.3.22",- "published": "2026-11-15T19:20:26Z",- "headline": "Identify Webex speakers from the participant list",- "changes": [- "Webex speakers keep their names when Yogurt finds a match.",- "Unlisted speakers no longer get a guessed name."- ]- },- {- "version": "v0.3.21",- "published": "2026-11-15T11:05:31Z",- "headline": "Less background work in long transcripts",- "changes": [- "Transcript animations stop once each line has faded in."- ]- },- {- "version": "v0.3.20",- "published": "2026-11-15T06:47:40Z",- "headline": "Recover from a recording interruption",- "changes": [- "Yogurt restarts the recorder after an isolated crash.",- "Webex transcripts use names from the participant list."- ]- },- {- "version": "v0.3.19",- "published": "2026-11-15T03:50:49Z",- "headline": "Reconnect a microphone that fails to start",- "changes": [- "On Mac, Yogurt retries a microphone that failed to start.",- "Your Mac’s microphone can take over if retries fail."- ]- },- {- "version": "v0.3.18",- "published": "2026-11-14T23:20:23Z",- "headline": "Keep folders in step with the sidebar",- "changes": [- "Folder rows move with the sidebar when you use the keyboard.",- "Search results keep one icon per row."- ]- },- {- "version": "v0.3.17",- "published": "2026-11-14T22:03:42Z",- "headline": "Add attendees from the meeting invitation",- "changes": [- "People suggests this meeting’s invitees first.",- "Take notes is available for solo calendar events too.",- "Use the date arrows to browse events on nearby days."- ]- },- {- "version": "v0.3.16",- "published": "2026-11-14T20:44:30Z",- "headline": "Resume the notes you already started",- "changes": [- "Take notes reopens the meeting’s existing note.",- "Choose New recording to record outside a calendar event."- ]- },- {- "version": "v0.3.15",- "published": "2026-11-14T19:40:09Z",- "headline": "Jump to a date in your agenda",- "changes": [- "Type a date in search and choose Go to that day.",- "The agenda arrows move one day at a time.",- "Take notes in the title bar starts the current meeting.",- "You can delete a recording from the player menu.",- "With reduced motion, note tabs switch instantly."- ]- },- {- "version": "v0.3.14",- "published": "2026-11-13T23:58:41Z",- "headline": "Choose where to file a meeting",- "changes": [- "Select a suggested folder to file the meeting.",- "Ask shows the note’s own title.",- "On Linux, Yogurt reads names from Zoom Workplace."- ]- },- {- "version": "v0.3.13",- "published": "2026-11-13T21:40:41Z",- "headline": "Keep call echoes out of transcripts",- "changes": [- "Echoes no longer appear as separate transcript lines.",- "Meeting names no longer slip into speaker labels."- ]- },- {- "version": "v0.3.12",- "published": "2026-11-13T19:47:15Z",- "headline": "Follow AI downloads in the title bar",- "changes": [- "The title bar shows AI download progress.",- "You can skip the larger notes download.",- "On Windows, Manage opens Sound settings for call audio."- ]- },- {- "version": "v0.3.11",- "published": "2026-11-13T07:01:37Z",- "headline": "Install a waiting update between calls",- "changes": [- "After a day, a downloaded update offers Restart Yogurt.",- "The update reminder stays out of calls.",- "Ask gives each cited meeting its own number."- ]- },- {- "version": "v0.3.10",- "published": "2026-11-13T05:09:55Z",- "headline": "See new calendar events sooner on Mac",- "changes": [- "Events added on the web reach the Mac agenda within a minute.",- "A purple line marks agenda events that have notes.",- "Zoom speaker names also come from Gallery view."- ]- },- {- "version": "v0.3.9",- "published": "2026-11-13T00:05:28Z",- "headline": "Place the recorder at any screen edge",- "changes": [- "Drag the recorder to any edge, open or closed.",- "Find a meeting by its date or by who attended.",- "On Mac, switching microphones no longer crashes the recorder."- ]- },- {- "version": "v0.3.8",- "published": "2026-11-12T21:09:46Z",- "headline": "Organize several meetings at once",- "changes": [- "Select several meetings to move them to a folder.",- "Move selected meetings to Trash in one step.",- "On Linux, transcripts can include names from calls.",- "Finishing a recording no longer prompts you to record again."- ]- },- {- "version": "v0.3.7",- "published": "2026-11-12T04:46:46Z",- "headline": "Use a dedicated graphics card for transcription",- "changes": [- "Transcription prefers a dedicated graphics card if available."- ]- },- {- "version": "v0.3.6",- "published": "2026-11-11T23:59:48Z",- "headline": "Choose when Yogurt installs updates",- "changes": [- "You can turn automatic updates off in Settings.",- "With updates off, quitting skips a downloaded update.",- "Yogurt opens on Linux desktops that use Wayland."- ]- },- {- "version": "v0.3.5",- "published": "2026-11-11T17:10:03Z",- "headline": "Follow a summary as it is written",- "changes": [- "Scroll up to pause as the summary grows.",- "Choose Latest to return to the newest line.",- "You can record while the AI download finishes."- ]- },- {- "version": "v0.3.2",- "published": "2026-11-11T09:21:30Z",- "headline": "Read the live transcript from the recorder",- "changes": [- "Hover over the recorder to see the live transcript.",- "Select a folder name on a meeting to open the folder.",- "Disconnect a calendar in Settings."- ]- },- {- "version": "v0.3.1",- "published": "2026-11-11T03:04:23Z",- "headline": "Use your own notes to guide the summary",- "changes": [- "Yogurt uses your typed notes as hints for the summary.",- "The recorder preview waits for your pointer to settle.",- "Ask keeps focus in the question box after you send."- ]- }-]diff --git a/site/next.config.ts b/site/next.config.tsdeleted file mode 100644index dbfa6320..00000000--- a/site/next.config.ts+++ /dev/null@@ -1,4 +0,0 @@-import type { NextConfig } from 'next'--const config: NextConfig = {}-export default configdiff --git a/site/package.json b/site/package.jsondeleted file mode 100644index 304ed7fa..00000000--- a/site/package.json+++ /dev/null@@ -1,25 +0,0 @@-{- "name": "yogurt-site",- "private": true,- "license": "MIT",- "scripts": {- "dev": "next dev",- "build": "node scripts/stars-snapshot.mjs && next build && node scripts/submit-indexnow.mjs",- "start": "next start",- "site:bundle": "node scripts/bundle.mjs",- "site:stars": "node scripts/stars-snapshot.mjs --save",- "site:stills": "node scripts/stills.mjs",- "test": "node renderer/timeline.test.mjs && node scripts/ribbon-geometry.test.mjs && node scripts/hero-entry.test.mjs && node scripts/headline.test.mjs && node scripts/theme.test.mjs && node scripts/hero-theme.test.mjs && node scripts/stars.test.mjs && node scripts/walkthrough.test.mjs && node scripts/features.test.mjs && node scripts/navigation.test.mjs && node scripts/updates.test.mjs && node scripts/release-notes.test.mjs && node scripts/llms.test.mjs && node scripts/home-metadata.test.mjs && node scripts/indexnow.test.mjs && node scripts/download-clicks.test.mjs"- },- "dependencies": {- "next": "16.4.5",- "react": "19.3.0",- "react-dom": "19.3.0"- },- "devDependencies": {- "@types/node": "24.19.2",- "@types/react": "19.3.0",- "@types/react-dom": "19.3.0",- "typescript": "5.9.3"- }-}diff --git a/site/pnpm-lock.yaml b/site/pnpm-lock.yamldeleted file mode 100644index fb1e95e4..00000000--- a/site/pnpm-lock.yaml+++ /dev/null@@ -1,614 +0,0 @@-lockfileVersion: '9.0'--settings:- autoInstallPeers: true- excludeLinksFromLockfile: false--importers:-- .:- dependencies:- next:- specifier: 16.4.5- version: 16.4.5(@types/[email protected])([email protected]([email protected]))([email protected])- react:- specifier: 19.3.0- version: 19.3.0- react-dom:- specifier: 19.3.0- version: 19.3.0([email protected])- devDependencies:- '@types/node':- specifier: 24.19.2- version: 24.19.2- '@types/react':- specifier: 19.3.0- version: 19.3.0- '@types/react-dom':- specifier: 19.3.0- version: 19.3.0(@types/[email protected])- typescript:- specifier: 5.9.3- version: 5.9.3--packages:-- '@emnapi/[email protected]':- resolution: {integrity: sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==}-- '@img/[email protected]':- resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}- engines: {node: '>=18'}-- '@img/[email protected]':- resolution: {integrity: sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==}- engines: {node: '>=20.9.0'}- cpu: [arm64]- os: [darwin]-- '@img/[email protected]':- resolution: {integrity: sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==}- engines: {node: '>=20.9.0'}- cpu: [x64]- os: [darwin]-- '@img/[email protected]':- resolution: {integrity: sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==}- engines: {node: '>=20.9.0'}- os: [freebsd]-- '@img/[email protected]':- resolution: {integrity: sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==}- cpu: [arm64]- os: [darwin]-- '@img/[email protected]':- resolution: {integrity: sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==}- cpu: [x64]- os: [darwin]-- '@img/[email protected]':- resolution: {integrity: sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==}- cpu: [arm64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==}- cpu: [arm]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==}- cpu: [ppc64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==}- cpu: [riscv64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==}- cpu: [s390x]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==}- cpu: [x64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==}- cpu: [arm64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==}- cpu: [x64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==}- engines: {node: '>=20.9.0'}- cpu: [arm64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==}- engines: {node: '>=20.9.0'}- cpu: [arm]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==}- engines: {node: '>=20.9.0'}- cpu: [ppc64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==}- engines: {node: '>=20.9.0'}- cpu: [riscv64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==}- engines: {node: '>=20.9.0'}- cpu: [s390x]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==}- engines: {node: '>=20.9.0'}- cpu: [x64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==}- engines: {node: '>=20.9.0'}- cpu: [arm64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==}- engines: {node: '>=20.9.0'}- cpu: [x64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==}- engines: {node: '>=20.9.0'}-- '@img/[email protected]':- resolution: {integrity: sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==}- engines: {node: '>=20.9.0'}- cpu: [wasm32]-- '@img/[email protected]':- resolution: {integrity: sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==}- engines: {node: '>=20.9.0'}- cpu: [arm64]- os: [win32]-- '@img/[email protected]':- resolution: {integrity: sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==}- engines: {node: ^20.9.0}- cpu: [ia32]- os: [win32]-- '@img/[email protected]':- resolution: {integrity: sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==}- engines: {node: '>=20.9.0'}- cpu: [x64]- os: [win32]-- '@next/[email protected]':- resolution: {integrity: sha512-JwSPwpdkZL5VMl2jA/q+JI8MZdweAL3xmw5/tb9y/TLtmS0YXZnmYDzSihwk8xTj1OL+WM53gTqaj96yuLp6Xw==}-- '@next/[email protected]':- resolution: {integrity: sha512-W5TniBzWKASbNNwHZ/S/f1MxQUXU/LdjklVMWA0Ujbfl7SZnUzFls45hO0i/sF7Bx1jJBWp7WWmoQajXtX/O8A==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [darwin]-- '@next/[email protected]':- resolution: {integrity: sha512-uWq4qkHapBDS1oFltWS4YxTb9pLHAtLNcpbuK6SmRsebLYZqpBML/j/C0op+50JYGTpZgVL/DWNt/6oWlamrrw==}- engines: {node: '>= 10'}- cpu: [x64]- os: [darwin]-- '@next/[email protected]':- resolution: {integrity: sha512-FdRcyOx5u5P51mlAqLB9EXdd8jZO5fsdHtk4BAQSkqOywCsbTNN/rmw+jO7pnmjNdAtu2AG46NzbCL2FPDrrgw==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [linux]-- '@next/[email protected]':- resolution: {integrity: sha512-cyvmmgtRXR8aGVT86wi9Py53IlfyCx7P2fZxuAXAoTummDnhKtUyjrMeXfapqp4qgD+gT5RqyGD/VfA16jEK7Q==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [linux]-- '@next/[email protected]':- resolution: {integrity: sha512-hPc+Fl+N22DAvqZHq559NmamXboOX5Lu8I5Wl0DezfrhTk1Zz21NQeYoZDmNI/NjTcrdsVxM72Fzn2lI+Q+vAw==}- engines: {node: '>= 10'}- cpu: [x64]- os: [linux]-- '@next/[email protected]':- resolution: {integrity: sha512-gbACYE8IP/jlprNTpiWXHb8N9CofOzpnEwH2SrIz1dUbiJf1FbDssDupCAPeP1Taxe8mgG20sGZamJI7KFOdZw==}- engines: {node: '>= 10'}- cpu: [x64]- os: [linux]-- '@next/[email protected]':- resolution: {integrity: sha512-+8gj++ZMo8H20Xh2ijjNqyFk5LPLw0AC4Fs4Tq/G94rjjQXhOjN4jgSWsWKPFsyY26hfIeemJIwKtMxOsp5GBA==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [win32]-- '@next/[email protected]':- resolution: {integrity: sha512-qNZj66pYXnaWLiF9R9GUbfBdrCv7kC6TaZfIwB2KH5WPc/8pEM3nVOj8hpQhWJU8S94rlH5MPDcX15+RrgUhiw==}- engines: {node: '>= 10'}- cpu: [x64]- os: [win32]-- '@swc/[email protected]':- resolution: {integrity: sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==}-- '@types/[email protected]':- resolution: {integrity: sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ==}-- '@types/[email protected]':- resolution: {integrity: sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==}- peerDependencies:- '@types/react': ^19.3.0-- '@types/[email protected]':- resolution: {integrity: sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==}-- resolution: {integrity: sha512-Aqr8mA1kIvyJ3UY5YAY7ib8LSo1DmDMbMnVqGPtsKW1LxaFQFwn9Eb3yvq2fUKJsRvaXjnAV7R5osqETapzNiA==}- engines: {node: '>=6.0.0'}- hasBin: true-- resolution: {integrity: sha512-gfWD6MxqVCqAOwmODfZf7DchWvlrA+SRdNX7ceLfg3xRqe5ssjjpF7EgslC/0tiLiNTajdaNN/q8c/5u/7Gz8w==}-- resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}-- resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}-- resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}- engines: {node: '>=8'}-- resolution: {integrity: sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==}- engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}- hasBin: true-- resolution: {integrity: sha512-rmdfsWosjTUO+6R0S3KokoIk6Kj0sWDRTe86tZHdqaWH/oXq/udX3/4xb+YQi7aWbyEFoglDU54kaifLCdXbBw==}- engines: {node: '>=20.9.0'}- hasBin: true- peerDependencies:- '@opentelemetry/api': ^1.1.0- '@playwright/test': ^1.51.1- babel-plugin-react-compiler: '*'- react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0- react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0- sass: ^1.3.0- peerDependenciesMeta:- '@opentelemetry/api':- optional: true- '@playwright/test':- optional: true- babel-plugin-react-compiler:- optional: true- sass:- optional: true-- resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}-- resolution: {integrity: sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==}- engines: {node: ^10 || ^12 || >=14}-- resolution: {integrity: sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==}- peerDependencies:- react: ^19.3.0-- resolution: {integrity: sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==}- engines: {node: '>=0.10.0'}-- resolution: {integrity: sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==}-- resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==}- engines: {node: '>=10'}- hasBin: true-- resolution: {integrity: sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==}- engines: {node: '>=20.9.0'}- peerDependencies:- '@types/node': '*'- peerDependenciesMeta:- '@types/node':- optional: true-- resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==}- engines: {node: '>=0.10.0'}-- resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==}- engines: {node: '>= 12.0.0'}- peerDependencies:- '@babel/core': '*'- babel-plugin-macros: '*'- react: '>= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0'- peerDependenciesMeta:- '@babel/core':- optional: true- babel-plugin-macros:- optional: true-- resolution: {integrity: sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==}-- resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}- engines: {node: '>=14.17'}- hasBin: true-- resolution: {integrity: sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==}--snapshots:-- '@emnapi/[email protected]':- dependencies:- tslib: 2.9.1- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-darwin-arm64': 1.3.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-darwin-x64': 1.3.4- optional: true-- '@img/[email protected]':- dependencies:- '@img/sharp-wasm32': 0.35.5- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linux-arm64': 1.3.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linux-arm': 1.3.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linux-ppc64': 1.3.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linux-riscv64': 1.3.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linux-s390x': 1.3.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linux-x64': 1.3.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linuxmusl-arm64': 1.3.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linuxmusl-x64': 1.3.4- optional: true-- '@img/[email protected]':- dependencies:- '@emnapi/runtime': 1.11.3- optional: true-- '@img/[email protected]':- dependencies:- '@img/sharp-wasm32': 0.35.5- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@next/[email protected]': {}-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@swc/[email protected]':- dependencies:- tslib: 2.9.1-- '@types/[email protected]':- dependencies:- undici-types: 7.24.6-- '@types/[email protected](@types/[email protected])':- dependencies:- '@types/react': 19.3.0-- '@types/[email protected]':- dependencies:- csstype: 3.2.3-- [email protected]: {}-- [email protected]: {}-- [email protected]: {}-- [email protected]: {}-- optional: true-- [email protected]: {}-- [email protected](@types/[email protected])([email protected]([email protected]))([email protected]):- dependencies:- '@next/env': 16.4.5- '@swc/helpers': 0.5.23- baseline-browser-mapping: 2.11.34- caniuse-lite: 1.0.30001820- postcss: 8.5.23- react: 19.3.0- react-dom: 19.3.0([email protected])- styled-jsx: 5.1.6([email protected])- optionalDependencies:- '@next/swc-darwin-arm64': 16.4.5- '@next/swc-darwin-x64': 16.4.5- '@next/swc-linux-arm64-gnu': 16.4.5- '@next/swc-linux-arm64-musl': 16.4.5- '@next/swc-linux-x64-gnu': 16.4.5- '@next/swc-linux-x64-musl': 16.4.5- '@next/swc-win32-arm64-msvc': 16.4.5- '@next/swc-win32-x64-msvc': 16.4.5- sharp: 0.35.5(@types/[email protected])- transitivePeerDependencies:- - '@babel/core'- - '@types/node'- - babel-plugin-macros-- [email protected]: {}-- dependencies:- nanoid: 3.3.20- picocolors: 1.1.1- source-map-js: 1.2.2-- dependencies:- react: 19.3.0- scheduler: 0.28.0-- [email protected]: {}-- [email protected]: {}-- optional: true-- [email protected](@types/[email protected]):- dependencies:- '@img/colour': 1.1.0- detect-libc: 2.1.2- semver: 7.8.5- optionalDependencies:- '@img/sharp-darwin-arm64': 0.35.5- '@img/sharp-darwin-x64': 0.35.5- '@img/sharp-freebsd-wasm32': 0.35.5- '@img/sharp-libvips-darwin-arm64': 1.3.4- '@img/sharp-libvips-darwin-x64': 1.3.4- '@img/sharp-libvips-linux-arm': 1.3.4- '@img/sharp-libvips-linux-arm64': 1.3.4- '@img/sharp-libvips-linux-ppc64': 1.3.4- '@img/sharp-libvips-linux-riscv64': 1.3.4- '@img/sharp-libvips-linux-s390x': 1.3.4- '@img/sharp-libvips-linux-x64': 1.3.4- '@img/sharp-libvips-linuxmusl-arm64': 1.3.4- '@img/sharp-libvips-linuxmusl-x64': 1.3.4- '@img/sharp-linux-arm': 0.35.5- '@img/sharp-linux-arm64': 0.35.5- '@img/sharp-linux-ppc64': 0.35.5- '@img/sharp-linux-riscv64': 0.35.5- '@img/sharp-linux-s390x': 0.35.5- '@img/sharp-linux-x64': 0.35.5- '@img/sharp-linuxmusl-arm64': 0.35.5- '@img/sharp-linuxmusl-x64': 0.35.5- '@img/sharp-webcontainers-wasm32': 0.35.5- '@img/sharp-win32-arm64': 0.35.5- '@img/sharp-win32-ia32': 0.35.5- '@img/sharp-win32-x64': 0.35.5- '@types/node': 24.19.2- optional: true-- [email protected]: {}-- dependencies:- client-only: 0.0.1- react: 19.3.0-- [email protected]: {}-- [email protected]: {}-- [email protected]: {}diff --git a/site/public/80136ef773ad0e698e159c2c0af1c24a.txt b/site/public/80136ef773ad0e698e159c2c0af1c24a.txtdeleted file mode 100644index 59ef4dab..00000000--- a/site/public/80136ef773ad0e698e159c2c0af1c24a.txt+++ /dev/null@@ -1 +0,0 @@-80136ef773ad0e698e159c2c0af1c24adiff --git a/site/public/llms.txt b/site/public/llms.txtdeleted file mode 100644index 365638a3..00000000--- a/site/public/llms.txt+++ /dev/null@@ -1,35 +0,0 @@-# Yogurt--> Yogurt is a free, open-source desktop app for private AI meeting notes. It records your calls without adding a bot to the meeting, transcribes them on your computer and writes a summary. It is an alternative to Granola, made by Frigade and released under the MIT license.--Yogurt runs on macOS 14.4 or newer (Apple silicon), Windows 10 version 2004 or newer (x64) and Linux (Ubuntu 22.04 or newer, x64 AppImage). It needs at least 8 GB of memory. It is free and needs no account.--How it works: Yogurt records your microphone and the sound playing on your computer. Speech is transcribed with whisper.cpp and, on supported Macs, Apple SpeechAnalyzer. A local open-weight model running through llama.cpp writes the summary and answers questions. Audio, transcripts and AI processing stay on your computer; Yogurt goes online to download models and check for updates. No bot joins the call, so people on the call should be told it is being recorded.--What it does: live transcripts; meeting summaries that include your own notes; speaker names from Zoom, Teams and Meet; a multi-language mode that transcribes 99 languages; questions across meetings with links to the source; folders and search; copy and Markdown export; and an optional local MCP server that lets apps on your computer read your notes, transcripts, saved audio and each meeting's calendar details.--## Website--- [Yogurt](https://yogurt.so/): what Yogurt is, a demo, and downloads for Mac, Windows and Linux-- [Updates](https://yogurt.so/updates): every release with what changed, in plain words--## Download--- [Mac](https://github.com/FrigadeHQ/yogurt/releases/latest/download/Yogurt-mac-arm64.dmg): Apple silicon, macOS 14.4 or newer. With Homebrew: `brew install --cask frigadehq/yogurt/yogurt`-- [Windows](https://github.com/FrigadeHQ/yogurt/releases/latest/download/Yogurt-windows-x64.exe): Windows 10 version 2004 or newer, x64-- [Linux](https://github.com/FrigadeHQ/yogurt/releases/latest/download/Yogurt-linux-x86_64.AppImage): AppImage for Ubuntu 22.04 or newer, x64-- [All releases](https://github.com/FrigadeHQ/yogurt/releases)--## Source and documentation--- [Source code](https://github.com/FrigadeHQ/yogurt): the full app, MIT licensed-- [README](https://github.com/FrigadeHQ/yogurt/blob/main/README.md): features, how it works, where data is stored, and FAQ-- [Help](https://github.com/FrigadeHQ/yogurt/blob/main/docs/README.md): using Yogurt-- [Build and run locally](https://github.com/FrigadeHQ/yogurt/blob/main/docs/building.md): setting up the app, running tests and building an installer-- [License](https://github.com/FrigadeHQ/yogurt/blob/main/LICENSE): MIT--## Optional--- [Full text guide](https://yogurt.so/llms-full.txt): features, frequently asked questions and the latest five releases-- [Report a problem or ask for a feature](https://github.com/FrigadeHQ/yogurt/issues)-- [Frigade](https://frigade.com/): the company that makes Yogurtdiff --git a/site/public/marketing/activity.mjs b/site/public/marketing/activity.mjsdeleted file mode 100644index a184042f..00000000--- a/site/public/marketing/activity.mjs+++ /dev/null@@ -1,145 +0,0 @@-import { refreshSummary, hour, navStars } from './stars-data.mjs'--const section = document.querySelector('#progress'),- number = section.querySelector('.stat-value'),- clip = section.querySelector('.chart-clip'),- reduce = matchMedia('(prefers-reduced-motion: reduce)')-let total = Number(number.textContent.replaceAll(',', ''))-const format = new Intl.NumberFormat('en')-let started = false,- visible = false,- finished = reduce.matches,- clock = null,- raf = 0-// The count is always the real total. Only the line draws in.-function paint(progress) {- clip.style.transform = 'scaleX(' + progress + ')'-}-function stop() {- cancelAnimationFrame(raf)- raf = 0- clock?.pause()-}-function rest(state) {- stop()- clock?.cancel()- clock = null- finished = true- paint(1)- section.dataset.stars = state-}--function tick() {- if (reduce.matches || !visible || document.hidden) {- sync()- return- }- const progress = clock.effect.getComputedTiming().progress ?? 0- paint(progress)- if (clock.playState === 'finished' || progress >= 1) {- rest('complete')- return- }- raf = requestAnimationFrame(tick)-}-function sync() {- if (reduce.matches) {- rest('still')- return- }- if (!visible || document.hidden) {- stop()- return- }- if (!started || finished) return- if (!clock) {- clock = new Animation(new KeyframeEffect(null, [], {- duration: 1800, easing: 'cubic-bezier(.30,.60,.40,1)', fill: 'both',- }), document.timeline)- paint(0)- }- clock.play()- section.dataset.stars = 'playing'- if (!raf) raf = requestAnimationFrame(tick)-}-paint(reduce.matches ? 1 : 0)-new IntersectionObserver(([entry]) => {- visible = entry.isIntersecting && entry.intersectionRatio > 0- if (entry.intersectionRatio >= .55) started = true- sync()-}, {threshold: [0, .55]}).observe(section.querySelector('.oss-history'))-document.addEventListener('visibilitychange', sync)-reduce.addEventListener('change', sync)--const age = document.querySelector('[data-latest-age]')-const date = new Intl.DateTimeFormat('en', { month: 'short', day: 'numeric', year: 'numeric' })-const relative = new Intl.RelativeTimeFormat('en', { numeric: 'always' })-function update() {- const published = new Date(age.dateTime)- const minutes = Math.floor((Date.now() - published.getTime()) / 60000)- const hours = Math.floor(minutes / 60)- const days = Math.floor(hours / 24)- age.dataset.recent = String(minutes >= 0 && days < 7)- const label =- minutes < 0 || days >= 30- ? date.format(published)- : minutes < 1- ? 'just now'- : minutes < 60- ? relative.format(-minutes, 'minute')- : hours < 48- ? relative.format(-hours, 'hour')- : relative.format(-days, 'day')- age.textContent = 'Released ' + label- age.title = published.toLocaleString()-}-update()-setInterval(() => {- if (!document.hidden) update()-}, 60000)-document.addEventListener('visibilitychange', () => {- if (!document.hidden) update()-})--let statusVisible=false-function syncStatusPulse(){age.dataset.pulsing=String(statusVisible&&!document.hidden&&!reduce.matches)}-new IntersectionObserver(([entry])=>{- statusVisible=entry.isIntersecting- syncStatusPulse()-}).observe(age)-document.addEventListener('visibilitychange',syncStatusPulse)-reduce.addEventListener('change',syncStatusPulse)--const nav = document.querySelector('.nav-stars')-const built = { capturedAt: section.dataset.capturedAt, count: total }-let nextCheck = 0-let lastSummary = built-async function refresh() {- if (document.hidden || Date.now() < nextCheck) return- nextCheck = Date.now() + hour- let storage- try { storage = window.localStorage } catch {}- const data = await refreshSummary(lastSummary, { storage, getJSON: async url => {- const response = await fetch(url, {- headers: { Accept: 'application/vnd.github+json' }, credentials: 'omit', signal: AbortSignal.timeout(5000),- })- if (!response.ok) throw Error('GitHub unavailable')- return response.json()- } })- lastSummary = data- if (data.count !== total) {- total = data.count- const label = format.format(total)- number.textContent = label- nav.querySelector('span').textContent = navStars(total)- nav.setAttribute('aria-label', 'Yogurt on GitHub, ' + label + ' stars')- section.querySelector('.oss-history').setAttribute('aria-label', label + ' GitHub stars. View on GitHub')- }-}-function beginRefresh() {- refresh()- setInterval(refresh, hour)- document.addEventListener('visibilitychange', refresh)-}-if (document.readyState === 'complete') beginRefresh()-else window.addEventListener('load', beginRefresh, { once: true })diff --git a/site/public/marketing/app/LICENSES.txt b/site/public/marketing/app/LICENSES.txtdeleted file mode 100644index 0bf2f347..00000000--- a/site/public/marketing/app/LICENSES.txt+++ /dev/null@@ -1,1339 +0,0 @@-# Licenses--The app bundles dependencies which contain the following licenses:--## @animate-ui/react - 2.0.0 (SEE LICENSE IN LICENSE.md)--MIT + Commons Clause License Condition--Copyright (c) 2025 Elliot Sutton--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, and distribute the Software **as part of an application, website, or product**, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--## Commons Clause Restriction--You may use this Software, including for any commercial purpose, **so long as you do not sell or redistribute the components themselves in their original form—whether alone or in a bundle.**--## No Warranty--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @base-ui/react - 1.9.0 (MIT)--MIT License--Copyright (c) 2019 Material-UI SAS--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @base-ui/utils - 0.5.0 (MIT)--MIT License--Copyright (c) 2019 Material-UI SAS--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @floating-ui/core - 1.8.0 (MIT)--MIT License--Copyright (c) 2021-present Floating UI contributors--Permission is hereby granted, free of charge, to any person obtaining a copy of-this software and associated documentation files (the "Software"), to deal in-the Software without restriction, including without limitation the rights to-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of-the Software, and to permit persons to whom the Software is furnished to do so,-subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.--## @floating-ui/dom - 1.8.0 (MIT)--MIT License--Copyright (c) 2021-present Floating UI contributors--Permission is hereby granted, free of charge, to any person obtaining a copy of-this software and associated documentation files (the "Software"), to deal in-the Software without restriction, including without limitation the rights to-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of-the Software, and to permit persons to whom the Software is furnished to do so,-subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.--## @floating-ui/react-dom - 2.1.9 (MIT)--MIT License--Copyright (c) 2021-present Floating UI contributors--Permission is hereby granted, free of charge, to any person obtaining a copy of-this software and associated documentation files (the "Software"), to deal in-the Software without restriction, including without limitation the rights to-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of-the Software, and to permit persons to whom the Software is furnished to do so,-subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.--## @floating-ui/utils - 0.2.12 (MIT)--MIT License--Copyright (c) 2021-present Floating UI contributors--Permission is hereby granted, free of charge, to any person obtaining a copy of-this software and associated documentation files (the "Software"), to deal in-the Software without restriction, including without limitation the rights to-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of-the Software, and to permit persons to whom the Software is furnished to do so,-subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.--## @tiptap/core - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-blockquote - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-bold - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-bubble-menu - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-code-block - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-code - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-document - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-floating-menu - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-hard-break - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-heading - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-horizontal-rule - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-italic - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-link - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-list - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-paragraph - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-placeholder - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-strike - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-text - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extension-underline - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/extensions - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/pm - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/react - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## @tiptap/starter-kit - 3.32.0 (MIT)--MIT License--Copyright (c) 2025, Tiptap GmbH--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## chrono-node - 2.10.3 (MIT)--The MIT License--Copyright (c) 2014, Wanasit Tanakitrungruang--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## fast-equals - 5.4.5 (MIT)--MIT License--Copyright (c) 2025 Tony Quetano--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## framer-motion - 14.4.0 (MIT)--The MIT License (MIT)--Copyright (c) 2018 Framer B.V.--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## linkifyjs - 4.4.0 (MIT)--Copyright (c) 2024 Nick Frasser--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## lucide-react - 1.49.0 (ISC)--ISC License--Copyright (c) 2026 Lucide Icons and Contributors--Permission to use, copy, modify, and/or distribute this software for any-purpose with or without fee is hereby granted, provided that the above-copyright notice and this permission notice appear in all copies.--THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.-------The following Lucide icons are derived from the Feather project:--airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out--The MIT License (MIT) (for the icons listed above)--Copyright (c) 2013-present Cole Bemis--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## motion-dom - 14.4.0 (MIT)--The MIT License (MIT)--Copyright (c) 2024 [Motion](https://motion.dev) B.V.--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## motion-utils - 14.1.1 (MIT)--The MIT License (MIT)--Copyright (c) 2024 [Motion](https://motion.dev) B.V.--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## motion - 14.4.0 (MIT)--The MIT License (MIT)--Copyright (c) 2024 [Motion](https://motion.dev) B.V.--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## orderedmap - 2.1.1 (MIT)--Copyright (C) 2016 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## prosemirror-commands - 1.7.2 (MIT)--Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## prosemirror-dropcursor - 1.8.4 (MIT)--Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## prosemirror-gapcursor - 1.4.1 (MIT)--Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## prosemirror-history - 1.5.1 (MIT)--Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## prosemirror-keymap - 1.2.3 (MIT)--Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## prosemirror-model - 1.25.12 (MIT)--Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## prosemirror-schema-list - 1.5.1 (MIT)--Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## prosemirror-state - 1.4.4 (MIT)--Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## prosemirror-tables - 1.8.5 (MIT)--Copyright (C) 2015-2016 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## prosemirror-transform - 1.12.4 (MIT)--Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## prosemirror-view - 1.42.8 (MIT)--Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## react-dom - 19.3.0 (MIT)--MIT License--Copyright (c) Meta Platforms, Inc. and affiliates.--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## react - 19.3.0 (MIT)--MIT License--Copyright (c) Meta Platforms, Inc. and affiliates.--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## rope-sequence - 1.3.4 (MIT)--Copyright (C) 2016 by Marijn Haverbeke <[email protected]>--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.--## scheduler - 0.28.0 (MIT)--MIT License--Copyright (c) Meta Platforms, Inc. and affiliates.--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## use-sync-external-store - 1.7.0 (MIT)--MIT License--Copyright (c) Meta Platforms, Inc. and affiliates.--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--## w3c-keyname - 2.2.8 (MIT)--Copyright (C) 2016 by Marijn Haverbeke <[email protected]> and others--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.diff --git a/site/public/marketing/app/frame.html b/site/public/marketing/app/frame.htmldeleted file mode 100644index 361c0998..00000000--- a/site/public/marketing/app/frame.html+++ /dev/null@@ -1 +0,0 @@-<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; connect-src 'none'; media-src 'none'; frame-src 'none'; form-action 'none'; base-uri 'none'"><title>Fictional meeting · Yogurt</title><meta name="robots" content="noindex,nofollow"><link rel="stylesheet" href="renderer.css"><script src="renderer.js" defer></script></head><body inert><div id="root"></div></body></html>diff --git a/site/public/marketing/app/manifest.json b/site/public/marketing/app/manifest.jsondeleted file mode 100644index 65de0836..00000000--- a/site/public/marketing/app/manifest.json+++ /dev/null@@ -1,144 +0,0 @@-{- "appCommit": "125473d0db59640acfc96261b66b79544ada4302",- "sourceOverrides": {- "app/src/renderer/src/styles.css": "13f3c987136d93ff888fb4438e3464864dc04114dcbc036127a660018bec11f3"- },- "generatedAt": "2026-11-18T19:16:00.868Z",- "source": "app/src/renderer",- "fixture": "site/renderer/bridge.mjs",- "nativeCode": false,- "stripped": [- "Player",- "FinishSetup",- "RecordingHint",- "non-English locale tables"- ],- "sourceFiles": [- "app/src/renderer/src/askTracer.ts",- "app/src/renderer/src/components/AnswerText.tsx",- "app/src/renderer/src/components/AskContext.tsx",- "app/src/renderer/src/components/AskConversation.tsx",- "app/src/renderer/src/components/Chat.tsx",- "app/src/renderer/src/components/ConversationActions.tsx",- "app/src/renderer/src/components/DeleteNote.tsx",- "app/src/renderer/src/components/Editor.tsx",- "app/src/renderer/src/components/EditorToolbar.tsx",- "app/src/renderer/src/components/FinishSetup.tsx",- "app/src/renderer/src/components/FolderAppearance.tsx",- "app/src/renderer/src/components/FolderDialogs.tsx",- "app/src/renderer/src/components/FolderPicker.tsx",- "app/src/renderer/src/components/FoldersNav.tsx",- "app/src/renderer/src/components/Icons.tsx",- "app/src/renderer/src/components/InlineError.tsx",- "app/src/renderer/src/components/InlineText.tsx",- "app/src/renderer/src/components/LevelBars.tsx",- "app/src/renderer/src/components/Loading.tsx",- "app/src/renderer/src/components/LoadingContent.tsx",- "app/src/renderer/src/components/Logo.tsx",- "app/src/renderer/src/components/MicMenu.tsx",- "app/src/renderer/src/components/Modal.tsx",- "app/src/renderer/src/components/MotionPopup.tsx",- "app/src/renderer/src/components/NoteDate.tsx",- "app/src/renderer/src/components/NoteMenu.tsx",- "app/src/renderer/src/components/NoteReadingPane.tsx",- "app/src/renderer/src/components/NotesModelWait.tsx",- "app/src/renderer/src/components/NotesSetup.tsx",- "app/src/renderer/src/components/People.tsx",- "app/src/renderer/src/components/Player.tsx",- "app/src/renderer/src/components/RecordingHint.tsx",- "app/src/renderer/src/components/RecordingTime.tsx",- "app/src/renderer/src/components/RegenerateForm.tsx",- "app/src/renderer/src/components/ScrollFade.tsx",- "app/src/renderer/src/components/ShareMenu.tsx",- "app/src/renderer/src/components/SourceCitation.tsx",- "app/src/renderer/src/components/SpokenMenu.tsx",- "app/src/renderer/src/components/SummaryWaiting.tsx",- "app/src/renderer/src/components/Swap.tsx",- "app/src/renderer/src/components/ThinkingDots.tsx",- "app/src/renderer/src/components/Transcript.tsx",- "app/src/renderer/src/components/TranscriptFind.tsx",- "app/src/renderer/src/components/TrashToast.tsx",- "app/src/renderer/src/components/UpdateReady.tsx",- "app/src/renderer/src/components/Workspace.tsx",- "app/src/renderer/src/dates.ts",- "app/src/renderer/src/folderSelection.ts",- "app/src/renderer/src/folders.ts",- "app/src/renderer/src/followLatest.ts",- "app/src/renderer/src/i18n.tsx",- "app/src/renderer/src/keys.ts",- "app/src/renderer/src/meetingRowMotion.ts",- "app/src/renderer/src/meetingSelection.ts",- "app/src/renderer/src/mentionPlacement.ts",- "app/src/renderer/src/motion.ts",- "app/src/renderer/src/noteAutosave.ts",- "app/src/renderer/src/noteMerge.ts",- "app/src/renderer/src/notesSetup.ts",- "app/src/renderer/src/playerVisibility.ts",- "app/src/renderer/src/screens/Note.tsx",- "app/src/renderer/src/streamingInk.ts",- "app/src/renderer/src/styles.css",- "app/src/renderer/src/summaryPresentation.ts",- "app/src/renderer/src/transcriptFindRanges.ts",- "app/src/renderer/src/trashMeetings.ts",- "app/src/renderer/src/useFollowLatest.ts",- "app/src/renderer/src/useJoinWindow.ts",- "app/src/renderer/src/useLoadingState.ts",- "app/src/renderer/src/useNoteCalendar.ts",- "app/src/renderer/src/useNotePopover.ts",- "app/src/renderer/src/useScrollMemory.ts",- "app/src/renderer/src/useSmoothText.ts",- "app/src/renderer/src/workspace.css",- "app/src/shared/askContext.ts",- "app/src/shared/askStep.ts",- "app/src/shared/askTracer.ts",- "app/src/shared/calendarPicker.ts",- "app/src/shared/citationCard.ts",- "app/src/shared/citations.ts",- "app/src/shared/comingUp.ts",- "app/src/shared/dates.ts",- "app/src/shared/exportNotes.ts",- "app/src/shared/folderAppearance.ts",- "app/src/shared/follow.ts",- "app/src/shared/i18n.ts",- "app/src/shared/inkArrival.ts",- "app/src/shared/liveWords.ts",- "app/src/shared/locales/en.json",- "app/src/shared/logo.ts",- "app/src/shared/markdown.ts",- "app/src/shared/people.ts",- "app/src/shared/platform.ts",- "app/src/shared/rewriteNote.ts",- "app/src/shared/searchPeople.ts",- "app/src/shared/searchQuery.ts",- "app/src/shared/smoothText.ts",- "app/src/shared/softPair.ts",- "app/src/shared/speakerColors.ts",- "app/src/shared/spoken.ts",- "app/src/shared/transcript.ts",- "app/src/shared/transcriptFind.ts",- "app/src/shared/wave.ts"- ],- "files": {- "LICENSES.txt": {- "bytes": 65259,- "gzipBytes": 3128,- "sha256": "8508a6a42c3205ac2389750ea285063847af9708041e886ecf83057c688b38d5"- },- "frame.html": {- "bytes": 617,- "gzipBytes": 364,- "sha256": "45e4eb19dcb4fc8ce3825d6cfeeb1d8f8d7a16e09ee4583a005518c880f028e4"- },- "renderer.css": {- "bytes": 263670,- "gzipBytes": 85887,- "sha256": "802f1ba3a9f1d0076d6f75a5206de0e55c0d8416f7d5d0bbf8b31106ffe430e6"- },- "renderer.js": {- "bytes": 1504949,- "gzipBytes": 462855,- "sha256": "7ea7d390704d873e34731997dc8236f53d51465ed1c28349321282a18f73060a"- }- },- "totalGzipBytes": 549106-}diff --git a/site/public/marketing/app/renderer.css b/site/public/marketing/app/renderer.cssdeleted file mode 100644index 8236446d..00000000--- a/site/public/marketing/app/renderer.css+++ /dev/null@@ -1,3 +0,0 @@-/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--font-weight-medium:500;--leading-snug:1.375;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;--default-mono-font-family:var(--font-mono);--font-brand:"Bricolage Grotesque", -apple-system, system-ui, sans-serif}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}@media (prefers-reduced-motion:no-preference){:where(.main-window :is(.overflow-auto,.overflow-y-auto,.workspace-sidebar-body,.native-library,.agenda-scroll,.agenda-inspector-scroll,.note-notes-pane,.note-layout,.chat-thread,.chat-history,.settings-scroll,.shortcuts-list,.citation-excerpt,.note-date-events,.finish-setup,.ob-side)){transition:scrollbar-color var(--dur-micro) ease}}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:0}.inset-x-0{inset-inline:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.start-1\/2{inset-inline-start:50%}.end-0{inset-inline-end:calc(var(--spacing) * 0)}.end-4{inset-inline-end:calc(var(--spacing) * 4)}.top-0{top:0}.top-\[10px\]{top:10px}.top-full{top:100%}.bottom-1{bottom:var(--spacing)}.bottom-3{bottom:calc(var(--spacing) * 3)}.bottom-full{bottom:100%}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.z-\[60\]{z-index:60}.z-\[70\]{z-index:70}.z-\[80\]{z-index:80}.z-\[100\]{z-index:100}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-1{margin-block:var(--spacing)}.ms-0\.5{margin-inline-start:calc(var(--spacing) * .5)}.ms-auto{margin-inline-start:auto}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-px{margin-top:1px}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.size-\[26px\]{width:26px;height:26px}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-\[min\(44vh\,480px\)\]{height:min(44vh,480px)}.h-full{height:100%}.h-px{height:1px}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-\[74vh\]{max-height:74vh}.min-h-0{min-height:0}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-\[40vh\]{min-height:40vh}.min-h-\[52px\]{min-height:52px}.w-9{width:calc(var(--spacing) * 9)}.w-60{width:calc(var(--spacing) * 60)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[min\(340px\,calc\(100vw-48px\)\)\]{width:min(340px,100vw - 48px)}.w-\[min\(720px\,calc\(100\%-48px\)\)\]{width:min(720px,100% - 48px)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.max-w-64{max-width:calc(var(--spacing) * 64)}.max-w-\[220px\]{max-width:220px}.max-w-\[640px\]{max-width:640px}.max-w-\[calc\(100\%-32px\)\]{max-width:calc(100% - 32px)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-\[min\(280px\,calc\(100vw-48px\)\)\]{max-width:min(280px,100vw - 48px)}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-48{min-width:calc(var(--spacing) * 48)}.min-w-60{min-width:calc(var(--spacing) * 60)}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-center{justify-content:center}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-\[5px\]{gap:5px}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-line{border-color:var(--line)}.bg-\[var\(--line\)\]{background-color:var(--line)}.bg-accent{background-color:var(--accent)}.bg-bg{background-color:var(--bg)}.bg-card{background-color:var(--card)}.bg-float{background-color:var(--float)}.bg-transparent{background-color:#0000}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-3{padding:calc(var(--spacing) * 3)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-8{padding-block:calc(var(--spacing) * 8)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pb-1\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-end{text-align:end}.text-start{text-align:start}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-\[1\.55\]{--tw-leading:1.55;line-height:1.55}.leading-\[17px\]{--tw-leading:17px;line-height:17px}.leading-\[18px\]{--tw-leading:18px;line-height:18px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.whitespace-nowrap{white-space:nowrap}.text-\[\#fff\]{color:#fff}.text-\[var\(--pill-accent\)\]{color:var(--pill-accent)}.text-accent{color:var(--accent)}.text-accent-ink{color:var(--accent-ink)}.text-danger{color:var(--danger)}.text-ink{color:var(--ink)}.text-muted{color:var(--muted)}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.shadow-\[var\(--shadow\)\]{--tw-shadow:var(--shadow);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[var\(--shadow-soft\)\]{--tw-shadow:var(--shadow-soft);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-line{--tw-ring-color:var(--line)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.\[overflow-anchor\:none\]{overflow-anchor:none}.placeholder\:text-muted::placeholder{color:var(--muted)}@media (hover:hover){.hover\:bg-\[var\(--line\)\]:hover{background-color:var(--line)}.hover\:bg-card:hover{background-color:var(--card)}.hover\:text-ink:hover{color:var(--ink)}}.focus\:ring-accent:focus{--tw-ring-color:var(--accent)}.focus-visible\:bg-\[var\(--line\)\]:focus-visible{background-color:var(--line)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}@media (hover:hover){.disabled\:hover\:bg-transparent:disabled:hover{background-color:#0000}}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}@media (hover:hover){.aria-disabled\:hover\:bg-transparent[aria-disabled=true]:hover{background-color:#0000}}.aria-expanded\:text-ink[aria-expanded=true]{color:var(--ink)}@media (prefers-reduced-motion:reduce){.motion-reduce\:animate-none{animation:none}}.rtl\:translate-x-1\/2:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-translate-x:calc(1 / 2 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.rtl\:-scale-x-100:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}}@font-face{font-family:Bricolage Grotesque;src:url(data:font/ttf;base64,AAEAAAAQAQAABAAAR0RFRjocOWEAAAJQAAAA5EdQT1NqC7sMAAC11AAAi6pHU1VCvzzi/gAAETgAAAgcT1MvMmZffxoAAAHwAAAAYFNUQVRkw1NUAAABmAAAAFZjbWFwwBgxaAAACwwAAAYsZ2FzcAAAABAAAAEUAAAACGdseWYwEH14AAAx/AAAg9ZoZWFkH43wwgAAAWAAAAA2aGhlYQgxBTEAAAE8AAAAJGhtdHi4ZlhOAAAZVAAACPhsb2NhN9gXaAAABowAAAR+bWF4cAJQANYAAAEcAAAAIG5hbWVNBX+sAAADNAAAA1Zwb3N07eDS7wAAIkwAAA+ucHJlcGgGjIUAAAEMAAAAB7gB/4WwBI0AAAEAAf//AA8AAQAAAj4AZwAHAG0ABgABAAAAAAAAAAAAAAAAAAQAAQABAAADov7yAAAFZv9B/poFSwABAAAAAAAAAAAAAAAAAAACPgABAAAAAQBC7KnWY18PPPUAAwPoAAAAANsNS6MAAAAA4N1g7/9B/pAFSwR7AAAABgACAAAAAAAAAAEAAQAIAAMAAAAUAAMAAAAsAAJvcHN6AQAAAHdkdGgBAgABd2dodAEBAAIAHgASAAYAAQACAAABBwJYAAAAAQABAAIBEwBkAAAAAQAAAAABCwAOAAAAAAAEAjsCWAAFAAACigJYAAAASwKKAlgAAAFeADIBOgAAAgsGBQQEAgACBAAAAAMAAAAAAAAAAAAAAABBVExSAMAAICfpA6L+8gAABIgBkAAAAAEAAAAAAgsClAAAACAADQABAAIADgAAAAAAAACcAAIAFwABAG0AAQBvAMMAAQDFAREAAQETAUYAAQFiAWIAAQFkAWQAAQFnAWcAAQFsAWwAAQFuAW4AAQFxAXEAAQF2AXcAAQGAAYAAAQGCAYIAAQGFAYUAAQGKAYoAAQGMAYwAAQGPAY8AAQHJAckAAQHaAeIAAQHpAewAAQHwAfIAAQISAhYAAwIYAiwAAwABAAMAAAA+AAAAFgAAABAAAQABAiAAAQASAhICEwIVAhYCGAIZAhoCGwIcAh0CHgIfAiUCJwIoAikCKwIsAAEAAwIhAiICIwAAABAAxgADAAEECQAAAMQBzAADAAEECQABADgBlAADAAEECQACAA4BhgADAAEECQADAEwBOgADAAEECQAEADgBlAADAAEECQAFAFYA5AADAAEECQAGADYArgADAAEECQAOADYAeAADAAEECQAQACYAUgADAAEECQARABAAQgADAAEECQEAABgAKgADAAEECQEBAAwAHgADAAEECQECAAoAFAADAAEECQEHABAAQgADAAEECQELAAgADAADAAEECQETAAwAAABOAG8AcgBtAGEAbAAxADQAcAB0AFcAaQBkAHQAaABXAGUAaQBnAGgAdABPAHAAdABpAGMAYQBsACAAcwBpAHoAZQBTAGUAbQBpAEIAbwBsAGQAQgByAGkAYwBvAGwAYQBnAGUAIABHAHIAbwB0AGUAcwBxAHUAZQBoAHQAdABwAHMAOgAvAC8AcwBjAHIAaQBwAHQAcwAuAHMAaQBsAC4AbwByAGcALwBPAEYATABCAHIAaQBjAG8AbABhAGcAZQBHAHIAbwB0AGUAcwBxAHUAZQAtAFMAZQBtAGkAQgBvAGwAZABWAGUAcgBzAGkAbwBuACAAMQAuADAAMAAxADsAZwBmAHQAbwBvAGwAcwBbADAALgA5AC4AMwAzAC4AZABlAHYAOAArAGcAMAAyADkAZQAxADkAZgBdADEALgAwADAAMQA7AEEAVABMAFIAOwBCAHIAaQBjAG8AbABhAGcAZQBHAHIAbwB0AGUAcwBxAHUAZQAtAFMAZQBtAGkAQgBvAGwAZABSAGUAZwB1AGwAYQByAEIAcgBpAGMAbwBsAGEAZwBlACAARwByAG8AdABlAHMAcQB1AGUAIABTAGUAbQBpAEIAbwBsAGQAQwBvAHAAeQByAGkAZwBoAHQAIAAyADAAMgAyACAAVABoAGUAIABCAHIAaQBjAG8AbABhAGcAZQAgAEcAcgBvAHQAZQBzAHEAdQBlACAAUAByAG8AagBlAGMAdAAgAEEAdQB0AGgAbwByAHMAIAAoAGgAdAB0AHAAcwA6AC8ALwBnAGkAdABoAHUAYgAuAGMAbwBtAC8AYQB0AGUAbABpAGUAcgB0AHIAaQBhAHkALwBiAHIAaQBjAG8AbABhAGcAZQApAAAAAABEAF0AaQB1AIUAlQDMANwA7AEQARwBLAE8AWUBdQGFAZEBnQG9AckB1QHhAe0B+QIpAmACmgKmAuoC9gMCAy0DYgNqA50DvQPJA/MD/wQPBB8ETgReBG4EegSGBJIEuQTFBNEE3QTpBQMFQgVOBVoFZgWABaIFrgW6BcYF0gXeBeoF9gYJBhUGIQYsBjgGVwaEBpAGogauBroGxgbgBv4HFwcjB0YHUgdeB5EHxwfTB98H7wf/CEQIVAhkCHAIfAi5CMUJDAkYCSQJcgl+CYoJlgmiCeAJ7ApJCm8KnArwCyULMQtwC3wLygvWDC4MOgxGDJEMpAzCDM4M8wz/DQsNFw0jDS8NWw1nDXMNgw2TDdEN4Q3xDf0OCQ5LDlcOYw52DpUOoQ6tDrkO3w78DxEPHQ8pDzUPQQ9dD2kPdQ+ND5kPuw/HEB0QKRA1EEUQVRDIENgQ6BFIEVMRYhFxEdcR5hH1EgASDBJpEnUSgRKNEpkSpBMnE2wTpBOwE/IT/hQKFE8UWxSnFPgVNRVBFYgVkxWiFbEV/hYNFhwWJxYzFj8WgxaPFpsW9xcCFzEXpBewF7wXyBfzGCYYMRg9GEgYUxheGGkYeBiLGJYYoRivGLoYzRjYGPMZIBksGTgZRBlQGVsZcBmyGdcZ4xoSGh4aKhpjGpManxqqGrkayBsIGxcbJhsxGz0bdBuAG8IbzhvaHCMcLxw7HEccUxyLHJYc/x1EHY4d1B34HgQeMh49HoYekh7lHvEe/R9QH3gfhB+PH7UfwR/NH9gf4x/vIBwgKCA0IEQgVCCUIKQgsyC/IMsg1yDjIO4hASEgISwhOCFEIWohhSHCIc4h2SHkIfAiNCJAIksiYyJvIpEinSLzIyIjOyNxI4MjtyPuJA0kSCSaJLUlHiVzJaolxCX5JjEmUCaLJtom9SdeJ7Mn4yf2KCUoUyhwKKUo7ikIKWoptSm+Kccp0CnZKeIp6yn0Kf0qBioPKh0qLio/KlAqYSpyKoMqlCqlKrYqvyrIKtEq2irjKuwq9Sr+KwcrECsZKyIrKys0Kz0rRitPK1grYStqK2oraitqK2oraitqK2oraitqK2oraitqK2oraitqK3srjCugK7QrwCvMK9wr+CwULFEsjyyYLK4s0yzfLQItEC0dLSYtLy07LUctUy1fLYAtoC3kLiguQC5XLl8uay6OLpsusC65LsUu9i8SLy0vOS9GL40wFTCHMLExKDGMMeUyCjI3MkQyUDJdMnEyjzLNMwIzSDORM+M0KjRwNMY1ITVzNbs2BzZkNoY2yjdZN4o3uDfqOCg4WjhmOKo5MDlKOW05pTnNOeA57ToFOjE6RDpeOnE6hTqfOro61DrfOwg7GjstO5Q72DwDPEQ8XTx3PJI8rTzcPSQ9jT4iPks+cj6aPsA+5j78Pwk/Fj8pPzw/TD9cP3k/nz/JP9Y/+0AQQChAMUBDQGpAjUCZQLxAyEDUQOBA9kECQQ5BM0FDQWpBdkF+QYZBk0GbQaNBq0G7QcNBy0HTQdtB40HrAAAAAAACAAAAAwAAABQAAwABAAAAFAAEBhgAAACiAIAABgAiAC8AOQB+AKMArAEHARMBGwEjASsBMwE3AT4BSAFNAVsBYQFlAX4BoQGwAc4CGwI3AscC3QMEAwwDEgMbAyMDKAPADj8ehR6eHvkgAyALIBQgFiAaIB4gIiAmIDAgMyA6IEQgcCB5IIkgoSCkIKYgqSCuILIgtSC6IL8hEyEWISIhJiEuIVQhXiGTIgIiBiIPIhIiGiIeIisiSCJgImUn6f//AAAAIAAwADoAoAClAK4BCgEWAR4BJgEuATYBOQFBAUoBUAFeAWQBaAGgAa8BzQIYAjcCxgLYAwADBgMSAxsDIwMmA8AOPx6AHp4eoCAAIAQgEyAWIBggHCAgICYgLyAyIDkgRCBwIHQggCChIKQgpiCoIKsgsSC0ILggvCETIRYhIiEmIS4hUyFbIZAiAiIFIg8iESIaIh4iKyJIImAiZCfo//8AAAEaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/rT/cAAAAAAAAP8N/wX+/v78/YnzigAA4dsAAAAA4ZLhoeGXAAAAAAAA4X8AAOGg4YzhLuEW4Rbg/OE94ULhQwAAAAAAAAAAAAAAAODE4MTgruDf4KvgIeAdAADgCQAA3/gAAN/v3+Tf2d+235gAANm3AAEAogAAAL4BRgFMAVoCDAIeAigCMgI8AkYCSAJSAmACZgJ8AoIChAKwArICtAK2AAAAAAK4AsICygAAAAAAAAAAAAAAAALKAAAC0gOEAAAAAAAAA4QDiAOMAAADjgAAAAAAAAAAAAAAAAAAAAAAAAN+A4ADhgOIA4oDjgAAAAAAAAAAAAAAAAAAA4YAAAOKAAADigAAAAAAAAAAAAADggAAAAABkAGmAccBrgHfAgwBywHIAbcBuAGsAfMBogGzAaEBrwGjAaQB+gH3AfkBqAHKAAEAGQAaAB8AIwA0ADUAOQA7AEcASABKAE8AUABWAG0AbwBwAHQAegB9AJAAkQCWAJcAnwG7AbABvAIBAbYCMwCjALsAvADBAMUA1gDXANsA3QDqAOwA7gDzAPQA+gERARMBFAEYAR4BIQE0ATUBOgE7AUMBuQHUAboB/wGRAacB3QHuAfIB1QHNAjEBzgFHAcMCAAHPAjsB0QH9AYgBiQI0AgoBzAGqAjwBhwFIAcQBdgFzAXcBqQASAAIACgAXABAAFgAYAB0ALwAkACYALABCAD0APgA/ACIAVABgAFcAWABrAF4B9QBqAIMAfgCAAIEAmABuAR0AtACkAKwAuQCyALgAugC/ANEAxgDIAM4A5ADfAOAA4QDEAPgBBAD7APwBDwECAfYBDgEnASIBJAElATwBEgE+ABQAtgADAKUAFQC3ABsAvQAeAMAAHAC+ACAAwgAhAMMAMQDTAC0AzwAyANQAJQDHADYA2AA4ANoANwDZADoA3ABGAOgARADmAEUA5wBAAN4APADpAEkA7QBLAO8ATQDxAEwA8ABOAPIAUQD1AFMA9wBSAPYAVQD5AGkBDQBoAQwAbAEQAHEBFQBzARcAcgEWAHUBGQB3ARsAdgEaAHsBHwCPATMAjAEwAH8BIwCOATIAiwEvAI0BMQCTATcAmQE9AJoAoAFEAKIBRgChAUUAYgEGAIUBKQAJAKsAeAEcAHwBIAI4AjICOQI9AjoCNQIUAhUCGAIcAh0CGgITAhICHgIbAhYCGQCVATkAkgE2AJQBOAARALMAEwC1AAsArQANAK8ADgCwAA8AsQAMAK4ABACmAAYAqAAHAKkACACqAAUApwAuANAAMADSADMA1QAnAMkAKQDLACoAzAArAM0AKADKAEMA5QBBAOMAXwEDAGEBBQBZAP0AWwD/AFwBAABdAQEAWgD+AGMBBwBlAQkAZgEKAGcBCwBkAQgAggEmAIQBKACGASoAiAEsAIkBLQCKAS4AhwErAJwBQACbAT8AnQFBAJ4BQgGUAZUBkgGTAcEBwgG9Ab8BwAG+AdYB2AGrAZ4CDQHsAfEB4AHhAeQB8AHqAeIB4wHcAe8B7QHnAegB6wHlAdsCEQIOAg8CEAIDAgYCCAH0AfwB+wABAAAACgCeASoAAkRGTFQAfmxhdG4ADgB0AAhBWkUgAFxDQVQgAEhDUlQgAFxLQVogAFxNT0wgADRST00gADRUQVQgAFxUUksgAFwAAP//AAcAAAABAAIABQAGAAcACAAA//8ABwAAAAEAAgAEAAYABwAIAAD//wAHAAAAAQACAAMABgAHAAgABAAAAAD//wAGAAAAAQACAAYABwAIAAljY21wAIRkbm9tAH5mcmFjAFxsb2NsAFZsb2NsAFBsb2NsAEpudW1yAERwbnVtAD50bnVtADgAAAABAA8AAAABAA4AAAABAAwAAAABAAgAAAABAAkAAAABAAcAAAAPABAAEgAUABYAGAAaABwAHgAgACIAJAAmACgAKgAsAAAAAQANAAAAAgAAAAEALgaUBcQFrgWSBXYFkgV2BWIFTAUQBQIE9ATcBM4EtgSoApIChAJkBNwCPgTcAiAE3AIABNwB3gTcAboE3AGUBNwBbATcAUIE3AEWBNwA6ATcALgE3ACOBM4AbABeAAEAAAABAAgAAQAiAAsABgAAAAEACAADAAEEdgABABQAAQHmAAEAAAAtAAEAAQGQAAYAAAABAAgAAwABABIAAQRUAAAAAQAAACsAAgACAV4BZwAAAXIBcgAKAAYAAAABAAgAAwAAAAEEKgAMAZoBmgGaAZoBmgGaAZoBmgGaAZoBmgG+AAEAAAApAAYAAAABAAgAAwAAAAED+gALAWoBagFqAWoBagFqAWoBagFqAWoBjgABAAAAJwAGAAAAAQAIAAMAAAABA8wACgE8ATwBPAE8ATwBPAE8ATwBPAFgAAEAAAAlAAYAAAABAAgAAwAAAAEDoAAJARABEAEQARABEAEQARABEAE0AAEAAAAjAAYAAAABAAgAAwAAAAEDdgAIAOYA5gDmAOYA5gDmAOYBCgABAAAAIQAGAAAAAQAIAAMAAAABA04ABwC+AL4AvgC+AL4AvgDiAAEAAAAfAAYAAAABAAgAAwAAAAEDKAAGAJgAmACYAJgAmAC8AAEAAAAdAAYAAAABAAgAAwAAAAEDBAAFAHQAdAB0AHQAmAABAAAAGwAGAAAAAQAIAAMAAAABAuIABABSAFIAUgB2AAEAAAAZAAYAAAABAAgAAwAAAAECwgADADIAMgBWAAEAAAAXAAYAAAABAAgAAwAAAAECpAACABQAOAABAAAAFQACAAEBaAFxAAAABgAAAAEACAADAAAAAQJ+AAEAEgABAAAAEwABAAEBcgABAAAAAQAIAAECFv/DAAYAAAABAAgAAgIIAfgB8AH4AAIAAAAQABUBwgGkAYgBbAFSATgBIAEIAPIA3ADIALQAogCQAIAAcABiAFQASAA8ACwAAQABAAEAAQABAAEAAAARAAAAAQACAAEAAgAAAAIAAQACAAEAAAAAAAAAAQADAAEAAQACAAAAAwABAAEAAgABAAAAAAAAAAEABAABAAEAAQACAAAABAABAAEAAQACAAEAAAAAAAAAAQAFAAEAAQABAAEAAgAAAAUAAQABAAEAAQACAAEAAAAAAAAAAQAGAAEAAQABAAEAAQACAAAABgABAAEAAQABAAEAAgABAAAAAAAAAAEABwABAAEAAQABAAEAAQACAAAABwABAAEAAQABAAEAAQACAAEAAAAAAAAAAQAIAAEAAQABAAEAAQABAAEAAgAAAAgAAQABAAEAAQABAAEAAQACAAEAAAAAAAAAAQAJAAEAAQABAAEAAQABAAEAAQACAAAACQABAAEAAQABAAEAAQABAAEAAgABAAAAAAAAAAEACgABAAEAAQABAAEAAQABAAEAAQACAAAACgABAAEAAQABAAEAAQABAAEAAQACAAEAAAAAAAAAAQALAAEAAQABAAEAAQABAAEAAQABAAEAAgAAAAsAAQABAAEAAQABAAEAAQABAAEAAQACAAEAAAAAAAEBrwABAAEAAgACAUoBUwABAa8BrwACAAEAAQGvAAEAAAABAAgAAQA6AAoAAQAAAAEACAABAAb/9gACAAEBVAFdAAAAAQAAAAEACAABABQAFAABAAAAAQAIAAEABgAeAAIAAQFKAVMAAAABAAAAAQAIAAEAJAAIAAEAAAABAAgAAQAWAAcABgAAAAEACAABAAgAAQAOAAEAAQGqAAIAFgAGAAEASgABAAEASgABAAAACwABAO4AAQABAO4AAQAAAAoAAQAAAAEACAABAAYAAQABAAIAdwEbAAEAAAABAAgAAQAGAAUAAQABAN0AAgAAAAEACAABAAgAAQAOAAEAAQDnAAIA3gIkAAIAAAABAAgAAQAIAAEADgABAAEA4wACAN4CIQABAAAAAQAIAAEABgABAAEAAgDdAOoABgAAAAEACAACALwAuACcAIAABAAAAFwAOAAUAAIAFgAGAAAAAQACAAIAAQABAAAABQAAAAEAAQABAAEAAAADAAIAFgAGAAAAAQACAAIAAQABAAAABgAAAAEAAQABAAEAAAAEAAIAFgAGAAAAAQACAAIAAQABAAAAAgAAAAEAAQABAAEAAAACAAIABAISAhYAAQIYAh8AAQIgAiEAAgIjAiQAAgACAAQA3QDdAAEA4wDjAAMA5wDnAAIA6gDqAAEAAgAAAAEABADdAOMA5wDqAAQAAAABAAgAAQBOAAIALAAKAAQAHAAWABAACgIoAAICHAInAAICHgImAAICFAIlAAICFQAEABwAFgAQAAoCLAACAhwCKwACAh4CKgACAhQCKQACAhUAAQACAhgCGgKQAE4CrAAWAqwAFgKsABYCrAAWAqwAFgKsABYCrAAWAqwAFgKsABYCrAAWAqwAFgKsABYCrAAWAqwAFgKsABYCrAAWAqwAFgKsABYCrAAWAqwAFgKsABYCrAAWAqwAFgOnABYCogBOAqMANQKjADUCowA1AqMANQKjADUCtwBOArcATgLrADEC6wAxAmIATgJiAE4CYgBOAmIATgJiAE4CYgBOAmIATgJiAE4CYgBOAmIATgJiAE4CYgBOAmIATgJiAE4CYgBOAmIATgJiAE4CSQBOAskANQLJADUCyQA1AskANQLMAE4DKgA5ARwATgKJAE4BHABOARwABgEc//4BHAA+ARwAQgEcAAABHAA0ARwADwEcACUBHP/4AW0ADAKlAE4CpQBOAfwATgH8AE4B/ABOAfwATgJLAEQDnABOAvkATgL5AE4C+QBOAvkATgL5AE4C+QBOAs8ANQLPADUCzwA1As8ANQLPADUCzwA1As8ANQLPADUCzwA1As8ANQLPADUCzwA1As8ANQLPADUCzwA1As8ANQLPADUCzwA1As8ANQLPADUC1gA2As8ANQPgADUCfgBOAoAATgLRADUCnQBOAp0ATgKdAE4CnQBOAocALwKHAC8ChwAvAocALwKHAC8CvQBKAjIAFQIyABUCMgAVAtQASQLUAEkC1ABJAtQASQLUAEkC1ABJAtQASQLUAEkC1ABJAtQASQLUAEkC1ABJAtQASQLUAEkC1ABJAtQASQLUAEkC1ABJAtQASQKZABYDzAAbA8wAGwPMABsDzAAbA8wAGwKiABgCbQAJAm0ACQJtAAkCbQAJAm0ACQJtAAkCbQAJAm0ACQI1ACICNQAiAjUAIgI1ACICQAAqAkAAKgJAACoCQAAqAkAAKgJAACoCQAAqAkAAKgJAACoCQAAqAkAAKgJAACoCQAAqAkAAKgJAACoCQAAqAkAAKgJAACoCQAAqAkAAKgJAACoCQAAqAkAAKgOVACoCdABHAjAAKgIwACoCMAAqAjAAKgIwACoCdAArAnQAKwJwACsCXQApAkAAKQJAACkCQAApAkAAKQJAACkCQAApAkAAKQJAACkCQAApAkAAKQJAACkCQAApAkAAKQJAACkCQAApAkAAKQJAACkBhQAYAlMAHAJTABwCUwAcAlMAHAJrAEcCbv/0AQwANwELAEcBCwBHAQv//gEL//YBCwA3AQwANwEM//gBCwAtAQsABwELABsBC//wAh0ANwER/+oBEf/qAkAARwJAAEcBCgBHAQoARwEKAEcBCgA1AWsAJgOhAEcCawBHAmsARwJrAEcCawBHAmsARwJrAEcCXwApAl8AKQJfACkCXwApAl8AKQJfACkCXwApAl8AKQJfACkCXwApAl8AKQJfACkCeAApAngAKQJ4ACkCeAApAngAKQJ4ACkCXwApAl8AKQJfACkCXwApA8IAKQJ0AEcCdABHAnQAKwGmAEcBpgBHAaYANgGmADoCGwAkAhsAJAIbACQCGwAkAhsAJAKhAEcBhQAQAYUAEAGFABACYwA/AmMAPwJjAD8CYwA/AmMAPwJjAD8CYwA/AmMAPwKIAD8CiAA/AogAPwKIAD8CiAA/AogAPwJjAD8CYwA/AmMAPwJjAD8CYwA/Ai8ADQNNABIDTQASA00AEgNNABIDTQASAicAEQJVADACVQAwAlUAMAJVADACVQAwAlUAMAJVADACVQAwAgAAIwIAACMCAAAjAgAAIwGmABUBogAUAosAFQKVADUBTQAfAlEALQJYABoCYQAZAlwAMwKMADUB9QAYAooAMwKGADMCaAAuAmgAKgJoACgCaAAhAmgAFAJoADgCaAAuAmgAKgJoADUCaAA4AcEAJwD+ACMBpQAnAZ8AFgG+ABkBpQAvAbwAJwFhABkBtgAkAbkAJgHBACcA/gAjAaUAJwGfABYBvgAZAaUALwG8ACcBYQAZAbYAJAG5ACYBKv+RA5YAIwOhACMESQAnA5AAIwQkABYDpQAjBDkAFgQ9AC8D0QAZAcEAJwD+ACMBpQAnAZ8AFgG+ABkBpQAvAbwAJwFhABkBtgAkAbkAJgHBACcA/gAjAaUAJwGfABYBvgAZAaUALwG8ACcBYQAZAbYAJAG5ACYA7gAAAO4AAAH0AAAD6AAAAfQAAAPoAAABLAAAAPoAAACnAAACaAAAANcAAAB4AAAAPwAAAAAAAACnAAABQAAQAUAAHQDXABcAtAADAOEAHADMAAQC4AAXARcANwEXADcBoQAVAZsAEADXABcBKwAXAZ8ACwHgAE4CawAVAWX/+gFd//IAsQAEAAH/QQFZAB8CEQAfAxEAHwI2AAABOQA7AS8ACQFfABkBUQAIAUAATgE2ABAAtAADAWoAAwF0ABUBdAAQAL4AFQC+ABABuQAZAbkAIADsABkA4gAVAVIAGQCoABkClwBOA8oAOALzABkCpwAjAjEALwOtACkCnwAbA9MACgFjABsAtgAZAV8AGQEJAE4BCQBOAasAFQHuABABogAVAz8AKQQ/AE4ClwBOApcANQIwACoClwA1AnwALwJwACsC5gAZAqQAHALNAC0C3AASAqoAMwLOABUCtAAlAqUAPANxACIDDwAgArEAJgS5AE4CSQAkAs4AFQIyABUCJwAVBCEAIgJhAAkCCgA7AgoAOwIKADsCCgA7AgoAOwIKADsCCgA7AgoAOwIKADsCCgA7AgoAOwIKACQCCgAkAgoAOwIvAA0DzgAqAuwAOwHOAA4DCAAnAsAAFgLMAE4COQAtAqgAFQJxAD8CbgArA8IAGwVmABsB8QATAm4AEgH0ABUCbgAQAAAAFAAAABQAAAAUAAAAFAAAABQAAAAAAAAAFAAAABQAAAAQAAAAFAAAABEAAAAUAAAAFAAAABQAAAAUAAAAFAAAABQAAAAUAAAAFAAAABAAAAAQAAAAEAAAAA0AAAAUAAAAFAAAABQAAAALAAAAFAAAABQAAAASAAAAFAF3ABQAxwAUARsAFAEbABQBcgAUAWYAFAFmABQBEQAQAOAAFAFvABEBSAAUASIAFADPABQAAgAAAAAAAP+cADIAAAAAAAAAAAAAAAAAAAAAAAAAAAI+AAAAJADJAQIBAwEEAQUBBgEHAQgAxwEJAQoBCwEMAQ0AYgEOAK0BDwEQAREAYwCuAJAAJQAmAP0A/wBkARIAJwETARQA6QAoAGUBFQDIARYBFwEYARkBGgDKARsBHADLAR0BHgEfASAAKQAqAPgBIQEiACsBIwAsASQAzADNAM4A+gElAM8BJgEnASgBKQAtAC4BKgAvASsBLAEtAOIAMAAxAS4BLwEwAGYBMQAyANAA0QEyATMBNAE1ATYAZwE3ANMBOAE5AToBOwE8AT0BPgE/AUAAkQCvALAAMwDtADQANQFBAUIBQwA2AUQA5AD7AUUBRgA3AUcBSAA4ANQBSQDVAGgBSgDWAUsBTAFNAU4BTwFQAVEBUgFTAVQBVQFWADkAOgFXAVgBWQFaADsAPADrAVsAuwFcAV0BXgFfAD0BYADmAWEARABpAWIBYwFkAWUBZgFnAWgAawFpAWoBawFsAW0AbAFuAGoBbwFwAXEAbgBtAKAARQBGAP4BAABvAXIARwFzAQEA6gBIAHABdAByAXUBdgF3AXgBeQBzAXoBewBxAXwBfQF+AX8ASQBKAPkBgAGBAEsBggBMANcAdAB2AHcBgwGEAHUBhQGGAYcBiAGJAE0BigBOAYsATwGMAY0BjgDjAFAAUQGPAZABkQB4AZIAUgB5AHsBkwGUAZUBlgGXAHwBmAB6AZkBmgGbAZwBnQGeAZ8BoAGhAKEAfQCxAFMA7gBUAFUBogGjAaQAVgGlAOUA/AGmAIkAVwGnAagAWAB+AakAgACBAaoAfwGrAawBrQGuAa8BsAGxAbIBswG0AbUBtgBZAFoBtwG4AbkBugBbAFwA7AG7ALoBvAG9Ab4BvwBdAcAA5wHBAJ0AngCbABMAFAAVABYAFwAYABkAGgAbABwBwgHDAcQBxQHGAccByAHJAcoBywHMAc0BzgHPAdAB0QHSAdMB1AHVAdYB1wHYAdkB2gHbAdwB3QHeAd8AvAD0AeAB4QD1APYB4gHjAeQB5QHmAecB6AHpAeoB6wHsAe0B7gHvAfAB8QHyAfMB9AH1AfYB9wH4AfkAAwH6AfsB/AH9Af4B/wIAAgECAgIDAgQCBQIGAgcCCAIJABEADwAdAB4AqwAEAKMAIgCiAMMAhwANAgoABgASAD8CCwIMABAAsgCzAEIACwAMAF4AYAA+AEAAxADFALQAtQC2ALcAqQCqAL4AvwAFAAoCDQAjAAkAiACGAIsAigCMAIMCDgIPAF8A6ACCAhAAwgIRAhICEwIUAIQCFQAHAhYCFwIYAhkCGgIbAhwCHQIeAh8CIAIhAiICIwCFAiQCJQImAJYADgDvAPAAuAAgAI8AIQAfAJUAlACTAKcAYQCkAEEAkgInAJwCKAIpAJoAmQClAioAmAAIAMYCKwIsAi0CLgIvAjACMQIyAjMCNAI1AjYCNwI4AjkCOgI7AjwCPQI+Aj8CQAJBAkICQwJEAkUCRgJHAkgCSQJKAksCTAJNAI4A3ABDAI0A3wDYAOEA2wDdANkA2gDeAOAGQWJyZXZlB3VuaTFFQUUHdW5pMUVCNgd1bmkxRUIwB3VuaTFFQjIHdW5pMUVCNAd1bmkwMUNEB3VuaTFFQTQHdW5pMUVBQwd1bmkxRUE2B3VuaTFFQTgHdW5pMUVBQQd1bmkxRUEwB3VuaTFFQTIHQW1hY3JvbgdBb2dvbmVrCkNkb3RhY2NlbnQGRGNhcm9uBkRjcm9hdAZFY2Fyb24HdW5pMUVCRQd1bmkxRUM2B3VuaTFFQzAHdW5pMUVDMgd1bmkxRUM0CkVkb3RhY2NlbnQHdW5pMUVCOAd1bmkxRUJBB0VtYWNyb24HRW9nb25lawd1bmkxRUJDB3VuaTAxMjIKR2RvdGFjY2VudARIYmFyAklKB3VuaTFFQ0EHdW5pMUVDOAdJbWFjcm9uB0lvZ29uZWsGSXRpbGRlB3VuaTAxMzYGTGFjdXRlBkxjYXJvbgd1bmkwMTNCBk5hY3V0ZQZOY2Fyb24HdW5pMDE0NQNFbmcHdW5pMUVEMAd1bmkxRUQ4B3VuaTFFRDIHdW5pMUVENAd1bmkxRUQ2B3VuaTFFQ0MHdW5pMUVDRQVPaG9ybgd1bmkxRURBB3VuaTFFRTIHdW5pMUVEQwd1bmkxRURFB3VuaTFFRTANT2h1bmdhcnVtbGF1dAdPbWFjcm9uBlJhY3V0ZQZSY2Fyb24HdW5pMDE1NgZTYWN1dGUHdW5pMDIxOAd1bmkxRTlFBlRjYXJvbgd1bmkwMjFBBlVicmV2ZQd1bmkxRUU0B3VuaTFFRTYFVWhvcm4HdW5pMUVFOAd1bmkxRUYwB3VuaTFFRUEHdW5pMUVFQwd1bmkxRUVFDVVodW5nYXJ1bWxhdXQHVW1hY3JvbgdVb2dvbmVrBVVyaW5nBlV0aWxkZQZXYWN1dGULV2NpcmN1bWZsZXgJV2RpZXJlc2lzBldncmF2ZQtZY2lyY3VtZmxleAd1bmkxRUY0BllncmF2ZQd1bmkxRUY2B3VuaTFFRjgGWmFjdXRlClpkb3RhY2NlbnQGYWJyZXZlB3VuaTFFQUYHdW5pMUVCNwd1bmkxRUIxB3VuaTFFQjMHdW5pMUVCNQd1bmkwMUNFB3VuaTFFQTUHdW5pMUVBRAd1bmkxRUE3B3VuaTFFQTkHdW5pMUVBQgd1bmkxRUExB3VuaTFFQTMHYW1hY3Jvbgdhb2dvbmVrCmNkb3RhY2NlbnQGZGNhcm9uBmVjYXJvbgd1bmkxRUJGB3VuaTFFQzcHdW5pMUVDMQd1bmkxRUMzB3VuaTFFQzUKZWRvdGFjY2VudAd1bmkxRUI5B3VuaTFFQkIHZW1hY3Jvbgdlb2dvbmVrB3VuaTFFQkQHdW5pMDEyMwpnZG90YWNjZW50BGhiYXIJaS5sb2NsVFJLB3VuaTFFQ0IHdW5pMUVDOQdpbWFjcm9uB2lvZ29uZWsGaXRpbGRlAmlqB3VuaTAyMzcHdW5pMDEzNwZsYWN1dGUGbGNhcm9uB3VuaTAxM0MGbmFjdXRlBm5jYXJvbgd1bmkwMTQ2A2VuZwd1bmkxRUQxB3VuaTFFRDkHdW5pMUVEMwd1bmkxRUQ1B3VuaTFFRDcHdW5pMUVDRAd1bmkxRUNGBW9ob3JuB3VuaTFFREIHdW5pMUVFMwd1bmkxRUREB3VuaTFFREYHdW5pMUVFMQ1vaHVuZ2FydW1sYXV0B29tYWNyb24GcmFjdXRlBnJjYXJvbgd1bmkwMTU3BnNhY3V0ZQd1bmkwMjE5BnRjYXJvbgd1bmkwMjFCBnVicmV2ZQd1bmkxRUU1B3VuaTFFRTcFdWhvcm4HdW5pMUVFOQd1bmkxRUYxB3VuaTFFRUIHdW5pMUVFRAd1bmkxRUVGDXVodW5nYXJ1bWxhdXQHdW1hY3Jvbgd1b2dvbmVrBXVyaW5nBnV0aWxkZQZ3YWN1dGULd2NpcmN1bWZsZXgJd2RpZXJlc2lzBndncmF2ZQt5Y2lyY3VtZmxleAd1bmkxRUY1BnlncmF2ZQd1bmkxRUY3B3VuaTFFRjkGemFjdXRlCnpkb3RhY2NlbnQHemVyby50ZgZvbmUudGYGdHdvLnRmCHRocmVlLnRmB2ZvdXIudGYHZml2ZS50ZgZzaXgudGYIc2V2ZW4udGYIZWlnaHQudGYHbmluZS50Zgl6ZXJvLmRub20Ib25lLmRub20IdHdvLmRub20KdGhyZWUuZG5vbQlmb3VyLmRub20JZml2ZS5kbm9tCHNpeC5kbm9tCnNldmVuLmRub20KZWlnaHQuZG5vbQluaW5lLmRub20JemVyby5udW1yCG9uZS5udW1yCHR3by5udW1yCnRocmVlLm51bXIJZm91ci5udW1yCWZpdmUubnVtcghzaXgubnVtcgpzZXZlbi5udW1yCmVpZ2h0Lm51bXIJbmluZS5udW1yB3VuaTIxNTMHdW5pMjE1NAlvbmVlaWdodGgMdGhyZWVlaWdodGhzC2ZpdmVlaWdodGhzDHNldmVuZWlnaHRocwd1bmkyMDgwB3VuaTIwODEHdW5pMjA4Mgd1bmkyMDgzB3VuaTIwODQHdW5pMjA4NQd1bmkyMDg2B3VuaTIwODcHdW5pMjA4OAd1bmkyMDg5B3VuaTIwNzAHdW5pMDBCOQd1bmkwMEIyB3VuaTAwQjMHdW5pMjA3NAd1bmkyMDc1B3VuaTIwNzYHdW5pMjA3Nwd1bmkyMDc4B3VuaTIwNzkHdW5pMDBBMAd1bmkyMDAyB3VuaTIwMDMHdW5pMjAwMAd1bmkyMDAxB3VuaTIwMDQHdW5pMjAwNQd1bmkyMDA2B3VuaTIwMDcHdW5pMjAwOAd1bmkyMDA5B3VuaTIwMEEHdW5pMjAwQgd1bmkyMDJGB3VuaTI3RTgHdW5pMjdFOQd1bmkyMDE2FnBlcmlvZGNlbnRlcmVkLmxvY2xDQVQbcGVyaW9kY2VudGVyZWQubG9jbENBVC5jYXNlB3VuaTBFM0YGbWludXRlBnNlY29uZAd1bmkyMTEzCWVzdGltYXRlZAd1bmkyMTE2B3VuaTIwQkYHdW5pMjBCNQ1jb2xvbm1vbmV0YXJ5BGRvbmcERXVybwd1bmkyMEIyB3VuaTIwQjQHdW5pMjBBRAd1bmkyMEJFBGxpcmEHdW5pMjBCQQd1bmkyMEJDB3VuaTIwQTYHdW5pMjBCMQd1bmkyMEJEB3VuaTIwQTgHdW5pMjBCOQd1bmkyMEI4B3VuaTIwQUUHdW5pMjBBOQhlbXB0eXNldAd1bmkyMTI2B3VuaTIyMDYHdW5pMDBCNQdhcnJvd3VwCmFycm93cmlnaHQJYXJyb3dkb3duCWFycm93bGVmdAd1bmkwMzA4B3VuaTAzMDcJZ3JhdmVjb21iCWFjdXRlY29tYgd1bmkwMzBCC3VuaTAzMEMuYWx0B3VuaTAzMDIHdW5pMDMwQwd1bmkwMzA2B3VuaTAzMEEJdGlsZGVjb21iB3VuaTAzMDQNaG9va2Fib3ZlY29tYgd1bmkwMzEyB3VuaTAzMUIMZG90YmVsb3djb21iB3VuaTAzMjYHdW5pMDMyNwd1bmkwMzI4C3VuaTAzMDYwMzAxC3VuaTAzMDYwMzAwC3VuaTAzMDYwMzA5C3VuaTAzMDYwMzAzC3VuaTAzMDIwMzAxC3VuaTAzMDIwMzAwC3VuaTAzMDIwMzA5C3VuaTAzMDIwMzAzDnVuaTAzMDgubmFycm93DnVuaTAzMDIubmFycm93EHRpbGRlY29tYi5uYXJyb3cOdW5pMDMwNC5uYXJyb3cAAAAEAE7/zAJDAroAAwAHAA8AKwAAFxEhESUhESETIjU0MzIVFCcmPgM1NCYjIgYGByc2NjMyFhYVFA4DF04B9f5eAU/+sYcxMTNUAxIfIBYhGQ8eHg4FFjYZIjcjGSIiFgI0Au79ElQCRv4YKywsK30kLBoVGxUaGQgPC0AQERgvJB4mGhgkHAAAAgAWAAAClwKUAAcACwAAMxMzEyMDIwMnNSEVFuS55IqvDrEQAaAClP1sAi/90YhZWf//ABYAAAKXA4MCJgABAAAABwIVAQgAif//ABYAAAKXA18CJgABAAAABwIaALQAiv//ABYAAAKXBEICJgABAAAAJwIaALQAigAHAhUBCAFI//8AFv8vApcDXwImAAEAAAAnAhMA9/zTAAcCGgC0AIoABAAWAAAClwRCAAcACwAbAB8AADMTMxMjAyMDJzUhFQEzBhYzMjYnMxYGBiMiJiY3JzMXFuS55IqvDrEQAaD+mlACGycmGQJQBCFDLzBDIG1ogUoClP1sAi/90YhZWQLXGCUkGS07Hx88aqWlAP//ABYAAAKXBFsCJgABAAAAJwIaALQAigAHAh4A6gFI//8AFgAAApcEHAImAAEAAAAnAhoAtACKAAcCLwCwAUkAAwAWAAAClwORAAcACwARAAAzEzMTIwMjAyc1IRUBFzcVBycW5Lnkiq8OsRABoP6Kn56enwKU/WwCL/3RiFlZAwlgYGJfXwD//wAWAAAClwONAiYAAQAAAAcCGAClAIr//wAWAAAClwRiAiYAAQAAACcCGAClAIoABwIVAQYBaP//ABb/LwKXA40CJgABAAAAJwITAPf80wAHAhgApQCKAAQAFgAAApcEYgAHAAsAEQAVAAAzEzMTIwMjAyc1IRUBNTcXFS8CMxcW5Lnkiq8OsRABoP6Kn56eKGiBSgKU/WwCL/3RiFlZAkNjX19jYJOkpP//ABYAAAKXBHsCJgABAAAAJwIYAKUAigAHAh4A6QFo//8AFgAAApcEQwImAAEAAAAnAhgApQCKAAcCHACeAWn//wAWAAAClwNhAiYAAQAAAAcCEgCaAIr//wAW/y8ClwKUAiYAAQAAAAcCEwD3/NMAAwAWAAAClwODAAcACwAPAAAzEzMTIwMjAyc1IRUDJzMXFuS55IqvDrEQAaD+aIFKApT9bAIv/dGIWVkCVqWl//8AFgAAApcDnAImAAEAAAAHAh4A6gCJ//8AFgAAApcDVAImAAEAAAAHAh0AtACK//8AFv84ApcClAImAAEAAAAHAiQBzQAA//8AFgAAApcDgwImAAEAAAAHAhsA5wCK//8AFgAAApcDZAImAAEAAAAHAhwAoACKAAYAFgAAA4EClAAFAAkADQARABUAGQAAMwEzByMDJzUhFRc1IRUhETMRAzUhFQE1IRUWASzTVSf5CAFaIAFv/j1/KwE+/sIBbQKUZv3SiFhYiGhoApT9bAEdYGABD2hoAAMATgAAAnAClAATABwAJQAAMxEhMh4CFRQGBgcVFhYVFAYGIyczMjY1NCYjIzUzMjY1NCYjI04BBzteQyQfRDdeVzlzV6epREFVV4JuVFFHSYMClBQrQi4nOSUHDwdRRDlNKGcrLTQ0Ui4vLSsAAQA1//MCgQKhACYAAAUiLgI1ND4CMzIeAhcHNiYmIyIOAhUUFhYzMjY2NxcOAwF0S3ZSLC1SckY2XEMmAXYBKD8kID8yHjFXNzhCHgJvAR4/Zg0rVX5RVIJbLhw3TTEfLTweGjhbQlRoMS1LLBM0XEQmAP//ADX/8wKBA4MCJgAaAAAABwIVAQcAiQACADX/8wKBA5EAJgAsAAAFIi4CNTQ+AjMyHgIXBzYmJiMiDgIVFBYWMzI2NjcXDgMBFzcVBycBdEt2UiwtUnJGNlxDJgF2ASg/JCA/Mh4xVzc4Qh4CbwEeP2b++5+enp8NK1V+UVSCWy4cN00xHy08Hho4W0JUaDEtSywTNFxEJgOeYGBiX1///wA1/xICgQKhAiYAGgAAAAcCIwDQAAD//wA1//MCgQNmAiYAGgAAAAcCEwDzAIoAAgBOAAACggKUABgAHAAAMzUzMjY2NTQuAiMjNTMyFhYVFA4DIyERMxGMwTxPJxkyTDOppXWVRyI6Tlkv/v5+aDZkRjtWNxxoTpFmSG9PMhcClP1sAAADAE4AAAKCA5EAGAAcACIAADM1MzI2NjU0LgIjIzUzMhYWFRQOAyMhETMRAxc3FQcnjME8TycZMkwzqaV1lUciOk5ZL/7+fhafnp6faDZkRjtWNxxoTpFmSG9PMhcClP1sA5FgYGJfXwD//wAxAAACtQKUAgYAIgAAAAMAMQAAArUClAADABwAIAAAEyEVIRM1MzI2NjU0LgIjIzUzMhYWFRQOAyMhETMRMQEo/tiOwTxPJxkxTDSppXaVRiE7TVou/v1+AYxe/tJoNmRGO1Y3HGhOkWZIb08yFwKU/WwAAAQATgAAAjsClAADAAcACwAPAAAzETMRIzUhFQE1IRUBNSEVTn8tAZv+ZQFq/pYBmQKU/WxoaAEfYGABDWhoAP//AE4AAAI7A4MCJgAjAAAABwIVAOIAiQAFAE4AAAI7A5EAAwAHAAsADwAVAAAzETMRIzUhFQE1IRUBNSEVARc3FQcnTn8tAZv+ZQFq/pYBmf5bn56enwKU/WxoaAEfYGABDWhoAWVgYGJfX///AE4AAAI7A40CJgAjAAAABwIYAH8Aiv//AE4AAAI7BGICJgAjAAAAJwIYAH8AigAHAhUA4QFo//8ATv8vAjsDjQImACMAAAAnAhMA0vzTAAcCGAB/AIoABgBOAAACOwRiAAMABwALAA8AFQAZAAAzETMRIzUhFQE1IRUBNSEVJTU3FxUvAjMXTn8tAZv+ZQFq/pYBmf5aoJ6eKGiBSQKU/WxoaAEfYGABDWhon2NfX2Ngk6Sk//8ATgAAAjsEewImACMAAAAnAhgAfwCKAAcCHgDEAWj//wBOAAACOwRDAiYAIwAAACcCGAB/AIoABwIcAHkBaf//AE4AAAI7A2ECJgAjAAAABwISAHUAiv//AE4AAAI7A2YCJgAjAAAABwITAM8Aiv//AE7/LwI7ApQCJgAjAAAABwITANL80wAFAE4AAAI7A4MAAwAHAAsADwATAAAzETMRIzUhFQE1IRUBNSEVJSczF05/LQGb/mUBav6WAZn+02iBSgKU/WxoaAEfYGABDWhosqWlAP//AE4AAAI7A5wCJgAjAAAABwIeAMUAif//AE4AAAI7A1QCJgAjAAAABwIdAI4Aiv//AE7/OAJAApQCJgAjAAAABwIkAX0AAP//AE4AAAI7A2QCJgAjAAAABwIcAHoAigADAE4AAAIuApQAAwAHAAsAADMRMxEDNSEVATUhFU5+RQF//oEBpwKU/WwBA2lpASRtbQAAAQA1//MCjwKhACsAAAUiJiY1ND4CMzIeAhcHLgIjIgYGFRQeAjMyNjY3IzUhFRUjNyMOAgFRUYFKKlJ2TjtfRigDeAIrQyc5UiwaMEQpL0UpBIYBA1wIEQ82Vg1KlnFSgVsvGzRKLyQtOhwyalM/WzkbIEQ0XnLfrT5TKQD//wA1//MCjwNfAiYANQAAAAcCGgDDAIr//wA1/xwCjwKhAiYANQAAAAcCIgECAAD//wA1//MCjwNmAiYANQAAAAcCEwEDAIoAAwBOAAACfgKUAAMABwALAAAhETMRIREzEQM1IRUCAH790H43AZ0ClP1sApT9bAEbaGgAAAQAOQAAAvEClAADAAcACwAPAAATIRUhAREzESERMxEDNSEVOQK4/UgB/X/9z383AZ0CO1j+HQKU/WwClP1sARtoaAAAAQBOAAAAzgKUAAMAADMRMxFOgAKU/Wz//wBO//UCPgKUACYAOwAAAAcARwEcAAD//wBOAAABHAODAiYAOwAAAAcCFQA+AIn//wAGAAABFgOEAiYAOwAAAAcCLv/yAIr////+AAABGgNfAiYAOwAAAAcCLf/qAIn//wA+AAAA3QNmAiYAOwAAAAcCEwAqAIr//wBC/y8A4QKUAiYAOwAAAAcCEwAu/NMAAgAAAAAAzgODAAMABwAAMxEzEQMnMxdOgGdngEoClP1sAt6lpf//ADQAAAD3A5wCJgA7AAAABwIeACAAif//AA8AAAEMA1ECJgA7AAAABwIw//sAiv//ACX/OADUApQCJgA7AAAABgIkEQD////4AAABIgNeAiYAOwAAAAcCL//mAIoAAQAM//UBIgKUABEAABcnFhYzMjY2NREzERQGBiMiJhcLCxUGLjESfyxgUAgWCHUBAhw5LQGo/lhObjsCAAABAE4AAAKIApQAHQAAMxEzET4DNzMOAwcVHgMXFyMnLgIjIxFOfjReTTcNkBA8T1gsL0s8LhIyjyASMlA+OwKU/tIVQVFZLjRjVUEUDQEWL0Ywim02QiD++///AE7/HAKIApQCJgBIAAAABwIiAO0AAAACAE4AAAHtApQAAwAHAAAzETMRIzUhFU5+YQGCApT9bGxsAP//AE4AAAHtA4MCJgBKAAAABwIVAD0Aif//AE4AAAHtAroCJgBKAAAABwIXAT7/1P//AE7/HAHtApQCJgBKAAAABwIiAKkAAAADAEQAAAI8ApQAAwAHAAsAABMlFQUXETMRIzUhFUQBhv56WX5hAYIBUoBtf+YClP1sbGwAAQBOAAADTgKUAA8AADMRMxMzEzMRIxMjAyMDIxNOv8QFwbd4CArRbs4KCAKU/fkCB/1sAhT97AIU/ewAAQBOAAACqwKUAAsAADMRMwEzAzMRIwEjE06lATwJCHuW/rYKCAKU/hUB6/1sAf7+Av//AE4AAAKrA4MCJgBQAAAABwIVAS0AiQACAE4AAAKrA5EACwARAAAzETMBMwMzESMBIxMTFzcVBydOpQE8CQh7lv62CggWn56enwKU/hUB6/1sAf7+AgORYGBiX1///wBO/xwCqwKUAiYAUAAAAAcCIgEZAAD//wBOAAACqwNkAiYAUAAAAAcCHADFAIoAAgBO/zsCqwKUABIAHgAABScWFjMyNjY1NTMVFA4CIyImJREzATMDMxEjASMTAasUCxMILTATfhg0VDwHEP6WpQE8CQh7lv62CgjCcgIBGCweLz0qSDYeAcQClP4VAev9bAH+/gIAAgA1//MCmgKhABIAIwAABSIuAjU0NjYzMh4CFRQOAicyNjY1NCYmIyIGBhUUHgIBZkhwTypQjFlFcE8sK1BxRTlNKSpPOTZPKhgtQw0uV35RdZlMLVeBU1N/Vy1mN2hLTW45N2tNOlk8IAD//wA1//MCmgODAiYAVgAAAAcCFQEYAIn//wA1//MCmgONAiYAVgAAAAcCGAC1AIr//wA1//MCmgRiAiYAVgAAACcCGAC1AIoABwIVARcBaP//ADX/LwKaA40CJgBWAAAAJwITAQj80wAHAhgAtQCKAAQANf/zApoEYgASACMAKQAtAAAFIi4CNTQ2NjMyHgIVFA4CJzI2NjU0JiYjIgYGFRQeAgM1NxcVLwIzFwFmSHBPKlCMWUVwTywrUHFFOU0pKk85Nk8qGC1Ddp+fnyhngEoNLld+UXWZTC1XgVNTf1ctZjdoS01uOTdrTTpZPCACcmNfX2Ngk6Sk//8ANf/zApoEewImAFYAAAAnAhgAtQCKAAcCHgD5AWj//wA1//MCmgRDAiYAVgAAACcCGAC1AIoABwIcAK8Baf//ADX/8wKaA2ECJgBWAAAABwISAKsAiv//ADX/LwKaAqECJgBWAAAABwITAQj80wADADX/8wKaA4MAEgAjACcAAAUiLgI1NDY2MzIeAhUUDgInMjY2NTQmJiMiBgYVFB4CEyczFwFmSHBPKlCMWUVwTywrUHFFOU0pKk85Nk8qGC1DA2iBSQ0uV35RdZlMLVeBU1N/Vy1mN2hLTW45N2tNOlk8IAKFpaUA//8ANf/zApoDnAImAFYAAAAHAh4A+wCJAAMANf/zApoDBAAKAB0ALgAAASc3MjY2JzMWBgYDIi4CNTQ2NjMyHgIVFA4CJzI2NjU0JiYjIgYGFRQeAgIjXQEuJgcDXQkRLeFIcE8qUIxZRXBPLCtQcUU5TSkqTzk2TyoYLUMCaQsaHzYhNkgh/Y4uV35RdZlMLVeBU1N/Vy1mN2hLTW45N2tNOlk8IP//ADX/8wKaA4MCJgBiAAAABwIVARgAif//ADX/LwKaAwQCJgBiAAAABwITAQj80wAEADX/8wKaA4MACgAdAC4AMgAAASc3MjY2JzMWBgYDIi4CNTQ2NjMyHgIVFA4CJzI2NjU0JiYjIgYGFRQeAhMnMxcCI10BLiYHA10JES3hSHBPKlCMWUVwTywrUHFFOU0pKk85Nk8qGC1DA2iBSQJpCxofNiE2SCH9ji5XflF1mUwtV4FTU39XLWY3aEtNbjk3a006WTwgAoWlpf//ADX/8wKaA5wCJgBiAAAABwIeAPsAif//ADX/8wKaA14CJgBiAAAABwIvAMAAiv//ADX/8wKaA3gCJgBWAAAABwIWAMoAkf//ADX/8wKaA1QCJgBWAAAABwIdAMQAigADADb/7wKhAqUAAwAWACcAABcBMwE3Ii4CNTQ2NjMyHgIVFA4CJzI2NjU0JiYjIgYGFRQeAjYB8WX+D9JHcU8pUItZRXBQKytQcUU5TikqUDg3TyoYLUMRArb9SgcuV35RdZlMLVeBU1N/Vy1mN2hLTW45N2tNOlk8IAD//wA1//MCmgNkAiYAVgAAAAcCHACwAIoABQA1//ADuQKgAB4AIgA3ADsAPwAABSImJjU0NjYzMhYWFzMuAjU1MxEjNTQ2NjcjDgI3NSEVJTI+AzU1NC4DIyIGBhUUFhYlNSEVATUhFQE2SXVDQHJKN1U3CxQEBwN3cgMFBBQHNVXJAX/9nR0zKR0QDhwoNCA1RiIlRgEWAVD+sAF/EFCbb26ZTy1aRR06ORoW/WwhFC8zGjpYLxBpaVYXKjpHKQghQz0wHERuQkJrP8ZhYQEPaWkAAgBOAAACWwKUABQAGAAANzUzMjY1NCYjIzUzMh4CFRQGBiMHETMRoZtQT0pNo6ZAZkgmRYdk3X7AZT9JQUJkHjpZOkxoNcAClP1sAAIATgAAAl0ClAAaAB4AADc1MzI+AzU0LgMjIzUzMh4CFRQGBiMHETMRoY4SLS8nGRgmKycMoKg8ZUopR4pl2X5jZQINHjYrKjQdDANkHzxaPU9qNmMClP1sAAIANf9ZApwCoQApADkAAAUGBi4DBzUWPgM3NQYuAzU0PgIzMhYWFRQOAgcVFhYyNjclMjY2NTQmJiMiBgYVFBYWApdFYkxKV3RUIExSUUcbS3daPB8oTnNMX4lKMFqCUTRUT1Ew/tQ7TycpUTs6TygqUZMNBwcODgcDagEBBwwVDg4WBS5Rb0FKfVszUZlsWX1VNBAMBggJC4M2aU1Qazg3a05PajYAAAIATgAAAnYClAAbACQAADMRMzIeAxUUDgIHFR4CFxcjJy4CIyMVETMyNjU0JiMjTv80V0MuGBYrQSsuOyQNKIsfCSU4KHJ4S09LTXoClBEgLz0lIzkqGwYNBiI8L4uAKDAU7AFNODo6OP//AE4AAAJ2A4MCJgBwAAAABwIVAO4AiQADAE4AAAJ2A5EAGwAkACoAADMRMzIeAxUUDgIHFR4CFxcjJy4CIyMVETMyNjU0JiMjAxc3FQcnTv80V0MuGBYrQSsuOyQNKIsfCSU4KHJ4S09LTXosn56enwKUESAvPSUjOSobBg0GIjwvi4AoMBTsAU04Ojo4AWBgYGJfX///AE7/HAJ2ApQCJgBwAAAABwIiAPcAAAABAC//8wJaAqEANQAABSIuAic3BhYWMzI2NjU0JiYnLgM1NDY2MzIWFhcHNC4CIyIGBhUUFhYXHgMVFAYGAURBZkcmAXABKk8zMUMiKkctMV1MLTxzUE92QgJzFSg3Iyk9IDBPLytXSi0+fA0ZNU00ITA/HhgpGh0jFwoLGixFNTxXMS9aPSAhMSEQFicaICYXCwkaKkc2OlgwAP//AC//8wJaA4ICJgB0AAAABwIVAPUAiAACAC//8wJaA5AANQA7AAAFIi4CJzcGFhYzMjY2NTQmJicuAzU0NjYzMhYWFwc0LgIjIgYGFRQWFhceAxUUBgYDFzcVBycBREFmRyYBcAEqTzMxQyIqRy0xXUwtPHNQT3ZCAnMVKDcjKT0gME8vK1dKLT58+p+fn58NGTVNNCEwPx4YKRodIxcKCxosRTU8VzEvWj0gITEhEBYnGiAmFwsJGipHNjpYMAOdYGBiX18A//8AL/8SAloCoQImAHQAAAAHAiMAvgAA//8AL/8cAloCoQImAHQAAAAHAiIA4QAAAAEASv/zAo8CoQA0AAAFIiYmJzceAzMyNjY1NC4CBzU3JiYjIg4DFREjETQ+AzMyFhYVBxU2FhYVFAYGAbcuRi0KVgYUGBsLFygZHDZOMpQGQi4eMSMXDH8QJUBeQlZtM6FKYTAvYA0XKxtADxcNBxUqIB8sHAsDUIYdIQ8bJi0Z/l4BlitORDIcLEswkwUCL08wM1k3AAIAFQAAAh0ClAADAAcAADMRMxEBNSEV2X/+vQIIApT9bAIpa2sAAwAVAAACHQORAAMABwANAAAzETMRATUhFQEXNxUHJ9l//r0CCP5dn5+fnwKU/WwCKWtrAWhgYGJfXwD//wAV/xwCHQKUAiYAegAAAAcCIgC1AAAAAQBJ//MCigKUABYAAAUiLgM1ETMRFBYWMzI2NjURMxEUBgFqOl1FLhd/JEg2N0ckfpENGC5CVDEBlP5xN0cjIkg3AY/+bICNAP//AEn/8wKKA4MCJgB9AAAABwIVARoAif//AEn/8wKKA18CJgB9AAAABwIaAMcAiv//AEn/8wKKA40CJgB9AAAABwIYALcAiv//AEn/8wKKA2ECJgB9AAAABwISAK0Aiv//AEn/LwKKApQCJgB9AAAABwITAQr80wACAEn/8wKKA4MAFgAaAAAFIi4DNREzERQWFjMyNjY1ETMRFAYDJzMXAWo6XUUuF38kSDY3RyR+kbVogUoNGC5CVDEBlP5xN0cjIkg3AY/+bICNAuulpQD//wBJ//MCigOcAiYAfQAAAAcCHgD9AIn//wBJ//MDAAMMAiYAfQAAAAcCIAIpAIr//wBJ//MDAAODAiYAfQAAACcCIAIpAIoABwIVARoAif//AEn/LwMAAwwCJgB9AAAAJwIgAikAigAHAhMBCvzTAAMASf/zAwADgwAWACIAJgAABSIuAzURMxEUFhYzMjY2NREzERQGEyc3Mj4CJzMWBgYlJzMXAWo6XUUuF38kSDY3RyR+kZ9bAiEmDwECYwkQL/6DaIFKDRguQlQxAZT+cTdHIyJINwGP/myAjQJ6DBsTISwYNksjdqWlAP//AEn/8wMAA5wCJgB9AAAAJwIgAikAigAHAh4A/QCJ//8ASf/zAwADZAImAH0AAAAnAiACKQCKAAcCHACyAIr//wBJ//MCigN4AiYAfQAAAAcCFgDNAJH//wBJ//MCigNUAiYAfQAAAAcCHQDGAIoAAgBJ/zQCigKUABQAKwAABQYGJiY1NDY2NzU3FQYGFRQWFjY3JyIuAzURMxEUFhYzMjY2NREzERQGAbEZPTYjHy0VSSkqFR0eCEc6XUUuF38kSDY3RyR+kcYDAwsgIR0nGQYVBgcTLRUMCwIDAWYYLkJUMQGU/nE3RyMiSDcBj/5sgI3//wBJ//MCigODAiYAfQAAAAcCGwD6AIr//wBJ//MCigNkAiYAfQAAAAcCHACyAIoAAQAWAAACgwKUAAcAADMDMxMzEzMD892KpwyoiN4ClP3YAij9bAABABsAAAOxApQADwAAMwMzEzMTMxMzEzMDIwMjA7WaiW4Ke6N6C2+DnbJ3CXcClP3aAib92gIm/WwCJv3a//8AGwAAA7EDgwImAJEAAAAHAhUBlwCJ//8AGwAAA7EDjQImAJEAAAAHAhgBNACK//8AGwAAA7EDYQImAJEAAAAHAhIBKgCKAAIAGwAAA7EDgwAPABMAADMDMxMzEzMTMxMzAyMDIwMTJzMXtZqJbgp7o3oLb4OdsncJd1ZogUoClP3aAib92gIm/WwCJv3aAt6lpQABABgAAAKMApQADQAAMxMDMxMzEzMDEyMDIwMY4d6UngWfld/llKYFoQFKAUr+/QED/rn+swEI/vgAAQAJAAACZAKUAAkAADM1AzMTMxMzAxX475aWBZWV7dABxP6xAU/+PtL//wAJAAACZAODAiYAlwAAAAcCFQDnAIn//wAJAAACZAONAiYAlwAAAAcCGACEAIr//wAJAAACZANhAiYAlwAAAAcCEgB6AIr//wAJ/y8CZAKUAiYAlwAAAAcCEwDX/NMAAgAJAAACZAODAAkADQAAMzUDMxMzEzMDFQMnMxf475aWBZWV7WZogUrQAcT+sQFP/j7SAt6lpf//AAkAAAJkA5wCJgCXAAAABwIeAMoAif//AAkAAAJkA2QCJgCXAAAABwIcAH8AigABACIAAAIUApQACwAAMzUBNSE1IRUBFSEVIgFZ/rMB2v6tAV94AaUMa4L+ZAtrAP//ACIAAAIUA4MCJgCfAAAABwIVAMsAiQACACIAAAIUA5EACwARAAAzNQE1ITUhFQEVIRUBFzcVByciAVn+swHa/q0BX/5on56en3gBpQxrgv5kC2sDkWBgYl9f//8AIgAAAhQDZgImAJ8AAAAHAhMAtwCKAAIAKv/zAgsCGAArADwAABciJiY1ND4CNz4CNTQmIyIGBgcnPgMzMhYWFRUUFhYXIyYmJyMOAjcyPgI3JxcOBRUUFsArRCcfPlw+IisUKzAdNSYHcQsqPlAwSV4uAwUEcQQGAhAONEsBFCkoIgwCGBEyNzcsGiwNIUIxKTolGQkFChUVHy0UKyMjKDsqFC9jTmIiSUkiHEAhJj8lXQ4cKRxZBA4QCAsRHxsiJv//ACr/8wILAvgCJgCjAAAABwIVANb/////ACr/8wILAtQCJgCjAAAABwIaAIL/////ACr/8wILA7cCJgCjAAAAJwIaAIL//wAHAhUA1gC+//8AKv8vAgsC1AImAKMAAAAnAhMAyfzTAAcCGgCC//8ABAAq//MCCwO3ACsAPABMAFAAABciJiY1ND4CNz4CNTQmIyIGBgcnPgMzMhYWFRUUFhYXIyYmJyMOAjcyPgI3JxcOBRUUFgMzBhYzMjYnMxYGBiMiJiY3JzMXwCtEJx8+XD4iKxQrMB01JgdxCyo+UDBJXi4DBQRxBAYCEA40SwEUKSgiDAIYETI3NywaLDlQAhwmJhkCUQMhQjAwQyBtZ4BKDSFCMSk6JRkJBQoVFR8tFCsjIyg7KhQvY05iIklJIhxAISY/JV0OHCkcWQQOEAgLER8bIiYChBgkJBgsPB4fO2ukpP//ACr/8wILA9ACJgCjAAAAJwIaAIL//wAHAh4AuAC+//8AKv/zAgsDkgImAKMAAAAnAhoAgv//AAcCLwB+AL4AAwAq//MCCwMHACsAPABCAAAXIiYmNTQ+Ajc+AjU0JiMiBgYHJz4DMzIWFhUVFBYWFyMmJicjDgI3Mj4CNycXDgUVFBYDFzcVByfAK0QnHz5cPiIrFCswHTUmB3ELKj5QMEleLgMFBHEEBgIQDjRLARQpKCIMAhgRMjc3LBosSZ+fn58NIUIxKTolGQkFChUVHy0UKyMjKDsqFC9jTmIiSUkiHEAhJj8lXQ4cKRxZBA4QCAsRHxsiJgK3YGBjX1///wAq//MCCwMCAiYAowAAAAYCGHP///8AKv/zAgsD2AImAKMAAAAmAhhz/wAHAhUA1ADe//8AKv8vAgsDAgImAKMAAAAnAhMAyfzTAAYCGHP/AAQAKv/zAgsD2AArADwAQgBGAAAXIiYmNTQ+Ajc+AjU0JiMiBgYHJz4DMzIWFhUVFBYWFyMmJicjDgI3Mj4CNycXDgUVFBYDNTcXFS8CMxfAK0QnHz5cPiIrFCswHTUmB3ELKj5QMEleLgMFBHEEBgIQDjRLARQpKCIMAhgRMjc3LBosSZ+enihogUoNIUIxKTolGQkFChUVHy0UKyMjKDsqFC9jTmIiSUkiHEAhJj8lXQ4cKRxZBA4QCAsRHxsiJgHxYl9fYmCSpaUA//8AKv/zAgsD8QImAKMAAAAmAhhz/wAHAh4AtwDe//8AKv/zAgsDuQImAKMAAAAmAhhz/wAHAhwAbADe//8AKv/zAgsC1gImAKMAAAAGAhJo////ACr/LwILAhgCJgCjAAAABwITAMn80wADACr/8wILAvgAKwA8AEAAABciJiY1ND4CNz4CNTQmIyIGBgcnPgMzMhYWFRUUFhYXIyYmJyMOAjcyPgI3JxcOBRUUFhMnMxfAK0QnHz5cPiIrFCswHTUmB3ELKj5QMEleLgMFBHEEBgIQDjRLARQpKCIMAhgRMjc3LBosL2eASg0hQjEpOiUZCQUKFRUfLRQrIyMoOyoUL2NOYiJJSSIcQCEmPyVdDhwpHFkEDhAICxEfGyImAgSkpP//ACr/8wILAxECJgCjAAAABwIeALj/////ACr/8wILAskCJgCjAAAABwIdAIL/////ACr/OAIQAhgCJgCjAAAABwIkAU0AAP//ACr/8wILAvgCJgCjAAAABwIbALX/////ACr/8wILAtoCJgCjAAAABgIcbv8AAgAq//EDbwIaAE4AXgAAFyImJjU0PgI3PgI1NCYmIyIGBgcnPgIzMh4CFzM+AzMyHgIHBTUlBzYmJiMiBgYVFBYWMzI+AjcXDgMjIiYmJyMOAzcyPgI3JxcOBBUUFsMuRiUvSlQlICUQDyIeGzMlB3ENPlo3K0IrFgENAyM2QSIzVTwdBf5yAVU+DB06IyU6IiM+KRonGxMEbggkOkotOVw+Dg8OLTtEChMpJSEMASIZQUQ6JSwOIkIuNj8iEAYFDBUUFSIUFSoiIzRIJhYqQSwvQikTJ0xvSQNJAzk8UikrUzo7TSYOGCITGyQ7KhYkSTcnPCoWXg0aJBiMIhQTDBAhISMlAAIAR//zAkkCxgAbAC8AAAUiJiYnIxcjEREzFRQGBgczPgIzMhYWFRQGBicyNjY1NCYmIyIOAxUVFB4CAXMySC0KEgFqfgYKBhUNK0YzQV80M19sJTgdHDYnGiwgFgsQIjINJ0gylAEBAcWpGDg7HjBJKkV7VFJ6RGgqTDQyTCwVIyotExEZOTAfAAEAKv/zAh0CGAAlAAAFIi4CNTQ+AjMyFhYXBy4CIyIOAhUUFhYzMjY2NxcOAwEyRGNBICFCYT8/XToKdgIcMCEgLx8RHj4uKTMbA3AGIjtSDShJYjk9ZkwqKksyJR4vGhkuQSg3TisfMh4ZKUIxGv//ACr/8wIdAvoCJgC8AAAABwIVANcAAAACACr/8wIdAwgAJQArAAAFIi4CNTQ+AjMyFhYXBy4CIyIOAhUUFhYzMjY2NxcOAwMXNxUHJwEyRGNBICFCYT8/XToKdgIcMCEgLx8RHj4uKTMbA3AGIjtS4J+fn58NKEliOT1mTCoqSzIlHi8aGS5BKDdOKx8yHhkpQjEaAxVgYGJfX///ACr/EgIdAhgCJgC8AAAABwIjAJ8AAP//ACr/8wIdAt0CJgC8AAAABwITAMMAAQACACv/8wItAsYAGwAvAAAFIiYmNTQ2NjMyFhYXMy4CNTUzEREjNyMOAicyPgI1NTQuAyMiBgYVFBYWAQJCYTQwXUU1RSwNFQYKB39rAhMLLkUJITIhEQsVISsaJzYdHjcNRHtUT3tHKUkxHz45F6X+O/7/lDRIJWgfMDkZERMsKyMVLEwzM0wqAP//ACv/8wLnAuwCJgDBAAAABwIXAmQABgADACv/8wJ8AsYAAwAfADMAABMhFSETIiYmNTQ2NjMyFhYXMy4CNTUzEREjNyMOAicyPgI1NTQuAyMiBgYVFBYW5wGV/msbQmE0MF1FNUUsDRUGCgd/awITCy5FCSEyIRELFSErGic2HR43Ao41/ZpEe1RPe0cpSTEfPjkXpf47/v+UNEglaB8wORkREywrIxUsTDMzTCoAAAMAKf/yAjMCyQAgADMANwAABSIuAjU0NjYzMhYWFzMuBCc3HgUVFA4CJzI+AjU1NC4CIyIGBhUUFhYDNxcHASo7X0MkNFs8KVE+DBUEGzNSdE8RVYRiRCoTIENjQyAvIRETJDMfJTccHjll+Sn8Dh8+XD5LbTogRzweTlBJNQpNCTBFVF5gLz9oSidoFyc2HQcXMSoaJ0MpKUImAdmTNJQAAAEAKf/zAhoCGAAoAAAFIi4CNTQ+AjMyHgIHBTUlBzYmJiMiBgYVFBYzMj4CNxcOAwEzP2NEJCNCXz05Wj4eBf5nAVAsBh44JCk+IU1DHikcEQVuCCQ5Tg0kRWI+PmhMKiZLb0kDSQMpOUkjK1E6V1YPGSASGSU6Khb//wAp//MCGgL6AiYAxQAAAAcCFQDVAAAAAgAp//MCGgMIACgALgAABSIuAjU0PgIzMh4CBwU1JQc2JiYjIgYGFRQWMzI+AjcXDgMDFzcVBycBMz9jRCQjQl89OVo+HgX+ZwFQLAYeOCQpPiFNQx4pHBEFbggkOU7hn5+fnw0kRWI+PmhMKiZLb0kDSQMpOUkjK1E6V1YPGSASGSU6KhYDFWBgYl9f//8AKf/zAhoDAwImAMUAAAAGAhhyAf//ACn/8wIaA9kCJgDFAAAAJgIYcgEABwIVANMA3///ACn/LwIaAwMCJgDFAAAAJwITAMz80wAGAhhyAQADACn/8wIaA9kAKAAuADIAAAUiLgI1ND4CMzIeAgcFNSUHNiYmIyIGBhUUFjMyPgI3Fw4DAzU3FxUvAjMXATM/Y0QkI0JfPTlaPh4F/mcBUCwGHjgkKT4hTUMeKRwRBW4IJDlO4Z+enihogUoNJEViPj5oTComS29JA0kDKTlJIytROldWDxkgEhklOioWAk9iX19iYJKlpQD//wAp//MCGgPyAiYAxQAAACYCGHIBAAcCHgC2AN///wAp//MCGgO6AiYAxQAAACYCGHIBAAcCHABrAOD//wAp//MCGgLXAiYAxQAAAAYCEmcB//8AKf/zAhoC3QImAMUAAAAHAhMAwQAB//8AKf8vAhoCGAImAMUAAAAHAhMAzPzTAAIAKf/zAhoC+gAoACwAAAUiLgI1ND4CMzIeAgcFNSUHNiYmIyIGBhUUFjMyPgI3Fw4DAyczFwEzP2NEJCNCXz05Wj4eBf5nAVAsBh44JCk+IU1DHikcEQVuCCQ5TmlngEoNJEViPj5oTComS29JA0kDKTlJIytROldWDxkgEhklOioWAmKlpf//ACn/8wIaAxMCJgDFAAAABwIeALcAAP//ACn/8wIaAsoCJgDFAAAABwIdAIEAAQACACn/RgIaAhgAFQA+AAAFBgYmJjU0NjY3NTcXDgIVFBYWNjcnIi4CNTQ+AjMyHgIHBTUlBzYmJiMiBgYVFBYzMj4CNxcOAwIBFj48KBIfE1ASDScfFiEiDM4/Y0QkI0JfPTlaPh4F/mcBUCwGHjgkKT4hTUMeKRwRBW4IJDlOrwYFDCIhFSIZCEQhFhQnKBYSEQMFAk8kRWI+PmhMKiZLb0kDSQMpOUkjK1E6V1YPGSASGSU6Khb//wAp//MCGgLbAiYAxQAAAAYCHG0BAAEAGAAAAXcCyAAfAAAzESM1FzUuAjU0NjYzMhYXByYmIyIGFRQWFhczFSMRb1eJHyoTKkw0K0cWChY6Gx8oEh0OeogBWl8HEgkjMBwrPiMWEHQSFSMnGR8RBGT+pgADABz/TAI0AhAANABFAFIAAAUiJiY1NDY3NQYmNTQ2NzUmJjU0NjYzIRUnFRYWFRQGBiMiJicGBhUUFhYzMzIeAhUUBgYnMjY2NTQuAiMjBgYVFBYWEzI2NTQmIyIGFRQWFgESVW00SUg2ODdAPUQ4bU4BA6Q+OzRjRg0eIBUaFCAPixQ/PytBgVU+SiAUHyALezAnID0uNDY3NDQ5GTG0GjQmLjsHFAEZHBsqDhQDRzkzTi1kGBYKMispPyMCBA8XCggLBAYaODM5SSJmDh8YFhkKAgcoGBgZCAFPMSgrNzYqGykX//8AHP9MAjQC1wImANcAAAAHAhoAgQAC//8AHP9MAjQC6AImANcAAAAHAh8AzAAC//8AHP9MAjQC3gImANcAAAAHAhMAwQACAAEARwAAAi0CxgAcAAAzEREzFRQOAgczPgIzMhYVESMRNCYjIgYGBxVHfwMGBwQVDixFMltafzMzKjgeAwFFAYGjFSwuLhc2Syh/gf7oAQZWUjNUNfIAAv/0AAACLwLGAAMAIAAAAyEVIRMRETMVFA4CBzM+AjMyFhURIxE0JiMiBgYHFQwBjv5yVX8DBgYFFQ4sRTJbWn8zMyo4HgMCjjX9pwFFAYGjFSwuLhc2Syh/gf7oAQZWUjNUNfL//wA3AAAA1gLdAiYA3gAAAAYCEyMBAAEARwAAAMUCCwADAAAzETMRR34CC/31//8ARwAAARQC+gImAN4AAAAGAhU2AP////4AAAEOAvsCJgDeAAAABgIu6gH////2AAABEgLVAiYA3gAAAAYCLeIA//8ANwAAANYC3QImAN4AAAAGAhMjAf//ADf/LwDaAt0CJgDeAAAAJgITIwEABwITACb80wAC//gAAADFAvoAAwAHAAAzETMRAyczF0d+ZWiBSgIL/fUCVaWl//8ALQAAAO8DEwImAN4AAAAGAh4ZAP//AAcAAAEFAsgCJgDeAAAABgIw8wH//wAb/zgA1gLdAiYA3gAAACYCEyMBAAYCJAcA////8AAAARoC1AImAN4AAAAGAi/eAf//ADf/PAHnAt0AJgDeAAAAJgITIwEAJwDrAQwAAAAHAhMBNAAB////6v88ANsC3QImAOsAAAAGAhMoAQAB/+r/PADLAgsADgAAFyImJycWNjURMxEUDgIaCRILCjQufxcsQ8QDAm4EHTMCEP3wMUgvFwABAEcAAAIrAscAHQAAMxEzET4DNzMOAwcVNh4CFxcjJy4CIyMVR3wiPjQoDZEQNEVWMT5UOicRGosQEyk9MCQCx/5xFTM4ORonTEAvCQ4JHjxPKUkwMk0r2v//AEf/HAIrAscCJgDsAAAABwIiAMwAAAABAEcAAADDAsYAAwAAMxEzEUd8Asb9Ov//AEcAAAESA7ECJgDuAAAABwIVADQAt///AEcAAAF7AuwCJgDuAAAABwIXAPgABv//ADX/HADDAsYCJgDuAAAABgIiIQAAAgAmAAABRQLGAAMABwAAEyUVBRMRMxEmAR/+4VF8AXthX2D+4wLG/ToAAQBHAAADYgIYAC4AADMRNTMHMz4CMzIWFhczPgIzMh4CFREjETQmJiMiBgYHFSM1NCYmIyIGBgcVR2cDEg4tQiswPiEEEA0xRysqQCsVfxMnHyM0HgN8FCgfJDMdAgFLwKA6TSYsTTM6TCYiQWJA/u0BAzhKJS5TNfT9Ok0mMFQ08gAAAQBHAAACLQIYABcAADMRNTMHMz4CMzIWFREjETQmIyIGBgcVR2kDEg4vSjFZXX8zMio6HwEBP8ygO0wmfoT+6gEJVU81VzTtAP//AEcAAAItAvkCJgD0AAAABwIVAOv//wACAEcAAAItAwcAFwAdAAAzETUzBzM+AjMyFhURIxE0JiMiBgYHFQMXNxUHJ0dpAxIOL0oxWV1/MzIqOh8BKZ+fn58BP8ygO0wmfoT+6gEJVU81VzTtAwdgYGJfXwD//wBH/xwCLQIYAiYA9AAAAAcCIgDZAAD//wBHAAACLQLaAiYA9AAAAAcCHACDAAAAAgBH/1ACLQIYAA0AJQAABSImJycWNjU1MxUUBgYlETUzBzM+AjMyFhURIxE0JiMiBgYHFQGWEyYWCj00fyND/oBpAxIOL0oxWV1/MzIqOh8BsAYFaxMeLxoaPE4msAE/zKA7TCZ+hP7qAQlVTzVXNO0AAgAp//MCNQIYAA8AHgAABSImJjU0NjYzMhYWFRQGBicyNjY1NCYmIyIGBhUUFgEvTXZDRXZKTXZERHdGKjofIT0uKDwfSw0/e1pceTw+e1tcejtgJ042OVEsJ0w4WF7//wAp//MCNQL6AiYA+gAAAAcCFQDfAAD//wAp//MCNQMDAiYA+gAAAAYCGHwB//8AKf/zAjUD2QImAPoAAAAmAhh8AQAHAhUA3gDf//8AKf8vAjUDAwImAPoAAAAnAhMA1fzTAAYCGHwBAAQAKf/zAjUD2QAPAB4AJAAoAAAFIiYmNTQ2NjMyFhYVFAYGJzI2NjU0JiYjIgYGFRQWAzU3FxUvAjMXAS9NdkNFdkpNdkREd0YqOh8hPS4oPB9LY5+fnydogUkNP3taXHk8PntbXHo7YCdONjlRLCdMOFheAe9iX19iYJKlpQD//wAp//MCNQPyAiYA+gAAACYCGHwBAAcCHgDAAN///wAp//MCNQO6AiYA+gAAACYCGHwBAAcCHAB2AOD//wAp//MCNQLXAiYA+gAAAAYCEnIB//8AKf8vAjUCGAImAPoAAAAHAhMA1fzTAAMAKf/zAjUC+gAPAB4AIgAABSImJjU0NjYzMhYWFRQGBicyNjY1NCYmIyIGBhUUFhMnMxcBL012Q0V2Sk12RER3Rio6HyE9Lig8H0sWaIFKDT97Wlx5PD57W1x6O2AnTjY5USwnTDhYXgICpaX//wAp//MCNQMTAiYA+gAAAAcCHgDCAAAAAwAp//MCPwKBAAoAGgApAAABJzcyNjYnMxYGBgMiJiY1NDY2MzIWFhUUBgYnMjY2NTQmJiMiBgYVFBYB21wBLScHA14JEC7STXZDRXZKTXZERHdGKjofIT0uKDwfSwHmCxweNSE1SCP+Ej97Wlx5PD57W1x6O2AnTjY5USwnTDhYXgD//wAp//MCPwL6AiYBBgAAAAcCFQDfAAD//wAp/y8CPwKBAiYBBgAAAAcCEwDV/NMABAAp//MCPwL6AAoAGgApAC0AAAEnNzI2NiczFgYGAyImJjU0NjYzMhYWFRQGBicyNjY1NCYmIyIGBhUUFhMnMxcB21wBLScHA14JEC7STXZDRXZKTXZERHdGKjofIT0uKDwfSxZogUoB5gscHjUhNUgj/hI/e1pceTw+e1tcejtgJ042OVEsJ0w4WF4CAqWlAP//ACn/8wI/AxMCJgEGAAAABwIeAMIAAP//ACn/8wI/AtQCJgEGAAAABwIvAIcAAf//ACn/8wI1Au4CJgD6AAAABwIWAJIAB///ACn/8wI1AsoCJgD6AAAABwIdAIsAAQADACn/zgI1AkAAAwATACIAABcBMwE3IiYmNTQ2NjMyFhYVFAYGJzI2NjU0JiYjIgYGFRQWewEbSP7kbU12Q0V2Sk12RER3Rio6HyE9Lig8H0syAnL9jiU/e1pceTw+e1tcejtgJ042OVEsJ0w4WF7//wAp//MCNQLbAiYA+gAAAAYCHHcBAAIAKf/zA50CGAA2AEoAAAUiJiY1NDY2MzIWFhczPgIzMh4CBwU1JSYmIyIGBhUUFjMyPgI3Fw4DIyImJicjDgInMj4CNTQuAiMiDgIVFB4CAR1Db0JBb0QwTjwQEAk1UzQ4VTgaBP5hAS4FQywoOR5HQhonGxEFbwgkN0gtNVg8CA4NNlEnFy0kFBYmLxkWLCMWFyYvDT96W1p5Ph9FOTJGJSpObkMDSQJAPS5RN1RZDhkhExsiOioYIkUzL0UmXxIoQjAxRSsUESVDMjNGKhMAAAIAR/9aAkkCGAAbAC8AABcRETMHFz4CMzIWFhUUBgYjIiYmJyMeAhUVEzI2NjU0JiYjIg4CFRUUHgNHagERCi1GMEZiMy9fRjNGLA4SBgkGhyc2HB04JiEyIhALFiAspgGoAQmOATJGJEV9U057RyhGLhs5NxmRAQArTTI0TCoeMTgbERQrKyMUAAIAR/9hAkkCxgAgADQAABcRETMVFAYGBzM+AjMyFhYVFAYGIyImJicjHgMVFTcyNjY1NCYmIyIOAxUVFB4CR34GCgYVDCxGM0FfNDNfRDJILQoUBAgHBIYlNx4dNScaLCAWCxAiMp8BogHDqRg4Ox4wSSpFfFRSe0QoSTISLS8tFYP5KU00M0wsFSMqLRQQGjgyHgACACv/WgItAhgAGwAvAAAFNTQ2NjcjDgIjIiYmNTQ2NjMyFhYXMyczEREBMj4DNTU0LgIjIgYGFRQWFgGuBwoFEg4tRTVFXTAzYkYxRi0JEgNr/vwaKyAWCxEhMiEmNx4dNqaRGTY5HC5HJ0d7TlN8RiVFMY3+/P5UAQAUIyosFBEbOTAeKkw1MUwsAAEARwAAAZUCFwAVAAAzEREzBzM+AjMyFhcHJiYjIgYGBxVHagISCSZEMgoXDgUQIQ4nOSMJAQYBBbRAVSsCBIUGBShJMvQA//8ARwAAAZUC+gImARQAAAAHAhUAhQAAAAIANgAAAZUDCAAVABsAADMRETMHMz4CMzIWFwcmJiMiBgYHFQMXNxUHJ0dqAhIJJkQyChcOBRAhDic5IwmPn5+fnwEGAQW0QFUrAgSFBgUoSTL0AwhgYGJfXwD//wA6/xwBlQIXAiYBFAAAAAYCIiYAAAEAJP/zAfkCGAAyAAAFIi4CJzceAjMyNjU0JiYnLgM1NDY2MzIWFhcHLgIjIgYVFBYWFx4DFRQGBgESNVU8JARjAiRALTI3HjkoJUs/JzNhRUFfPAhoAyA2JC40ITsmKEs8JDhnDRUnNyIlGikYHx0VGREICBUjOSwwRigkQy4hHCcUIBsWGhAICBUiNys0SSX//wAk//MB+QL6AiYBGAAAAAcCFQC3AAAAAgAk//MB+QMIADIAOAAABSIuAic3HgIzMjY1NCYmJy4DNTQ2NjMyFhYXBy4CIyIGFRQWFhceAxUUBgYDFzcVBycBEjVVPCQEYwIkQC0yNx45KCVLPyczYUVBXzwIaAMgNiQuNCE7JihLPCQ4Z/Gfnp6fDRUnNyIlGikYHx0VGREICBUjOSwwRigkQy4hHCcUIBsWGhAICBUiNys0SSUDFWBgYl9f//8AJP8SAfkCGAImARgAAAAHAiMAhv////8AJP8cAfkCGAImARgAAAAHAiIAqf//AAEAR//yAm8CngA7AAAFIiYmJzceAjMyPgI1NC4CIzUyNjY1NCYmIyIOAxURIxE0PgMzMhYWFRQGBgcVHgIVFAYGAZcoPiwQTwoYHRESIhwRIzxKKDlNJyU7ISo2HQ4CfBAmP10+Sm4/HUAzPk4lNGAOFCYcRxIXCgoVIhclKhUGVBMtJSUoEBQgJSYO/lkBmylMQjAcKVE9KDwmCA8FKkMtOFEsAAABABD/9AFkAn8AGgAAFyImNTUjNzMyNjc3MxUzFSMVFBYzMjY3FQYG/lNOTQIzHRwDDEmKiiMjEyUQHzMMWV77ZBIXTHRp8iUiCQt4CgcA//8AEP/0AY8C5wImAR4AAAAHAhcBDAAB//8AEP8cAWQCfwImAR4AAAAGAiJsAAABAD//8wIcAgsAGAAAFyImNREzERQWMzI+Ajc1MxEVIzcjDgL0Wlt/MDIdLCATAn5oAhINL0QNe30BIP7uT04dNUYq7f7M16U/TiX//wA///MCHAL6AiYBIQAAAAcCFQDdAAD//wA///MCHALWAiYBIQAAAAcCGgCKAAH//wA///MCHAMDAiYBIQAAAAYCGHoB//8AP//zAhwC1wImASEAAAAGAhJwAf//AD//LwIcAgsCJgEhAAAABwITAN380wACAD//8wIcAvoAGAAcAAAXIiY1ETMRFBYzMj4CNzUzERUjNyMOAgMnMxf0Wlt/MDIdLCATAn5oAhINL0QdaIFKDXt9ASD+7k9OHTVGKu3+zNelP04lAmKlpf//AD//8wIcAxMCJgEhAAAABwIeAMAAAP//AD//8wKRAoIAJgEhAAAABwIgAboAAf//AD//8wKRAvoAJgEhAAAAJwIgAboAAQAHAhUA3QAA//8AP/8vApECggAmASEAAAAnAiABugABAAcCEwDd/NMAAwA///MCkQL6ABgAJAAoAAAXIiY1ETMRFBYzMj4CNzUzERUjNyMOAgEnNzI+AiczFgYGJSczF/RaW38wMh0sIBMCfmgCEg0vRAEGXAIiJg8BAmMIEC/+tWiBSg17fQEg/u5PTh01Rirt/szXpT9OJQHxCxwTISsYNUskd6WlAP//AD//8wKRAxMAJgEhAAAAJwIgAboAAQAHAh4AwAAA//8AP//zApEC2wAmASEAAAAnAiABugABAAYCHHUB//8AP//zAhwC7gImASEAAAAHAhYAkAAH//8AP//zAhwCygImASEAAAAHAh0AiQAB//8AP/84AiECCwImASEAAAAHAiQBXgAA//8AP//zAhwC+gImASEAAAAHAhsAvQAB//8AP//zAhwC2wImASEAAAAGAhx1AQABAA0AAAIiAgoABwAAMwMzEzMTMwPAs4x5D3mItAIK/lsBpf32AAEAEgAAAzoCCwAPAAAzAzMTMxMzEzMTMwMjAyMDl4WEUxJfmmISUYGFr1oPWAIL/lsBpf5bAaX99QGj/l3//wASAAADOgL6AiYBNQAAAAcCFQFZAAD//wASAAADOgMDAiYBNQAAAAcCGAD2AAH//wASAAADOgLXAiYBNQAAAAcCEgDsAAEAAgASAAADOgL6AA8AEwAAMwMzEzMTMxMzEzMDIwMjAxMnMxeXhYRTEl+aYhJRgYWvWg9YPmiBSQIL/lsBpf5bAaX99QGj/l0CVaWlAAEAEQAAAhcCCwANAAAzEwMzFzM3MwMTIycjBxGvr5JoEGiSr7GRaxBnAQUBBsrK/vr++8vLAAEAMP9NAhACCwApAAAFIiYmJzcWFjMyNjY3NyMOAiMiJiY1NTMVFBYzMj4CNzUzERQOAwEJKFJHGCsdXC83SCYCBxUKLkUuOU4nfy4vGSodEQF/FSo/VLMQIRpoISItXkZfRFUnOnJU3sFeVRszTDGp/n4/ZUs0GQD//wAw/00CEAL6AiYBOwAAAAcCFQDeAAD//wAw/00CEAMDAiYBOwAAAAYCGHsB//8AMP9NAhAC1wImATsAAAAGAhJxAf//ADD+kAIQAgsCJgE7AAAABwITAM38NAACADD/TQIQAvoAKQAtAAAFIiYmJzcWFjMyNjY3NyMOAiMiJiY1NTMVFBYzMj4CNzUzERQOAwMnMxcBCShSRxgrHVwvN0gmAgcVCi5FLjlOJ38uLxkqHREBfxUqP1Q2aIFKsxAhGmghIi1eRl9EVSc6clTewV5VGzNMMan+fj9lSzQZAwilpQD//wAw/00CEAMTAiYBOwAAAAcCHgDBAAD//wAw/00CEALbAiYBOwAAAAYCHHYBAAEAIwAAAd0CCwALAAAzNQE1ITUhFQEVIRUjARb+7gG0/uYBHGwBKg5nav7UDWgA//8AIwAAAd0C+gImAUMAAAAHAhUAsQAAAAIAIwAAAd0DCAALABEAADM1ATUhNSEVARUhFQEXNxUHJyMBFv7uAbT+5gEc/oWfn5+fbQEpDmdq/tQNaAMIYGBiX1///wAjAAAB3QLdAiYBQwAAAAcCEwCdAAEAAgAVARABiwKfACwAOwAAEyImJjU0PgI3PgI1NCYmIyIGBgcnPgMzMh4CFRUUFhYXIyYmJyMGBicyNjY3JxcOBBUUFokiNR0nPUAZGyEODR4XFycaBV4JIjA9JD5EHgcCBANcAwUBDhFJChMpIgwCExAuMiobIQEQGC8hKi8XCwMEBxAODRUODx0VGx4sHQ8lNzkVPxg1NhkPMxgtN0sQIRc9AwsLBwsWFBYaAAIAFAESAY4CnwANAB0AABMiJjU0NjYzMhYVFAYGJzI2NjU0JiYjIgYGFRQWFtFUaTBWN1RpMVYzFSIVFiYWFCMVFiYBEmJlRFcrYGZFWCpPEzIsLjUWEzEsLjYWAAADABUAAAJ3AgsAAwAHAAsAADMRMxEzETMRATUhFWx9uX399gJiAe3+EwHt/hMBo2hoAAIANf/yAl8CoQARACMAAAUiLgI1NDY2MzIWFhUUDgInMj4CNTQmJiMiBgYVFB4CAUk+ZkknSX5RVHtDJ0pmPB02KhgmQy0lRS0YKTcOL1d/UHCaUFKabFF/WS5mGzlbQE1uOi9qWT9bOx0AAAEAHwAAAP8ClAAIAAAzESM1MjY3MxGAYS89CWsB1m8gL/1sAAEALQAAAiICpAAiAAAzNTc+AzU0JiYjIg4CFScmNjYzMhYWFRQOAgcHFSUVLfkTKCIWGzMlIS8fDnkCOXBRR2s8ITQ+HagBZIasDiEqMRweKhgUJzomGElrOy5WPzFPQDETcQgFaQAAAQAa//ICKwKVACMAAAUiLgInNx4DMzI2NjU0JiYHNTc1BTUhFQcVNhYWFRQGBgEdQF4/IgR0ARgoNBwpQCY/eFbi/rYBydNebjA7eA4bMUgsJCMwHw4XMScwOxYGS5wIAmh7lgkEMlY1P14zAAABABkAAAJIApUAEgAANzU+AzczESMRIw4CBxUhFRkwTz4tENx9CRxDTCgBsod/NmdjYS79awI+QnRkLQtlAAEAM//yAioClAAmAAAFIiYmJzcWFjMyNjU0LgIjIg4CByMTIRUhBzM2NjMyFhYVFAYGASlKbj0BdwZBNz1DDBsrHxckHBYIgxgBtf61DwwVXDZDVytCdA4sUDkZMzRDRB0xJBQLFR0RAXxqzTYyOGZFVGoyAAACADX/8QJYAqQAJwA5AAAFIiY1NDY2MzIeAhcHLgIjIg4CFRQWFzMmPgIzMhYWFRQOAicyPgI1NCYmIyIGBhUUHgIBXY+ZRYJcL1A+KAd3BSY1HCo9JhIGBwkCIjpHIzZdORs7YEshMCEQITUhJToiFSIqD62mcJ1TFy9HLx8qMBUnRlgxGj8cOE4wFS1aQylPQCVnEiAqGCUzGiA5Jx4nGAkAAAEAGAAAAd4ClQAPAAAzND4CNzUFNSEVDgMVfxs6Wj7+rAHGLk45IESSkoY5CQVqbi14j59UAAQAM//xAlgCpAATACUANgBJAAAFIiYmNTQ2Njc1NxcVHgIVFAYGJzI+AjU0JiYjIgYGFRQeAhMyNjY1NC4CIyIGBhUUFhYXJzUuAjU0NjYzMhYWFRQGBxUBRVJ8RChFLXh5LEUpRXtSFzMsHClDJydCKBssMxcfNyMXJSsUHDckITggeCo7H0FxSk1wPT9CDyhRPS9EKQYIFBQIBClFMD1RKGsJFSQbISwWFSsiGiQXCQEhFCohGiQWCREoIiEsFE8ZDggmPio+UikrUj07TQ0NAAIAM//xAlECpAAqADsAAAUiLgInNx4DMzI+AjU0JiYnIxYOAiMiJiY1ND4CMzIWFhUUBgYDMjY2NTQmJiMiDgIVFBYWAS4zUz8pB3YHGyMoFCxAJxEDBgQLAyA6RyI1WzkbOl1CYIRGQ4JmIzghIzQbHzAfDx80DxYsQisgHicWCSVBVTEVKywUOE0xFi9bQSlPPyZTnXFul00BZiA5JigtEhIhKRgkMxsAAgAu//ICOQKhABEAJAAABSIuAjU0NjYzMhYWFRQOAicyPgI1NCYmIyIOAhUUHgIBMztgRSVFd0xPdEAmRmA4Gy8nFiI9KRgxJxgWJjEOL1d/UHCaUFKabFF/WS5mGzlbQE1uOhs4XUI+WzwdAAACACoAAAI+ApQACQANAAAzESM1MjY2NzMRITUhFfyPN0MjBmz+rgIUAdZvDSMf/WxrawAAAQAoAAACQAKkACIAADM1JT4DNTQmJiMiDgIXJyY2NjMyFhYVFA4CBwcVJRUoAQkaLiQVHTopIzQjEQF8Aj12V0xyQCI3QyK6AYaGrBEkKC8aHioYFCc7JxpJazsuVj8uTkA0E3IIBGgAAAEAIf/yAkAClQAkAAAFIi4CJzceAzMyNjY1NCYmBzU3NQU1IRUHFTYeAhUUBgYBKkJgQCMEdAIZKjUdK0IoQHxZ6f6sAdTZSGQ9Gz56DhsxSCwkIzAfDhcxJzA7FgZLnAgCaHuWCQMcNEUnP14zAAABABQAAAJCApUAEgAANzU+AzczESMRIw4CBxUhFRQwTj0uEdt9ChtDSykBsod/NmdjYC/9awI+Q3RkLAtlAAEAOP/yAjkClAAnAAAFIiYmNTcWFjMyNjU0LgIjIg4CByMTIRUhBzM+AjMyFhYVFAYGATNLcT93BUY4P0UMGy4gGCUeFQiFGQG+/qwPDA41QyZEWSxDdg4rUTkZMzRDRBwxJRQLFR0RAXxqzSQuFjhmRVRqMgACAC7/8QIvAqQAJwA3AAAFIiY1NDY2MzIeAhcHLgIjIg4CFRQWFzMmPgIzMhYWFRQOAicyPgI1NCYmIyIGFRQWFgFDho9CelUsSzomB3YEIzAYJTcjEAUGCQEgNkAgM1Y0GDdbRxwrHg8dMB0yQiAxD62mcJ1TFy9HLx8qMBUnRlgxHTwcOE4wFS1aQylPQCVnEiAqGCUzGkY6Jy0SAAEAKgAAAj4ClQAPAAAzND4CNzUFNSEVDgMVryBFakj+ZAIUOl9DJUSTkYY5CQVqbi14j59UAAQANf/xAjMCpAATACUANgBJAAAFIiYmNTQ2Njc1NxcVHgIVFAYGJzI+AjU0JiYjIgYGFRQeAhMyNjY1NC4CIyIGBhUUFhYXJzUuAjU0NjYzMhYWFRQGBxUBNE1yQCNAKXNyKT8lQHJNFS0mGSM7IyM6IxgmLRQcMB4UICUSGC8hHjAccyY2GzxpRUdoOjk+DyhRPS9DKgYIFBQIBClFMD1RKGsJFSQbISwWFSsiGiQXCQEhFCohGiQWCREoIiEsFE8ZDggmPio+UikrUj07TQ0NAAIAOP/xAjkCpAAqADsAAAUiLgInNx4DMzI+AjU0JiYnIxYOAiMiJiY1ND4CMzIWFhUUBgYDMjY2NTQmJiMiDgIVFBYWASUvUDwmB3QGGCAkEyk6JRADBgMKAh83QCAxVjUZN1dAW35BQXteHzMfIC8ZHCodDxwwDxYtRS4fHyoXCiVAVjIVKysUOE0xFi9bQSlPPyZTnXFul00BZiA5JyctEhIhKRgkMxsAAgAn/88BmgF1AA8AHgAAFyImJjU0NjYzMhYWFRQGBicyNjY1NCYjIgYGFRQWFt42Uy4xVDY3Uy4wVTQRJBgrIxMjFxgjMTFdREheLi9dRkZeMFQVNjI+RBg3LzA5GAAAAQAj/9gAxgFuAAgAABcRIzUyNjczEVw5HCMEYCgBAl4WIP5qAAABACf/2AF5AXgAHgAAFzU3PgI1NCYjIgYGFScmNjMyFhYVFA4CBwcVNxUoqQ4aER8dGhwJZwFcUC9JKhIgKxhY0ShoZQgWHBAWGhYiEQ9FThw5LBwuJR8NMwgSWwAAAQAW/88BeAFuAB0AABciJic3HgIzMjY1NCYmBzU3NQc1IRUHFTYWFRQGxFZRB2EBFCIWIichRDV8wwExg09PWTFAOBITGgwcGhcgDwMzSAcDVmBHCgc6OTtHAAABABn/2AGWAW4AEAAANzU+AjczESMRIwYGBxUhFRkrNB4Ku2kIFDgiARohZDVQRCD+agFZMF0pCFIAAQAv/88BgAFtACMAABciJiY1NxYWMzI2NTQmJiMiBgcjNyEVIwczNjYzMhYWFRQGBtYzTChoAh8bIB4NGRQVHQdoEAEp0QgKCzglJzYbK00xHDIjEBYYIh4THhESD+pXYhgaITooM0EgAAIAJ//OAZYBeAAkADIAABciJjU0NjYzMh4CFwcmJiMiBgYVFBYXMz4CMzIWFhUUDgInMjY2NTQmIyIGFRQWFu1iZDBYOyE2KRoFZQIhGhooFwQDCQEoNxcjOyMQJkI3Fh8PJBwbJxAdMm5mSF8vDhwqGxUUGBw3KBEaCycrEBs1KRcwKRpRDxkQGh4fHBIYCwAAAQAZ/9gBSwFuAA4AABc0NjY3NQc1IRUOAxVSIkQ00wEyGS4lFSg2b2ouBQVZVRdGVl4wAAQAJP/OAZIBeAASACIAMgBEAAAXIiYmNTQ2NzU3FxUeAhUUBgYnMjY2NTQmJiMiBgYVFBYWNzI2NjU0JiYjIgYGFRQWFhcnNSYmNTQ+AjMyFhUUBgcV3DdSLzYpWFkcKhguUjcQIRYWIBERIRUWIRAQGxISHBAOHBEPHBFYKCcZLD0lTFwnKDIZNCcsMAQGEhIGAhgqHSY0GVQLFhIRFwsNFRIQFgyhDBYPDxULCxQQDhYNORcIBysmHyweDjs8JSsICAACACb/zgGTAXgAJgA0AAAXIi4CJzceAjMyPgI1NCYnIw4CIyImNTQ+AjMyFhYVFAYGJzI2NTQmJiMiBgYVFBbMITcqHAVlBRQaDBYiGA0EAwgBJzUYMk4QJkAvQlguMlk4HCUQHBIUHxAkMg0bKBsXERIIEB8tHQ4eDycrEj47FzAqGTRgREddLuchGxEYDA4aERoeAP//ACcBIwGaAskCBwFeAAABVP//ACMBLADGAsICBwFfAAABVP//ACcBLAF5AswCBwFgAAABVP//ABYBIwF4AsICBwFhAAABVP//ABkBLAGWAsICBwFiAAABVP//AC8BIwGAAsECBwFjAAABVP//ACcBIgGWAswCBwFkAAABVP//ABkBLAFLAsICBwFlAAABVP//ACQBIgGSAswCBwFmAAABVP//ACYBIgGTAswCBwFnAAABVAAB/5EAAAGZApQAAwAAIwEzAW8BjHz+dAKU/Wz//wAj/9gDagLCACcBXwAAAVQAJwFyAOoAAAAHAWAB8QAA//8AI//PA3oCwgAnAV8AAAFUACcBcgDqAAAABwFhAgIAAP//ACf/zwQiAswAJwFgAAABVAAnAXIBkQAAAAcBYQKqAAD//wAj/9gDaALCACcBXwAAAVQAJwFyAOoAAAAHAWIB0gAA//8AFv/YA/wCwgAnAWEAAAFUACcBcgF9AAAABwFiAmYAAP//ACP/zgOBAsIAJwFfAAABVAAnAXIA6gAAAAcBZgHvAAD//wAW/84EFALCACcBYQAAAVQAJwFyAX0AAAAHAWYCggAA//8AL//OBBkCwQAnAWMAAAFUACcBcgGCAAAABwFmAocAAP//ABn/zgOtAsIAJwFlAAABVAAnAXIBFgAAAAcBZgIbAAD//wAn/yUBmgDLAgcBXgAA/1b//wAj/y4AxgDEAgcBXwAA/1b//wAn/y4BeQDOAgcBYAAA/1b//wAW/yUBeADEAgcBYQAA/1b//wAZ/y4BlgDEAgcBYgAA/1b//wAv/yUBgADDAgcBYwAA/1b//wAn/yQBlgDOAgcBZAAA/1b//wAZ/y4BSwDEAgcBZQAA/1b//wAk/yQBkgDOAgcBZgAA/1b//wAm/yQBkwDOAgcBZwAA/1b//wAnAQUBmgKrAgcBXgAAATb//wAjAQ4AxgKkAgcBXwAAATb//wAnAQ4BeQKuAgcBYAAAATb//wAWAQUBeAKkAgcBYQAAATb//wAZAQ4BlgKkAgcBYgAAATb//wAvAQUBgAKjAgcBYwAAATb//wAnAQQBlgKuAgcBZAAAATb//wAZAQ4BSwKkAgcBZQAAATb//wAkAQQBkgKuAgcBZgAAATb//wAmAQQBkwKuAgcBZwAAATYAAQAQ/40BIwKUAAUAABMTIwMTM4uYe5iRfAEW/ncBiQF+AAEAHf+NATAClAAFAAATAzMTAyO1knyRmHsBFgF+/oL+dwABABf/9ADAAIkACgAAFyImNTQ2MzIWFRRqKSoqKSsrDCQmJyQkJ0oAAQAD/3sAnABtAAkAABc+AjUzFAYGBwMSDwN1DxkOhS5OTCo/W0EX//8AHAALAMUB9AAmAaEFFwAHAaEABQFs//8ABP97ALQB9AAmAaIBAAAHAaH/9AFr//8AF//0AskAiQAmAaEAAAAnAaEBBQAAAAcBoQIJAAAAAgA3//QA4AKUAAMADgAANwMzAwciJjU0NjMyFhUUYyKSISgpKiopKyvGAc7+MtIkJickJCdKAAACADf/ewDgAhsAAwAOAAATMxMjEzIVFAYjIiY1NDZjTyGSSVYrKykqKgFJ/jICoEolJiUmJiQAAAIAFf/0AYwCogAfACoAADcmPgQ1NCYjIgYGByc+AjMyHgIVFA4EFwciJjU0NjMyFhUUbAUUJS0pGjYoFzMzFwkaODwdKUo4IR0sMSoZAy0qKioqKivGMkArIB4mHSopDRkRbBIYDBYsQi0qOCghJTQn0iQmJyQkJ0oAAgAQ/2kBhgIXAB8AKgAAARYOBBUUFjMyNjY3Fw4CIyIuAjU0PgQnNzIWFRQGIyImNTQBMAQUJSwpGjYnGDMzFgkZODseKUo5IBwsMSsYAi0qKioqKisBRDBBLB8eJx0pKQ0ZEW0RGAwWLEIsKzgoISU0JtMkJiYlJSZK//8AFwEIAMABnQIHAaEAAAEVAAEAFwCaARQBeQALAAA3IiY1NDYzMhYVFAaUPz4+P0E/P5o2OTo2Njo5NgAAAQALAVIBlQLGABMAABMnNycnNxc3JzMHFzcXBwcXBycjj19mAokhfAUZdxkGeCWJAmdfPggBUkRdCBNyRgSIiARGchMHXkR8AP//AE7/YQGTApQAJgHUAAAABwHUANgAAAAEABUAAAJWApQAAwAHAAsADwAAIRMzAyU1IRUFEzMDAzUhFQEhnm+f/oYCKv31n26eeAIrApT9bLJeXrIClP1sAaFdXQAAAf/6/6oBawLEAAMAAAcTMwMG+3b7VgMa/OYAAAH/8v+qAWMCxAADAAAFIwMzAWN2+3ZWAxr//wAEAQoArQGfAAcBof/tARf///9BARv/6gGwAAcBof8qAScAAQAfANEBOgFDAAMAADc1IRUfARvRcnIAAQAfANEB8QFDAAMAADc1IRUfAdLRcnIAAQAfANEC8gFDAAMAADc1IRUfAtPRcnIAAQAA/3UCNv/oAAMAABU1IRUCNotzcwAAAQA7/4oBJgK9ABIAAAEOAxUUFhYXIy4CNTQ2NjcBJhwoGQwaLyCIJCwTEyskAr02bGlmMEuNgTlDiYpDQ4mKRAAAAQAJ/4oA9AK9ABIAABMzHgIVFAYGByM+AjU0LgIJiSQrExMsJIggLxoMGSgCvUSKiUNDiolDOYGNSzBmaWwAAAEAGf+BAUkCtQAtAAA3NT4CNz4DNzIWFxUmBgYHDgMHFR4DFx4CNxUGBiMiLgInLgIZFiMXBAUXJjUiDSMTHCwbAwEVIisWFioiFgEDGi0cEyQMIjQmGAUEFiPtVgQePzRCVjETAQQEYAMLMjYlPzAeBRYFHS8/KTUyCwNgAwQTMVZDMzsdAAABAAj/gQE3ArUALQAAJQ4CBw4DIyImJzUWNjY3PgM3NS4DJy4CBzU2NjMeAxceAhcBNxUkFwMFGCY1IQwkExwsGwICFSIrFhYrIxQCAhssHBMjDSI0JhgFBBcjFe0EHTszQ1YxEwQDYAMLMjUpPy8dBRYFHjA/JTYyCwNgBAQBEzFWQjQ/HgQAAwBO/4kBKAK3AAMABwALAAAXETMRIzUzFQM1MxVOdXXa2tp3AyD84GJiAsxiYgAAAwAQ/4kA6gK3AAMABwALAAAXIxEzESM1MxEjNTPqdXXa2tradwMg/OBiAmpi//8AA/96AJwAbQIGAaIAAP//AAP/sgFSAKQAJgGiADcABwGiALYANwACABUB1wFkAskACQATAAABDgIVIzQ2NjcjDgIVIzQ2NjcBZBIPA3UQGA5TEg8DdRAYDgLJLU9LKz9bQRctT0srP1tBFwD//wAQAdQBXwLGACcBogANAlkABwGiAMMCWQABABUB1wCuAskACQAAEw4CFSM0NjY3rhIPA3UQGA4CyS1PSys/W0EXAP//ABAB1ACpAsYABwGiAA0CWf//ABkAVgGZAckAJgHFAAAABwHFAM0AAAACACAAVgGgAckADQAbAAAlIzY2NyYmJzMWFhcGBgcjNjY3JiYnMxYWFwYGAWl8DiMUFCMOfAodEBAd13wOJBMTJA58Ch0QEB1WM1wsLFoyMlosLFwzM1wsLFoyMlosLFwAAAEAGQBWAMwByQANAAA3JiYnNjY3MwYGBxYWF1AKHRARHAp8DSQUFCQNVjNcLCxaMjJaLCxcMwAAAQAVAFYAyQHJAA0AADcjNjY3JiYnMxYWFwYGkn0OJBQUIw99Ch0QEB1WM1wsLFoyMlosLFz//wAZAc4BOQLGACYByAAAAAcByACrAAAAAQAZAc4AjwLGAAMAABMnMwcpEHYRAc74+AAFAE7/ggJlAw8AAwAHABsAJAAtAAABJzMHAzczFyURITIeAhUUBgYHFRYWFRQGBiMnMzI2NTQmIyM1MzI2NTQmIyMBDBZ6FmQWThb+3gECOV1CIx9DNVtWOXBVo6VCQVRVf2tTT0ZIfwKFior8/YmJhAKHFCpALiY4JAcPBlBCOEwnZSotMjNRLS0tKgAABAA4/4YDkgKcABMAIwAzAGIAAAUiLgI1ND4CMzIeAhUUDgInMjY2NTQmJiMiBgYVFBYWNzI+AjcnFw4EFRQWByImJjU0PgI3PgI1NCYmIyIGBgcnPgMzMh4CFRUWFBYWFSMmJicjDgIB5GWgbjk5bqBlZaBvOjpvoGVqj0lJj2pqj0dHj0gOIB0YCQIRDCszLR0gDR47JiE0Ph0mKhAOHhgSJh0EZQUjNEIkNEMnEQEBAVcCBQEPCSw+ejJklGFhk2QzM2STYWGUZDJnP4FkY4FAQIBkZIE/qAkSHRRIBg8NCQsYFxcYRhQuJSUtGQ0EBgoQDQ4WDQscHBsgMR8QHDE/IlURISEkFRkwFiMvFwACABn/8gLRAqMAOABSAAAFIi4ENTQ2NjMyFhYVFAYGByc2NjU0JiMiBgYVFB4EMzI2NTQmJic1MxUnFRYWFRQOAgUiJiY1ND4CNxcGBhUUFhYzMjY3FyMOAgIwNWNZSDYdKVRCPVIrIEg/CB4dICMZHg4WJzQ8QSAZHSI/LuazZ2EiMzf+gzNPLSc+RyEELS0cMyIfMRYVFw8sOw0xVWpxbCsyUzMqRiohPjIREB48ICAuFyYYHVJaVUYqGhUWLCQKZ14bFBNMOyUyGwwBJkUwLkApGAQXGEAjHS4ZFxQmHSoWAAAEACP/YAJZApQADQARABUAGQAABREjIiYmNTQ+AjMzESM1MxUjETMRAzUzFQFfGl+BQidFXzeePLBCZOXXoAFpNWZLO1Y5G/zMUlIDNPzMAuJSUgACAC//VAIEAqMARABVAAAFIi4CJzceAjMyNjU0JiYnLgM1NDY2NzUuAjU0NjYzMhYWFwcuAiMiBhUUFhYXHgMVFAYGBxUeAhUUBgYDMjY2NTQuAiMiBhUUHgIBHjZWPSIEYQMkQS00Nh44KCxPPSIaPDQ3PBc0YkRBYDwJaAMhNiMxNCM9Jy5MOB4VOzk5OxU3Zz4gLhkbKSwRKzYYJiqsFSk6JCQcLBkkIhojFwcJFSI4KyI3JggLCyk0GTFEJCRFMSEeKRUjIRokFQkJFSE2Kh4zJAsNDCk0GzdHIgFcEB8YGSESByQkGSASBwAAAwAp/6UDgwK2ABMAIwBGAAAFIi4CNTQ+AjMyHgIVFA4CJzI2NjU0JiYjIgYGFRQWFjciJiY1NDY2MzIWFhcHJiYjIg4CFRQWFjMyNjY3Fw4DAdZloG46Om6gZWSfbzs7b59kao9ISI9qa45HR453Sl8vMF1EM0ovB2UCLyMUIhkNGTAgHicVAmMFHjBDWzJik2JhkmMyMmKTYWKTYjJoPoBjY4A+PoBjZIA9TTVfPD9jOSA7JyAjKRAgMB8rOx0XJhYWITUmFAAEABsAmQKEAscADwAdADIAPQAAJSImJjU0NjYzMhYWFRQGBicyNjY1NCYmIyIGFRQWNxEzMhYVFAYHFRYWFxcjJyYmIyMVNTMyNjY1NCYmIyMBTmGKSEiKYWKLSUmLYklfLy9fSW1nZwF6Lj4kKSYcCBBLCwUUGyQkEBgPDRUKL5k/fVtcfD8/fFxbfT9aKFRBQVQoW2JiWzABHiotGycDCgEkHTYyFxhhlgYREBMTBgAAAwAKAUgDXAKQAAMABwAUAAATETMRJzUhFRcRMxc3MxEjNQcjJxV5ZNMBQi6UYWCNXm1QagFIAUj+uO9ZWe8BSMfH/rjZ2djYAAACABsBgQFIAp8AEAAcAAATIiYmNTQ+AjMyFhYVFAYGJzI2NTQmIyIGFRQWrytDJhkqNx0tQyYqRiUcISIdHSIkAYEgQDAnNiEQID8wMz8dTiUdHCQjHB4lAAABABkBnwCmApQAAwAAEzczBxkYdTgBn/X1//8AGQGfAVAClAAnAdIAqQAAAAYB0gAAAAEATv9hALsClAADAAAXETMRTm2fAzP8zQAAAgBO/2EAuwKUAAMABwAAFxEzEQMRMxFObW1tnwFC/r4CEQEi/t4AAAEAFQEwAZcDCAAPAAATBzUXNyczBxc3FScHFyM3p5KVBSCMHwWWkQoZfxkCNB1/JQSTkwQlfx0F//8AAAEAEP/yAcICoAAqAAAFIi4CNTQ2NjMyFhYVFA4CJzU+AzU0JiMiBgYVFB4CMzI2NxcGBgFAOVxBIjZdOTlNKD50n2FjgUsfKB0XKBkRITMjEiUXFxg4DjBeiVhxjUE1WTdGcE0nAjwGLkJLIy47KV1OO2ZMLAsMWg0NAAACABUBPwGOAwgADwAfAAATBzUXNyczBxc3FScHByMnBzc3MxcXNxUnBxcjNycHNaKNkAUgjh8FkIsKCTkNCAgNOQkKi5AFH44gBZACcx5yJgViYgQlcx8GQ0OYBUJCBh9zJgViYgUmcgAAAgAp//sDGQKqAB4AMQAABSImJjU0NjYzMhYWFyEiBhUVFB4CMzI2NzMOAiMDMSEyNjU1NC4CIyIOAhUVFAGhbqpgYKpub6VfBf2qBwgiP1c1R38oRixYaUfeAboLBStHUygzVkAjBVSaaWebVlGecgUNqA0pKBs/LjE8GwFjBwmlFC0mGBwpKAuzCQAEAE4AAAQkAp8AAwAPACAALAAAASEVIQERMwEzAzMRIwEjEwEiJiY1ND4CMzIWFhUUBgYnMjY1NCYjIgYVFBYDCgEC/v79RKUBPAkIe5b+tgoIAsMrRCUZKjYeLEQlKkUlHCEiHhwiJAFMTP8AApT+FQHr/WwB/v4CAYEgQDAnNiEQID8wMz8dTiUdHCQjHB4lAAcATv+OAmUDDAADAAcACwAPACMALAA1AAATJzMHMyczBwEzFyM3MxcjJREhMh4CFRQGBgcVFhYVFAYGIyczMjY1NCYjIzUzMjY1NCYjI7ALYguFC2ML/uJMC2LcTQtj/tgBAjldQiMfQzVbVjlwVaOlQkFUVX9rU09GSH8CeJSUlJT9oIqKinkChxQqQC4mOCQHDwZQQjhMJ2UqLTIzUS0tLSoAAwA1/4ICdQMPAAMABwAuAAABJzMHAzczFyciLgI1ND4CMzIeAhUHNCYmIyIOAhUUFhYzMjY2NxcUDgIBMhd7F2QXTRcoSnRQKyxQcEU1WUMlcyY+IyA9Mh0xVDY3QR0CbR4+ZAKFior8/YmJeCtTe1BRgFkuHDZLMB8sOx4aN1lAU2YwLEksEzNaQiYAAAMAKv+1Ah0CzAADAAcALQAAEyczBwM3MxcnIi4CNTQ+AjMyFhYXBy4CIyIOAhUUFhYzMjY2NxcOA/0WfRhlFk8YMkRjQSAhQmE/P106CnYCHDAhIC8fER4+LikzGwNwBiI7UgJDiYn9comJdylJYTk9ZkwqKUszJR8vGhkvQCg3TyofMh0ZKEMxGgAABQA1/58CdQMHAAMABwALAA8ANgAAASc3MwE3FwczNxcHAyc3MwMiLgI1ND4CMzIeAhUHNCYmIyIOAhUUFhYzMjY2NxcUDgIB9VYjXf5yKlMhSylQHEhWI14KSnRQKyxQcEU1WUMlcyY+IyA9Mh0xVDY3QR0CbR4+ZAJVFJ78mKQUkKQUkAK2FJ788ytTe1BRgFkuHDZLMB8sOx4aN1lAU2YwLEksEzNaQiYAAAMAL/+CAk8DDwADAAcAPQAAASczBwM3MxcnIi4CJzcUFhYzMjY2NTQmJicuAzU0NjYzMhYWFwc0LgIjIgYGFRQWFhceAxUUBgYBEBd7F2QXTRc2P2RGJQFtKkwzL0IiKUcsMFtKLTxwT01zQQJwFSc2Iik7IC9OLipWSCw+eQKFior8/YmJfhkySjMgLzweGCgYHCIWCgoaKUMzOVUvLlY7Hh8vIBAWJhgeJRcKCRgqQzU5VC4ABAAr/4ECfALGAAMAHwAzADcAABc1IRUlIiYmNTQ2NjMyFhYXMy4CNTUzEREjNyMOAicyPgI1NTQuAyMiBgYVFBYWAyEVIVsBz/7YQmE0MF1FNUUsDRUGCgd/awITCy5FCSEyIRELFSErGic2HR43HQGV/mt/QUFyRHtUT3tHKUkxHz45F6X+O/7/lDRIJWgfMDkZERMsKyMVLEwzM0wqAjM1AAADABn/8wLEAqEAAwAHAC4AABM3IQcFNyEHFyIuAjU0PgIzMh4CFwc0JiYjIg4CFRQWFjMyNjY3Fw4DKRkBgRj+bhgBcxgrS3ZTKyxTckY2XEMmAXYnPyQgPzIeMVc3OEIeAXABHkBmAWVBQYlAQOkrVX5RVIJbLhw3TTEfLTweGjhbQlRoMS1LLBM0XEQmAAADABz/ggJqAw8AAwAHADMAAAEnMwcDNzMXJyImJjU0PgIzMh4CFwcuAiMiBgYVFB4CMzI2NjcjNTMVFSM3Iw4CARsWehZkFk4WTVB9SSlQdEw5XkQoA3UDKUInN1ErGTBCKC5FJwSD/loIEQ82VAKFior8/YmJdkmTb1B/WC8bM0kuIyw6GzJoUT1ZORogQjNcb9upPFIoAAQALf/zAp8CoQAbAB8AIwA+AAAFIiYmNTQ2NyEOBBUUFhYzMjY2NxcOAwE1IRUlNSEVIT4ENTQmJiMiBgYHJz4CMzIWFhUUBgcBZFx7PyIXAQ8OMzozISNDMS5HLAdwBSpHYP6NAnL9jgJy/pMNMDcwHyE8KSc+JwdyDEVtRlByPRoQDTBYOik6FQcNExklGBkpGBgxJSErQi0WAQI4OIA3NwUNEhghFRkoFhUqHyEzRyYwWDwhNBMAAAMAEgAAAr8ClAAHAAsADwAAIQM1EzMBFQEhETMRAzUhFQIe39mn/ugBGP22f+ICdAEnTAEh/sAH/rMClP1sASdMTAAABAAzAAACiAMGAB4AIgAmACoAADc1LgM1ND4CMzIWFhcHLgIjIgYGFRQeAjMHBTUhFQERNxEXETcR8ilFNB0sUnhNUHpGAm4GK0UvNlczITpMKwT+uAJB/p4zPjNTJwsrPlQ0PWxTMDNgQx8vPyEvXkc6XkQkFVNoaAFWAYIU/n0LAZUT/mwAAAYAFf/yAq4CogA6AFYAWgBeAGIAZgAAFyImNTQ2NjMyFhc3FyYmIyIGFRQWMzI2NjU0LgM1NDY2MzIeAgcHLgIjIgYVFB4DFRQOAiEiJiYnJzceAzMyNjY1NCYmJxcWFhUUDgIBNTMVJzUzFRc1NxUnNTcVuU5WIjwnKDcRDwEZLRUfIiIhHScTGCQjGDtmQDhVOhwCdwEWLicwLxMdHRMVL0wBFDRMMAoNFQsdJScUIyQNAgMDfQUFEidB/iayspszwdLSDko8JzgfIx0FMRYQHBkZIhw1JC5BMTA7KD9SKR02SSwVITYfMigdMjE3QSklSTwkJjITCioHFRQOJjgZCxUTCAETKBIkRjkiASYyLVsxLVwuBzReLgYvAAAEACUAAAKXApQAEAAUABgAHAAAJRUUDgIjIzUzMj4DNTUBMxEjAyUVBRUlFQUClx8+XT6poQwhJB8U/ol8fH8Bsf5PAbH+T/UROlY4HGIDDB0zKBQBl/1sAa5hTWBIYExgAAIAPAAAAmkClAAaAB4AADMRND4DMzIeAxURIxE0LgIjIgYGFREzETMRPBYtQlo4N1dELRd3FCg7KDRHJHFcATMxVEIvGBctQVU0/s0BLic+LBYoSjT+0QKU/WwABQAiAAcDTwKOAAMABwALAA8AGwAAATUzFQU1MxUnNTMVBTUzFQURMwEzAzMRIwEjEwKXuPzTvr6+Abe4/UCiATUKCHmU/r0KCAF4U1OiU1OiU1OiU1PPAof+HwHh/XkB9P4MAAYAIAAAAu8ClAADAAcACwAPACQAKAAAEzUzFSE1MxUlNTMVITUzFQE1MzI2NTQmIyM1MzIeAhUUBgYjBxEzESC3AWS0/TG3AWS0/fWbUE9KTqKnP2dIJUWHZN1+AS1TU1NTolNTU1P+8WU/SUFCZB46WTpMaDXAApT9bAAEACYABwKOAo4AAwAHABwAIAAANzUhFSU1MxUzNTMyNjU0JiMjNTMyHgIVFAYGIwcRMxEmAZz+ZKAXl09OSUyfoz9kRiVEhGLZfDpNTYlNTWM+R0BBYh06VjlMZTS8Aof9eQD//wBO//MElgKUACYAcAAAAAcBGAKdAAAAAwAk//kCIwKUACUAKQAtAAAFJy4CIyM1MzI+AjU0LgMjNRcVHgIVFA4CBxUeAhcXATUhFSU1IRUBaCANITYukoMWOTQhFiMpJw27IikTFSxGMzlFKxAn/jAB//4BAf8HVSU3H18FGDo1JjAbCwIiAi0IJS8bIjotHAUOAyxEKmABj0dHqmJiAAQAFf/yAq4CogA6AD4AWgBeAAAXIiY1NDY2MzIWFzcXJiYjIgYVFBYzMjY2NTQuAzU0NjYzMh4CBwcuAiMiBhUUHgMVFA4CAzUXFxMiJiYnJzceAzMyNjY1NCYmJxcWFhUUDgIBJzcVuU5WIjwmKTcRDwEZLRYeIiIhHScTGCQjGDtmQDhVOhwCdwEWLicwLxMdHRMVL0yQpgL8NEwwCg0VCx0lJxQjJA0CAwN9BQUSJ0H+3gPnDko8JzkgJR0FMRYSHhkZIhw1JC5BMTA7KD9SKR02SSwVITYfMigdMjE3QSklSTwkATpOBDv+tyc0EwctCBYVDiY4GQsVEwgBEygSJEY5IgFNPhBNAAADABUABwIdAp0AAwAHAAsAADcRMxEBNSEVJTUhFdp//rwCCP34AggHAgj9+AGda2uvSkoABAAVAAcCEwKOAAMABwALAA8AABMlFQUVJRUFFxEzEQE1IRU+AaX+WwGl/luXff7DAf4BTmFNYEhgTGBnAof9eQIeaWkAAAUAIgAHA/8CjgADAAcACwAPAB8AAAE1MxUFNTMVJzUzFQU1MxUFAzMTMxMzEzMTMwMjAyMDA0e4/CO+vr4CZ7j86peGawp5oHgJboCarnQKdAF4U1OiU1OiU1OiU1PPAof95QIb/eUCG/15Ahv95QAEAAkABgJZAo0AAwAHAAsAFQAANzUhFSU1MxUzNTMVATUDMxMzEzMDFToB/P4Euoq4/r3qk5IGkpPqiFNTolNTU1P+3MwBu/63AUn+R84AAAIAOwBzAc8CCAADAAcAADcRMxEnNSEV0Wj+AZRzAZX+a5ljYwAAAQA7AQABzwFwAAMAABM1IRU7AZQBAHBwAAACADsAdQHPAgoAAwAHAAA3JwEXAwE3AYRJAUtJSP60SAFMdUkBS0n+tQFLSv61AAADADsAPgHPAjMAAwAPABsAABM1IRUnIiY1NDYzMhYVFAYDIiY1NDYzMhYVFAY7AZTLHiUmHSAlJR8fJSYdICUmAQBwcLQhHx4hIR8dIv6KIR4fISIeHiEAAgA7AJkBzwHXAAMABwAAEzUhFQU1IRU7AZT+bAGUAWdwcM5wcAADADsAOAHPAjoAAwAHAAsAADcjEzMFNSEVBTUhFcNc4Vz+lwGU/mwBlDgCAtJwcM5wcAAAAQA7AEoBzwJNAAcAADc1JTUlNQUVOwEp/tcBlEqBdw53hrGgAAABADsASgHPAk0ABwAAJSU1JRUFFQUBz/5sAZT+1gEqSrKgsYZ3DncAAgA7AEQBzwJ2AAcACwAANzUlNSU1BRUBNSEVOwEp/tcBlP5sAZTngTwOPoZ4of7ncHAAAAIAOwBEAc8CdgAHAAsAACUlNSUVBRUFESE1IQHP/mwBlP7WASr+bAGU53aheIY+Djz+3HAAAAMAOwBbAc8CbwADAAcACwAAExEzESc1IRUBNSEV0Wj+AZT+bAGUARABX/6hf2Ji/sxpaf//ACQAcQHkAfMCJgH/AGUABgH/AIUAAQAkAOwB5AGOABkAACUiLgIjIgYXIyY2NjMyHgIzMjYnMxYGBgGMHUVBNhASCQJUEgkvJh1CQTYREgoEVA8FKvUMDwwZFy1FJwwPCxgXKEcqAAIAOwBzAc8BbwADAAcAABM1IRUHNTMVOwGUbm4BBmlpk9raAAEADQE4AiICkAAHAAATEzMTIycjBw20rbSIeQ95ATgBWP6o8/MABAAqADUDpAHiAA8AIwAzAEcAAAEuAiMiBgYVFBYWMzI2NjcHIw4CIyImJjU0NjYzMhYWFzMXHgIzMjY2NTQmJiMiBgYHNzM+AjMyFhYVFAYGIyImJicjAaEQKzUeITIcHjIfITQrbhcJFUZWMD1gOThhPjBWRBYJQhEpNR8gMx0cMiEdNSxwFwkWRVUxPWI3OWE8L1dFFgkBDCMwGRwvICExGxwwHkItQiQ2YUFBYDQjQTFBITEaGzEhIC8cGDAmQzFBIzRgQUFhNiRCLQADADv/1gK1AnQAEwAoACwAAAUiLgI1ND4CMzIeAhUUDgInMj4CNTQuAiMiDgMVFB4CBQEzAQF2R3RTLTFYc0NEc1UvL1V1Qx1BOCQeNEMmFjMxKRkiOEL+6AIEYv39Di1SckVJdFAqK1JySEZyUixqEyxNOTNONx0LHC9GMDlOMRaGAp79YgAAAQAO/0wBwAKeABcAABciJic3FhY2NxM2NjMyFhcHJiYGBwMGBoEUOyQWGTAiBEEIQTYaNxwQGSsfBEIJP7QNF14OChgkAhlLSBEUXQ0KFyX96EtIAAABACcAAALhAqEALwAAMzUzNS4CNTQ+AzMyHgMVFAYGBxUzFSE1PgM1NCYmIyIGBhUUHgIXFSfIQFYqFS9Oc1BPc08vFCpVQMj+yx08NCE7YTs7YDoiNT0ZaxANRmM6J1VSQScnQVJVKDpjRQ0Qa3cFHTZSOUxkMjJkSzpTNh0EdwAAAgAWAAACqwKUAAcACwAAMxMzEyMDIwMjNSEVFu657oq6DbolAdwClP1sAi790mZmAAADAE7/WgJ+ApQAAwAHAAsAAAURMxEhETMRAzUhFQIAfv3QfjcBnaYDOvzGAzr8xgLSaGgAAQAt/1oCHwKSAA0AABc1EwM1IRUhFRMDFSEVLby8AfL+mbe3AWemeQEhASZ4awv+2P7cC2sAAgAVAAACkgKUAAcACwAAIQMzEzMTMwMBNTMHAQl5fU8NqIHY/lvzAQGC/uoCKP1sARpoaAAAAQA//1oCKgILAB8AABcRMxUUHgIzMj4CNzUzERcjNyMOAiMiJiYnIxcVP38DEikmIjIhEgJ+AWkDEgcmPisZKRwJERemArH5GD03IxwzQyfv/szXoTNPLBQlGLczAAEAK//yAjkCnQAzAAAlLgMjIgYGFRQWFjMyPgI1LgQHNzYeAxUUDgMjIi4CNTQ2NjMyFhYXMwHBCBwnMBwqOBwcNyklOScUAhUqSGtKDmOQYjoZGC9EVTQ3XEMkOl82Jko8DxLTIjcmFSQ8JSQ+JiE9UTAiR0EyGwJuAS9QZGsyNVtLNBwgPlg5SmEwGTcvAAUAG//cA6cCtQAQACAAMQBBAEUAABMiJiY1ND4CMzIWFhUUBgYnMjY2NTQmJiMiBgYVFBYWASImJjU0PgIzMhYWFRQGBicyNjY1NCYmIyIGBhUUFhYFATMB1zZVMSA3RCQ1VTI4WCsUJhgaKBUVJhcZKAIiNVUxIDdEIzZVMjlXKxQmGBooFRUmFxko/gEBjHz+dAE4KVU/NUosFSpUQEZVJGASJyIkKxMTJyIiLBP+RCpUPzVKLRQpVUBGVCVgEiciJSoTEigiIisUPAKU/WwAAAcAG//cBUsCtQAQACAAMQBBAFIAYgBmAAATIiYmNTQ+AjMyFhYVFAYGJzI2NjU0JiYjIgYGFRQWFgEiJiY1ND4CMzIWFhUUBgYnMjY2NTQmJiMiBgYVFBYWBSImJjU0PgIzMhYWFRQGBicyNjY1NCYmIyIGBhUUFhYFATMB1zZVMSA3RCQ1VTI4WCsUJhgaKBUVJhcZKAIiNVUxIDdEIzZVMjlXKxQmGBooFRUmFxkoAbU1VTEgN0QjNlUyOVcrFCUZGigVFSYXGSj8XQGMfP50ATgpVT81SiwVKlRARlUkYBInIiQrExMnIiIsE/5EKlQ/NUotFClVQEZUJWASJyIlKhMSKCIiKxRgKlQ/NUotFClVQEZUJWASJyIlKhMSKCIiKxQ8ApT9bAABABMAAAHeApQAFwAAAS4CJyMTIxMjDgIHNT4CNzMeAhcB3iFHOxEEC3ILBBU7QiEpTDwRRhI5TCwBpQkcKx397gISHywdCoEIHi4fHi4eCQAAAQASACMCXwHuABYAACU+Ajc1BTUFNS4CJzMeAhcVBgYHAXAIHCse/jUByx8tHQqBCB8tIC45DSMhRzwQBAtyCwQVO0MgKUw7EUcaZkMAAQAVAAAB4AKUABcAADceAhczAzMDMz4CNxUOAgcjLgInFSFGPBEEC3IMBBY7QiEpTDwRRhI6SyzvCBwrHgIS/e4fLB4JgQgeLSAfLR8IAAABABAAIwJdAe4AFgAANyMmJic1PgI3Mw4CBxUlFSUVHgL/fA04LiAtHgiBCR4sIAHM/jQfKh0jQ2YaRxE7TCkgQzsVBAtyCwQQPEcAAgAUAmMBYwLWAAsAFwAAASImNTQ2MzIWFRQGIyImNTQ2MzIWFRQGASIfJCQfHiMk6R4kJB4eJSQCYxogHhsbHiAaGiAeGxseIBoAAAEAFAJcALMC3AALAAATIiY1NDYzMhYVFAZjJikpJigoKQJcIR8fISAgHyEAAQAUAlUA3gL6AAMAABMnMxd8aIFJAlWlpQABABQCVQDeAvoAAwAAEyM3M3djSoACVaUAAAIAFAJWAWYC5wADAAcAABMjNzMXIzczcV0teGNbLncCVpGRkQAAAQAAAlcAgwLnAAgAABE+AjUzFAYHCQgDbxcRAlcnNyYMKEoeAAABABQCQQFSAwMABQAAEzU3FxUnFJ+fnwJBY19fY2AAAAEAFAJGAVIDBwAFAAATFzcVBycUn5+fnwMHYGBiX18AAQAQAk4BNgLVAA8AABMzBhYzMjYnMxYGBiMiJiYVUAIcJiYZAlEDIUIwMUIgAtUYJSQZLTsfHzwAAAIAFAJLAMwC+QALABcAABMiJjU0NjMyFhUUBicyNjU0JiMiBhUUFnEnNjYmJzU1JhEQERAREhICSywsKystKiwrMhMRExMTERIUAAABABECUgFdAtoAGQAAASIuAiMiBhcjJjY2MzIeAjMyNiczFgYGARcVLy0nDRAJAz0OCCYdFS0uJgwRCQM8DAUhAlIQFRAbEyM6JBAUEB4RITwmAAABABQCbwE0AsoAAwAAEzUhFRQBIAJvW1sAAAEAFAJVANcDEwAVAAATJj4CNTQmJgYHNTY2FhYVFA4CFT0DFBwWGCQkDBdBQSoYHhgCVRQYEhANDQsBBgRCCggNJiMYGxITEAAAAQAUAlgAnQLnAAkAABMOAhUjNDY2N50JCAN1DBQJAuckOSgKGjQvEgAAAQAUAd4A1wKCAAsAABMnNzI+AiczFgYGb1sCIiUPAgNjCRAvAeMLHBMhLBg2SyP//wAU/y8As/+vAgcCEwAA/NMAAQAU/xwAnP/EAAcAABc2NjUzFAYHFA4GdBkN5D9SFy9VJAAAAQAU/xIBDgAGABYAABc3FhY2NjU0LgIHNzMHNhYWFRQGBiYUERAyMiIFFzIsC0QGLjocNE9V4EIDBQISFAcOCwYCYD4CESMbKS4SBQAAAQAU/zgAwwAGABQAABcGBiYmNTQ2Njc1MxUGBhUUFhY2N8MaPDciHS0XSSUuFB4dCcIEAg4lIhwnGggUBhEvEg0PBAIB//8AEAJOATYDuAImAhoAAAAHAhUAVAC+AAIAEAJOATYDuAAPABMAABMzBhYzMjYnMxYGBiMiJiY3JzMXFVACHCYmGQJRAyFCMDFCIG1ngEoC1RglJBktOx8fPGqlpf//ABACTgE2A9ECJgIaAAAABwIeADYAvv//AA0CTgE4A5ICJgIaAAAABwIv//wAv///ABQCQQFSA9gCJgIYAAAABwIVAGIA3gACABQCQQFSA9gABQAJAAATNTcXFS8CMxcUn5+fKGeASgJBY19fY2CTpKQA//8AFAJBAVID8QImAhgAAAAHAh4ARADe//8ACwJBAVcDuQImAhgAAAAHAhz/+gDfAAIAFAJjATAC1QALABcAABMiJjU0NjMyFhUUBiMiJjU0NjMyFhUUBvUdHx8dHB8fwB0gHx4dICACYxwdHhscHR0cHRweGxwdHRwAAQAUAj8BJAL6AAUAABM1NxcVJxSIiIgCP2ZVVWZWAAABABICTAE8AtQAFwAAEyImJiMiBhcjJjY2MzIWFjMyNiczFgYG9BwuIxIRBwI/DgcmHxwrJRASBwNADAQiAkwaGRsPIjkkGRocDyA7JQABABQCZwERAscAAwAAEzUzFRT9AmdgYP//ABQCYwFjAtYABgISAAD//wAUAlwAswLcAAYCEwAAAAEAFAJVAN4C+gADAAATJzMXfGiBSQJVpaX//wAUAlUA3gL6AAYCFQAA//8AFAJWAWYC5wAGAhYAAP//ABQCQQFSAwMABgIYAAAAAQAUAkYBUgMHAAUAABMXNxUHJxSfn5+fAwdgYGJfX///ABACTgE2AtUABgIaAAD//wAUAksAzAL5AAYCGwAA//8AEQJSAV0C2gAGAhwAAP//ABQCbwE0AsoABgIdAAD//wAU/xIBDgAGAAYCIwAA//8AFP84AMMABgAGAiQAAAAAAAEAAAAKACgAUgACREZMVAAObGF0bgAOAAQAAAAA//8AAwAAAAEAAgADa2VybgAkbWFyawAebWttawAUAAAAAwACAAMABAAAAAEAAQAAAAEAAAAFFwYBmgFSADgADAAGABAAAQAKAAIAAQAcABwAAQAWAAwAAQAEAAEAyQJ/AAEAABZ2AAEAAQIgAAYAEAABAAoAAQABAOgA6AABAJ4ADAASAIwAhgCAAHoAdABuAGgAYgBcAFYAUABKAEQAPgA4ADIALAAmAAEAtANSAAEAtQO2AAEAuwNuAAEApAMxAAEApwOWAAEArQNOAAEAWQLnAAEAcQLYAAEApAJtAAEAugJzAAEAcQKLAAEApALJAAEAswKRAAEAsgLpAAEAfwJwAAEAWQKQAAEAZAJxAAEAvgJ2ABIAABX+AAAV+AAAFfIAABXsAAAV5gAAFeYAABXgAAAV2gAAFdQAABXgAAAVzgAAFcgAABXgAAAV4AAAFeAAABXmAAAV5gAAFeYAAQASAhICEwIVAhYCGAIZAhoCGwIcAh0CHgIfAiUCJwIoAikCKwIsAAYAEAABAAoAAAABADQANAABACYADAADABQADgAIAAEAjf+NAAEAVv7pAAEAYP+NAAMAABUaAAAVFAAAFQ4AAQADAiECIgIjAAQAAAABAAgAARVCFAIABBSKAAwBYBPwAAAT6hPkE94AABPqE+QT2AAAE+oT5BPSAAAT6hPkE9gAABPME+QT8AAAE+oT5BPGAAAT6hPkE8AAABPqE+QTugAAE+oT5BO0AAAT6hPkE64AABPqE+QTtAAAE8wT5BPwAAAT6hPkE6gAABPqE+QTogAAE+oT5BOcAAAT6hPkE/AAABPME+QT8AAAE+oT5BOWAAAT6hPkE5AAABPqE+QT8AAAE+oT5BOKAAAT6hPkE4QAABPqE+QTfgAAE3gAABNyAAATbAAAE2YAABNgAAATWgAAE2AAABNUAAATYAAAE2YAABNOAAATSAAAE2AAABNCAAATPAAAEzYAABM8AAATMAAAEyoAABMwAAATKgAAEyQAABMeExgTEgAAEx4TGBMMAAATHhMYEwYAABMeExgTAAAAEx4TGBMGAAAS+hMYEyQAABMeExgS9AAAEx4TGBLuAAATHhMYEugAABMeExgS4gAAEx4TGBMkAAAS+hMYEyQAABMeExgS3AAAEx4TGBLWAAATHhMYEyQAABMeExgS0AAAEx4TGBLKAAASxAAAEr4AABK4AAASsgAAErgAABK+AAASrAAAEqYAABK4AAASoAAAEpoAABKUAAASjgAAEogAABKCEnwAAAAAAAASfBJ2AAASghJ8EnAAABKCEnwSagAAEoISfBJkAAASghJ8EogAABJeEnwSiAAAEoISfBJYAAASghJ8ElIAABKCEnwSiAAAEoISfBJMAAASghJ8EkYAABJAAAASOgAAEjQAABI6AAASLgAAEogSKBIiAAASdhIoEiIAABKIEigSIgAAEogSKBIcAAASFhIQEgoAABIEAAAR/gAAEfgAABHyAAAR7AAAEfIAABHmAAAR8gAAEfgAABHgAAAR2gAAEfIAABHUAAARzgAAEcgRwhG8EbYRsBHCEbwRthGqEcIRvBG2EaQRwhG8EbYRqhHCEZ4RthHIEcIRvBG2EZgRwhG8EbYRkhHCEbwRthGMEcIRvBG2EcgRwhGeEbYRyBHCEbwRthGGEcIRvBG2EcgRwhG8EbYRsBHCEbwRthHIEcIRnhG2EcgRwhG8EbYRhhHCEbwRthGAEcIRvBG2EXoRwhG8EbYRdBHCEbwRthFuEWgRYhFcEVYRwhG8EbYRUAAAEUoAABFEAAARPgAAETgAABM8AAASKAAAETIAABEsAAARMgAAESYAABEyAAASKAAAESAAABEaAAARFAAAEQ4AABEUAAARCAAAERQAABEaAAARAgAAERoAABD8AAAQ9gAAEPAAABDqAAAQ5AAAEN4AABDkAAAQ6gAAENgAABDSEMwQxhDAELoQzBDGEMAQtBDMEMYQwBCuEMwQxhDAEKgQzBDGEMAQ0hDMEKIQwBDSEMwQxhDAEJwQzBDGEMAQ0hCWEMYQwBC6EJYQxhDAENIQlhCiEMAQ0hCWEMYQwBCcEJYQxhDAEJAQlhDGEMAQihDMEMYQwBCEEMwQxhDAENIQzBDGEMAQfhDMEMYQwBCQEMwQxhDAEjoAABB4AAAQcgAAEGwAABBmAAAQbAAAEGAAABBsAAAQWgAAEGwAABByAAAQbAAAEFQAABBOAAAQSAAAEEIAABA8AAAQQgAAEDYAABBCAAAQMAAAEEIAABBIAAAQKgAAEEgAABBCAAAQJAAAEEIAABAeAAAQQgAAEBgAABASAAAQDAAAEBIAABAGAAAQEgAAEAAAABASAAAP+gAAD/QP7g/oAAAP9A/uD+IAAA/0D+4P3AAAD/QP7g/iAAAP1g/uD/oAAA/0D+4P0AAAD/QP7g/KAAAP9A/uD8QAAA/0D+4PvgAAD/QP7g+4AAAP9A/uD74AAA/WD+4P+gAAD/QP7g+yAAAP9A/uD6wAAA/0D+4PpgAAD/QP7g/6AAAP1g/uD/oAAA/0D+4PoAAAD/QP7g+aAAAP9A/uD/oAAA/0D+4PlAAAD/QP7g+OAAAP9A/uD4gAAA+CAAAPfAAAD3YAAA9wAAAPagAAD2QAAA9qAAAPXgAAD2oAAA9wAAAPWAAAD1IAAA9qAAAPTA9GD0AAAA9MD0YPQAAAD0wPRg9AAAAPOgAADzQPLg8oAAAPNA8uDyIAAA80Dy4PHAAADzQPLg8WAAAPNA8uDxwAAA9YDy4POgAADzQPLg8QAAAPNA8uDwoAAA80Dy4PBAAADzQPLg7+AAAPNA8uDzoAAA9YDy4POgAADzQPLg74AAAPNA8uDvIAAA80Dy4POgAADzQPLg7sAAAPNA8uDuYAAA7gAAAO2gAADtQAAA7OAAAO1AAADsgAAA7UAAAOwgAADtQAAA68AAAOtgAADrAAAA6qAAAOpAAAFOIAAA6eAAAOmAAADpIAAA6YAAAOjAAADpgAAA6GAAAOmAAADoAAAA6YAAAOpAAADnoAAA50AAAU4gAADm4AAA6YAAAOaAAADpgAAA6AAAAOmAAADmIAAA6YAAAOXAAADlYAAA5QAAAOVgAADkoAAA5EAAAOSgAADj4AAA44DjIOLAAADiYOMg4sAAAOOA4yDiwAAA44DjIOIAAADhoOFA4OAAAOCAAADgIAAA38AAAN9gAADfAAAA32AAAN6gAADfYAAA38AAAN5AAADd4AAA32AAAN2AAAEEIAAA3SDcwNxg3ADboNzA3GDcANtA3MDcYNwA2uDcwNxg3ADbQNzA2oDcAN0g3MDcYNwA2iDcwNxg3ADZwNzA3GDcANlg3MDcYNwA3SDcwNqA3ADdINzA3GDcANkA3MDcYNwA3SDcwNxg3ADboNzA3GDcAN0g3MDagNwA3SDcwNxg3ADZANzA3GDcANig3MDcYNwA2EDcwNxg3ADX4NzA3GDcANeA3MDcYNwA1yDcwNxg3ADWwAAA1mAAANYAAADVoAAA1UAAANTgAADUgAAA1CAAANPAAADUIAAA02AAANQgAADUgAAA0wAAANVAAADSoAAA0kAAANKgAADR4AAA0qAAANVAAADRgAAA1UAAANEgAADQwAAA0GAAANAAz6DPQAAA0ADPoM9AAADQAM+gzuAAAM6AziD0AM3AzWDOIPQAzcDNAM4g9ADNwMygziD0AM3AzEDOIPQAzcDOgM4gy+DNwM6AziD0AM3Ay4DOIPQAzcDOgMsg9ADNwM1gyyD0AM3AzoDLIMvgzcDOgMsg9ADNwMuAyyD0AM3AysDLIPQAzcDKYM4g9ADNwMoAziD0AM3AzoDOIPQAzcDJoM4g9ADNwMrAziD0AM3AyUAAAMjgAADIgAAAyCAAAMfAAADIIAAAx2AAAMggAADHAAAAyCAAAMiAAADIIAAAxqAAAMZAAADOgAAAxeAAAM1gAADF4AAAxYAAAMXgAADFIAAAxeAAAM6AAADEwAAAzoAAAMXgAADEYAAAxeAAAMQAAADF4AAAw6AAAMNAAADC4AAAw0AAAMKAAADDQAAAwiAAAMNAAADBwAAAAAAAAMFgAADBAAAAwKAAAMBAAAC/4AAAAAAAAL+AAAC/IAAAvsAAAL5gAAC+AAAAAAAAAL2gAAAAAAAAvUAAAAAAAAC84AAAvIAAALwgAAC7wAAAu2AAAAAAAAC7AAAAuqAAALpAAAC54AAAuYAAALkgAAEfgAABHyAAALjAAAC4YAAAuAAAALegAAC3QAAAtuAAALgAAAC3oAAAtoAAALYgAAD0wPRg9AAAALXAAAC1YAAAtQAAALSgAAC0QAAAs+AAALOAAACzIAAAssAAALJgAACyAAAAsaAAALFAAACw4AAAsIAAALAgAAAAEBMQAGAAEBMQKNAAECQAAHAAECFQKOAAEBFAAHAAEBFAKOAAEBmAAHAAEBmAKOAAEBogAAAAEBogKUAAEBuQAHAAEBuQKOAAEBRwAFAAEBRwKMAAEBmgAAAAEBmgKUAAEBQAANAAEBPwKHAAEBJgA5AAEBJwJEAAEBUQAHAAEBUQKOAAEBegAHAAEBegKOAAEBegAGAAEBegKNAAEA0AKkAAEA4QEeAAEBAwENAAEA8gKSAAEAzgKUAAEA0ADEAAEA4f8+AAEBA/8tAAEA8gCyAAEAzgC0AAEDNAFeAAECoAFeAAEA0ALCAAEA4QE8AAEBAwErAAEA8gKwAAEAzgKyAAEA0AFuAAEA4f/oAAEBA//XAAEA8gFcAAEAzgFeAAEBAQJyAAEBAQKSAAEBCgKQAAEBGAAAAAEBAQILAAEBMAJ0AAEBMgLYAAEBLf7vAAEBLwJ3AAEBLQLqAAEBLf9hAAEBHgAAAAEBHgIdAAEBqgJ3AAEBqALqAAEBsgKQAAEBsQAAAAEBqQILAAEBJAAAAAEBJAIcAAEBLgKMAAEBLgJtAAEBDwJ3AAEBLwJ0AAEChAKAAAEBMQLYAAEBPf+NAAEBLgJ3AAEBLALqAAEBLgLKAAEBNwKQAAECHAAAAAECHAILAAEBLgILAAEAwv7pAAEA0AAAAAEBDQLBAAEAxgILAAEBSgAAAAEBSgLBAAEA//7oAAEBE/+MAAEBBwKSAAEBEAKQAAEBDf//AAEAff7pAAEA1QKSAAEA3gKQAAEAiwAAAAEA1QILAAEA5AAAAAEBBwILAAEBbgAAAAEBbAILAAEB5AAAAAEB5AILAAEBMQJ0AAEBLQILAAEBLwJtAAEBEAJ3AAEBLwJzAAEBMwLYAAEBMAJ3AAEBMANTAAEBMQO3AAEBNf+NAAEBNwNvAAEBLgLqAAEBOQKQAAECHgAIAAEBNQAAAAECUQIdAAEBLwILAAEBNwILAAEBPQJzAAEBMP7pAAEBOwKRAAEBRAKPAAEBPgAAAAEBOwIKAAEB1wAAAAEB9QILAAEAtQAAAAEBKgLGAAEAtALCAAEAd/7pAAEAjQNHAAEAhQAAAAEA+QLGAAEAhALCAAEBIv7pAAEBMAAAAAEBUAJsAAEAiwILAAEAoP9nAAEAiwJyAAEAhgJzAAEAhgJtAAEAigLYAAEAhwILAAEAh/+NAAEAhgJyAAEAhgJ2AAEAhgKaAAEAjwKQAAEAhgAAAAEAhgILAAEAhwJyAAEBSQAAAAEBSQJsAAEBRwAAAAEBRwJsAAEBJQJzAAEBJQLoAAEBJQLKAAEBJv9oAAEBJQIMAAEA2AAAAAEA2AJuAAEBJwJ0AAEBJQJtAAEBKALYAAEBJQJyAAEBJQJ3AAEBJQNTAAEBJwO3AAEBLQNvAAEBIwLqAAEBJQKSAAEBLgKQAAEBif/8AAEBLAAAAAEBJQILAAEBPQAAAAECZQLGAAEBPQLBAAEBJwJyAAEBLP+NAAEBJwKSAAEBMAKQAAEBJgAAAAEBJwILAAEBhgAAAAEBbwILAAEBywAAAAEBywILAAEBKAJyAAEBJgKKAAEBJgJsAAEBKQLWAAEBJgJ2AAEBJgNSAAEBKAO1AAEBLgNuAAEBJALoAAEBJgKRAAEBJgMwAAEBKQOVAAEBKf+NAAEBLwNOAAEBJgLIAAEBLwKPAAECCwAAAAEBKQAAAAEBJgIJAAEBGwL7AAEBGwMbAAEBJAMZAAEBGwAAAAEBGwKUAAEBOQL9AAEBOwNhAAEBN/+NAAEBOAMAAAEBNgNzAAEBQAMZAAEBNwAAAAEBNwKUAAEBUQAAAAEBUQKUAAEB6AMAAAEB5gNzAAEB8QMZAAECFAAAAAEB5wKUAAEBTQAAAAEBagMVAAEBagL3AAEBSwMBAAEBbAL9AAEC8gMJAAEBbgNhAAEBav+NAAEBawMAAAEBaQNzAAEBagNTAAEBcwMZAAEBnv/2AAEBagAAAAECigKUAAEBagKUAAEBC/7pAAEBGQMbAAEBGQAAAAEBGQKUAAEBZAAAAAEBZAKUAAEBOP7pAAEBTP+NAAEBRQMaAAEBTgMYAAEBRQAAAAEBRQKTAAEBTv7pAAEBPwMbAAEBSAMZAAEBXAAAAAEBaQKUAAEBXwAAAAEBXwKUAAEB9gAAAAEB9gKUAAEBagL9AAEChAALAAEBbwADAAECugKXAAEBbwKXAAEBaAL3AAEBSQMBAAEBaAL8AAEBbANhAAEBaQMAAAEBaQPcAAEBagRAAAEBaP+NAAEBcAP4AAEBZwNzAAEBcQMZAAECfQAIAAEBaAAAAAECswKUAAEBaAKUAAEAAAAAAAEAAAAVAAEBgAL9AAEBcP7pAAEBfgMbAAEBhwMZAAEBfgAAAAEBfgKUAAEB8AAAAAEB7wKUAAEBXQAAAAEBjgKUAAEA3QKUAAEBAP7pAAEBDgAAAAEBPwKUAAEBRP7pAAEBUgAAAAEBTQKUAAEAsQAAAAEA4wKUAAEAjgL8AAEAjgL3AAEAkQNhAAEAjv+NAAEAjgL7AAEAjgMAAAEAjgMjAAEAlwMZAAEAzwAAAAEAjgAAAAEAjgKUAAEBpAAAAAEBpAKUAAEBbQAAAAEBbQKUAAEBZgL7AAEBWf7pAAEBZgNTAAEBZgAAAAEBZgKUAAEBJQAAAAEBJQKUAAEBNQL9AAEBMwL3AAEBNgNhAAEBMwL7AAEBMwMAAAEBMwPcAAEBNQRAAAEBMv+NAAEBOgP4AAEBMQNzAAEBMwMbAAEBPAMZAAECOwAAAAEBMgAAAAEBMwKUAAEBnAAAAAEBiAKUAAEBVQMbAAEBaQAAAAEBVQKUAAEBVwL7AAEBXf+NAAEBVwMbAAEBYAMZAAEBVwAAAAEBVwKUAAEBgAAAAAEBgAKUAAEB1gAAAAEB1gKUAAEBWgL9AAEBWAMVAAEBWAL3AAEBWwNhAAEBWAMAAAEBWAPcAAEBWgRAAAEBXwP4AAEBVgNzAAEBWAMbAAEBWAO7AAEBWwQgAAEBWP+NAAEBYQPYAAEBWANTAAEBYQMZAAECigAAAAEBWAAAAAEBWAKUAAIAFgABAG0AAABvAMMAbQDFAOgAwgDqAREA5gETAUYBDgFiAWIBQgFkAWQBQwFnAWcBRAFsAWwBRQFuAW4BRgFxAXEBRwF2AXcBSAGAAYABSgGCAYIBSwGFAYUBTAGKAYoBTQGMAYwBTgGPAY8BTwHJAckBUAHaAeIBUQHpAesBWgHwAfIBXQAXAAAAsgAAAKwAAACmAAAAoAAAAJoAAACaAAAAlAAAAI4AAACIAAAAlAAAAIIAAAB8AAEAdgACAHAAAgBqAAIAZAADAF4AAACUAAAAlAAAAJQAAACaAAAAmgAAAJoAAQC+AAAAAQCHAAAAAQBkAAAAAQBgAAAAAQBiAgoAAQBZAgoAAQBuAgsAAQC4AgoAAQBxAgoAAQCkAgoAAQCzAgoAAQCeAgMAAQBQAgsAAQBkAgoAAQC9AgoAAgAFAhICEwAAAhUCFgACAhgCJQAEAicCKQASAisCLAAVAAkACAADRzoGRgAMAAEAAgAAAAgAAgXwAAQAAAYEQRIACABeAAAAAP/5AB7/9//9AA4AAwADAAMABQAFAA4AA/+q//4AB//aAAMACv/tACgAAwAMABv/tP/K//r/8wAA/+3/8f/5AAD/qwAA/0v/oQAAAAAAAAAnAAD/wgAMAAAAAP97AAAAAAAAABAALQAEAAAAGwAAAAD/7gAEAAAACgAAAAAAAAAAAAD/7QAAAAAAGQAAAAAAAAABAAD/5gAA//8AAAAt//D/+QAAAAD/4gAAACMAFAAAAB4AAP/dAA0AAP///+wAEv/s//kABv/5AAAAAP/6//oABv/5/67////9/9MAAAAH/+YAGv/6ABUAF/+4/7b/7v/xAAD/5f/m/+8AAP+yAAD/pv+mAAAAAAAAACwAAP/AAAsAAAAA/6YAAAAAAAAADQA1//0AAAAYAAAAAP/s//0AAP/5AAAAAP/+AAAAAP/lAAAAAAAqAAAAAAAA//sAAP/iAAD//AAAACD/7f/4AAAAAP/jAAAALgAIAAAAEAAA/9IAEAAAAAH/8v+5AAT/9f/V/9L/7gAA/8//2wAAAAAAHf/w//8AHAAA/+MAAwAT/9f/2P/9ACn/vP/1AAQAAP/J/+P/4wAlABMALgAtACIACQADAAD/0wAAABgADQAAAAAAIwAAAB8AE//0/73//AAA/54AAAAA//4AAAAA/8YAAAAA//MAAAAA/8kAAAAA//8AAAAAAAAABAAAAA8AAP/zABb/vQAAACIAAP/5ACUAAP+4AAYAAAAAAAAABf/+AAAADP/w/7QADv/z/97/4P/tAA//3//v/+n/7QAo//H//QAoAA7/6gAAAA3/4v/i//sAHv/R//QAAQAA/+T/5v/vAAAAEgA3ACoAKAAAAAAAAP/UAAAAHgAVAAAAAAApAAAALgAr//v/y//1AAD/swAAAAD//wADAAD/3AAAAAD/+AAAAAD/5AAAAAAADwAAAAAAAP/+AAAABgAA//gALv/PAAAAGwAAAAAAHAAA/7cABAAA//0AAAAB//8AAAAA////+gAA//////////4AAP////8AAAAA//v/+AAD//4AAAAA//cACf////n////+/+v////+AAAAAP/2ABD/+P/4//r/+//2/+z/7AAA//8AAP/6//sAAAAA//4AAAAE//0AAv/7AAUAAP/9AAAAAP/7AAQAAAASAAAAAAADAAAAAAADAAAAAP/+AAAAAAAA//8AAP/5AAD//wABAAH/9v//AAD//f//AAD/+gAPAAAABQAA//X/9AAA////+QAF//3/+v/8//P//AAA//P/9gAAAAD/8P/4AAD/+//+//8AAAAK//UAAAAG//z/3v/6AAIAAP/o/+7/+gAHAAQAAAAHAAf//f/9AAAADgAA//gAAAAAAAAABQAAAAb//gAKAA3//gAAAAQAAAAAAAAAAAAA//oAAAAAAAUAAAAA/+sAAAAAAAAAAAAAAAAAAwAAAAIAAP/8//wAEQAAAAIAAAAf//4AAAAAAAAAAAAIAAAAAAAEAAAAAAAA/8sAAAAD//P/9gAAAAD/9f/1//P/9v/3//8AAAAAAAAAAAAc//n/+f/3AAn//f/nAAAAGAAA//b/+///AAAAAAAQABgAFAAAAA0AAP/UAAAAAP/p/+MAAAAVAAf////3AA//1QAAAAT/w//vAAAAAwAAAAT/7gAIAAIACQATAAD/9wAHAAD////z//j/9gAAAAUACgAA//7/9//aAAAAAf/yABX//P/4/9EAAP/+AAMAAQAZAA4AAAAA//gACf/+AAD/+f/qAAAAAP/q/+v/+f/r//D//gAA//8AAP/6AAkABv/uAAEAD//5/8z//AAPAAD/2f/1//gAAAAAAAkAEwAPAAAAAgAAAA8AAP/+AAYAAP/PAAwAAv//AAAACwARAAD//gAG/+kAAP//AAD//f/r//7//gAGAAwAAP/ZAAUAAP///+H/6AAAAAAAAAAC/////P//ABMAAAAE//kAGv/9//AABwAA//MABv/9AAwAFAABAAgBNAE6AUwBTQFRAa8BvQG+AAIABwE0ATQABgE6AToABwFMAUwABQFNAU0ABAFRAVEAAgGvAa8AAwG9Ab0AAQABAAIAAAAIAAI6FAAEAAA+MDrYAE8AXgAAAAD/5wAO/+X/7v/9//H//v/+//L/8v/9//H/r//3//b/zf/+//7/2wAQ//P//wAK/77/zf/p/+X/5P/x/+f/+wAAAAD/v//G/8YAAP/DAAwAEv/d/64AAAAC/9r/xv/A//8AAAAIABYAAP/NAAn/9QAA/+gAAP/G//3/0v/3AAIACf////L////+AAD/0//l/90AAP/J/+T/vf/z//4AGQAA//b/+wAI/+H/wQARAAD/0wAI/9n/ywAJAAAAAAAAAAD/9AAA//8AAAAAAAAAAAAA//8AAP+///z//P/fAAD////5AAEAAgAAAAH/w//pAAAAAAAAAAT/8wAKAAAAAP/s/+z/7wAA//AAAAAD/+r/z///AAH/9P/w/+T//f/9AAUAAgAA//f//wAA//7//wAA/+4AAf/6//MACgASAAAABAAAAAAAAP/t//z/6AAA//D/7f/eAAD/9QAEAAD/7v/qAAn/0v/gAAAAAP/5AAD/9v/yAAAAAAAA//EACP/+//L//v/z//YAAP/z//b//v/0AA//8P/+AA8AAP////0AFv/zAAAABQAR/9v/8v/+//H/8v/o//kAAAAAAA4ACgADAAD//gAHABf/4wAKAA0AAv/kAA8AGgAkABwAAgAUAAD/+wAH//oAAwAAAAD/+v/5//L/9gACAAYAHv/zACIAAwAA/93/9v/bAAAAAAAEAAD/+QAVABUAAAAVAAQAEAAYAAMABQAAAAQABwAC//oAAgAAAAAAAP/6//4AAwACAAQAAAAAAAQABAACAAT/wv/9AAD/6AAAAAYAAAAAAAYAAP///8H/9AAAAAD//gAE//gAGAAAAAD/7//v//EAAP/3//YAAgAA/9T/7AAN//3/9P/q/+T/5wAK//4AAP/9//4AAP//AAAAAP/3AAQAA//4AAwAFQABAAQAAAAA//3/9wAAAAAAAP/6/+7/6AAD//EABQAA/+7/3AAM/9P/6f/+AAAABf//AAH/+P/yAAAAAAAB/+YAAAADAAD//wAAAAAAAAAAAAD////e//8AAP/0AAAAAAAA//UAAAAA////7P/zAAIAA//+AAX/+QAQAAAAAP/6//7//wAA//z/3//3//T/5//Y//7//P/9//z/6//sAAn/7AAAAAD/4/////0AAAAA//sABAAG//UACwAUAAQACgAJAAP//v/3AAD/8AAA//7////yAAT/7P/zAAD/+v/XABL/6f/p/+kAAAAG//4AAgAA//wAAAAA////8v/9AAAAAAAAAAAAAAAAAAAAAAAD/77/+wAA/+cAAAAE//3//AAAAAD/+/+6//X//wAA//4AEv/4ABcAAAAA/+f/6//uAAD/9QAA//7/9f/S/98AA//+//P/6P/e/+sAAP/2AAD//P/yAAD//P//AAD/9wAOAAD/9gAMABQAAAATAAAAAP/8//gAAP/xAAD/+v/u/+YAAP/q//oAAP/o/9UACP/N/+n/9AAAAAL//AAA//b/6wAAAAD////lAAEAAP/5//3/+wAA//z//f/8//4AA//4AAAABAAA//4AAf/+//3/9//8AAH/5v//AAD/9wAA//AABQAAAAAAAwAHAAEAAP/9/93/9v/uAAYAAP/9//IABgAZAAkAAgAA/+0AAAAA/+T/////AAEAAP/5//7////2AAQACgASAAIAEAAAAAD/7//7/+sAAP//AAL//f//AAL/8wAAAAL/9wAHAAD//f/iAAD//f/+//sAAP//AAAAAAAA//7//QAAAAAAAAAAAAAAAAAAAAAAAP/c//v////wAAAAAAAAAAAAAAAAAAD/5v/nAAAAAQAAAAD/8wAIAAAAAP/3//v//AAA//YAAAAAAAD/5//4AAD/8v/9//f/9v/1AAH//wAA//f/+//9//0AAAAA//AAAP/6//IACAARAAAAAAABAAAAAP/w//f/6AAA//T/9//xAAD/8QAAAAD/+//lAA3/5v/n//4AAP/5//7/9QAAAAEAAAAAAAAAAAAAAAD//gAAAAAAAAAAAAD//wAAAAD//gAAAAAAAAAAAAAAAAAAAAAAAAAA/+UAAAAA//T//v/wAAUAAAAAAAAAAwAAAAD/+//8AAD/6wABAAAAAP/wAAIAGAANAAgAAAAAAAD//v/5AAAAAAAAAAD/+AAA//v/9QAEAAwADwAAABEAAgAA/+3/+f/oAAD//QAA//oAAAAKAAAAAAAA//4ADAAA//wAAAAA//oAAP/5AAAAAAAAAAAAAQAA//YAAAAAAAAAAAAAAAAAAAAAAAD/wP/8//3/4QAAAAD/+AAAAAEAAAAA/8X/6wAB////9gAE//MADAAAAAD/6f/r/+4AAP/wAAAAAAAA/8//+wAA//X/7//k//r/+wADAAAAAP/3//0AAP/9//8AAP/tAAL/+v/1AAkAEf//AAUAAAAAAAD/7v/7/+oAAP/x/+z/3wAA//IAAwAA/+r/5gAI/9P/3AAAAAD/+f////f/8v//AAAAAP/d/68ABP/i/73/v//cAAD/vv/f/+D/3AAh/9//8AAWAAP/0f/0AAv/w//G/+sAHf+y/+D/+P/n/8H/0v/UAAAAAAAfAB4AFQAA//z/m//Q/9UAGQAI/7f/tQAXADEAIgAa/+n/tAAAAAP/k//qAAP//gAAAAT/u//q//n/5//tAAD/wgAvAAYAAP/EAAD/zgAAAAUABQAF/+gAEf+zAAAAFwAG//MAGwAS/64AAAAH//QAB//3//AAAAAAAAD/+//8AAIAAAAAAAAAAAABAAEAAAAA/97//f////AAAAABAAIAAAAAAAIAAP/o/+gAAAACAAAAAf/0AAoAAAAA//j/+//8AAD/9gAAAAAAAP/o//QAAP/y//3/+P/4//QAAwAAAAD/9//5//3//QAAAAD/8QAA//z/8wAKABIAAAABAAIAAAAA//H/9//pAAD/9P/4//IAAP/zAAEAAP/8/+kAE//m/+n//wAA//n////2AAEAAQAAAAEAAP/+AAAAAAAAAAAAAAAAAAAAAAAAAAAAA//7AAAAAAAAAAAAAAADAAAAAAAA////5wAAAAD/9gAA//MACAAAAAAAAwAA//8AAP/4//oAAP/pAAAAAAAA//EAAAAaAAsACQAA//4AAP/7//v//QACAAAAAP/2AAD/+//0AAgAEQACAAAADgAAAAD/8P/5/+gAAP/4//3/+AAAAAr//wAAAAD//QAN///////+AAD//f////gAAAAAAAAAAAABAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAD/+AAAAAAAAwAAAAUAAAAAAAAAAAAFAAD//wAA//8AAAAAAAD/+//3AAAAAAAAAAAAAP//AAn/7AAAAAL/4wAAAAAAAAAAAAAAAAAGAAAACwAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAP/1AAQAAP/zAAD//AAAABIAAP/3/+kAAAAGAAAAAgAAAAAAAAAgAAX/5gAfAAD/+P/+//8AAP/9AAAAAAAAAEAAAAAAAAAAAAAAAAAAKQAAAAAAAAA5AAAAAAAAAAAAAAAAAAAAAAAAAEgAAAA1AAAAFwAAAAAAAAA5ADMAAAAAAAAAAAAAAEoAAP/tAAAAHv/kAAAAIAAAAAAAGQAAAAMAAAAEAAAAAAACAAAAAAAAAAAAAAAAAAAAGQAAACAACwBM//MAAAAuAAAACAAAADv/6gAAACwAAAAYAAAAAAAAAAAAAAAAAAD/+QAA//v/9v/5//kAAAAAAAAAAAAAAAAAAP/4//YAAAAA//r/8gAAAAAAAAAA//8AAAABAAAAAAAAAAD//QAA//sAAP/7AAAAAAAAAAAAAAAAAAAAAAAAAAD////8/+8AAP/8/+MAAP/9AAAAAP/3AAD/9gAA//8AAAAAAAIAAP/4AAAAAAAAAAAAAP/7AAD/+//9//3/9AAAAAQAAP//AAD/+v/jAAD/+gAA//3//f/7AAAAEgAAAAAAAP/9/+7/8gAHAA7/8P/z/+//8gAA//sAAAAAABAAAAAAAAD/9f/xAAMAAAAAAAAAFwAA/+kAAAAAAAAAAAA2AAAANAAAABYAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAP/8AAAABj/5gAAABcAAAAAABIAAAACAAD//AAAAAD/6QAAAAAAAAAAAAAAAAAAAB8AAAAZAAQALP/zAAAALwAAABIAAAAc/+sAAAAKAAAAGQAYABYAAAAAAAD/9v////0AAgAA//4AAQAAAAAAAgAA/+3/+wAN//oAAAAAAAAACQAA//cAAv/8/+MAAQAD//EAAf/7AA4AAAAA//8ABgAEAAD/+//zAAD/+v/x/+4ADv/1AAAAAP/7//UAA//9AAD/8v/9AAAAAAAAAAD/8gAS//oAAAAHABAAAAABAA4AAP/+//H/8//4AAD/9wAC//cAAP/2AAEAAAAB/+wABv/9/+///QAA/+oACv/3AAH//gAAAAD//v/7AAAAAAAAAAD//wAAAAAAAAAAAAD/6f/7AAr/+gAAAAAAAAAKAAD/+AAA//j/6f//AAD/9QAA//cADAAAAAD//AAA//4AAP/3//T////0/+v/8QAK//b////6//f/9QAF//sAAP/v//4AAAAAAAAAAP/uABD/9v/+AAYADgAJAAAADgAA//7/8P/5//UAAP/1////9AAA//QAAwAAAAD/6gAF//v/7f/8AAD/7AAH//gAAAAAAAAAAP/y/8sABP/y/+P/5//vAAD/5v/x/+f/8AAW/+7//QAfAAD/7f//AA//5//l//wAHP/X//YAAP/w/+r/6v/2AAAAAAAiAB4AFAAAAAD/yP/a/94AIQAE/9v/3gAZADgAGQAZ//z/2AAAAAP/wwAAAAf//wAAAAL/6f/7//3/+v//AAD/6gAnAAL////h//EAAAAAAAMACAAI//kAF//eAAAAFQAKAAQAFAAL/8cAAAAE//oABAAA//8AAAAAAAD//v/7AAAABwAAAAAAAAAAAAAABwAA/9D//QAF/+4AAAAJAAAABgAAAAAAAv/M/+8AAAAAAAD/+v/+AAgAAAAA//b/+v/5AAD//AAAAAoAAP/g//QAFf/2//z/8v/r/+4AFwAFAAAAAgABAAL//wAEAAD/+AAEAAkAAQAQABoAAP/6AAAAAP/+//YAAf/4AAD//P/7/+kAAP/xAA0AAP/2/+QAHf/b/+H//gAAAAIAAf/8//v/+QAAAAAAAP/+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/7AAAAAAAAAAAAAAAFAAAAAAAA////5wAAAAP/9gAA//MACQAAAAAABAAAAAAAAP/5AAAAAAAAAAAAAAAA//IABQAcAAoACAAA//4AAP/+//v//QAAAAAAAP/6AAD/+//3AAkAEQACAAAABgAAAAD/8P/5/+gAAP/9AAD/+wAAAAoAAAAAAAD/+gAN/////f/+AAD/+wAA//kAAAABAAAAAAAB//7//wACAAQABgABAAEABAAEAAQABv/M//wAAP/qAAEACf//AAEABv//AAP/x//pAAIAAP/8//7/+QARAAAAAP/z//b/9gAA//oAAAAGAAD/3f/0ABD/8P/2//D/7P/qABAAAgAA//sAAAAA//8AAAAA//QACAAD//wADwAZAAL//gAAAAH//v/z//3/9AAA//P/+P/kAAP/8QAKAAD/8//kABX/2v/ZAAAAAP/6AAD/9v/9//oAAAAAAAD/2wABAAf/+//9AAAAAP/8//z/+//9//QAAgAAAAAAAAAAAB7/+v////0ACP/6/+4AAAAVAAD//P/9AAYAAAAAAA4AFAASAAAACgAA/+YAAP///+r/7f/yABQAEf////YAE//nAAAAA//YAAAAAQAGAAAAAf/3AAsAAQAQABoAAv/8AAkAAP////X//gAAAAAAAwAIAAAAAP/3/+oAAAAA//QAHf/7//f/4QAAAAIAAwABABwACgAA//8AAf/l//0AAP/+//8AAAAA///////+////3P/+AAD/8wAAAAAAAP/yAAD////+/+n/8wABAAP//gAF//kADgAAAAD/+v/+//8AAP/8/9z/8P/0/+j/1v/9//z//f/7/+n/6QAI/+kAAAAA/9/////7AAAAAP/7AAQAB//yAAoAEwADAAkABwAA//3/+AAA//AAAP/+////8gAC/+z/8AAA//r/1QAM/+j/5//mAAAABv/+AAIAAP/6AAAAAP//AAkAAAAAAAD//wAAAAEAAAAAAAD////m//wAAf/3AAEAAwAAAAsAAAAAAAH/9P/tAAAAAP/8AAv/8wAPAAAAAP/5/////gAA//X//wAS//T/7AAAAAb/+v/+//z////+AAYAEQAA//oAAgAAAAAAAAAA//UAE//6//oACAAOAA0AEwAQAAEAAP/w//3/7gAA//n/+P/wAAP/+gALAAAAAP/wAAf/9v/qAAMAAP/8AAX/+gAAAAAAAAAAAAAAA//9AAD////9AAAAAP////8AAP/9/+3//QAB//gAAAAAAAAAEf//AAAAA//6/90AAAAE//b/7P/y//0AAAAA//4ABQACAAD/+wAAAAn/4f/yAAIAAP/iAAT//gABAAAADwALAAD/+QAA//0AAQAAAAD/9f//AAD/+wAIAA8ACP/tAAsAAAAA/+gAAP/tAAD/+gAA//gAAAABAA0AAAAD//sAG//9/+sABgAA//YADv/2AAAABQAAAAD/8QAN////9P/+//X/+QAD//b/+QAA//cADv/zAAQAEgAA/////wAa//YAAAAJABf/tP/1AAT/6v/S/+T/9AAAAAAAGgAcABIAAP/9AAgAIv/aABAADwAF/7sAFQApACsAHQAJABwAAP/9AAgAAAAL//4AAP/6//r/8//+AAQACQAA/9QAJwAGAAD/z//qAAAAAAACAAkAAP/9ABIAGQAAABwAAwAXABYAAgAJAAD/+QAUAAH//wADAAAAAAAA//P//QABAAEAAwAAAAAAAAAAAAEAA//C//wAAP/oAAAABv////4AAAAA//3/xP/1AAAAAAAAABH/+QAXAAAAAP/q/+3/7wAA//UAAP/+AAD/1f/jAAP//f/0/+n/4f/nAAP/+wAA//z/9AAA//8AAAAA//YADQAA//YADAAVAAIAEgAAAAD//f/3AAD/8QAA//n/8f/lAAL/7P/8AAD/6v/YAAr/0v/n//YAAAAC//wAAP/4/+8AAAAAAAAAA//+AAD//f/2AAAAAP/3//f//f/2/+4AAAAA//4AAAAAAAkABP/9AAIAC//4/+kAAAANAAD/8//z//4AAAAAAAAACAAKAAAAAAAAAA4AAP/4AAAAAP/tAAoAAgAYAA8AEAAuAAD//QAI//MAAAACAAD/+//0AAP/+QAGAA8AAv/0AAMAAAAX//D/+//yAAD//gAA//0AAgAPABMAAAACAAAAL//5/+8AGwAA//0AA//6AAoAEgAAAAAAAP/IAAAAA//4//wAAAAA//v/+//8//z/+f//AAQAAAAA//8AG//6//z//AAI//z/5QAAABYAAP/o//r//QAAAAAAFwAYABoAAAAUAAD/ywAA//7/6P/N/+oAGAAK//7//wAI/7oAAAAC/6D/7gAAAAsAAAAH/9sADQACAAwAFQAD/+gACQAA////8P/7//kAAAAJAAkAAP////r/uwAAAAT/9QAZ//z/+v/PAAAAAAAHAAAAGgAPAAAAAAAAAAP//gAA//7/+wAAAAD/+v/6//7/+//u//8AAAAAAAD//wAPAAb//AABAAz/+f/iAAAAD//6/+n/9P/9AAAAAAAFAAoADQAAAAYAAAAPAAD/+AAAAAP/6QANAAb/////ABYAFAAA//8ABgAAAAIABAAA//3/9wAG//0ACQATAAD/6QABAAAAAP/t//4AAAAAAAEAAf/+////+QAVAAAAAP/1ACr//P/wAAYAAP/+AAj//AAPABEAAAAA//AAGP/w//gABP/5///////6//oABP/5/6X/9v/9/9X//wAE/+EAJv/6AAEAEP+0/6b/8v/t/+b/wv/f//oAAAAA/6z/j/+RAAD/dgAVADb/4P+4AA8ADv+J/4z/yQABAAEAEAAwAAD/dgAVAAD////rAAD/cP/6/3T//QAOABUAAP/EAAD////+/6IAAP/bAAD/df/l/4P/+//+ACYAAP/6//sAHv/l/3gAFAAA/3gAHP9z/84ADwAAAAD/6v++AAH/7P++/7v/5v///7r/3P/c/9cAHf/o//sAHP///8P/+gAS/8X/v//2ACn/of/v//7/5f+r/87/0wAAAAAAIgAWABIAAP///6z/0P/VABgADf/H/6QAGwAqACAAE//m/8QAAP///6UAAAAA//sAAAAA/77/7f/7/+X/6QAq/6wAIgAA////sv/j/8sAAAAEAAMACP/tABH/wgAAABMABv/pACMAD/+4AAAAA//8AAL//f/6AAD/5f/z/83/5v/s/+QAAP/n/+f/9QAAAAAAAP+zAAD/4v/Y/+f/7wAA/73/9QAA/9X/of/t//P/7gAAAAD/5P/9AAAAAP/I/9b/1//fAAAAAP+xAAD/yv+lAAAAAP/jAAD/vv/L//H/vf/hAAAAAAAAAAAAAP/qAAD/+wAAAAD/9AAAAAD//QAAAAAAAAAAAAAAAP/nAAD/2wAA/+7/zv/CAAD/zgAA//r/rQAA/8//zQAA/9EAAAAA/84AAAAA/+gAB//9/+z/+v/q//wAAP/s//D//f/uAAb/8f/5AAMAAv/6//MAG//sAAAABAAM/7n/6//2/+P/5//f//MAAAAAAA4ACAADAAD/8QAAAA7/1wACABgAAP/KAAQAHAAjABgABAAQAAD/9AADAAAABf/5AAD/9f/8/9b/+f/+AAIAAP/oACUABAAB/8X/4f/aAAD/+gADAAD/9wAUABQAAAATAAAAAQAVAAAADAAA//4AEP/3/+8AAwAAAAAABP/z//8AAwAAAAAAAAAAAAAAAAAAAAD/6P/+AAD/+gAAAAMAAP/+AAIAAv///+3/7gAFAAAAAAAG//YADgAAAAD/9//9//4AAP/3AAD//gAA/+3/7QAAAAD//AAA/+z/8wAA//8AAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAgAAAAAAAcAAAAAAAAAAAAAAAAAAAAA//0AAAAA/+///QAB//wAAAAQ/+8AAP/8AAAAAP//AAD//v/8AAAAYQAXAAAAAAABAAAAAAABAG0AAAAOAAAADAAAAAAAAAAAAFAAAgACAAAAAAABABsAAAAAAAAACwAAAAAAAAAJAAAAAACGAHEAcgAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAACFAAP//gAAAE3/+wAAAFgAOwAAAFUAAAAZAAAAAAAAAAAAAAAAAAAATQAAAAAAAAAAAFIAAABXAAAAiAAAAAAAawAAAA8AAABzAAcAAABjAAAAUAABAAAAAAAAAAD/+P//AAAAAAAAAAAAAAAAAAAAAAAA/+z/+wAG//kAAAAAAAAABgAA//kAAP/4/+EAAAAAAAD////1AAb//f/+//v///////X/9gAA//8AAP/v//EAAAAA//8AAP/7//UACv/7AAMAAP/+AAAAAAAAAAAAAAAHAAAAAAAIAAAAAAAAAAAAAP//AAAAAAAAAAAAAP/8AAAAAP/zAAEAAAAAAAAACP/6AAD/+QAMAAAABQAAAAAAAAAA//4AB//x//8ABv/8ABIAAAAAABEAEf/8ABL/wP////v/6gAA//7//P/yABH////m/6wAAAAI//sAAAAAAAAAFAAAAAD/lv+b/5v/6P/0AAD/5AAA/9z/zAAAAAAAAAAAAAD/4//0/+T//wAAAAAAAAAA/////wAAAA0AAAAA//4AAAAAAAAAAAAA//4AAAAAAAD/9gAA/+QAAAAG/+X/4//0/+YAAP/2/80AAP/y//wAAP/oAAD/9v/ZAAAABAALAAIABAAMAAcADAAIAAkACgAKAAcADP/nAAgACv/7AAgADAARAAgADAAEAAn/5f/0AAwAFAAA//7//QAB//8AC//x//v/+wAEAAcAAAAOAAD/8f/6AAAAAP/3AAD/6//uABgAAwAIAAAACAAAAAAAFwAJAAAADwAAAAAAFQAAAAD//gAAAAAABAAAAAAAAAAMAAD//wAAAAj/+AAMABH/+wAAACL/6gAAAAMACwAAAAcAAAAKAAYAAAAFABD/+wAFAAwACAAXAAgACQAWABYACAAX/9QACQAE//cACAAOAAb//QAXAAv//f/T//0AEQAMAAAAFAADABH/8v/7/9X/5v/o//f//AAA//0AAP/o/+cAAAAA/+oAAP/k/+8ABP/2AAYAAP/1AAAAAAAPAAoAAAAlAAAAAAABAAAAAAAUAAAAAAAHAAAAAAAA//8AAP/4AAAADv/1//sAB//3AAAAC//eAAD/+wAGAAD/+wAA////+QAAAAD/9wAJ//f///////QAAAAA//T/9P////T/6//8AAD/+gAA//8ABAAI//YAAQAL//f/yf/5AAoAAP/j/+z/+wAAAAAAAQAIAAQAAP//AAAAEgAA//IABAAA/80AAAAA/////wANABEAAP/3AAn/8wAB//wAAP/2//r/+v/6AAEAB////+UAAQAA////3P/m/+oAAP/+AAD//P/8//8AFAAAAAD/+wAY//n/6AAOAAD/6gAI//gAAwAUAAAAAAAC/+cAAAADAAEAAAAAAAAAAAAAAAAAAP/g//8AAP/3AAAAAQAA//YAAAAAAAD/7//zAAEAAwAAAAf/+QARAAT////7//7////6//wAAP/4AAD/6f/cAAAAAP/+AAD/7//uAAn/7gAAAAD/5QAAAAAAAAABAAAABQAAAAAADAAAAAAACwAAAAD//wAAAAAAAAADAAD//wAAAAT/7f/0AAP/+wAAABP/7AAA/+n//wAA//4AAAAA//0AAAAA//r/vwAE//v/7P/n//cABP/k/+r/8f/rAB//+P//ACIAA//2AA4AC//q/+0AAAAi/8f/+wAOAAD/lv/y/9UAEQAeAB8AFgASABMACwAA/9MAAAAfABEAAAAAABQAAAAkAB7//v+m//wAAP9XAAAAAAAAAAAAAP/HAAAAAP/xAAAAAP+YAAAAAAABAAAAAAAAAAIAAAAQAAD/9wAf/5YACwAkAAAACgAeAAD/xAABAAAABAAAABAACgAAAAD/8f+7AAD/8v/h/97/7gAA/9z/4//o/+MAHP/v//sAGQAA/+sAAQAH/+D/4//8ABz/y//zAAIAAP+b/+X/0AAGAA8AHAANAA0ACAAAAAD/0QAAABYADwAAAAAADgAAACQAHf/2/6b/8wAA/0YAAAAA//4AAAAA/7sAAAAA/+wAAAAA/50AAAAA//8AAAAAAAD//QAAAAcAAP/yACP/lv//ABoAAP/+ABcAAP/AAAAAAP/9AAAABAABAAAAAP/v/7kABP/1/9r/1//yAAD/1f/h/+L/3wAk//P//QAeAAD/5wAFAAz/2v/d//4AIf/B//EABgAA/5n/5f/OAAAAGQAfABMADwAAAAcAAP/QAAAAHAAVAAAAAAATAAAAJgAg//T/pv/4AAD/RgAAAAD//v/+AAD/vgAAAAD/5gAAAAD/sQAAAAAAAAAAAAAAAP/+AAAAEAAA//MAI/+WAAQAIwAA//gAGwAA/78ABgAA//8AAAAI//8AAAAAAAD/9//+AAAAAP//AAAAAP//AAAAAAAA/+f/+wAE//kAAAAA//8AA/////j////4/+0AAAAAAAAAAf/0AAz//P/+//oAAP/8//T/9gAA//8AAP/q/+oAAAAA//4AAP/2//QAAP/5AAEAAP/4AAAAAAAAAAAAAAAMAAAAAAAFAAAAAAAEAAAAAP/9AAAAAAAA//4AAP/9AAAAAP/x//3//wAAAAD//f/5AAD/9gAHAAAAAAAAAAAAAAAAAAD//wAL//0AAAAA//sAAAAA//z//AAA//v/8P//AAEAAAAAAAAACAAT//wAAAAT//n/1f//AA8AAP/f//P/+gAAAAAAAQAJAA0AAP/+AAAAGAAA//gAAgAG/90ACQAC/////wAUAB4AAP/9AA3//QACAAEAAP/5//0AAAAAAAcADgAA/98AAwAAAAD/5f/6//QAAP//AAH//P////0AGwAAAAD/+AAq//z/7QAOAAD/9wAL//oACQATAAAAAAAB//j//wAAAAIAAAAAAAAAAAAAAAIAAP/o//kABf/2AAAAAAAAAAYAAP/4AAD/9v/hAAEAAP/v////9QAGAAAAAP/5/////wAA//T/8/////H/7P/uAAb/8f////n/9f/zAAf/+QAA//H//QAA//0AAAAA/+wACP/1//0ABwAOAAYAAAAHAAD////t//P/8QAA//P/+f/xAAD/8QAAAAAAAP/oAAT/9//r//kAAP/sAAP/8wAA//0AAAAA//b/0QAC//f/4f/z//AAAP/z//T/5v/zABj/8v/8ABgAAv/v//8ADP/y/+v/8gAi/+f/9wAA//X/+//x//0AAAAAAB0AFAAOAAAAAP/D/9f/6gASAAn/5v/yABkAJgAbABL/+f/HAAAABP+CAAAAAf/9AAAABP/3//v/+f/5//4AAP/8AB8AAwAA/+n/9v/eAAAABgAHAAT/8wAP/8kAAAAOAAP//gAcAAv/zgAAAAz/+gAI//7//AAAAAP/9QAY//P/+QAE//kAAAAA//r/+gAE//n/t//3//3/2QAAAAQAAAAmAAAAAAAW/8YAAAAAAAAAAP/fAAD/+gAAAAD/0P/Z/9gAAP/QABUANv/g/8QADwAAAAAAAAAAAAAAAQAQADAAAP/QABUAAAABAAAAAP/I//r/2wAAAA4AAAAA/+IAAAAAAAAAAP/mAAAAAP/JAAD/v//7AAAAJgAA//sAAAAeAAD/sAAUAAD/0wAA/8gAAAAAAAD//gAE/9QAAP////3//v/8/////v/+//3//v/3//4AAwAA//8AAAAN//n/////AAD//P/2AAUADQAA/////AAKAAAAAAAMABUAEgAAAAn/w//P//b//f/p/+X//AAVAAkAAf/3AA7/vAAAAAj/mQAA//sACQAAAAX//AAX//0ADwAYAAf//wAN/////f/7AAD/+AAAAAYABQAA//3/9f/HAAAAAv/sAB3//v/9/9IAAAAKAAMABgAJAAUAAAAB/+f/rgAG/+v/0f/S/+cAAP/S/+T/2f/gABn/6f/2ACIAAP/h//8ABv/W/9f/9AAY/8r/6QAA/+j/3P/h/+gAAAAAAB8AIAAUAAD//f+n/9H/1gASAAT/x//QABcAKgAZABH/8//IAAAAAf+nAAAAAf/9AAAAAP/U//T/+P/x//cAAP/cACYABf///9X/6f/aAAAAAgAGAAP/7QAP/8cAAAASAAP/+gAVAAz/rgAAAAP/9AACAAD//gAAAAD/2AAC////4v/1/9//+gAA/+H/5P/6/+EAB//u//EAAwAA//L/6QAR/+T//QADAAv/pf/c/+7/4P/M/83/6AAAAAAAEAALAAMAAP/wAAAADf/RAAMADgAA/7EABQAcACIAFgAAAA4AAP/3AAQAAAAA//UAAP/3/+z/0v/1//v//gAh/88AIAABAAD/rwAA/8UAAP/7AAAAAP/uABEADwAAAA0AAgADAAoAAQAIAAD//QAH//j/5wAGAAD//wAAAAP/+f//AAQAAP////8AAQAAAAAAAP+4AAAAAf/k//8ABgAAAAgAAgAAAAX/rQAAAAD/+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAD/z///AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//4AAP/x//z/0v/y//b/8QAA//L/8v/8AAAAAAAA/8MAAP/r/+T/8v/6AAD/x//9AAD/5/+nAAAAAP/3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/74AAP/W/68AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/3wAAAAH//v/GAAb////0//T//QAF//QAAAAAAAAAFv/8AAUAGQAA//sAFAAJ//X/9QAHABoAAP/+ABYAAP/nAAD/6wAAAAAAEwAaABIAAAAAAAD/1gAAABYABgAAAAAAHAAAAB4AFQAI/6f//wAAAAAAAAAAAAsAAQAA/90AAAAA//cAAAAA/+cAAAAA//8AAAAAAAAACgAAABgAAP/8ABL/mwASAB0AAAARABgAAP/LAAQAAAAMAAAAFgAOAAD///////D/+wAAAAAAAAAAAAAAAAAAAAAAAP/PAAAAAP/pAAAAAgAA//wAAQAA////2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/+AAD/2//lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//IAAAAA/+H//QAA/+f/5//V/+4AAf/VAAAAAAAAABT//v/8AAsAAP/i//cAHf/XAAf//AAT/7f/5f/8AAAAAAAA/9oAAAAAABcAEQAHAAAAAAAA//8AAAALABUAAAAAABEAAAA8ADP/8gAr//YAAP/7AAAAAP/8//4AAP/bAAAAAP/jAAAAAP/QAAAAAAA/AAAAAAAA//0AAAAEAAD/7wArAAL/+AAaAAAAKAATAAAAHgAEAAD//gAA//j//AAAAAD/5AAAAAD/5v/q/+H/7gAA/+D/6P/t/+YAEwAC//cAEgAB/+T/9AAU/+EACv//AAv/xf/o//kAAP/h/9P/6wAAAAAAGAAQAAgAAP//AAAAAAAAAAkADgAAAAAADwAAADoAMv/3ACr/8wAA//oAAAAA//z//AAA/+MAAAAA/+oAAAAA/+EAAAAAAD4AAAAAAAD/+QAAAAgAAP/tACv////4ABUAAAAmAAkAAAAeAAMAAP//AAD/9QAAAAAAAAAJAAgAAAAEAAsAAQABAAAAAAAAAAAAAP/pAAEADP/9AAAAEQASAA8AAgAHABn/5gAAAAkAEwAA//QAAAAEAAAAAP/+AAUABwAAAAAAAAATAAD/8wAAAAAAAAAHAAD/+P/7AAAAAAAKAAAAAAAAAAAAEQALAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAARAAD/+wAAAAD/+gAAABIAAAAAAAD/8QAAAAAACAAAABUAAAAPAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/8gAAAAD/6gAA//wAAAAA/6b/pv+mAAD/pwAAAAAAAAAAAAAAAAAA/6cAAAAkAB4AAAAA//4AAAAAAAAAAAAA//4AAP/8AAAAAAALAAAAAP/rAAAAAAAAAAAAAAAA//0AAP/tAAAAAAAfAAAAAAAAAAAAAP/rAAAAAAAJAAAAHgAAAAAAAAAAAAAACQAAAAAABgAEAAUABQAGAAUABQAFAAUAAAAAAAAAAAAGAAYABgAAAAYABAADAAAAAAAAAAgAAAAAAAAACwAAAAAAKgAAAB4AAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAOwAGAAMAAAAVAAAAAAAbAAgAAAAJAAAAAgAAAAoAAAAAAAUAAAAQAAYAAAAAAAAAAAAZAAAAGwAAADkABQAAACsAAAASAAAAIwAEAAAAEgAAAAsABQAAAAD/+f/kAAn/4//xAAD/8v/7//v/9AAAAAD/8v+T/+n//f/F//sAAP/YAA7/8//8AA7/pgAA/+f/5QAA/8cAAP/1AAAAAP9X/0b/RgAA/2wAAAAVAAD/qAACAAAAAP9nAAD//v/7AAkAGf/+AAAAFAAAAAD/4//+AAD/+QAAAAAACAAAAAAAAAAAAAD/+wAAAAAAAP/4AAD/2QAA//X/+gAe/+f/9wAAAA7/2QAAAA8AAAAAAAkAAP/EAAUAAP/w//n/5//w//f/9QAA//P/8//4AAAAAAAA/9IAAP/2/+r/8//3AAD/7P/5AAD/8//OAAAAAP/+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+cAAP/h/8wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/9QAAAAUAAP/cAAoAAAAAAAH//wAA//8AAAAAAAIAHP//AAAAHQABAAIADAAHAAEAAAAAABr/+QAAAAwAAP/9//0ACwAAAAAAKgAlACEAAAARAAD/3gAAABgAC//j//gAJAA+ACYAGwAP/9wAAAAQ/8f//gAHABEAAAAG//cAEP/+ABAAGQAS//0AFgAF/////P//AAAAAAAMAAoADAAAAB3/3gAAABwACgAaABIAE//gAAAAGAACAA0ABgAAAAAAAP/+//gAAAAAAAAAAP//AAAAAAAAAAAAAP/+//oAAP//AAAAAP/9AAQAAAAA//z////y//7//gAAAAb/+AAR//f/+v/7//r/9v/w//MAAP//AAD//v/9AAAAAP/9AAAABf//AAD/+AAAAAD/9wAAAAAAAAAAAAAAEAAAAAAACAAAAAAACAAAAAD//wAAAAAAAP//AAD/+gAAAAD//f/9//f//wAA/////wAA//UACwAA//4AAP/6//MAAAAAAAYAAAAAAAAAAwADAAAAAAAEAAQAAAAA/+7//wAI//UAAAAA//kABwACAAAAAP/s/+4ABv/8AAAAAf//ABH/8//t//D/7//w/+T/5wAAAAAAAP/u//MAAAAA//YAAP/6//MAAAAAAAsAAP/+AAAAAP/9AAQAAAAbAAAAAAAQAAAAAAABAAAAAP//AAAAAAAAAAEAAP/uAAAAAP/4AAn/+v/+AAAAAP/vAAD//wAIAAAAAAAA//L/8wAA/+3/9//T/+//9P/sAAD/8P/w//cAAAAAAAD/xAAA/+r/4//v//UAAP/M//cAAP/m/7IAAAAA//gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/vgAA/9X/rwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/hAAAAAAAL//IAAAAG//wAEwAAAAAAEgAS//wAE//C/////f/qAAD//v/8//MAE////+f/rP/9AAz/+wAAAAAAAAAUAAAAAP+Y/53/nf/p//UAAP/mAAD/3P/PAAAAAP/mAAD/1v/k//b/5AAAAAAAAAAAAAD/////AAAADQAAAAD//gAAAAAABQAAAAD//gAAAAAAAP/3AAD/5AAAAAf/5v/j//X/5wAA//f/zgAA//P//QAA/+oAAP/3/9oAAP/+/9b/+//3/+P/4v/V/+X/+v/V/9cAAAAAAAb//P/yAAv//P/h//QAAP/XAAD/9gAGAAAAAP/3AAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAA//8AAAADAAMAAAAAAAAAAAAlAAAAAAAAAAAAAAAAAAAAAP/wAAAAAAAAAAAAAAAAAAAAAP/RAAAAAAA1AAAAAAAAAAAAAAAAAAD/5wAeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//L/+QAA//X/9P/3//b/9v/4AAD/8v/3//YAAAAAAAD/+QAAAAD//f/z//kAAP/+//YAAP/9//sAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wAA//j/9QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/+AAAAAAAA/+L//P/+//z/+//4//v/+v/6//z/+wAA//gAAAAA//sAAAAAAAD//P/9AAAAAAAAAAAABQAA//UAAAADAAAAAAAAAAgABwAAAAAAAAAA/+gAAP/jAAAAAAAAAAAAAP/rAAz/7AAA////3gAA//gAAAAA//sAAAAFAAAACgAAAAD/9QAA//v/+QAA//8AAAAA//4AAP/6//v/7//uAAD/+wAAABMAAP/o/+QAAAAAAAD/+wAAAAAAAP/o//D/3f/rAAD/7QAA/+j/6P/yAAAAAAAA/84AAP/y/+T/6P/vAAD/6f/xAAD/8v/KAAAAAP/+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+IAAP/b/8UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4//8//z/5//n/+T/6AAA/+P/6f/r/+gACQAH//QADwAB/+j/8wAI/+UAEf/3AAf/yP/l//gAAP/h/9z/7QAD//8AFgANAAr/+P/zAAD//gAAAAcACQAAAAAACQAAAC8AKf/2ACX/7wAA//QAAAAA//f//AAA/+kAAAAA//EAAAAA/+IAAAAAAEEAAAAAAAD/9QAA//0AAP/nAC///v/1AA0AAAAiAAYAAAAZAAAAAP/8AAD/9f/9AAAAAP/0ABn/8//7AAv/+v//////+wAAAAAAAP+y//oAAP/f//8AB//qACH//AAMABj/wgAA//X/9QAA/+MAAP/7/5cAAP+W/5b/lgAA/6oAAAAnAAD/xwAOAAAAAP+bAAAABAAAABYAAAABAAAAAAAAAAD/8gABAAAABAAAAAAACwAAAAD/4wAAAAAABgAAAAAAAP/9AAD/7AAA//0ABgAT//L//AAAABr/6wAAACQADAAAABcAAP/bABIAAAAA//7/xwAAAAD/9f/1//0AAP/0AAAAAAAAAAX//wADAAQAAAAAABX////2//gABQAIAAAAAAAUAAD/4wAA//sAAAAAABsAIwAeAAAADwAA/9IAAAAC//gAAAAAAB8AAAANAAcADP/RAAAAAAAAAAAAAAANAAAAAAAAAAAAAAAMAAAAAP/lAAAAAP/+AAAAAAAAAAAAAAAAAAD//gAF/9YAAAAUAAAAFQAAAAD/zwAAAAAAAAAAABcADAAA//b/6gAA/+b/7P/3/+n/+v/6/+gAAAAAAAD/1AAI/+//5P/5//b/+QAA/+sAHQAA/94AAP/r//0AAAAAAAD/9gAAAAD/8P/1//YAAAAAAAAABQAA/93//wAAAAAAAAAAAAAAFwAAAAD/8AAAAAAAAAAA//n/7wAA/+sAAAAA//gAAAAAAAAAAAAAADYAAAAAAAD/8QAA//UAAAAAABkAAAAAAAAAAAAA/+cAAAAA/+sAAP//AAD/+gAAAAIAIAABADkAAAA7AD0AOQBAAEAAPABCAEUAPQBHAEsAQQBNAFQARgBWAG0ATgBvAHgAZgB6AN8AcADiAOQA1gDnAOcA2QDpAOoA2gDsARwA3AEeAR4BDQEgATMBDgE1ATkBIgE7AUYBJwFKAUoBMwFOAVABNAFSAVMBNwGfAZ8BOQGhAaMBOgGlAaUBPQGoAakBPgGsAawBQAGzAbUBQQG3AbsBRAG/AcgBSQHKAcsBUwHzAfcBVQH5AfoBWgH/Af8BXAACAI4AAQAXAAMAGAAYACgAGQAZAAEAGgAeAAIAHwAgAAEAIQAiAB0AIwA0AAEANQA4AAIAOQA5AAEAOwA9AAEAQABBAAEARwBHACkASABNAAEATgBOACoATwBVAAEAVgBpAAIAawBsAAIAbQBuAAEAbwBvAAIAcABzAAEAdAB4ABAAegB8ABkAfQCPAAQAkACQACsAkQCVABEAlgCWACwAlwCeAA4AnwCiABUAowCpAAYAqgCyAAwAswC4AAYAuQC5AAwAugC6AAYAuwC7AAkAvAC9AAoAvgC+AAsAvwDAAAoAwQDDABYAxADEADgAxQDGAAoAxwDOAAsAzwDSAAoA0wDTAAsA1ADUAAoA1QDVAAsA1gDWADoA1wDaABcA2wDbAAkA3ADcAEIA3QDdABIA3gDeAAgA3wDfAAkA4ADgAEQA4gDjABIA5ADkAEUA5wDnABIA6QDpABIA6gDqAEYA7ADxAAkA8gDyAEgA8wD5AAgA+gD7AAcA/AECAA0BAwEKAAcBCwELAA0BDAEOAAcBDwEPAA0BEAEQAAcBEQERAAgBEgESAAkBEwETABYBFAEVAAgBFgEWAAkBFwEXAAgBGAEcABMBHQEdAAgBHgEgABwBIQEzAAUBNAE0AFwBNQE5ABQBOgE6AF0BOwFCAA8BQwFGABgBSQFJAFEBSgFKABsBSwFLAEwBTAFMAFoBTQFNAFgBTgFOAD0BTwFPADsBUAFQABsBUQFRAFUBUgFSADUBUwFTAEoBaAFoACYBbgFuACYBhgGGACcBhwGHAE0BiAGIAFsBiQGJAFkBigGKAD4BiwGLADwBjAGMACcBjQGNAFYBjgGOADYBjwGPAEsBoAGgAFMBoQGhAFABogGiADQBowGjADMBpAGkAFQBpQGlADcBpgGmADkBqAGoAFIBrAGsAC8BrwGvAFcBsAGwADABswGzAEMBtAG1AB4BtwG3AE4BuAG4AE8BugG6ADEBvAG8ADIBvwG/ACQBwAHAACUBwQHBACQBwgHCACUBwwHDACABxAHEAEABxQHFACABxgHGAEEBxwHIACMBywHLAC0B0gHTACEB8wH0ABoB9QH1AEkB9gH2ABoB9wH4AB8B+QH5AD8B+gH6AEcB/wH/AC4CDAINACIAAgB0ABgAGAACABkAGQAxABoAHgARAB8AIgAYACMAMwACADQANAAyADUAOAAZADkAOQAIADsAOwAIADwAPAAGAD0APQAIAEAAQAAIAEIARQAIAEcARwAGAEgASQAjAEoASwAgAE0ATQAgAE4ATgAzAE8AVAAIAFYAYQAEAGIAZwANAGgAawAEAGwAbAACAG0AbQA0AG8AbwAEAHAAcwAaAHQAeAASAHoAfAAhAH0AhAAGAIUAigAOAIsAjwAGAJAAkAA1AJEAlQATAJYAlgA2AJcAngAKAJ8AogAbAKMAuQABALoAugADALsAuwAcALwAwAAUAMEAwQAVAMIAwgAlAMMAwwA/AMQAxAAcAMUA1QADANYA1gBCANcA2gAdANsA3AAJAN0A3QAMAN4A3gAHAN8A3wAMAOIA4wAMAOQA5AAVAOcA5wAMAOkA6gAMAOwA7QAqAO4A7wAVAPAA8AAlAPEA8QAVAPIA8gBJAPMA+QAJAPoBBQAFAQYBCwAPAQwBDwAFARABEAADAREBEgAcARMBEwAHARQBFwAeARgBHAAWAR4BHgAwASABIAAwASEBKAAHASkBLgAQAS8BMwAHATUBOQAXATsBQgALAUMBRgAfAUoBSgArAU4BTgBEAU8BTwBDAVABUAAvAVIBUgAmAVMBUwArAZ8BnwBHAaEBoQBMAaIBogA+AaMBowA9AaUBpQBAAagBqABNAakBqQBOAawBrAA5AbMBswBGAbQBtQAnAbcBtwBLAbgBuAAkAbkBuQA7AboBugAkAbsBuwA8Ab8BvwAtAcABwAAuAcEBwQAtAcIBwgAuAcMBwwAoAcQBxAApAcUBxQAoAcYBxgApAccByAAsAcoBygA6AcsBywA3AfMB9AAiAfUB9QBKAfYB9gAiAfcB9wBBAfkB+QBFAfoB+gBIAf8B/wA4AAEAAgAAAAgAAQHuAAQAAADyLNIsyCyyLKgsqCyiLKIsoiyQLIosiix0LGosZCxKLCAsFiwAK8IrvCu2K7ArpitEKyoqtCoOKgAp7imwKZ4piClyKWApUikUKNoo1CiKJ+An2ifIJ7YnsCd2J1AnEiaEJjomFCXuJeQleiRwJGYkXCRGJDwjtiN0Iz4i1CLGIsAiuiKUIooiVCJOIkQiOiIUIgIh6CHSIcwhxiGEIX4hdCFCIRwiTiEOIPAiTiDOILQgliCQIGYgDB9uHyAfGh8EHvIe6B6iHoweNh4wHeodzB2iHZgdih2AHUYdKB0GHQAc+hz0HOoc2ByuHFQcThxIHDocNBwqG6gbkhrwGuoa4BraHPQawBqmGpgadhpwGmoaXBpCGdgZohk0GQoY1Bh2GGAYNhf0F8YXjBdaFwQW1hakFnIWQBYOFdgVphV4FXIVbBVmFWAVYBVaFVoVUBVKFUQU/hTMFI4URBPiE4wTOhLoEs4SfBJSEjQSFhHoEcYRoBGGEWQRDhD0ENYQyBC2EGwQQhAED9IPfA8+DzQPJg7QDlINzA1+DVwNPgxYDC4MEAv+C5gLcgs0CroKgAomCawJjglsCWYJSAjaCFAILgf8B94HwAeuB1gHGga4BiIF/AWWBWAFSgVABP4E4ARiA+ADugACAEwAAQACAAAACgAQAAIAEgASAAkAFAAVAAoAFwAaAAwAHAAcABAAHwAfABEAIwAlABIALAAsABUAMgAyABYANAA1ABcAOQA7ABkAPQA/ABwAQQBBAB8ARABKACAATABNACcATwBQACkAVQBWACsAagBqAC0AbQBwAC4AdAB0ADIAdgB2ADMAeQB9ADQAgQCBADkAkACRADoAlgCZADwAmwCbAEAAnwCfAEEAoQChAEIAowCjAEMArACsAEQAsgCyAEUAtAC0AEYAtwC3AEcAugC8AEgAvgC/AEsAwQDFAE0AyADIAFIAzgDOAFMA1ADXAFQA2wDdAFgA3wDqAFsA7ADsAGcA7gDuAGgA8ADxAGkA8wD0AGsA+QD6AG0A/AD8AG8BAgECAHABDAEMAHEBEAERAHIBEwEWAHQBGAEYAHgBGgEbAHkBHQEhAHsBJQElAIABLwEvAIEBMQExAIIBNAE1AIMBOgE7AIUBPQE9AIcBRwFTAIgBXgFyAJUBfAGPAKoBnwGiAL4BpAGpAMIBrgGwAMgBswG1AMsBtwG7AM4BvQHIANMBygHLAN8B0gHTAOEB4gHiAOMB8wH1AOQB9wH/AOcCDAINAPAACQGhABYBogAJAaj/9AGs/8YBuP/zAb//lAHA/5cBwf+iAcL/ogAgAYb/0gGH/9YBiP/xAYn/5wGK/9ABi//cAYz/0wGN/9sBjv/iAY//3gGhABYBogAJAaMADQGkAAABpv//Aaj/9QGs/8YBswAJAbQACQG1AAkBuP/zAbz/9wG//6MBwP+fAcH/qwHC/6gBwwASAcQADgHFABIBxgAYAcf/qgHI/64AHwDW//4A1//5AOr/8AE0//QBNf/4ATv/8wFK//wBS//qAUz/4QFN/9QBTv//AU//9QFQ//wBUf+2AVL/6QFT//QBof+7AaL/twGm/+oBqP/cAaz/7gGv/9YBt//3Abj/2QG8/9QBv//RAcD/2AHB/+UBwv/lAcf/3gHI/98ABwAB/+8BS//4AUz//QFNAAABUf/nAbj/7QG/AAIAEABH//4Alv/hAUr/9QFL//UBTP/5AU3//QFP//UBUP/2AVH/4gFp/+kBav/uAW//3gFx//ABt//0Abj/5AG8/+IAAgFR//4BuP//AAUAev/hAUv/+QFM//8BUf/jAbj/6QANANf/7ADq//AA+v/2ATv/8gFNAAIBUf/8AWn/8QFr//EBb//sAbf/8wG4//QBvP/6Afr/2wAZANf/8QDq/+wA+v/4ATT/8wE1//UBO//xAUv/6AFM/+cBTf/ZAU//7wFR/7sBUv/rAVP/8QFo/+8Baf/dAW7/8AFv/98Bcf/wAbf/9AG4/9cBvP/RAcf/5AHI/+QB+f/bAfr/9AAJAAH/5QBQ//IAl//eALv/9AFK//wBS//0AUz/8wFR/+EBuP/iACUA1v/7ANf/8wDq//AA+v/4ATT/+wE1//0BO//zAUn//AFK//kBS//zAUz/8QFN//sBTgAAAU//8wFQ//kBUf/bAVL/9QFT//YBaP/0AWn/6QFu//QBb//cAXH/8gGh/+wBov/mAbf/9gG4/+EBvP/ZAb//7wHA//EBwf/vAcL/8QHH//MByP/zAfP/5AH0/+YB9//4ABgA1//mAUr/8AFL/+8BTP/zAU3/8gFO//sBT//tAVD/8AFR/9EBUv/yAVP/8wFo/+8Baf/aAWr/6QFt/+gBbv/wAW//ywFx/+UBt//qAbj/1wG///gBwP/3Acf/9QHI//UADwDq/+UBNP/nATX/7gE7/+oBSf/lAUz/0QFp/9UBa//0AWz/8QFt/+gBb//aAXD/7QFx/+oBv//AAcD/wQAVALL/5QDW//YA1//wAOr/5QD6//UBNP/oATX/7gE7/+kBSf/lAU3/ywFp/9UBbP/xAW3/6AFv/9oBcP/tAXH/6gGm/+ABv//OAcD/0wHG//gByP/OAAQBS//5AVH/9AGN/+cBuP/4AAcBof+WAaL/pwGv/8QBs//SAbgAHgHD/9oBxf/aAAcBSv/1AU7/ygGh/6cBov+rAbP/0gG4AB4B0gASAAwA1gAAATT/7gE1//YBS//nAVH/1wG4//IBv//IAcD/yQHB/8gBwv/JAcf/xwHI/8cACAE0//kBNf/+AUv/9AFR/9kBuP/qAbz/5gHH//AByP/wACIACv/EABj/swAh//IAOQAAAD4AGwBO/9cAav/4ALT/7ADE/+4A0f/lANwAKQDf//wA4AArAOEAKgDkABgA5gAdAOgALgDy/+8BBP/nARD/6QGh/60Bov+vAaX/rAGp/8IBsABBAbP/rQG0/6wBtf+sAcb/9AHL/8kB8//OAfX/9QH6/+QB///KABsAAf+9ABj/pgAh//IANf/6AD4AGwBO/9cAav/4AMT/7gDcACkA4AArAOYAHQDoAC4A8v/vAU7/xQGn//wBqf/BAa7//wGwAEEBuf/mAcb/9AHK//ABy//JAfX/9QH6/+QB/P/5Af7/9gH//8cABwAY//MBaf/yAW//8wFx//sBh//0Ab3/5QHGAAoAAQGN/+cACAAY//MBaf/yAW//8wFx//sBh//0AaYAAAG9/+UBvv/0AAcAIf//AE7/8gFp//UBb//sAY3/5wGnAAgB///3AB4ACv/DABj/rQAh/+gAPgAdAFb/8ABq/+wAtP/aANH/1gDbAAAA3AAtAN//+wDgAC8A4QAtAOQAGgDoADIBBP/YAQz/2AEa//ABJf/3AUL/9gGK//sBof+hAaX/oQGp/7oBtP+vAbX/rwG+/6EBxv/rAcr/4QH//78AFgAY/7AAIf/rAGr/7gDbAAAA3AAkAOAALADmACABTv/FAaH/ogGl/6EBp//0Aan/uwGu//oBs/+zAbT/sgG1/7IBvv+hAcb/8AHK/+kBy//EAfX/6gH//8cADgAB/7QAGP+cACH/6ABq/+wA4AAvARr/8AGK//sBqf+3Aa7/+gGz/5sBvf+mAcb/6wHK/+EB//+uAB4AAf+1AAr/wQAL/8EADv/BABj/ngAa//AAIf/rADX/8QA+AB8ATv/VAGr/7gDE/+sA3AAkAOAALADmACAA6AArARr/8wGn//QBqf+5Aa7/+gGwAD0Bvv9LAcb/8AHK/+kBy//EAfP/vwH0/7QB9f/qAfr/2AH//7EADwAYABQAIf/pAEUACQBO/+sAav/+AG///gDnAAwA8v/0AREAAwG9ABABvgAYAcD/SwHB/6EB9f/5Af4AAwAJAEUAEABO/9oAagAAAG///wDnABIBEQACAb0AGAG+AB0B/v/3ABkAIf/hADkAAAA+ABwATv/TAGr//QBvAAAAxP/uANsAAADcADQA4AArAOEAMwDoADcBEf//ARr/7AGK/+MBrv/5Abn/6gG+ACABxv/wAcr/4QHL//QB+f/0Afr/zgH9/9wB///OAAQBoP/ZAaH/+QGi//kBuQAPAAcAbwAAARH//wGf/+UBsAAuAbn/5AG+ACEByv/dAAoBfP/pAX7/7AGA/+EBgf/rAYL/6gGE/+kBhf/wAY3/6wG6//YB9f/qADkAGP/3ACH/3gAi/94ANf/kADkAAAA6/+4APgAlAD8AEwBEABYARQASAEYAIwBO/84AVv/jAGr/9ABvAAIAef/sAMT/7QDXAAUA2wAAANwALgDf//QA4AAvAOEANwDkACMA5gApAOcAFwDoADUA8v/nAQL/6AER//4BEgAGARf/+wEa//ABO//+AUX/+wFs/+4Bh//8AYj/9wGK/+oBn//rAakABgGu//QBsAA1Abn/5QG9ACEBvgAZAcb/+AHK/+IBy//uAfX/0QH5/+4B+v/SAfv//AH8/+QB/f/eAf7/4gH//9AABwFp/+gBbP/xAan/4QG+/+sBwf+yAcL/sgHI/6wACAFp/+gBbP/xAan/4QG0AAABvv/rAcH/sgHC/7IByP+sABMAGP/nACH//wA1AAwAOQAAADr/4QBqAAUAbwAJANwAAADkAAABaf/pAWz/8gGg/9EBqf/hAbkAFAG9/98Bvv/rAcH/swHC/7MByP+tACEAGv/tADX/7gBW/+0Aev+/AH3/6QCQ/7UAkf/PAJf/swC8//cAwf/4AMX/9wDW//EA1wAoAOoASgD6//YBEQAUAR7/7AE0/9YBNf/kAUr/7gFL/+cBUP/vAVH/4wFT//QBrP/NAbgAKAG8ACkBv//KAcD/ygHB/8sBwv/KAcf/xAHI/8YAHwAY/64AIf/uACL/7gA+AC4ATv/bAGr/7QDE//UA3AA0AN///QDgADkA4QA7AOQAIgDmAC4A6AA7AUr/8wF8/6UBff+1AX7/rwF//7kBgP+gAYH/rwGC/6UBg//FAYT/qgGF/7ABpgASAa7/+wGwAE8Bvf/DAb7/yAH6/9sAFQAB/+wAFv/sAEf/8AB6AAMAn//8AKP//wC8AAAAvwAAANEAAAEeABcBNAAUAUsABQFNAAABTgAAAVAABwFR//8BUwAJAaH/8gGi/+kBr//rAbgABAADAG8ACwERAAABqQAaAAIAOQAAAan/ygAPAAH//QAa//0AI//+ADX//gBW//4Aev/tAJD/7ACR//MAl//lALz/+wDF//oA6gAbAPr//gFR/+sBpwAFABUAGv/4ADX/+AC8//UAwf/4AMX/9gD6//YBGP/9AaEABwGmAAQBqAACAbP/8QG4AAUBvAAJAb8AAgHAAAEBwQACAcIAAQHD//8BxAACAcX//wHHAAIADAAh/9kBh/+BAYj/bwGJ/3MBiv8+AYv/cAGN/3EBjv9xAY//cwHB/6EBwv+hAcj/rAAPAUv//AFMAA8BTf//AU7/+QFR/+wBjf/vAbP/8gG1//EBuAAHAb8ABwHAAAgBwgAIAcMAAQHHAAEByAABAAoBSv/xAYf/qgGI/6sBif+rAYr/pgGL/6kBjf+rAY7/qgGP/6oByP+vABIAb//8AREAAwFH/7ABSP+qAUr/9AGH/60BiP+5AYn/rAGK/5kBi/+qAY3/sgGO/6wBj/+sAaYACAHB/6IBwv+iAcYAEgHI/60ABAGg/9sBof/9AaL/+wG4//MAAwBv//0BEf/7AZ//2wAHAAH/wwFy/90Bof+qAaL/pgGv/8UBuP/5AfP/6QAGAAH/zQFy/+sBof+sAaL/qAGv/88BuP//ABUAAf+oABr/5AA1/+UAVv/lALz/xgFD//EBcv/AAYr/6wGh/6QBov+mAaP/7AGk//MBr/+tAbP/0AHD/9YBxP/pAcX/1gHG/+4BxwAgAcgAIAHz/70ACAAB/8kA8//1AXL/5gGh/6wBov+oAa//zAG4//gB8//wAAYAAf/KAXL/5gGh/6sBov+oAa//zQHz//EACQAB/8oAlv/lAJ//4gFy/+kBof+sAaL/pwGv/8wBuP/wAfP/7wAIAAH/yQFy/+gBof+sAaL/qAGkABEBr//LAbgAAQHz//AACwAB/9UAo//vAXL/9QGh/7kBov+rAaP//AGk//8Br//XAbj/+wG6AAkByAAJAAcAAf/RAXL/9QGh/7kBov+rAa//0gG4AAYB8//vAAcAAf/DAXL/3AGh/6oBov+mAa//xAG4//kB8//oAAoAGv/ZADX/2gBW/9gAev+gAH3/1wCQ/54Akf+7AaIAKwGz/9UBt//pABQAGf/qABr/3gA0/+oANf/gADn/6gA7/+oASP/qAEr/6gBP/+oAUP/qAFb/3gBt/+oAcP/qAHr/mAB9/9wAkP+iAJH/vAGiACgBs//iAbf/6gAGAHr/qACQ/70Akf/WAYD/6wG4//QBvP/uABQAGf/oABr/3QA0/+gANf/eADn/6AA7/+gASP/oAEr/6ABP/+gAUP/oAFb/3QBt/+gAcP/oAHr/lgB9/9sAkP+hAJH/tgGiACcBs//fAbf/6QAUABn/7AAa/+sANP/sADX/7AA5/+wAO//sAEj/7ABK/+wAT//sAFD/7ABW/+sAbf/sAHD/7AB6/5gAff/mAJD/rQCR/8QBogAqAbP/9AG3//AAFQAZ/98AGv/PADT/3wA1/88AOf/fADv/3wBI/98ASv/fAE//3wBQ/98AVv/OAG3/3wBw/98AdP/fAHr/iQB9/8kAkP+UAJH/rQCW/+4Bs//bAbf/2QAYABn/5gAa/+UANP/mADX/5gA5/+YAO//mAEj/5gBK/+YAT//mAFD/5gBW/+UAbf/mAHD/5gB6/5MAff/gAJD/qACR/7wAl/+GAMX/8AD6/+4BFP/nAaIAIgGz/+8Bt//pABIAGv/fACP/7AA1/+AAVv/fAHr/nAB9/90AkP+jAJH/vQCX/4cAxf/xAR7/2gEh/+oBNf/NAaIAHQGz/+IBt//rAbgAAwHz/6wADwAa/+wANf/sAFb/6wB6/5gAff/mAJD/qwCR/8YAxf/2APT/8QD6//UBHv/eAaIAJgGz//UBt//wAfP/vgAMABr/2QA1/9sAVv/ZAHr/oAB9/9gAkP+eAJH/uwGhABUBogArAbP/1AG3/+oB8/+lABEBXv/TAWD/3QFh/+8BYv+/AWT/1AFm/9sBZ//gAXz/nwF9/64Bfv+mAX//twGA/4YBgf+rAYL/oAGD/8IBhP+mAYX/pwABAXL/0QABAXL/4wACAWz/6wFy/7QAAQFy/90AAQFy/94AAQFy/+0AAQFy/+wAAQFy/9AACwGo/+4BuP/vAb//owHA/6UBwv+vAcf/pwHI/6wB0v/DAdP/wwHz/+gB9P/qAAwBqP/yAbj/9QG//6wBwP+uAcL/tgHH/6sByP+sAdL/1AHT/9QB8//rAfT/6wH1/+kADQFi/+sBof/vAaL/6wGo/+UBuP/mAb//yQHA/9IBwv/SAcf/xAHI/8UB0v/5AdP/+QH1/+0ADAGo//ABuP/wAb//qwHA/64Bwv+2Acf/qgHI/6wB0v/TAdP/0wHz/+kB9P/qAfX/5QAMAaj/8QG4//EBv//DAcD/zAHC/80Bx/++Acj/vwHS/+wB0//sAfP/6wH0/+0B9f/qAAwBqP/tAbj/8QG//7EBwP+2AcL/vAHH/7cByP+4AdL/1QHT/9UB8//VAfT/1QH1/9oADAGo//ABuP/yAb//wgHA/8wBwv/MAcf/vQHI/74B0v/mAdP/5QHz/+YB9P/oAfX/4gALAaj/7AG//6wBwP+uAcL/tgHH/6wByP+tAdL/1AHT/9QB8//rAfT/7QH1/+gAFQFeAAABXwABAWAAAAFhAAABYgAAAWMAAAFkAAABZQAAAWYAAAFnAAABqP/qAb//xAHA/8wBwv/NAcf/vgHI/74B0v/rAdP/6wHz/+wB9P/vAfX/6wAMAV4AAAGo/+4BuP/uAb//pAHA/6YBwv+wAcf/pwHI/6wB0v/FAdP/xAHz/+gB9P/rAA4Aev/uAUoAAwFL//8BTP/+AVAABAFp/+0Bb//nAY3/6gGh//YBov/vAbMADAG0AAgBuP/tAfX/8AALAUf/+gFI//0BUAAAAW//4wGJ/+4Bjf/tAY7/8wH1//IB+v/sAf3/9wH//+8AEADgACoBRwAQAUgAEQFQ//YBiv/3Aa7/9gGwADEBuf/lAcb/+QHK/+MBy//GAfX/4QH5//wB+v/RAf3/6wH//8AACgFH//oBSP/+AWn/7QFr/+sBb//kAXD/7QGN/+wB9f/xAfr/8AH9//MABQFH//4BSP/8AfX/8AH9//IB///8ABcBR//2AUj/8QFQAAgBaf/mAWr/7wFr/+gBbP/kAW3/4QFv/+UBcP/nAXH/5AGH/+sBiP/1AYn/7gGK/+oBi//rAY3/7AGO//ABj//sAbAAAgH1//wB+v/0Af///QANAUf/+AFI//YBUP//AWz/5wFt/+YBcP/qAYr/6AGL/+wBjv/wAfX/8gH6//IB/f/2Af//+QAKAUcAAgFIAAYBUP/7AW//7AG5//MByv/0AfX/6wH6/+cB/f/yAf//4QAbADkAAADgAA0A9AAAAUoAAAFLAAABTAAAAU0AAAFOAAABTwAAAVEAAAFSAAABUwAAAaEAAAGiAAABpAAMAbgACgG6AA0BvAAIAfP/5QH0/+UB9f/oAfb/5QH3//AB+v/tAf3/7wH///ACDAAAAA0BRwAGAUgAAwFN//8BTgAEAU8AAQFR/+0BUwADAW//5wGN/+oB9f/wAf3/9QH///wCDP//ABoBSQAeAU3/+AFO//ABif//AY3/9gGh//IBov/vAaMAEgGkABsBr//rAbP/9QG0//QBtf/0Abj/+QG6//0BvP/8AcAAFwHCABcBwwAHAcQAEQHIAAsB8//lAfT/5QH1//wB9//8Afr/8QAGAaH/qgGi/6YBpAAiAa//zgGz//kBuAAEAAMBof+6AaL/qQG4AAcAAQHI//oAAQF8//EACAC8/+oA2wAAAPQAAAFN//8BTwAAAVIAAAHK//IB/P/9AAMA2wAAAPQAAAFN//cABgC6//QA9AAAAU3/8QF9/8cBfv+8Acr/+QAGAOoAEAGhAAMBogAKAaQAFQG4AAABvP/+AAEAev/sAAIA9AAAAR3//wABAaIAIwAoAKMAAACkAAAAuwAMALz/+wC+//sAwf/8AMX//ADWAAEA2wAMAN0ABwDiAAgA6gAGAOwADADuAAwA+v/7ARQAAAEYAAABGgAAAR4AEQFDABMBiAAGAYsABwGNABkBoQAbAaIAHgGjABQBpAAqAaYAFgGoACMBs//fAbT/3wG4ADEBvAAxAb8AKAHAACkBwQAoAcP/+gHF//oBxwAyAcgAMgAFALz/+wDuAAAA9AAAAcr/+wH+//sAIACjAAAAu///AMX//wDW//QA1//0AN3//ADq//kA7v//APP//AD0//wBFP/8ARj//wEeAAABIf/+ATT/+QE1//0BQwAAAYf/6AGJ/+UBi//jAY3/4wGO/+kBj//rAaH//wGi//0BpAAAAbj/7wG8/+0Bv//6AcH/+gHH//MByP/zAAIBogAEAaQAHAABAbz/8wADAU0ACQGA/+ABrgARAAEBuAAGAAEBuP/+ABYAsv/4ALr//AC8//sAvv/7AL//+wD0AAABE//8ARQAAAFN/+8BfP+XAX3/mgF+/5QBf/+SAYD/kwGB/4wBgv+XAYP/ogGE/48Bhf+XAa4AAAG8//wByv/8AAoA6gAQATv//QGg//sBoQAEAaIAFwGkAB8BrwAPAbgABQG6AAUBvAACAAQAxQABANsAAADdAAAA7gAAAAIBIQAEAcj/7AABAbj/8wABAHr/1QABAHr/1gAIAPQAAAD6AAABrgANAbz/5QHA/+sBwv/rAcf/5gHI/+YABwDXAAUA6gAIAaEADAGiABQBrwASAbgAAQG8AAEADgC8AAAA1wAAAOoAAADsAAAA9AAAAPoAAAEUAAABGAAAASEAAAFI//cBogAAAa4ADAHKAAAB+//9AAIBGAAAAcD/7gADAOoADAGhAAIBogAOAAIA9gAeARoAHgAKADkAAAC8AAAA4QALAOYAAADoAA0A9AAAASEAAAGA/+wBof//AbMAAAAHALz/9AD0AAABDv/3Aa4ADAHK//IB+//9Afz/+AARAL4AAADFAAAA1wADAOEADADmAAUA6AAVAOoABgD6AAAA+wAAAQ4AAAEeAAIBO//9AaEABAGiAA4BpAAaAa8ADQG4AA8AAQDqAAYAFQBQABAAuwANANsADQDdABgA4QA2AOgASQDqABcA7AANAO4ADQGHABUBiAAMAYkAFQGNACYBpgAYAagAKAG4AEIBvAA+AcAAJgHCACYBxwAwAcgAMAAFAOoAEAGhAAMBogALAaQAFgG4AA4AEQC7AAEA5gAoAOoABADsAAEA7gABAPEAAQEYAAABGgABAR4AAgFDAAABpAANAbgAMgG8ACsBvwAbAcAAEwHHAB0ByAAdAAIBpAANAbgAHwAEAOQAAAEeAAEBuP/8Acf//QAFAOoAGQGhAAIBogAPAaQAGQG4AA0AAQDhAA0AEwA/ACMAuwAJANYAAQDbAAkA3QAJAOEAKgDqABEA7AAJAO4ACQEYAAABHgACAY0AHwGmABMBqAAdAbgAPAG8ADgBwAAeAccAJwHIACcAJwA+ADMASAARAJAAKACWACMAlwAwALsABgDWAAUA2wAGAN0ADgDgAEQA4gAOAOoACgDsAAYA7gAGAPMAAQD0AAEBEQABARQAAQEYAAABHAAAAR4ACwEgAAsBNAAHATUACQE6AAYBRwAiAYgAEgGPABsBpAAOAaYAGgGoACsBuAA6AbwAMwG/ACkBwAAlAcEAKQHCACUBxwAsAcgALAAWALsAAAC8AAAA2wAAAOQAGQDqAAEA7AAAAO4AAAD6AAABEgAAARYABgEaAAEBHgABAUUAAAGmAAMBuAAtAbwAHwG/AAcBwAALAcEABwHCAAsBxwAZAcgAGQAKAMUAAADWAAAA4QAMAOgAFgDqAAAA9AAAARoAAAEeAAABOgAAAYD/7AABADr/3gAHARgAAAEhAAABNP/yAX3/+gF+//QBf//0AYD/8AAGAOcABwD0AAABDv/8AREAAwFN//cBygAAAAgAugAAANsAAADhABkA5gATAOgAGgFHACIBSAAgAVL//wAHANcAAwERAAMBoQAHAaIADQGkABgBuAABAbwAAgADAHr/4AG4//MBv//yAAkA4QAAAR0AAAGA/9kBuP/sAbz/5wHA//ABwv/wAcf/7AHI/+wADADFAAMA1wACARgACQEhAAcBNP/8AaH/+QGi//YBowAGAbj/8AG///gBwf/4Acf/8gACAOUABgDoADgAAQDuAG8AEADBAAAA2wAAAOEACwDmAAAA6AANAPoAAAGi//8BowAAAaYAAAGoAAABswAAAbQAAAG1AAABtwAAAcEAAAHCAAAAAQGiAAgAAQG4//YABQC8AAAA2wAAAPQAAAFNAA4BvP/qAAYA+gAAARQAAAF8/+sBgP/PAYL/7AGE/+8ABADzAAEA9AABAREAAQEUAAEACQDXAAMA6gASARj//wGhAAwBogAZAaQAFwGvABMBuAAFAbwABgACAcf/6AHI/+gAAgB6/+ABHQAAAAEAev/gAA0AOv/gALsAAAC/AAAA2wAAAPQAAAD6AAABEQAAARMAAwEdAAABrgALAbj/8wHH/+cByP/nAAIARAAIAOYAFgAJABr/8gBv//4A5gAUASX/9wFSAAMBUwACAcr/+AH7//8B/f/2AAEBov++AAEA5gAiAAMAGv/cAGr/2wEl/+gAGgAK/7oAGv/cABv/3AA1/9wAPgAPAGr/2wB5/+EArP/fALT/xAC2/9MAzv/hANH/wQDf//YA5gAhAPz/2gEE/8MBDf/RASX/6AFP//4BUv/sAVP/9QF8/4wBfv+LAa7/7AHK/88B/P/jAA0AGv/ZADkAAAA6//EAb//6AOEAHwDmABMA6AAkAU0ABQFP//sBUv/zAVP/7AHK/+YB/P/pABAAGv/xADX/8wA5AAAAPgAPALL/5wDhACMA5gAXAOgAKQEl//gBTQAEAU8AAAFS//kBU//8AX//xwGu//wByv/oACEACv+4AAv/uAAM/7gADf+4AA//uAAQ/7IAF/+zABr/5QA1/+cAPgANAGr/5ACl/9UAsv/eALb/1wC6/9QAx//eAM7/5ADR/9IA0//cAN//9wDhACcA5gAZAOgALQEC/+EBGv/rAU///gFS//ABU//6AX3/rgF+/6YBrv/1Acr/2wH+/+UAAgB5//wAuwAAAAUAOQAAADr/8gB5//wAo//4AX7/4AACAAr/wgCl/9IAAgDd//8BJf/yAEIACv/CAAv/wgAM/8IADf/CABf/vwAa/+kAHf/pADX/6gA5AAAAOv/5AGr/5wB5/+8ApP/AAKX/0gCm/9IAp//SAKj/0gCr/9QAsv/bALT/wgC1/8EAtv/VALj/wwDG/7oAx//QAM7/3ADP/7oA0f++ANP/0ADe/+cA3//2AOEAJQDl//kA5gAZAOgALgEC/9YBBP+7AQn/uwEM/8oBDf/OAQ//1gEV/+oBFv/4ARr/4wEk//EBJf/yASf/7QEs/+0BLf/sAS//7gEw//ABM//wAT3/7QFA/+oBQf/qAUX/+gFNAAcBT//+AVL/+AFT//sBfP+gAX7/oAGu//EByv/ZAf3/2gH+/80AGgAB//sAI//7ADX/+QB0AAUAev/oAH3/+ACQ/+AAkf/pAJf/3ACfAAUAo///AYb/4gGH/+EBif/pAYr/4QGL/+ABjP/iAY3/4AGO/+YBj//kAaEAAAG4/+oBv//xAcH/8QHH/+kByP/pAAIARAACAOYAAgAJADkAAAA6//YAb///AOEABQDmAAIA6AALAU0AEQFSAAcBgP/WAAkAOv/3AEIAAABEAAAAagAAAG8AAADmAAMBTf/9AU8AAQFSAAAAEgAB//YAR//+AG8AEwCW//kAn//9ANcADwDdAAMA6gAlATsACwFN//4BoP//AaH/+gGiABQBpAAeAa8ABQG4AAgBugAJAbwABwAjAAH/5gAC/+YAFP/mABj/2QBH/+IAVgAKAFcACgBeAAoAev/fAH0AAQB+AAEAkP/rAJH/+ACX/9wAmP/cAKP//wCk//8AxQAEAMYABADTAAQA6v/+APoAAwD7AAMBAgADART//wEhAAIBIgACATQAAQE7//8BPP//AaH/5AGi/98BqP/7Abj/7QG8/+YADwBqAAIAo//5AU3/9AFS//8BUwAGAXz/pQF9/7IBfv+uAX//vgGA/5EBgf+zAYL/pgGD/8IBhP+sAYX/rgAJAHr//QB7//0AkP//AJb//ACXAAABFAAAARgAAAG4//8BvP/8AA4AOQAAADr/8QDoAAcBIQABAU3//wF8/9gBff/sAX7/4AF//+wBgP+6AYH/4gGC/9kBhP/dAYX/4gABAaQAGAAEADr/7wDmAAcA6AATAYD/6wAEADr/7wDhAA0A5gAHAOgAEwABAcf/jwAqAAEAGAAZAAQAGv/zABz/8wA1//UAOQAEAEcANgBIAAQATwAEAFAABABSAAQAVv/0AFj/9ABwAAQAdP/9AHb//QB6AAAAff/3AH7/9wCQ//0AoQApAKMABAEh//gBIv/4ATT/4QE1/+wBhv/lAYf/8QGI/+sBif/zAYr/yAGL/+gBjP/mAY3//AGO/+gBj//sAaEAJgGiADABpAAeAagAFAGz/8QBuAAUABIANf/xADkAAAA6/+YAav/+AG//+QDmAAABDv/6AUf/ewFI/3oBT//+AVL//QFT//wBwf+mAcL/pwHH/48Byv/5AfT/ZgH+//UAAQDmABkADgA5AAAAPgANAGoAAABv//kA5gAZAOgAJgEO/+wBJf/uAUD/9AFNAAcBT//6AVL/+wFT//UByv/sAA8AAf/pAAL/6QAQ/+kAEv/pABX/6QAY/+MAOQAAADr/8ABH//kAfQABAOEADwDmAAgBof/4AaL/8gGzAAEAAwA/AFUARgBaAbgAJQAEAEUABADqABwBoQABAaIADwAFAEQAOAB2AAEAoQAKAOYAHwG4AB4ABQDXAAMA6gAmAaEAAgGiABMBpAAYAAQAPwBNAEIALQDhACMBuAAaAA8APgBNAEIALAB6AAgAkAAMAJEADwCXAA8AnwAIALsABwDdAAoA4AAxAO4ABwG4AC4BvAAjAccAGwHIABsABAA+ACwAQgBIAHYAAQChAAoAAwA6/+8BGgAAAYD/6wApAAH/6AAZ//AAH//wACP/8AA0//AAOP/1ADn/8AA6//YAO//wAEf/8ABI//AASv/wAE//8ABQ//AAVv/1AG//9QBw//AAdP/6AHr/+QB9//MAlv/1AKL/+QCj/+cAu//1AMH/6gDD/+oAxf/mANr/6QDd//EA4v/xAOr/8gDu//UA8//wAPT/8AD6/+cBFP/wARj/7QEh//QBof/wAaL/7gG4//YAHQABAAAAIwAAADkAAABHAAAAVgAAAHQAAAB6AAAAfQAAAJEAAACWAAAAlwAAANsAAADmAAcA6AATAPQAAAEYAAABOgAAAX3/9AF+/+4Bf//sAYD/6wGB/+kBgv/xAaIAAAGjAAABpgAAAa8AAAHIAAABywAAAAYAOQAAADr/9ADmAAYA6AAOAU0ACAGuABIAGAA5AAAAav/zAN//+ADhACEA5gAQAO4AAAEh//UBRf/3AU0ACQFPAAABUv/4AVP//QF8/6EBff+vAX7/rQF//8IBgP+VAYH/uwGC/6IBg//PAYT/rAGF/68Brv/9Acr/7gACAaIAMQGkACUAAQA/AAQAAQChABcAAQBv//oADwAa//EAOQAAADr/+ABqAAAAb//6AHn//QDhAB0BTQAOAU8AAAFS//4BU//9AX//9AGD//sBrv//Acr/8gAFADr/8QFN//0BUgAAAX7/3gF//+sAAgDf//8A5gAAAAoAbwAGAN///wDmAAABTQAQAU8ACQFSAAwBfP/yAYD/1AGC//IBrgAQAAYAOQAAADr/8QDmAAIBTQAMAVIAAwGA/9QAAQE0//sAAgBW/+cBR//XAAUARwAYAaEAHgGiADEBpAArAbgAEAABAG//8QAEABAADgBv//EAeQABAJD/sgABAJf/vAACAHr/wgCX/7wABQBv//MAev/CAHz/wgCQ/7kAl/+8AAIAb//xAKEAEAAPADX/6AA5AAAAOv/fAFb/5wBv//EAeQABAOH//wFH/9cBSP/LAU0AAAFP//YBUv/4AVP/8wHK//AB/v/zAAA=)format("truetype");font-style:normal;font-weight:600;font-display:swap}:root{--dur-micro:.12s;--dur-base:.18s;--dur-surface:.24s;--ease-out:cubic-bezier(.23,1,.32,1);--ease-in-out:cubic-bezier(.77,0,.175,1);--ease-soft:cubic-bezier(.23,1.15,.32,1);--dur-player-duck:.16s;--dur-player-return:.36s;--ease-player-duck:linear(0, .00391, .01563, .03516, .0625, .09766, .14063, .19141, .25, .31641, .39063, .47266, .5625, .66016, .76563, .87891, 1);--ease-player-return:linear(0, .02869, .10244, .2049, .32261, .44499, .56409, .67433, .77212, .85554, .92399, .97783, 1.01814, 1.04642, 1.06443, 1.07399, 1.07691, 1.07484, 1.06925, 1.06143, 1.0524, 1.04299, 1.03381, 1.0253, 1.01775, 1.0113, 1.006, 1.00182, .99869, .99649, .99508, .99432, .99409, .99423, .99466, 1, 1);--bg:#fff;--card:#f6f6f8;--ink:#23242a;--muted:#6e6f7b;--line:#e6e6ec;--accent:#7142e8;--accent-ink:#fff;--accent-soft:#ede6fc;--status-live:#416d48;--danger:#c13e51;--danger-ink:#fff;--float:#fff;--chrome:#f8f8fa;--shadow:0 16px 48px #1c182821, 0 2px 8px #1c182812;--shadow-soft:0 1px 3px #1c182812;--written:#50515c;--heading:#292a32;--scrim:#14121c2e;--pill:#232229;--pill-ink:#faf9ff;--pill-accent:#ccb6ff}:root:not(.widget){--bg:#fff;--chrome:#f3f3f3;--card:#f6f6f6;--row-hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){:root:not(.widget){--row-hover:color-mix(in srgb, var(--ink) 5%, transparent)}}:root:not(.widget){--float:#fff;--ink:#29292c;--muted:#606066;--heading:#29292c;--written:#54545a;--line:#e6e6e8;--accent:#6f00ff;--accent-ink:#fff;--accent-soft:#f1e6ff;--playback-bg:#e5d4ff;--playback-ink:#35105f;--primary:#6f00ff;--primary-hover:#6200e0;--control:#ececee;--control-hover:#e4e4e7;--control-pressed:#dcdce1;--control-border:transparent;--selected:#e4e2e8;--focus:#6f00ff;--danger:#b63c4d;--danger-ink:#fff;--danger-soft:#f4e5e8;--danger-control-ink:#a13041;--scrim:#16161938;--shadow:0 16px 44px #17171a1a, 0 2px 6px #17171a0d;--shadow-soft:0 1px 2px #17171a08}html,body,#root{height:100%;overflow:hidden}html.main-window,html.main-window body,html.main-window #root{background:0 0}body{background:var(--bg);color:var(--ink);font-family:var(--font-sans);letter-spacing:-.012em;-webkit-font-smoothing:antialiased;font-size:13px}.main-window *{scrollbar-width:thin;scrollbar-color:transparent transparent;scrollbar-gutter:auto}.main-window :is(:hover,:focus-visible,[data-scrolling]){scrollbar-color:var(--muted) transparent}@supports (color:color-mix(in lab, red, red)){.main-window :is(:hover,:focus-visible,[data-scrolling]){scrollbar-color:color-mix(in srgb,var(--muted) 25%,transparent) transparent}}@media (prefers-contrast:more),(forced-colors:active){.main-window :is(*,:hover,:focus-visible,[data-scrolling]){scrollbar-width:auto;scrollbar-color:auto}.main-window ::-webkit-scrollbar{width:6px;height:6px}.main-window ::-webkit-scrollbar-thumb{background:var(--ink);border-radius:3px}.main-window ::-webkit-scrollbar-track{background:0 0}}.drag{-webkit-app-region:drag}.no-drag{-webkit-app-region:no-drag}html.widget,html.widget body,html.widget #root{background:0 0}html.widget{--pill:#232326;--pill-ink:#f7f7fa;--accent:#b780ff;--pill-accent:var(--accent);--widget-line:#48484d}.widget-pill{background:var(--pill);border:1px solid var(--widget-line);box-shadow:none;touch-action:none}.widget-pill:focus-visible{outline:2px solid var(--pill-accent);outline-offset:-3px}.widget-retry{color:#ffb0bd}.widget-morph{visibility:hidden;isolation:isolate;-webkit-user-select:none;user-select:none;color:var(--pill-ink);cursor:default;position:absolute;overflow:hidden}.widget-morph[data-open=true]{cursor:grab}.widget-details{z-index:2;position:absolute;top:0;left:0}.widget-details>*{margin:0;position:absolute;top:0;left:0}.widget-time{white-space:nowrap;font-variant-numeric:tabular-nums;opacity:.8;font-size:10px;font-weight:500;line-height:15px}.widget-preview{color:var(--pill-ink);transform-origin:50% 0;cursor:default;flex-direction:column;padding:0 4px 12px 12px;font-size:14px;line-height:21px;display:flex;position:absolute;top:52px;left:0}.widget-preview[aria-hidden=true]{visibility:hidden;transition:visibility 0s linear var(--dur-base)}.widget-preview[aria-hidden=true] *{animation-play-state:paused!important}[data-testid=widget-wave]{will-change:transform}.widget-preview[aria-hidden=true]{pointer-events:none}.widget-preview-conversation{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:auto;flex:auto;min-height:0;padding:8px 4px 4px 0;overflow-x:hidden;overflow-y:scroll!important}.widget-preview-conversation::-webkit-scrollbar{width:4px}.widget-preview-conversation::-webkit-scrollbar-thumb{background:#ffffff50;border-radius:3px}.widget-preview-turn{flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:16px;display:flex}.widget-preview-turn[data-me=true]{align-items:flex-end}.widget-preview-speaker{color:#b8b8c0;text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding-inline:8px;font-size:12px;font-weight:500;overflow:hidden}.widget-preview-bubble{overflow-wrap:anywhere;background:#ffffff0d;border-radius:12px;max-width:100%;padding:8px 12px}.widget-preview-turn[data-me=true] .widget-preview-bubble{background:#ffffff17}.widget-preview .live-words{color:#c3c3ca}.widget-preview .live-dots i{background:#c3c3ca}.widget-preview-empty{color:#b8b8c0;padding:12px 6px;font-size:13px}.widget-preview-latest{bottom:12px;position:absolute;inset-inline-start:50%;translate:-50%}[dir=rtl] .widget-preview-latest{translate:50%}.widget-preview-warning{background:#ffffff06;border-radius:10px;flex:none;margin:0 8px 12px 0;padding:10px 12px;font-size:12px;line-height:18px}.widget-settings{margin-top:10px;display:flex}.widget-preview .page-loading{--control:#ffffff14}.summary-regenerate{z-index:40;border:1px solid var(--line);background:var(--float);width:420px;max-width:calc(100vw - 32px);box-shadow:var(--shadow);inset-inline-end:0;border-radius:9px;padding:14px;position:absolute;top:calc(100% + 8px);overflow:hidden}.summary-regenerate-heading{white-space:nowrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:12px;font-weight:500;line-height:20px;display:flex}.summary-regenerate-input{border:1px solid var(--control-border);background:var(--control);width:100%;height:36px;color:var(--ink);border-radius:6px;padding:0 10px;font-size:12px}.main-window .summary-regenerate-input:focus-visible{outline:2px solid var(--muted);outline-offset:2px}.summary-regenerate-input::placeholder{color:var(--muted)}.summary-regenerate-warning{color:var(--muted);white-space:nowrap;margin-top:10px;font-size:12px;line-height:20px}.summary-regenerate-actions{justify-content:flex-end;margin-top:12px;display:flex}.note-chip,.note-record-action{height:32px}.note-chip{transition:background-color var(--dur-micro) ease, color var(--dur-micro) ease, opacity var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) ease}.note-chip:hover,.note-chip[aria-expanded=true]{background:var(--control-hover);color:var(--ink)}.note-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.person-remove{opacity:0}.person-row:hover{background:var(--line)}@supports (color:color-mix(in lab, red, red)){.person-row:hover{background:color-mix(in srgb, var(--line) 45%, transparent)}}.person-row:hover .person-remove{opacity:1}.person-row:has(:focus-visible) .person-remove{opacity:1}.menu-entry{transform-origin:var(--transform-origin,top right)}.menu-entry[role=menu]{color:var(--ink);border-color:var(--line);background:var(--float);box-shadow:var(--shadow);border-radius:9px;padding:5px}.menu-entry[role=menu] :is([role=menuitem],[role=menuitemradio],[role=menuitemcheckbox]){border-radius:5px;min-height:32px;padding:6px 9px;font-size:12px;line-height:20px}.menu-entry[role=menu] :is([role=menuitem],[role=menuitemradio],[role=menuitemcheckbox]):hover:not(:disabled){background:var(--control-hover)}.menu-entry[role=menu] :is([role=menuitem],[role=menuitemradio],[role=menuitemcheckbox]):focus-visible{background:var(--selected);outline:none}.menu-entry[role=menu] :is([data-testid=note-delete],.folder-picker-new){border-top:1px solid var(--line);border-radius:0 0 5px 5px;margin-top:4px;padding-top:10px}.people-add-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.people-add-field input:focus-visible{outline:none}.menu-entry[data-anchor=start]{transform-origin:0 0}[dir=rtl] .menu-entry[data-anchor=start]{transform-origin:100% 0}[dir=rtl] .menu-entry[data-anchor=end]{transform-origin:0 0}.menu-entry[data-anchor=bottom-start]{transform-origin:0 100%}[dir=rtl] .menu-entry[data-anchor=bottom-start]{transform-origin:100% 100%}.menu-entry:not([data-motion=instant]){transition:opacity var(--dur-base) var(--ease-out),transform var(--dur-base) var(--ease-out)}.menu-entry:not([data-motion=instant])[data-starting-style]{opacity:0;transform:scale(.97)}@starting-style{.menu-entry:not([data-motion=instant]){opacity:0;transform:scale(.97)}}.menu-entry:not([data-motion=instant])[data-ending-style]{opacity:0;transition:opacity var(--dur-micro) var(--ease-out);pointer-events:none;transform:none}@media (prefers-reduced-motion:reduce){.note-chip,.menu-entry:not([data-motion=instant]){transition:opacity var(--dur-micro) var(--ease-out)}.menu-entry:not([data-motion=instant])[data-starting-style]{transform:none}@starting-style{.menu-entry:not([data-motion=instant]){transform:none}}}@keyframes rec-pulse{50%{opacity:.35}}@keyframes shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.note-prose,.note-empty{font-size:15px;line-height:1.7}.note-prose{color:var(--ink);caret-color:var(--accent)}.note-empty{color:var(--muted)}.note-prose>*+*{margin-top:.4em}.note-prose h1,.note-prose h2,.note-prose h3{font-weight:600;line-height:1.4;position:relative}.note-prose h1{margin-top:1.5em;font-size:19px}.note-prose h2{letter-spacing:-.015em;margin-top:1.7em;font-size:15px}.note-prose h3{margin-top:1.3em;font-size:15.5px}.note-prose>:first-child{margin-top:0}.note-prose h1+ul,.note-prose h2+ul,.note-prose h3+ul,.note-prose h1+ol,.note-prose h2+ol,.note-prose h3+ol{margin-top:.35em}.note-prose ul,.note-prose ol{padding-inline-start:1.15em}.note-prose ul{list-style:outside}.note-prose ul ul{list-style:none}.note-prose ul ul>li{position:relative}.note-prose ul ul>li:before{content:"–";color:var(--muted);position:absolute;inset-inline-start:-1.1em}.note-prose ol{list-style:decimal}.note-prose li{margin-top:.25em;padding-inline-start:.15em}.note-prose li::marker{color:var(--ink)}@supports (color:color-mix(in lab, red, red)){.note-prose li::marker{color:color-mix(in srgb, var(--ink) 70%, transparent)}}.note-prose strong{font-weight:600}.note-prose a{color:var(--accent);text-underline-offset:2px;text-decoration:underline}.note-prose p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--muted);float:inline-start;pointer-events:none;height:0}.note-prose.enhanced{color:var(--written)}.note-prose.enhanced h1,.note-prose.enhanced h2,.note-prose.enhanced h3{color:var(--heading)}.note-prose.enhanced strong,.note-prose .mine{color:var(--ink)}.chat-answer h1:before,.chat-answer h2:before,.chat-answer h3:before{content:none}@keyframes fade-in{0%{opacity:.4}to{opacity:1}}.chat-in{animation:motion-fade var(--dur-base) var(--ease-out) backwards}.fw{animation:fade-in var(--dur-micro) var(--ease-out) both}.chat-answer{font-size:14.5px;line-height:1.6}:where(.stream-caret,.streaming .note-prose):empty:after,:where(.stream-caret,.streaming .note-prose)>:where(:not(ul):not(ol)):last-child:after,:where(.stream-caret,.streaming .note-prose)>:where(ul,ol):last-child>li:last-child>:where(:not(ul):not(ol)):last-child:after,:where(.stream-caret,.streaming .note-prose)>:where(ul,ol):last-child>li:last-child>:where(ul,ol):last-child>li:last-child>:where(:not(ul):not(ol)):last-child:after{content:"●";vertical-align:.1em;color:var(--muted);margin-inline-start:.3em;font-size:.7em;animation:2s cubic-bezier(.4,0,.6,1) infinite caret-pulse}@keyframes caret-pulse{50%{opacity:.35}}.swap{flex:none;place-items:center;display:inline-grid}.swap>*{transition:opacity var(--dur-base) var(--ease-out),filter var(--dur-base) var(--ease-out),transform var(--dur-base) var(--ease-soft);grid-area:1/1;display:inline-flex}.swap>[data-on=false]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.4)}.swap-text{display:inline-grid}.swap-text>*,.swap-text:after{grid-area:1/1}.swap-text[data-widest]:after{content:attr(data-widest);visibility:hidden;height:0;overflow:hidden}.swap-text[data-resize]{transition:width var(--dur-base) var(--ease-out);display:inline-block;overflow:hidden}.swap-text[data-resize]>span{white-space:nowrap;width:max-content;display:block}.swap-text[data-resize] .swap-in{animation-name:motion-fade}@media (prefers-reduced-motion:reduce){.swap-text[data-resize]{transition:none}}.swap-in{animation:swap-in var(--dur-base) var(--ease-out) both}@keyframes swap-in{0%{opacity:0;filter:blur(2px)}}.follow-arrow{transition:transform var(--dur-base) var(--ease-soft)}.follow-arrow[data-up=true]{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.swap>*{transition:opacity var(--dur-micro) var(--ease-out);filter:none!important;transform:none!important}.swap-in{animation:motion-fade var(--dur-micro) var(--ease-out)}.follow-arrow{transition:none}}.accordion{transition:grid-template-rows var(--dur-base) var(--ease-out);grid-template-rows:0fr;display:grid}.accordion[data-open=true]{transition-duration:var(--dur-surface);grid-template-rows:1fr}.accordion>*{opacity:0;visibility:hidden;min-height:0;transition:opacity var(--dur-micro) var(--ease-out),visibility var(--dur-base);overflow:hidden}.accordion[data-open=true]>*{opacity:1;visibility:visible;transition:opacity var(--dur-base) var(--ease-out) 40ms,visibility 0s}@media (prefers-reduced-motion:reduce){.accordion{transition:none}.accordion>*,.accordion[data-open=true]>*{transition:opacity var(--dur-micro) var(--ease-out),visibility var(--dur-micro)}.accordion[data-open=true]>*{transition-delay:0s}}.streaming .note-prose>:last-child>br.ProseMirror-trailingBreak:only-child{display:none}.summary-surface{position:relative}.summary-surface[data-streaming=true]{isolation:isolate}.summary-surface[data-streaming=true] .note-prose{z-index:1;position:relative}.summary-ink-layer{pointer-events:none;width:100%;height:100%;fill:var(--accent);position:absolute;inset:0;overflow:hidden}.summary-surface:not([data-streaming=true])>.summary-ink-layer{display:none}.summary-ink{color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.summary-ink{color:color-mix(in srgb, var(--accent) var(--ink-fresh,0%), var(--ink-target))}}.enhanced{--ink-target:var(--written)}.enhanced :is(h1,h2,h3){--ink-target:var(--heading)}.enhanced :is(strong,.mine){--ink-target:var(--ink)}.enhanced a{--ink-target:var(--accent)}.summary-outline{pointer-events:none;padding-top:5px;font-size:15px}.summary-outline-bar{background:linear-gradient(90deg,var(--line) 0%,var(--line) 50%,var(--line) 100%);border-radius:3px;height:8px}@supports (color:color-mix(in lab, red, red)){.summary-outline-bar{background:linear-gradient(90deg,var(--line) 0%,color-mix(in srgb,var(--line) 40%,var(--card)) 50%,var(--line) 100%)}}.summary-outline-bar{background-size:200% 100%;animation:1.6s ease-in-out infinite shimmer}.summary-outline-heading{width:30%;height:11px;margin-bottom:16px}.summary-outline-block+.summary-outline-block{margin-top:29px}.summary-outline-bullet{align-items:center;gap:calc(1.3em - 4px);margin-bottom:14px;display:flex}.summary-outline-bullet:before{content:"";background:var(--line);border-radius:50%;flex:none;width:4px;height:4px}.summary-outline-bullet .summary-outline-bar{width:80%}.summary-outline-bullet:nth-child(3) .summary-outline-bar{width:58%}.summary-outline-block+.summary-outline-block .summary-outline-bullet:nth-child(2) .summary-outline-bar{width:70%}.summary-heading-bar{background:linear-gradient(90deg, var(--line) 0%, var(--line) 50%, var(--line) 100%);inset-inline-start:0;border-radius:4px;width:142px;max-width:100%;height:12px;position:absolute;top:5px}@supports (color:color-mix(in lab, red, red)){.summary-heading-bar{background:linear-gradient(90deg, var(--line) 0%, color-mix(in srgb, var(--line) 40%, var(--card)) 50%, var(--line) 100%)}}.summary-heading-bar{pointer-events:none;transform-origin:0;background-size:200% 100%}.summary-surface[data-waiting=true]>.summary-heading-bar{animation:1.6s ease-in-out infinite shimmer}.summary-surface[data-waiting=true] .note-prose:after,.summary-surface[data-waiting=true] .note-prose :after{content:none}@media (prefers-reduced-motion:reduce){.summary-heading-bar{animation:none!important}.summary-outline-bar,.summary-outline-block{opacity:.75;animation:none}.summary-ink{color:inherit}.summary-ink-layer{display:none}}.chat-answer>*+*{margin-top:.45em}@media (prefers-reduced-motion:reduce){.chat-in,.fw{animation:motion-fade var(--dur-micro) var(--ease-out)}.stream-caret:after,.stream-caret :after,.streaming .note-prose:after,.streaming .note-prose :after{animation:none}}.line-in{animation:motion-fade var(--dur-base) var(--ease-out) backwards}.bubble{text-align:start;overflow-wrap:anywhere;max-width:min(85%,560px);color:var(--ink);border-radius:9px;padding:5px 10px;font-size:13.5px;line-height:1.5}.bubble-me,.bubble-them{background:var(--control)}.bubble .line{-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:4px}.bubble [data-playing]:before{content:none}.turn-time{opacity:0;transition:opacity var(--dur-micro) var(--ease-out)}.transcript-turn:hover .turn-time{opacity:1}.transcript-turn:has([data-playing]) .turn-time{opacity:1}.live-words{color:var(--muted)}.live-word{animation:motion-fade var(--dur-base) var(--ease-out) backwards}.live-dots{vertical-align:-.1em;align-items:center;gap:3px;height:1em;margin-inline-start:7px;display:inline-flex}.live-dots i{background:var(--muted);border-radius:999px;width:4px;height:4px;animation:1.2s ease-in-out infinite live-dot}.live-dots i:nth-child(2){animation-delay:.2s}.live-dots i:nth-child(3){animation-delay:.4s}@keyframes live-dot{0%,80%,to{opacity:.3}40%{opacity:1}}.line-settle{animation:line-settle var(--dur-surface) var(--ease-out)}@keyframes line-settle{0%{color:var(--muted)}to{color:var(--ink)}}@media (prefers-reduced-motion:reduce){.live-word{animation:motion-fade var(--dur-micro) var(--ease-out)}.line-settle{animation:none}.live-dots i{opacity:.6;animation:none}}.line-playable{transition:background-color var(--dur-micro) ease}.line-playable:hover{background:var(--line)}@supports (color:color-mix(in lab, red, red)){.line-playable:hover{background:color-mix(in srgb, var(--line) 55%, transparent)}}.line-playable:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}[data-playing]{background:var(--playback-bg);color:var(--playback-ink);box-shadow:0 0 0 1px var(--accent);position:relative}@supports (color:color-mix(in lab, red, red)){[data-playing]{box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 55%,transparent)}}[data-playing]:before{content:"";background:var(--accent);inset-inline-start:2px;border-radius:2px;width:2px;position:absolute;top:7px;bottom:7px}.line-playable[data-playing]:hover{background:var(--playback-bg)}[data-playing] .line-time{opacity:1;color:var(--accent)}.transcript-turn:has([data-playing]) .line-who:not([data-color]){color:var(--accent)}.name-in{animation:motion-fade var(--dur-base) var(--ease-out) backwards}.player-btn{transition:transform var(--dur-micro) var(--ease-out), opacity var(--dur-micro) var(--ease-out)}.player-btn:hover{opacity:.88}.player-btn:active{transform:scale(.97)}.scrubber{appearance:none;cursor:pointer;background:0 0;height:16px}.scrubber::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--accent) var(--fill), var(--line) var(--fill));border-radius:999px;height:3px}[dir=rtl] .scrubber::-webkit-slider-runnable-track{background:linear-gradient(to left, var(--accent) var(--fill), var(--line) var(--fill))}.scrubber::-webkit-slider-thumb{-webkit-appearance:none;background:var(--accent);width:11px;height:11px;box-shadow:0 0 0 3px var(--float);border-radius:999px;margin-top:-4px}.scrubber:focus-visible{outline:none}.scrubber:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px var(--float), 0 0 0 5px var(--accent)}@media (prefers-reduced-motion:reduce){.line-in,.name-in{animation:motion-fade var(--dur-micro) var(--ease-out)}}.bar-btn{transition:transform var(--dur-micro) var(--ease-out), opacity var(--dur-micro) var(--ease-out), background-color var(--dur-micro) ease, color var(--dur-micro) ease}.bar-btn:hover{color:var(--ink);background:var(--card)}.note-title-btn{transition:background-color var(--dur-micro) ease}.note-title-btn:hover{background:var(--line)}@supports (color:color-mix(in lab, red, red)){.note-title-btn:hover{background:color-mix(in srgb, var(--line) 60%, transparent)}}.note-title-btn:focus-visible,.bar-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.past-day{content-visibility:auto;contain-intrinsic-size:auto 320px}.search-backdrop{background:var(--scrim)}.search-panel{z-index:101;width:min(640px,100vw - 32px);height:min(560px,74vh);box-shadow:var(--shadow);border-radius:12px;outline:none;position:fixed;top:12vh;left:50%;translate:-50%}.search-header{border-bottom:1px solid var(--line);flex:none}.search-input-row{align-items:center;padding-inline:20px;display:flex}.search-field{min-width:0;font-size:var(--text-base);flex:1;line-height:24px;position:relative}.search-field input{width:100%;min-width:0;height:60px;color:var(--ink);caret-color:var(--accent);font:inherit;letter-spacing:inherit;background:0 0;border:0;outline:none;padding:18px 0;display:block;position:relative}.search-field input::placeholder{color:var(--muted);font-weight:400}.search-input-highlight{white-space:pre;pointer-events:none;color:#0000;padding-block:18px;position:absolute;inset:0;overflow:hidden}.search-input-highlight>span{min-width:100%;display:inline-block}.search-input-highlight mark{background:var(--accent-soft);color:#0000;border-radius:3px;padding:0}.search-filters{flex-wrap:wrap;gap:8px;padding:0 20px 12px;display:flex}.search-filter{background:var(--control);min-width:0;max-width:100%;min-height:28px;color:var(--muted);border-radius:6px;align-items:center;gap:7px;padding:3px 4px 3px 8px;font-size:12px;display:flex}.search-filter>svg,.search-filter>button{flex:none}.search-filter>button{border-radius:4px;place-items:center;width:22px;height:22px;display:grid}.search-filter>button:hover{color:var(--ink);background:var(--control-hover)}.search-filter>button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.command-section{font-size:var(--text-xs);color:var(--muted);padding:12px 12px 4px;font-weight:500;line-height:16px}.command-row{min-height:40px;font-size:var(--text-sm);cursor:default;border-radius:7px;align-items:center;gap:10px;padding:8px 12px;font-weight:500;line-height:20px;display:flex}.search-row>svg,.search-row>.folder-glyph{width:16px;height:16px;color:var(--muted);flex:none}.search-filter>.folder-glyph{color:var(--muted)}.command-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.search-meeting{cursor:default;border-radius:7px;align-items:center;gap:10px;min-height:48px;padding:8px 12px;display:flex}.search-metadata{max-width:35%;color:var(--muted);font-size:var(--text-xs);text-align:end;font-variant-numeric:tabular-nums;flex:none;line-height:18px}.search-metadata>span{display:block}.search-return{visibility:hidden;flex:none}.search-row[aria-selected=true] .search-return{visibility:visible}.search-key{min-width:20px;height:20px;font:var(--text-xs) var(--font-sans);white-space:nowrap;color:var(--muted);background:var(--control);border:1px solid #0000;border-radius:4px;flex:none;place-items:center;padding:0 4px;display:inline-grid}.search-footer{border-top:1px solid var(--line);min-height:44px;color:var(--muted);font-size:var(--text-xs);background:var(--card);flex:none;align-items:center;gap:14px;padding:10px 20px;display:flex}.search-footer>span{white-space:nowrap;align-items:center;gap:5px;display:flex}@media (width<=480px){.search-input-row,.search-filters{padding-inline:16px}.search-footer{flex-wrap:wrap;gap:8px 12px;padding-inline:16px}}.search-panel [data-testid=search-input]:focus-visible{outline:none}.app-modal{z-index:101;border:1px solid var(--line);background:var(--float);width:min(340px,100vw - 40px);max-height:calc(100vh - 40px);color:var(--ink);box-shadow:var(--shadow);text-align:start;border-radius:16px;outline:none;padding:0;position:fixed;top:50%;left:50%;overflow:auto;translate:-50% -50%}.app-modal-backdrop{z-index:100;background:var(--scrim);position:fixed;inset:0;pointer-events:auto!important}.dialog-motion{transform-origin:50%;transition:opacity var(--dur-surface) var(--ease-out),transform var(--dur-surface) var(--ease-soft);flex-direction:column;display:flex}.dialog-motion[data-starting-style]{opacity:0;transform:scale(.97)}@starting-style{.dialog-motion{opacity:0;transform:scale(.97)}}.dialog-motion[data-ending-style]{opacity:0;transition-duration:var(--dur-base);transition-timing-function:var(--ease-out);transform:scale(.98)}@media (prefers-reduced-motion:reduce){.dialog-motion,.dialog-motion[data-ending-style]{transition:opacity var(--dur-micro) var(--ease-out)}.dialog-motion[data-starting-style],.dialog-motion[data-ending-style]{transform:none}@starting-style{.dialog-motion{transform:none}}}.app-modal[data-testid=delete-confirm]{border-radius:17px;width:min(294px,100vw - 40px)}.app-modal[data-testid=delete-confirm] .modal-copy{padding:21px 19px 20px}.app-modal[data-testid=delete-confirm] .modal-copy p{font-size:11px;line-height:17px}.app-modal[data-testid=delete-confirm] .modal-actions{padding:0 19px 17px}.app-modal[data-testid=delete-confirm] .modal-button{border-radius:8px;min-height:32px}.modal-copy{padding:22px 20px 18px}.modal-copy h2{letter-spacing:-.15px;overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:20px}.modal-copy p{color:var(--muted);margin-top:8px;font-size:12px;line-height:18px}.inline-error{border:1px solid var(--line);background:var(--float);color:var(--written);text-align:start;text-overflow:ellipsis;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;font-size:13px;line-height:20px;display:flex}.inline-error>svg{color:var(--danger);flex:none;align-self:flex-start;margin-block-start:2px}.inline-error>span{overflow-wrap:anywhere;flex:1;min-width:0}.inline-error-in-dialog{background:0 0;border:0;border-radius:0;margin:0 19px 16px;padding:0;font-size:12px;line-height:18px}.modal-actions{flex-direction:column;gap:7px;padding:0 20px 20px;display:flex}.modal-button{background:var(--control);width:100%;min-height:33px;transition:background-color var(--dur-micro) ease;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;padding:6px 12px;font-size:12px;font-weight:500;display:inline-flex}.modal-button:hover:not(:disabled){background:var(--control-hover)}.modal-button.danger{color:var(--danger-control-ink);background:var(--danger-soft)}.modal-button.danger:hover:not(:disabled){background:var(--danger-soft)}@supports (color:color-mix(in lab, red, red)){.modal-button.danger:hover:not(:disabled){background:color-mix(in srgb,var(--danger-soft) 87%,var(--danger))}}.modal-button.primary{background:var(--primary);color:#fff}.modal-button.primary:hover:not(:disabled){background:var(--primary-hover)}.modal-button:disabled{opacity:.55}.search-row[aria-selected=true]{background:var(--selected)}.search-mark{background:var(--accent-soft);color:var(--ink);border-radius:3px;padding:0 1px}@media (prefers-reduced-motion:reduce){.bar-btn{transition:none}}.window-bar{background:var(--chrome);border-bottom:1px solid var(--line)}button{-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,input:focus-visible,[role=button]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus-visible{border-radius:5px}input::selection{background:var(--accent-soft)}textarea::selection{background:var(--accent-soft)}.note-prose ::selection{background:var(--accent-soft)}.editor-menu{z-index:40}.editor-toolbar{border:1px solid var(--line);background:var(--float);box-shadow:var(--shadow);border-radius:10px;align-items:center;gap:2px;padding:4px;display:flex}.editor-toolbar button{width:30px;height:30px;color:var(--written);border-radius:6px;place-items:center;display:grid}.editor-toolbar button:hover{background:var(--control-hover);color:var(--ink)}.editor-toolbar button[aria-pressed=true]{background:var(--selected);color:var(--ink)}.editor-toolbar button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.home-content{max-width:880px}.home-content>header{padding-bottom:2px}.calendar-schedule{background:var(--bg)}.calendar-schedule [data-testid=event]+[data-testid=event]{border-top:1px solid var(--line)}.calendar-schedule [data-testid=event]{min-height:76px}.past-day>ul{border:1px solid var(--line);border-radius:10px;overflow:hidden}.card-row+.card-row{border-top:1px solid var(--line)}.document-main{background:var(--bg)}.document-body{padding-top:86px}.document-meta{padding-bottom:18px}.note-layout{min-height:0}.note-page-width{width:100%;max-width:860px;margin-inline:auto;padding-inline:clamp(20px,10cqw - 42px,48px)}.note-header{flex:none;padding-top:84px}.note-metadata{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.note-meta-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.note-header-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.note-recording-status{color:var(--muted);white-space:nowrap;align-items:center;gap:8px;padding-inline:10px;display:flex}.note-elapsed{font-variant-numeric:tabular-nums;min-width:36px;color:var(--muted);text-align:end;margin-inline:4px 8px;font-size:11px}.note-primary-tabs{border-bottom:1px solid var(--line);gap:24px;margin-top:22px;display:flex;position:relative}.note-primary-tabs [role=tab]{height:36px;color:var(--muted);border-bottom:2px solid #0000;align-items:center;gap:7px;padding-inline:1px;font-size:13px;font-weight:500;display:flex}.note-primary-tabs [role=tab][aria-selected=true],.note-primary-tabs [role=tab]:hover{color:var(--ink)}.note-primary-tabs[data-summary-arriving=true] #note-summary-tab{animation:summary-tab-arrive var(--dur-micro) var(--ease-out) both}@keyframes summary-tab-arrive{0%{opacity:0}}.note-reading-area{flex:1;min-height:0;display:flex;position:relative}.note-panels{contain:layout;flex:1;min-width:0;min-height:0;display:flex}:is(.note-panels,.ask-page)::view-transition-group(root){animation:none}:is(.note-panels,.ask-page)::view-transition-old(root){animation:none;display:none}:is(.note-panels,.ask-page)::view-transition-new(root){animation:note-panel-in var(--dur-micro) var(--ease-out) both;mix-blend-mode:normal}@keyframes note-panel-in{0%{opacity:0}}.note-tab-indicator{height:2px;width:var(--tab-width,0px);background:var(--primary);transform:translateX(var(--tab-x,0px));pointer-events:none;inset-inline-start:0;border-radius:1px;position:absolute;bottom:-1px}@media (prefers-reduced-motion:no-preference){.note-layout[data-tab-pointer=true] .note-tab-indicator{transition:transform var(--dur-base) var(--ease-out),width var(--dur-base) var(--ease-out)}}.note-content{flex:1;min-width:0;min-height:0}.main-window .note-notes-pane{scrollbar-gutter:stable both-edges;overflow-y:auto}.note-notes-pane[hidden]{display:none}.note-notes-body{padding-top:22px;padding-bottom:40px}.note-transcript-pane{contain:layout style;--transcript-inset:calc(max(0px,(100% - 860px)/2) + clamp(20px,calc(10cqw - 42px),48px));display:flex}.transcript-turn{contain:layout style}.note-footer{background:var(--bg);--note-footer-line:var(--line);flex:none}@supports (color:color-mix(in lab, red, red)){.note-footer{--note-footer-line:color-mix(in srgb,var(--line) 60%,var(--bg))}}.note-footer-bar{min-height:var(--workspace-footer-height);border-top:1px solid var(--note-footer-line);justify-content:space-between;align-items:center;gap:12px;padding:8px 24px;display:flex}.note-footer-bar:not(:first-child){margin-top:8px}@media (prefers-contrast:more){.note-footer{--note-footer-line:var(--line)}}.note-status{min-width:0}.note-footer-bar>.chat-trigger{flex-shrink:0}.chat-trigger kbd{color:var(--muted);margin-inline-start:8px;font-family:inherit;font-size:11px;font-weight:400}.note-footer>[data-testid=note-stop-unsaved]{max-width:min(760px,100% - 48px);margin-inline:auto}.note-record-hint{max-width:760px;color:var(--written);justify-content:center;align-items:flex-start;gap:7px;margin:8px auto 0;padding-inline:24px;font-size:12px;line-height:18px;display:flex}.note-record-hint>svg{margin-top:2px}.note-recording-group{flex-wrap:wrap;align-items:center;gap:8px;min-height:30px;display:flex}.note-recording-group[data-recording=true]{border:1px solid var(--line);background:var(--float);height:30px;box-shadow:var(--shadow-soft);border-radius:6px;flex-wrap:nowrap;gap:0}.note-recording-group[data-recording=true] .note-elapsed{margin:0}.note-recording-group[data-recording=true] .note-record-action{border:0;border-inline-start:1px solid var(--line);min-width:0;height:28px;box-shadow:none;color:var(--muted);background:0 0;border-radius:0;flex:none;padding-inline:12px}.note-recording-group[data-recording=true] .note-pause-action{width:30px;padding:0}.note-recording-group[data-recording=true] .note-record-action:last-child{border-start-end-radius:6px;border-end-end-radius:6px}.note-recording-group[data-recording=true] .note-record-action:hover:not(:disabled){background:var(--control-hover);color:var(--ink)}.note-recording-group[data-recording=true] .note-record-action:active:not(:disabled){background:var(--control-pressed)}.note-recording-group[data-recording=true] .note-finish-action{background:var(--primary);color:#fff;min-width:68px;height:30px;margin-block:-1px;margin-inline-end:-1px}.note-recording-group[data-recording=true] .note-finish-action:hover:not(:disabled),.note-recording-group[data-recording=true] .note-finish-action:active:not(:disabled){background:var(--primary-hover);color:#fff}.note-recording-group[data-recording=true] .note-finish-action:focus-visible{outline-offset:-3px;outline-color:#fff}.note-finishing{border:1px solid var(--line);height:30px;color:var(--muted);border-radius:6px;align-items:center;padding-inline:10px;font-size:12px;display:flex}.workspace .note-record-action:focus-visible{outline-offset:-2px}.chat-panel{z-index:70;inset-block:auto var(--chat-bottom,72px);width:420px;max-width:calc(100% - 32px);height:min(440px,var(--chat-height,440px),calc(100dvh - var(--chat-bottom,72px) - 68px));border:1px solid var(--line);background:var(--float);min-height:0;max-height:none;color:var(--ink);border-radius:12px;margin:0;padding:0;position:fixed;inset-inline:auto 24px;overflow:visible;box-shadow:0 16px 48px #0000002e,0 4px 12px #00000014}.chat-panel[open]{flex-direction:column;display:flex}.chat-panel{box-shadow:none;background:0 0;border-color:#0000}.chat-morph-surface{pointer-events:none;border:1px solid var(--line);border-radius:inherit;background:var(--float);width:calc(100% + 2px);height:calc(100% + 2px);position:absolute;inset:-1px auto auto -1px;box-shadow:0 16px 48px #0000002e,0 4px 12px #00000014}.chat-panel-contents{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.chat-trigger[aria-expanded=true]{opacity:0}[data-icon]{flex:none}[data-icon=Loader]{animation:1s linear infinite icon-spin}[data-icon] path{transform-box:fill-box;transform-origin:50%}@keyframes icon-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){[data-icon=Loader]{animation:none}}.chat-latest{z-index:1;bottom:8px;position:absolute;inset-inline-start:calc(50% - 14px)}.chat-answer-actions{align-items:center;gap:8px;margin-top:6px;display:flex}.ask-turn .chat-answer-actions{opacity:0;transition:opacity var(--dur-base) ease,transform 0s linear var(--dur-base);transform:translateY(2px)}.ask-turn:is([data-show-copy],:hover,:focus-within) .chat-answer-actions{opacity:1;transition:opacity var(--dur-surface) var(--ease-out) 60ms,transform var(--dur-surface) var(--ease-out) 60ms;transform:none}@starting-style{.ask-turn[data-show-copy] .chat-answer-actions{opacity:0;transform:translateY(2px)}}.ask-turn[data-show-copy] .chat-answer-actions{transition-delay:.15s}@media (prefers-reduced-motion:reduce){.ask-turn .chat-answer-actions,.ask-turn:is([data-show-copy],:hover,:focus-within) .chat-answer-actions{transition:opacity var(--dur-micro) var(--ease-out);transform:none}}@media (hover:none){.ask-turn .chat-answer-actions{opacity:1}}.chat-answer-scope{min-width:0;color:var(--muted);white-space:pre;align-items:center;margin-inline-start:-5px;font-size:11px;line-height:16px;display:flex}.chat-answer-scope:before{content:"·";flex:none;margin-inline-end:8px}.chat-copy-action{margin-inline-start:-10px}.chat-progress{color:var(--muted);align-items:center;gap:9px;padding-block:5px;font-size:13px;line-height:20px;display:flex}.thinking-dots{width:18px;height:20px;color:var(--accent);flex:none}.chat-step{animation:.24s ease-out step-in}@keyframes step-in{0%{opacity:0}to{opacity:1}}.chat-step{background:linear-gradient(100deg,var(--muted) 35%,var(--ink) 50%,var(--muted) 65%) 0 0 / 250% 100%;color:#0000;-webkit-background-clip:text;background-clip:text;animation:.24s ease-out step-in,2.2s linear infinite step-shimmer}@keyframes step-shimmer{0%{background-position:100% 0}to{background-position:-150% 0}}@media (prefers-reduced-motion:reduce){.chat-step{color:inherit;background:0 0;animation:none}}.thinking-dots-static{justify-content:space-between;align-items:center;display:flex}.thinking-dots-static i{opacity:.65;background:currentColor;border-radius:50%;width:4px;height:4px}.thinking-dots-static i:nth-child(2){opacity:.81}.thinking-dots-static i:nth-child(3){opacity:.97}.chat-panel .chat-history{overscroll-behavior:contain;flex:1;min-width:0;min-height:0;padding:0 16px 20px;overflow-y:auto}.chat-panel .chat-composer{flex-shrink:0}.chat-error{color:var(--danger);margin:0 0 10px;font-size:12px;line-height:18px}@media (width<=999px){.chat-panel{inset-inline-end:16px}.chat-panel::backdrop{background:#00000029}}@media (width<=999px) and (height<=420px){.chat-panel{height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);inset-block:16px}}.note-record-action{border:1px solid var(--line);background:var(--float);box-shadow:var(--shadow-soft);color:var(--ink);white-space:nowrap;transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding-inline:12px;font-size:12px;font-weight:500;display:flex}.note-record-action:hover:not(:disabled){background:var(--control-hover)}.note-record-action:active:not(:disabled){background:var(--control-pressed);box-shadow:none}.note-record-action:disabled{opacity:.45}.note-record-action.primary{background:var(--primary);border-color:var(--primary);color:#fff}.note-record-action.primary:hover:not(:disabled){background:var(--primary-hover)}@media (prefers-reduced-motion:reduce){.note-record-action{transition:none}}[data-testid=transcript-panel]{border-radius:12px}.note-primary-tools{flex:1;align-self:flex-start;align-items:center;min-width:32px;height:34px;margin-inline-start:auto;display:flex;container-type:inline-size}.note-primary-tools .transcript-toolbar{border:0;flex-wrap:nowrap;justify-content:flex-end;width:100%;padding:0}.note-primary-tools .transcript-find-clip{width:clamp(240px,100cqw,376px)}.note-primary-tools .transcript-actions{order:-1;margin-inline-start:0}.transcript-toolbar{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:10px 12px;display:flex}.note-primary-tabs{z-index:2}.transcript-find{z-index:2;clip-path:inset(-4px -4px -4px -600px);width:32px;height:32px;position:relative}.ghost-btn.transcript-find-trigger{opacity:1;width:32px;height:32px;transition:opacity var(--dur-micro) var(--ease-out) var(--dur-micro);justify-content:center;padding:0}.transcript-find[data-open=true] .transcript-find-trigger{opacity:0;pointer-events:none;transition-delay:0s}.transcript-find-clip{opacity:0;pointer-events:none;width:min(376px,100vw - 48px);height:32px;transition:transform var(--dur-micro) var(--ease-out),opacity var(--dur-micro) var(--ease-out);inset-inline-end:0;border-radius:6px;position:absolute;top:0;overflow:hidden;transform:translate(calc(100% - 32px))}.transcript-search-field{background:var(--control);height:32px;transition:transform var(--dur-micro) var(--ease-out);border-radius:6px;align-items:center;gap:8px;padding-inline:10px 4px;display:flex;transform:translate(calc(32px - 100%))}.transcript-find[data-open=true] .transcript-find-clip{opacity:1;pointer-events:auto;transition-duration:var(--dur-base);transform:none}.transcript-find[data-open=true] .transcript-search-field{transition-duration:var(--dur-base);transform:none}.transcript-search-field:focus-within{box-shadow:inset 0 0 0 1px var(--ink)}@supports (color:color-mix(in lab, red, red)){.transcript-search-field:focus-within{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 22%,transparent)}}[data-testid=transcript-search]{width:0;min-width:0;height:100%;color:var(--ink);text-align:start;background:0 0;border:0;flex:1;padding:0;font-size:13px;font-weight:400;line-height:20px}[data-testid=transcript-search]::placeholder{color:var(--muted)}[data-testid=transcript-search]:focus-visible{box-shadow:none;outline:none}.transcript-find-controls{flex:none;align-items:center;gap:8px;display:flex}.transcript-find-results{opacity:0;pointer-events:none;transition:opacity var(--dur-micro) var(--ease-out);flex:none;align-items:center;gap:8px;display:flex}.transcript-find-results[data-visible=true]{opacity:1;pointer-events:auto}.transcript-find-count{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:end;flex:none;font-size:11px;line-height:20px;display:grid}.transcript-find-count>span{grid-area:1/1}.transcript-find-reserve{visibility:hidden}.transcript-find-arrows{flex:none;align-items:center;gap:2px;display:flex}.transcript-find-controls svg{display:block}.transcript-find-close{opacity:0;transition:opacity var(--dur-micro) var(--ease-out)}.transcript-find[data-open=true] .transcript-find-close{opacity:1;transition-delay:var(--dur-micro)}::highlight(transcript-find){background:var(--accent-soft);color:var(--ink)}::highlight(transcript-find-current){background:var(--primary);color:#fff}.transcript-find:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:inset(-4px -600px -4px -4px)}.transcript-find:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .transcript-find-clip{transform:translate(calc(32px - 100%))}.transcript-find:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .transcript-search-field{transform:translate(calc(100% - 32px))}.transcript-find:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))[data-open=true] :is(.transcript-find-clip,.transcript-search-field){transform:none}.note-primary-tools [data-find-below=true] .transcript-find{clip-path:inset(-4px -4px -48px -600px)}.note-primary-tools [data-find-below=true] .transcript-find:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){clip-path:inset(-4px -600px -48px -4px)}.note-primary-tools [data-find-below=true] .transcript-find-clip{width:min(376px,100vw - 60px);top:40px}@media (prefers-reduced-motion:reduce){.transcript-find[data-open] :is(.transcript-find-trigger,.transcript-find-clip,.transcript-search-field,.transcript-find-results,.transcript-find-close){transition:none}}.transcript-actions{align-items:center;gap:4px;margin-inline-start:auto;display:flex}@media (width<=600px){.window-wordmark{display:none}.note-header{padding-top:76px}.note-header .note-title-type{font-size:23px}.note-meta-row{gap:8px;margin-top:10px}.note-header-actions{gap:8px}.note-primary-tabs{flex-wrap:wrap;gap:16px;margin-top:12px}.note-primary-tools{max-width:100%}}@media (height<=420px){.note-layout{overflow-y:auto}.note-reading-area{flex:none;height:180px;min-height:180px}[data-testid=transcript-panel]{height:36vh}}[data-testid=transcript-panel].transcript-inline{width:100%;height:auto;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;flex:1;display:flex;position:relative}.transcript-inline>.transcript-toolbar{border:0;padding-block:4px 8px;padding-inline:0}.transcript-inline [data-testid=transcript]{padding-inline:var(--transcript-inset);padding-top:22px}[data-testid=transcript-panel] [data-testid=transcript]{padding-bottom:max(16px,var(--playback-inset));scroll-padding-bottom:var(--playback-inset)}.transcript-player-dock{z-index:1;clip-path:inset(-16px -16px -12px);inset-inline:max(16px,50% - 206px);position:absolute;bottom:12px}.transcript-player{border:1px solid var(--line);background:var(--float);border-radius:22px;padding:5px 8px}@supports (color:color-mix(in lab, red, red)){.transcript-player{background:color-mix(in srgb,var(--float) 96%,transparent)}}.transcript-player{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);opacity:1;transition:opacity var(--dur-micro) var(--ease-out),transform var(--dur-player-return) var(--ease-player-return);transform:translateY(0);box-shadow:0 2px 8px #0000000d}.transcript-player-dock[data-hidden=true] .transcript-player{opacity:0;pointer-events:none;transition:transform var(--dur-player-duck) var(--ease-player-duck),opacity calc(var(--dur-player-duck)/4) linear calc(var(--dur-player-duck)*.75);transform:translateY(calc(100% + 12px))}@media (prefers-reduced-motion:reduce){.transcript-player,.transcript-player-dock[data-hidden=true] .transcript-player{transition:opacity var(--dur-micro) var(--ease-out);transform:none}}[data-testid=transcript-panel] [data-testid=transcript-follow]{bottom:calc(var(--playback-inset) + 8px)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.transcript-player{background:var(--float);-webkit-backdrop-filter:none;backdrop-filter:none}}html:not(.widget) .bg-accent{background-color:var(--primary)}html:not(.widget) button:focus-visible,html:not(.widget) input:focus-visible{outline-color:var(--focus)}@media (prefers-reduced-motion:reduce){.modal-button,.chat-page .chat-box,.chat-page .chat-send{transition:none}}.search-footer>button{margin-inline-start:auto}.app-modal[data-testid=shortcuts-dialog]{flex-direction:column;width:min(460px,100vw - 40px);height:min(580px,80vh);display:flex;overflow:hidden}.app-modal[data-testid=shortcuts-dialog] .modal-copy{flex:none;padding:22px 24px 18px}.shortcuts-close{inset-inline-end:16px;position:absolute;top:18px}.shortcuts-search{border:1px solid var(--line);color:var(--muted);border-radius:7px;align-items:center;gap:10px;margin:0 24px 12px;padding:9px 11px;display:flex}.shortcuts-search:focus-within{border-color:var(--accent)}.shortcuts-search input{width:100%;min-width:0;color:var(--ink);background:0 0;outline:none;font-size:13px}.shortcuts-list{flex:1;min-height:0;padding:0 24px 22px;overflow-y:auto}.shortcuts-list section+section{margin-top:20px}.shortcuts-list h3{color:var(--muted);padding:10px 0 7px;font-size:11px;font-weight:500}.shortcuts-list dl>div{justify-content:space-between;align-items:center;gap:18px;min-height:34px;font-size:13px;display:flex}.shortcuts-list kbd{font:12px var(--font-sans);white-space:nowrap;color:var(--muted)}.shortcuts-empty{color:var(--muted);text-align:center;padding-top:24px;font-size:13px}.note-transcript-pane[hidden]{display:none!important}.page-loading{pointer-events:none}.loading-prose{gap:12px;padding-block:6px;display:grid}.note-title-type{letter-spacing:-.03em;font-size:28px;font-weight:600;line-height:1.25}.loading-note-chip{background:var(--control);border-radius:7px;max-width:30%;height:32px}.loading-transcript-turns{gap:12px;display:grid}.loading-folder-icon{background:var(--control);border-radius:4px;flex:none;width:16px;height:16px}.loading-checkbox{background:var(--control);border-radius:3px;width:14px;height:14px}.loading-note-frame,.loading-note-frame>.loading-result{height:100%}.people-card{max-height:var(--people-available-height,calc(100dvh - 200px));overscroll-behavior:contain;flex-direction:column;display:flex;overflow-y:auto}.people-card>*{flex-shrink:0}.people-card .people-list{overscroll-behavior:contain;flex-shrink:1;min-height:40px}.grouped-people{max-height:386px}.grouped-people section+section{margin-top:6px}.company-heading{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;padding:8px 10px 3px;font-size:11px;font-weight:500;line-height:16px;overflow:hidden}.grouped-people .person-row{gap:9px}.person-initials{background:var(--control);width:28px;height:28px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:10px;font-weight:500;display:grid}:is(.line-who,.widget-preview-speaker)[data-folder-color]{color:var(--folder-ink)}.note-date-card{--note-date-ms:var(--dur-base);--note-date-ease:var(--ease-out)}.note-date-swap{position:relative;overflow:hidden}.note-date-retiring{pointer-events:none;position:absolute;inset:0 0 auto}.note-date-retiring,.note-date-retiring *{transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){.note-date-card{--note-date-ms:0s}}.note-date-card .agenda-inspector-heading h3{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.note-date-linked{flex-direction:column;display:flex}.note-date-picker-space{padding-top:0}.note-date-linked .note-date-picker-motion{margin-inline:-8px}.note-date-linked .note-date-picker-motion[data-open=true]{margin-top:12px}.note-date-linked:last-child .note-date-picker-motion[data-open=true]{margin-bottom:-8px}.note-date-motion,.note-date-motion[data-open=true]{transition:grid-template-rows var(--note-date-ms) var(--note-date-ease),margin-top var(--note-date-ms) var(--note-date-ease),margin-bottom var(--note-date-ms) var(--note-date-ease)}.note-date-motion>*{transition:opacity var(--note-date-ms) var(--note-date-ease),visibility 0s var(--note-date-ms)}.note-date-motion[data-open=true]>*{transition:opacity var(--note-date-ms) var(--note-date-ease),visibility 0s}.note-date-details-motion[data-open=false]{margin-top:-16px}.note-date-linked .note-date-link{gap:6px}.note-date-details{flex-direction:column;gap:16px;display:flex}.note-date-event-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}.note-date-event-toggle{text-align:start;border-radius:6px;align-items:flex-start;gap:10px;width:calc(100% + 16px);margin:-8px;padding-block:3px 5px;padding-inline:8px 5px;display:flex}.note-date-color{border-radius:3px;flex:none;width:10px;height:10px;margin-top:5px}.note-date-actions{min-height:28px}.note-date-actions .note-date-access{flex-wrap:nowrap}.note-date-actions p{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.note-date-reveal{opacity:1;transition:opacity var(--dur-micro) var(--ease-out)}.note-date-reveal[data-ready=false]{opacity:0}@media (prefers-reduced-motion:reduce){.note-date-reveal{transition:none}}.note-date-identity{flex:1;min-width:0}.note-date-identity>strong,.note-date-time,.note-date-calendar{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.note-date-identity>strong{font-size:14px;font-weight:600;line-height:21px}.note-date-time{color:var(--written);margin-top:3px;font-size:12px;line-height:18px}.note-date-calendar{min-height:16px;color:var(--muted);margin-top:3px;font-size:11px;line-height:16px}.note-date-event-toggle>svg{color:var(--muted);transition:transform var(--note-date-ms) var(--note-date-ease);flex:none;margin-top:4px}.note-date-linked :is(.note-date-event-toggle,.note-date-link):hover:not(:disabled){background:var(--row-hover)}.note-date-linked :is(.note-date-event-toggle,.note-date-link):active:not(:disabled){background:var(--control-pressed)}.note-date-linked :is(.note-date-event-toggle,.note-date-link):focus-visible{outline:2px solid var(--focus);outline-offset:-2px}@media (prefers-reduced-motion:reduce){.note-date-motion,.note-date-motion[data-open=true],.note-date-motion>*,.note-date-motion[data-open=true]>*,.note-date-event-toggle>svg{transition:none}}.note-date-link{text-align:start;width:100%;color:var(--muted);border-radius:6px;align-items:center;gap:8px;padding:8px;font-size:12px;display:flex}.note-date-link:hover,.note-date-event:hover{background:var(--card);color:var(--ink)}.note-date-card .note-date-picker button:focus-visible{outline-offset:-2px}.note-date-link>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.note-date-link>svg{flex:none}.note-date-link small{text-overflow:ellipsis;margin-top:3px;font-size:11px;display:block;overflow:hidden}.note-date-events{overscroll-behavior:contain;max-height:240px;overflow-y:auto}.note-date-events>p{color:var(--muted);padding:12px 8px;font-size:12px}.note-date-event{text-align:start;border-radius:6px;align-items:center;gap:8px;width:100%;padding:8px;display:flex}.note-date-event>span{flex:1;min-width:0}.note-date-event strong,.note-date-event small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.note-date-event strong{font-size:13px;font-weight:500}.note-date-event small{color:var(--muted);margin-top:3px;font-size:11px}.loading-content{min-width:0;position:relative}.loading-placeholder{pointer-events:none}.loading-content[data-loading-phase=waiting]>.loading-placeholder,.loading-content:is([data-loading-phase=waiting],[data-loading-phase=skeleton])>.loading-result{visibility:hidden}.loading-content:has(>.loading-result)>.loading-placeholder{position:absolute;inset:0}.loading-content[data-loading-phase=revealing]>.loading-placeholder{animation:loading-out var(--dur-micro) var(--ease-out) both;position:absolute;inset:0}.loading-content[data-loading-phase=revealing]>.loading-result{animation:loading-in var(--dur-micro) var(--ease-out) both}.loading-mask{pointer-events:none;-webkit-user-select:none;user-select:none}.loading-bar{background:var(--control);vertical-align:middle;border-radius:4px;max-width:100%;height:.65em;min-height:7px;display:inline-block!important}.loading-mask .meeting-meta .loading-bar{align-self:flex-end}.loading-mask .meeting-folder-pill{background:var(--control);border-color:#0000}.loading-mask .meeting-folder-dot{visibility:hidden}.loading-mask :is(.settings-label,.settings-description,.settings-permission-label){position:relative;color:#0000!important}.loading-mask :is(.settings-label,.settings-description,.settings-permission-label):after{content:"";background:var(--control);inset-inline-start:0;border-radius:4px;width:min(75%,260px);height:10px;position:absolute;top:5px}.loading-mask .settings-description:after{width:min(85%,300px);height:8px;top:6px}.loading-mask :is(.settings-toggle,.settings-select,.settings-name-field,.settings-action,.settings-spoken,.settings-jargon-field){color:#0000!important;background:var(--control)!important;box-shadow:none!important;border-color:#0000!important}.loading-mask :is(.settings-toggle,.settings-action,.settings-spoken,.settings-jargon-field)>*,.loading-mask .settings-select-wrap>svg,.loading-mask .settings-permission-icon>*,.loading-mask .settings-permission-status{visibility:hidden}.loading-mask .settings-select{pointer-events:none}@keyframes loading-in{0%{opacity:0}to{opacity:1}}@keyframes loading-out{0%{opacity:1}to{opacity:0}}.main-window :is(.settings-scroll,.native-library){scrollbar-gutter:stable}.transcript-loading-content:is([data-loading-phase=waiting],[data-loading-phase=skeleton])>li:not(.loading-placeholder){visibility:hidden}.transcript-loading-content[data-loading-phase=revealing]>li:not(.loading-placeholder){animation:loading-in var(--dur-micro) var(--ease-out) both}.transcript-loading-content[data-loaded=true]>.loading-placeholder{position:absolute;inset:8px 16px auto}.loading-mask .ask-field{position:relative}.loading-mask .ask-field:after{content:"";background:var(--control);border-radius:4px;width:160px;height:12px;position:absolute;inset:16px auto auto 12px}.loading-mask .ask-field textarea,.loading-mask .ask-field textarea::placeholder{color:#0000}.loading-mask .ask-toolbar{visibility:hidden}.notes-download-status{flex:0 auto;min-width:50px;max-width:45%;display:flex}.notes-download-trigger{min-width:0;height:30px;color:var(--muted);font-variant-numeric:tabular-nums;border:1px solid #0000;border-radius:6px;align-items:center;gap:7px;padding:0 9px;font-size:11px;font-weight:400;display:flex}.notes-download-trigger:is(:hover,[aria-expanded=true]){color:var(--ink);background:var(--row-hover);border-color:var(--line)}.notes-download-trigger>svg{opacity:.65;transition:transform var(--dur-base) var(--ease-out)}.notes-download-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}.notes-download-dot{background:var(--accent);border-radius:50%;flex:none;width:5px;height:5px}.notes-download-dot[data-failed=true]{background:var(--danger)}.notes-download-dot[data-failed=true][data-upgrade=true]{background:var(--muted)}.notes-download-positioner{z-index:60}.notes-download-menu{border:1px solid var(--line);background:var(--float);width:408px;max-width:calc(100vw - 24px);color:var(--ink);box-shadow:var(--shadow);border-radius:10px;outline:none;padding:14px 16px;font-size:12px;line-height:18px}.notes-download-menu p{text-wrap:pretty;overflow-wrap:anywhere}.notes-download-readout{font-variant-numeric:tabular-nums;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.notes-download-readout strong{font-weight:550}.notes-download-readout>span{color:var(--muted);font-size:11px}.notes-download-progress{background:var(--line);border-radius:4px;height:3px;margin:9px 0 7px;overflow:hidden}.notes-download-progress>span{border-radius:inherit;background:var(--muted);height:100%;display:block}.notes-download-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;display:flex}.notes-download-support{font-size:11px}.notes-download-menu[data-failed=true] .notes-download-support{flex-basis:100%}.notes-download-actions{align-items:center;gap:12px;font-size:12px;line-height:18px;display:flex}.notes-download-menu:not([data-failed=true]) .notes-download-footer{flex-wrap:nowrap}.notes-download-menu:not([data-failed=true]) .notes-download-support{flex:auto;min-width:0}.notes-download-menu [role=alert]{margin-top:10px}@keyframes motion-fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.player-btn:active{transform:none}.player-btn{transition:opacity var(--dur-micro) var(--ease-out)}.scrubber::-webkit-slider-thumb{transition:none;transform:none}.scrubber:hover::-webkit-slider-thumb{transition:none;transform:none}.scrubber:active::-webkit-slider-thumb{transition:none;transform:none}.notes-download-trigger>svg{transition:none}.widget-preview[aria-hidden=true]{transition-delay:var(--dur-micro)}}.search-panel.dialog-motion,.search-panel.dialog-motion[data-ending-style]{transition:opacity var(--dur-micro) var(--ease-out),transform var(--dur-micro) var(--ease-out)}.search-panel.dialog-motion[data-starting-style],.search-panel.dialog-motion[data-ending-style]{transform:scale(.99)}@starting-style{.search-panel.dialog-motion{transform:scale(.99)}}@media (prefers-reduced-motion:reduce){.search-panel.dialog-motion,.search-panel.dialog-motion[data-ending-style]{transition:opacity var(--dur-micro) var(--ease-out)}.search-panel.dialog-motion[data-starting-style],.search-panel.dialog-motion[data-ending-style]{transform:none}@starting-style{.search-panel.dialog-motion{transform:none}}}.summary-rewrite{position:relative}.summary-rewrite[data-rewriting=true]>.summary-result{opacity:.45;-webkit-user-select:none;user-select:none;pointer-events:none}.summary-rewrite[data-handoff=true]>.summary-result{animation:summary-rewrite-out var(--dur-micro) var(--ease-out) both;pointer-events:none}.summary-rewrite[data-resetting=true]{visibility:hidden}@keyframes summary-rewrite-out{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:no-preference){.summary-rewrite:is([data-rewriting=true],[data-handoff=true])>.summary-result{opacity:1}.summary-rewrite:is([data-rewriting=true],[data-handoff=true]) .note-prose{background:linear-gradient(100deg,var(--written) 38%,var(--ink) 50%,var(--written) 62%) 0 0 / 250% 100%}@supports (color:color-mix(in lab, red, red)){.summary-rewrite:is([data-rewriting=true],[data-handoff=true]) .note-prose{background:linear-gradient(100deg,color-mix(in srgb,var(--written) 45%,transparent) 38%,color-mix(in srgb,var(--ink) 90%,transparent) 50%,color-mix(in srgb,var(--written) 45%,transparent) 62%) 0 0 / 250% 100%}}.summary-rewrite:is([data-rewriting=true],[data-handoff=true]) .note-prose{color:#0000;-webkit-background-clip:text;background-clip:text;animation:2.8s linear infinite step-shimmer}.summary-rewrite:is([data-rewriting=true],[data-handoff=true]) .note-prose :is(h1,h2,h3,p,li,strong,a,em){color:#0000}.summary-rewrite:is([data-rewriting=true],[data-handoff=true]) .note-prose li::marker{color:var(--ink)}@supports (color:color-mix(in lab, red, red)){.summary-rewrite:is([data-rewriting=true],[data-handoff=true]) .note-prose li::marker{color:color-mix(in srgb,var(--ink) 31.5%,transparent)}}}.summary-stop-icon{place-items:center;width:14px;height:14px;display:inline-grid}.summary-stop-icon>*{transition:opacity var(--dur-base) var(--ease-out);grid-area:1/1}.summary-stop-square{opacity:0;background:currentColor;border-radius:2px;width:10px;height:10px}.note-resume-action[data-processing=true]{cursor:pointer}.note-resume-action[data-processing=true]:hover{background:var(--float)}.note-resume-action:is(:hover,:focus-visible) .summary-stop-icon>svg{opacity:0}.note-resume-action:is(:hover,:focus-visible) .summary-stop-square{opacity:1}.summary-stopped{color:var(--muted);flex-direction:column;align-items:flex-start;gap:8px;font-size:13px;display:flex}@media (prefers-reduced-motion:reduce){.summary-stop-icon>*{transition:none}}.renderer-recovery{background:var(--bg);height:100%;color:var(--ink);place-items:center;padding:72px 24px 24px;display:grid;position:relative}.renderer-recovery-titlebar{height:52px;position:absolute;inset:0 0 auto}.renderer-recovery-content{text-align:center;flex-direction:column;align-items:center;gap:16px;max-width:360px;font-size:14px;display:flex}.renderer-recovery-content .modal-button{width:auto;min-width:80px}.update-ready-status{max-width:35%}.update-ready-menu{width:max-content;min-width:286px;max-width:calc(100vw - 24px)}.update-ready-menu h2{font-size:12px;font-weight:550;line-height:18px}.update-ready-menu .update-ready-description{color:var(--muted);white-space:nowrap;text-wrap:nowrap;text-overflow:ellipsis;margin:6px 0 15px;font-size:11px;overflow:hidden}.update-ready-actions{justify-content:flex-end;align-items:center;gap:14px;font-size:12px;line-height:18px;display:flex}.update-ready-menu [role=alert]{max-width:320px;color:var(--muted);font-size:11px}.text-action,.ghost-btn,.workspace-button{box-sizing:border-box;white-space:nowrap;flex:none;justify-content:center;align-items:center;gap:6px;line-height:18px;text-decoration:none;display:inline-flex}.text-action{color:var(--muted);font-size:inherit;line-height:inherit;background:0 0;border:0;border-radius:3px;padding:4px 0;font-weight:400}.text-action:hover:not(:disabled){color:var(--ink)}.ghost-btn,.workspace-button{border:1px solid #0000;border-radius:6px;height:30px;padding:0 11px;font-size:12px}.ghost-btn{color:var(--muted);background:0 0;font-weight:400}.workspace-button{border-color:var(--line);background:var(--float);color:var(--ink);font-weight:500;box-shadow:inset 0 1px #ffffff0d,0 1px 2px #0000000a}.ghost-btn:hover:not(:disabled),.ghost-btn:is(:where([aria-haspopup])[aria-expanded=true],[aria-pressed=true]):not(:disabled),.workspace-button:not(.primary):hover:not(:disabled){color:var(--ink);background:var(--control-hover)}.ghost-btn:active:not(:disabled),.workspace-button:not(.primary):active:not(:disabled){background:var(--control-pressed)}.text-action:disabled,.ghost-btn:disabled,.workspace-button:disabled{opacity:.45;cursor:default}.text-action:focus-visible,.ghost-btn:focus-visible,.workspace-button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.workspace-icon{width:28px;height:28px;padding:0}.modal-actions>.workspace-button{width:100%}.widget-preview{--float:var(--pill);--ink:var(--pill-ink);--line:var(--widget-line);--control-hover:#ffffff14;--control-pressed:#ffffff20;--focus:var(--pill-accent)}:root[data-marketing-theme=dark]{--bg:#18191d;--card:#202126;--ink:#eeeff4;--muted:#9a9ba9;--line:#32333d;--accent:#af8bff;--accent-ink:#241637;--accent-soft:#35284f;--status-live:#aed4b5;--danger:#f28798;--danger-ink:#32121b;--float:#24252c;--chrome:#1d1e23;--shadow:0 18px 48px #0006, 0 2px 8px #0003;--shadow-soft:0 1px 3px #0003;--written:#b8b9c4;--heading:#e4e5ec;--scrim:#00000073;--pill:#25232e;--pill-ink:#faf9ff;--pill-accent:#ccb6ff}:root[data-marketing-theme=dark]:not(.widget){--bg:#1b1b1d;--chrome:#242425;--card:#202021;--float:#29292b;--ink:#e7e6eb;--muted:#a7a4ad;--heading:#e7e6eb;--written:#c6c3cc;--line:#343436;--accent:#b780ff;--accent-ink:#fff;--accent-soft:#2c164a;--playback-bg:#7040af;--playback-ink:#fff;--primary:#6f00ff;--primary-hover:#7d1aff;--control:#333335;--control-hover:#3b3b3e;--control-pressed:#434347;--selected:#3b393f;--focus:#c599ff;--danger:#f098a5;--danger-ink:#32121b;--danger-soft:#59343c;--danger-control-ink:#ffd6dc;--scrim:#0006;--shadow:0 18px 48px #00000040, 0 2px 8px #00000026;--shadow-soft:0 1px 2px #00000014}:root[data-marketing-theme=dark] input::selection{color:#fff;background:#8055b8}:root[data-marketing-theme=dark] textarea::selection{color:#fff;background:#8055b8}:root[data-marketing-theme=dark] .note-prose ::selection{color:#fff;background:#8055b8}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}.workspace{isolation:isolate;--sidebar-inset:10px;--nav-inset:11px;--workspace-footer-height:52px;--chrome-glass:color-mix(in srgb,var(--chrome) 85%,transparent);--sidebar-field:#fafafb;--sidebar-field-edge:#e8e8eb;--sidebar-selected:#e7e1ef;--reading-surface:linear-gradient(to bottom,transparent 52px,var(--bg) 52px);background:var(--chrome-glass);height:100%;display:flex;position:relative;overflow:hidden}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.workspace{--chrome-glass:var(--chrome)}}:root:not([data-chrome=overlay]) .workspace{background:linear-gradient(var(--chrome) 0 52px,transparent 52px),var(--chrome-glass)}.workspace-window-bar{z-index:55;border-bottom:1px solid var(--line);background:0 0;width:208px;min-width:124px;height:52px;position:absolute;top:0;left:0}.workspace-drag-region{pointer-events:none;width:100vw;height:100%;position:absolute;top:0;left:0}.sidebar-collapsed .workspace-window-bar{border-bottom:1px solid var(--line);width:124px}.workspace-sidebar-toggle{-webkit-app-region:no-drag;position:absolute;top:13px;left:88px}.workspace:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .workspace-window-bar{width:124px}.workspace:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .note-topbar{left:132px;right:auto}.workspace:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)).sidebar-collapsed .workspace-toolbar{padding-left:124px;padding-right:24px;left:0;right:0}.workspace:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)).sidebar-collapsed .workspace-toolbar[data-note=true]{padding-left:185px}.workspace [hidden]{display:none!important}.workspace-sidebar{z-index:2;background:0 0;border-inline-end:1px solid #0000;flex-direction:column;display:flex;position:absolute;inset-block:0;inset-inline-start:0}.workspace-sidebar:after{content:"";background:var(--line);pointer-events:none;width:1px;position:absolute;inset-block:52px 0;inset-inline-end:-1px}.workspace-sidebar,.workspace-sidebar-gap{width:208px}.sidebar-collapsed :is(.workspace-sidebar,.workspace-sidebar-gap){width:56px}.workspace-sidebar-gap{flex:none}.workspace-sidebar-inner{flex-direction:column;height:100%;min-height:0;display:flex}.workspace-sidebar .workspace-search>svg{flex:none}.workspace-sidebar .workspace-nav>span:not(.folder-glyph),.workspace-sidebar .workspace-nav>small,.workspace-search>span,.workspace-search>kbd,.workspace-folder-label{transition:opacity 90ms}.sidebar-collapsed .workspace-nav>span:not(.folder-glyph),.sidebar-collapsed .workspace-nav>small,.sidebar-collapsed .workspace-search>span,.sidebar-collapsed .workspace-search>kbd,.sidebar-collapsed .workspace-folder-label{opacity:0;pointer-events:none}.sidebar-collapsed .workspace-nav{gap:0;padding-inline:10px}.sidebar-collapsed .workspace-nav>span:not(.folder-glyph),.sidebar-collapsed .workspace-search>span,.sidebar-collapsed .workspace-search>kbd{flex:none;width:0}.sidebar-collapsed .workspace-search{gap:0;padding-inline:9px}.sidebar-collapsed .workspace-folder-more{display:none}.sidebar-collapsed .workspace-brand{padding-inline:17px}.workspace-wordmark{direction:ltr;flex:none;width:90px;display:flex;overflow:hidden}.sidebar-collapsed .workspace-wordmark{width:22px}.workspace[data-sidebar-motion=true] .workspace-wordmark{transition:width .2s cubic-bezier(.22,1,.36,1)}.workspace[data-sidebar-motion=true] .workspace-brand{transition:padding-inline .2s cubic-bezier(.22,1,.36,1)}.workspace-folder-label{white-space:nowrap;height:16px;overflow:hidden}.workspace[data-sidebar-motion=true] .workspace-folder-label{transition:height .2s cubic-bezier(.22,1,.36,1),margin .2s cubic-bezier(.22,1,.36,1),opacity .12s}.sidebar-collapsed .workspace-folder-label{height:0;margin-block:18px}.workspace-brand{gap:0}.workspace[data-sidebar-motion=false] :is(.workspace-nav>span,.workspace-nav>small,.workspace-search>span,.workspace-search>kbd,.workspace-folder-label,.workspace-wordmark,.workspace-brand){transition:none}@media (prefers-reduced-motion:reduce){.workspace-sidebar :is(span,small,kbd),.workspace-folder-label,.workspace-toolbar,.workspace-brand{filter:none!important;transition:none!important}}.sidebar-titlebar{flex:none;justify-content:flex-end;align-items:center;height:52px;padding:0 16px;display:flex}.workspace-sidebar-body{padding:16px var(--sidebar-inset) 5px;flex:1;overflow:hidden auto}.workspace-search{border:1px solid var(--sidebar-field-edge);background:var(--sidebar-field);width:100%;height:34px;box-shadow:none;color:var(--ink);border-radius:6px;align-items:center;gap:10px;margin-bottom:17px;padding:0 10px;font-size:13px;font-weight:500;display:flex}.workspace-search>svg{width:16px;height:16px;color:var(--muted)}.workspace-search kbd{font:10px var(--font-sans);color:var(--muted);margin-inline-start:auto}.workspace-search:hover{background:color-mix(in srgb,var(--sidebar-field) 97%,var(--ink))}.workspace-nav{width:100%;height:35px;padding:0 var(--nav-inset);text-align:start;border-radius:6px;align-items:center;gap:10px;font-size:13px;font-weight:500;display:flex;position:relative}.workspace-nav>svg{color:var(--muted);flex:none}.workspace-nav>span:not(.folder-glyph){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-nav small{color:var(--muted);margin-inline-start:auto;font-size:9px;font-weight:400;line-height:17px}.workspace-nav:hover{background:color-mix(in srgb,var(--ink) 5%,transparent)}.workspace-nav[aria-current=page]{background:var(--sidebar-selected);color:var(--ink)}.workspace-nav[aria-current=page]:before{content:none}.workspace-nav[aria-current=page]>svg{color:var(--written)}.workspace-folder-label{margin:30px var(--nav-inset) 8px;color:var(--muted);font-size:11px}.workspace-folder-item,.workspace-folder-list{position:relative}.workspace:not(.sidebar-collapsed) .workspace-folder-item>.workspace-nav{touch-action:none;padding-inline-end:36px}.workspace-folder-item[data-moving=true]{z-index:2;background:var(--float);border-radius:6px;box-shadow:0 2px 8px #0000001a}.workspace-folder-item[data-moving=true]>.workspace-nav{cursor:grabbing}.workspace-folder-item[data-moving=true] .workspace-folder-more{visibility:hidden}.workspace-folder-item [role=menuitem]:disabled{opacity:.4}.workspace-folder-item>.workspace-nav[data-drop=true]{background:var(--accent-soft);color:var(--ink)}.workspace-folder-more{inset-inline-end:5px;opacity:0;position:absolute;top:4px}.workspace-folder-item:hover .workspace-folder-more,.workspace-folder-more:focus-visible,.workspace-folder-more[aria-expanded=true]{opacity:1}.workspace-folder-item:hover small{visibility:hidden}.workspace-folder-item:has(.workspace-folder-more:focus-visible,.workspace-folder-more[aria-expanded=true]) small{visibility:hidden}.workspace-folder-item small{position:absolute;inset-inline-end:var(--nav-inset)}.workspace-folder-new,.workspace-folder-new>svg{color:var(--muted)}.workspace-folder-new:hover{color:var(--ink)}.native-folder{grid-template-columns:minmax(0,1fr);height:100%;min-height:0;padding-top:52px;display:grid}.native-folder .native-library>h1 input{font:inherit;letter-spacing:inherit}.workspace-sidebar-footer{padding:9px var(--sidebar-inset) 0}.workspace-brand{min-height:var(--workspace-footer-height);border-top:1px solid var(--line);margin-top:9px;margin-inline:calc(-1 * var(--sidebar-inset));padding:0 calc(var(--sidebar-inset) + var(--nav-inset));justify-content:flex-start;align-items:center;display:flex}.workspace-content{z-index:1;contain:layout;background:var(--reading-surface);flex:1;min-width:0;height:100%;position:relative;container-type:inline-size}.workspace-content>.bg-bg,.workspace-content .document-main{background:0 0}.document-body{padding-inline:clamp(20px,10cqw - 42px,48px)}.workspace-toolbar{inset-inline:0;z-index:50;border-bottom:1px solid var(--line);background:0 0;align-items:center;height:52px;padding:0 24px;display:flex;position:absolute;top:0}.workspace-toolbar[data-note=true]{padding-inline-end:185px}.note-topbar{top:10.5px}.note-topbar>div>button{width:30px;height:30px}.workspace-breadcrumb{min-width:0;color:var(--muted);white-space:nowrap;align-items:center;gap:9px;font-size:13px;display:flex}.workspace-breadcrumb>svg{flex:none}.workspace-breadcrumb>[aria-current]{color:var(--ink);text-overflow:ellipsis;font-weight:500;overflow:hidden}.workspace-history{flex:none;gap:2px;display:flex}.workspace-history button:disabled{opacity:.3;background:0 0}.sidebar-collapsed .workspace-toolbar{padding-inline-start:68px}.workspace[data-sidebar-motion=true] .workspace-toolbar{transition:padding-inline-start .2s cubic-bezier(.22,1,.36,1)}.workspace button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.workspace-button.primary{background-color:var(--primary);color:#fff;background-image:linear-gradient(#ffffff14,#0000 55%,#0000000a);border-color:#00000014;box-shadow:inset 0 1px #ffffff29,0 1px 2px #35006524}.workspace-button.primary:hover:not(:disabled){background-color:var(--primary-hover)}.workspace-button.primary:active:not(:disabled){background-image:none;box-shadow:inset 0 1px 2px #35006533}.recording-split{min-width:0;max-width:min(100%,276px);display:flex}.recording-main{flex:0 auto;min-width:0}.recording-main>svg{flex:none}.recording-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:200px;overflow:hidden}.recording-split[data-split=true] .recording-main{border-inline-end:0;border-start-end-radius:0;border-end-end-radius:0}.workspace-button.primary.recording-chevron{border-inline-start:1px solid #ffffff26;border-start-start-radius:0;border-end-start-radius:0;flex:none;width:28px;padding:0}.recording-menu{width:276px;max-width:var(--available-width);max-height:var(--available-height);border:1px solid var(--line);overflow-y:auto}.recording-meeting-copy{flex:1;min-width:0}.recording-meeting-copy>span,.recording-meeting-copy>small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.recording-meeting-copy>small,.recording-timing{color:var(--muted);font-size:10px;font-weight:400;line-height:16px}.recording-timing{flex:none}.recording-menu-separator{background:var(--line);height:1px;margin:4px 0}.workspace-toolbar[data-recording-return=true]{gap:16px;padding-inline-end:17px}.workspace-toolbar[data-recording-return=true][data-note=true]{padding-inline-end:62px}.workspace-toolbar[data-recording-return=true] .workspace-breadcrumb{flex:1;overflow:hidden}.workspace-recording-link{color:#fff;white-space:nowrap;min-width:86px;height:30px;transition:box-shadow var(--dur-micro) ease;background:linear-gradient(#7a1aff,#6f00ff 65%,#6600eb);border:1px solid #5200bc;border-radius:9px;flex:none;justify-content:center;align-items:center;gap:9px;padding:0 12px;font-size:12px;font-weight:500;display:flex;position:relative;box-shadow:inset 0 1px #fff3,0 1px 3px #39008026}.recording-return-time{font-variant-numeric:tabular-nums;text-align:center;min-width:32px}.workspace-recording-link:hover{filter:brightness(1.06);box-shadow:inset 0 1px #ffffff40,0 2px 5px #39008033}.workspace-recording-link:active{filter:brightness(.96);box-shadow:inset 0 1px 3px #39008033}.workspace-recording-link[data-paused=true]{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 22%,transparent);color:var(--accent);box-shadow:var(--shadow-soft)}.workspace:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .workspace-toolbar[data-recording-return=true][data-note=true],.workspace:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)).sidebar-collapsed .workspace-toolbar[data-recording-return=true][data-note=true]{padding-left:185px}.native-home{grid-template-columns:minmax(0,1fr) 270px;height:100%;min-height:0;padding-top:52px;display:grid}.workspace-toolbar-actions{flex:none}.workspace-toolbar-actions:has(.recording-split){flex:0 auto;min-width:0;max-width:276px}.workspace-toolbar:has(.recording-split) .workspace-breadcrumb{min-width:100px}.workspace-toolbar-actions:empty{display:none}.workspace-toolbar:has(.workspace-toolbar-actions:not(:empty)){gap:16px;padding-inline-end:17px}.workspace-toolbar:has(.workspace-toolbar-actions:not(:empty)) .workspace-breadcrumb{flex:1;overflow:hidden}.workspace:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .workspace-toolbar:has(.workspace-toolbar-actions:not(:empty)){padding-inline-end:132px}.workspace-toolbar:has(.notes-download-status){gap:10px;padding-inline-end:17px}.workspace-toolbar:has(.update-ready-status):has(.notes-download-status:not(.update-ready-status)){gap:8px}.workspace-toolbar:has(.notes-download-status) .workspace-breadcrumb{flex:1;overflow:hidden}.workspace-toolbar[data-note=true]:has(.notes-download-status){padding-inline-end:62px}.workspace:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .workspace-toolbar:has(.notes-download-status){padding-inline-end:132px}.workspace:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .workspace-toolbar[data-note=true]:has(.notes-download-status){padding-inline-end:185px}.native-library{min-width:0;padding:29px 26px 30px;position:relative;overflow:auto}.native-library>h1{letter-spacing:-.55px;margin-bottom:9px;font-size:20px;font-weight:600;line-height:26px}.native-meeting-day{margin-top:25px}.native-meeting-day>h2,.meeting-day-exit{color:var(--muted);margin-bottom:9px;font-size:10px;font-weight:500;line-height:14px}.native-meeting-row{border-radius:7px;grid-template-columns:minmax(0,1fr) max-content;align-items:center;column-gap:12px;margin-inline:-8px;padding-inline-end:8px;display:grid;position:relative;overflow:hidden}.native-meeting-row:hover:not(:focus-visible):not(:has(:focus-visible)){background:var(--row-hover)}.native-meeting-card{grid-area:1/1/2/3;grid-template-columns:subgrid;border-radius:inherit;align-items:center;min-width:0;display:grid}.native-meeting-card:has(.meeting-folder-pill){grid-template-columns:minmax(0,1fr) fit-content(40%) max-content;column-gap:12px}.native-meeting-link{grid-area:1/1/2/-1;grid-template-columns:subgrid;text-align:start;border-radius:inherit;align-items:center;width:100%;min-width:0;min-height:57px;padding-block:8px;padding-inline:8px 0;display:grid}.native-meeting-card>.row-swap-actions{grid-area:1/-2}.native-meeting-card .meeting-meta{grid-column:-2}.meeting-content{align-items:center;gap:12px;min-width:0;display:flex}.meeting-identity{background:var(--control);width:30px;height:30px;color:var(--written);border:1px solid #0000;border-radius:7px;flex:none;place-items:center;font-size:10px;font-weight:600;display:grid}.meeting-identity.recording{color:#fff;background:var(--primary);border-color:#0000}.meeting-description{flex:1;min-width:0}.meeting-description strong{letter-spacing:-.1px;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:19px;display:block;overflow:hidden}.meeting-description>span{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);margin-top:2px;font-size:11px;line-height:16px;display:block;overflow:hidden}.meeting-meta{text-align:end;min-width:49px;color:var(--muted);font-variant-numeric:tabular-nums;flex-direction:column;flex:none;gap:4px;font-size:10px;display:flex}.meeting-meta small{color:var(--muted);font-size:9px;line-height:12px}.meeting-drag-preview{border:1px solid var(--line);background:var(--float);width:max-content;max-width:280px;color:var(--ink);box-shadow:var(--shadow);pointer-events:none;border-radius:10px;align-items:center;gap:9px;padding:8px 11px;display:flex;position:fixed;inset-block-start:0;inset-inline-start:0}.meeting-drag-preview strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:500;line-height:19px;overflow:hidden}.meeting-live{color:var(--accent);align-items:center;gap:4px;display:flex}.meeting-delete{opacity:.6}.meeting-delete svg{width:13px;height:13px}.native-meeting-row:hover .meeting-delete{opacity:1}.native-meeting-row:has(:focus-visible) .meeting-delete{opacity:1}.meeting-delete:hover{color:var(--danger)}.row-swap-meta{transition:opacity var(--dur-micro) var(--ease-out) 40ms;grid-column:2}.row-swap-actions{z-index:1;opacity:0;pointer-events:none;transition:opacity var(--dur-micro) var(--ease-out);grid-area:1/2;justify-self:end}.row-swap:is(:hover,:focus-visible,:has(:focus-visible),[data-menu-open=true],:has(>.row-swap-actions[aria-expanded=true])) .row-swap-meta{opacity:0;pointer-events:none;transition-delay:0s}.row-swap:is(:hover,:focus-visible,:has(:focus-visible),[data-menu-open=true],:has(>.row-swap-actions[aria-expanded=true])) .row-swap-actions{opacity:1;pointer-events:auto;transition:opacity var(--dur-micro) var(--ease-out) 50ms}:is(.native-meeting-row,.ask-history-row,.agenda-event):is(:focus-visible,:has(:focus-visible)){outline:2px solid var(--focus);outline-offset:-2px}.native-meeting-row .native-meeting-link:focus-visible,.ask-history-row>.ask-history-link:focus-visible,.agenda-event .agenda-title:focus-visible{outline:none}.row-swap .workspace-icon:focus-visible{outline-offset:-2px}.meeting-row-menu{z-index:100;border:1px solid var(--line);width:224px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);position:fixed;overflow-y:auto}.meeting-row-menu [role=menuitem]{text-align:start;align-items:center;gap:10px;width:100%;display:flex}.meeting-row-menu [role=menuitem]:disabled{opacity:.5}.meeting-row-menu svg{flex-shrink:0}@media (prefers-reduced-motion:reduce){.row-swap-meta,.row-swap-actions{transition:opacity var(--dur-micro) var(--ease-out)!important;transform:none!important}}.native-library:has(>.library-empty){flex-direction:column;display:flex}.native-library:has(>.library-empty)>:not(.library-empty){flex-shrink:0}.empty-state{text-align:center;flex:1;place-items:center;min-width:0;padding-block:24px 48px;display:grid}.empty-state-content{width:100%;max-width:310px}.empty-tile{border:1px solid var(--line);background:var(--float);width:64px;height:64px;color:var(--written);border-radius:14px;place-items:center;margin:0 auto 16px;display:grid;position:relative;box-shadow:0 1px 2px #17171a0a,0 10px 28px -12px #2a1a4a24}.empty-tile:before{content:"";border:1px solid var(--line);opacity:.45;pointer-events:none;border-radius:9px;position:absolute;inset:5px}.library-empty h2{letter-spacing:-.3px;font-size:17px;font-weight:550;line-height:24px}.library-empty p{color:var(--muted);text-wrap:balance;margin:10px 0 20px;line-height:1.65}.library-loading{color:var(--muted);margin-top:25px;font-size:12px}.native-agenda{min-width:0;min-height:0;padding:29px var(--agenda-inset);--agenda-inset:20px;background:var(--card);border-inline-start:1px solid var(--line);flex-direction:column;display:flex;position:relative;overflow:hidden}.native-agenda>div:not(.agenda-scroll){flex-shrink:0}.agenda-scroll{margin-inline:calc(-1 * var(--agenda-inset));padding-inline:var(--agenda-inset);overscroll-behavior:contain;flex:1;min-height:80px;padding-block:16px;scroll-padding-block:16px;overflow-y:auto}.agenda-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.agenda-header>h2{letter-spacing:-.1px;font-size:13px;font-weight:550}.agenda-navigation{align-items:center;gap:4px;margin-top:24px;display:flex}.agenda-month{min-width:0;color:var(--written);margin-inline-end:auto;font-size:11px;font-weight:500}.agenda-week{border-bottom:1px solid var(--line);grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;margin-bottom:23px;padding:18px 0 20px;display:grid}.agenda-week button{flex-direction:column;align-items:center;gap:8px;min-width:0;display:flex}.agenda-week span{color:var(--muted);font-size:10px;line-height:14px}.agenda-week b{border:1px solid #0000;border-radius:6px;place-items:center;width:26px;height:26px;font-size:11px;font-weight:500;display:grid}.agenda-week button:not([aria-pressed=true]):not([aria-current=date]):hover b{background:var(--accent-soft)}.agenda-week [aria-pressed=true] b{color:var(--accent);background:var(--accent-soft);border-color:#0000}.agenda-week [aria-current=date] b{color:#fff;background:var(--primary)}.agenda-day{align-items:baseline;gap:9px;margin-bottom:0;display:flex}.agenda-day h3{font-size:13px;font-weight:600}.agenda-day>span{color:var(--muted);font-size:11px}.agenda-events{flex-direction:column;gap:3px;display:flex}.agenda-event{cursor:pointer;border-radius:8px;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:12px;padding:8px 6px;display:grid;position:relative;overflow:hidden}.agenda-event:hover:not(:has(:focus-visible)){background:var(--row-hover)}.agenda-event-body{border-inline-start:2px solid var(--line);flex-direction:column;gap:2px;min-width:0;padding-inline-start:12px;display:flex}.agenda-event:is(.live,[data-recording=true]) .agenda-event-body{border-inline-start-color:var(--accent)}.agenda-event:is(.live,[data-recording=true]) .agenda-title{letter-spacing:-.1px;font-weight:600}.agenda-event[data-selected=true] .agenda-title{color:var(--ink)}.agenda-time{color:var(--muted);font-variant-numeric:tabular-nums;text-align:end;white-space:nowrap;padding-top:0;font-size:10px;line-height:17px}.agenda-heading{align-items:center;gap:8px;min-height:17px;display:flex}.agenda-marker{pointer-events:none;width:23px;height:17px;color:var(--muted);flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.agenda-event[data-recording=true] .agenda-marker{color:var(--accent)}.agenda-levels{flex:none;transform:scale(.85)}.agenda-event h3{flex:1;min-width:0;font-size:11px;font-weight:400;line-height:17px}.agenda-title{text-overflow:ellipsis;white-space:nowrap;text-align:start;width:100%;color:var(--ink);cursor:pointer;border-radius:3px;display:block;overflow:hidden}.agenda-title:after{content:"";border-radius:8px;position:absolute;inset:0}.agenda-event p{color:var(--muted);margin-top:0;font-size:11px;line-height:17px}.agenda-people{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.agenda-live{white-space:nowrap;color:var(--muted);align-items:center;padding:1px 0;font-size:10px;font-weight:500;line-height:16px;display:inline-flex}.agenda-inspector{visibility:hidden;z-index:5;border:1px solid var(--line);background:var(--float);max-width:none;color:var(--ink);box-shadow:var(--shadow);overflow-wrap:anywhere;border-radius:12px;margin:0;padding:0;font-size:12px;line-height:18px;position:absolute;inset:0 auto auto 0;overflow:visible}.agenda-inspector[data-side=top]{transform-origin:bottom}.agenda-inspector[data-side=bottom]{transform-origin:top}.agenda-inspector-content{border-radius:inherit;flex-direction:column;gap:16px;padding:16px;display:flex;overflow:hidden}.agenda-inspector-scroll{overscroll-behavior:contain;min-width:0;min-height:0;max-height:240px;overflow:hidden auto}.agenda-inspector-time{flex:none}.agenda-inspector-arrow{background:var(--float);border-top:1px solid var(--line);border-left:1px solid var(--line);pointer-events:none;width:10px;height:10px;position:absolute;top:-6px;transform:rotate(45deg)}.agenda-inspector[data-side=top] .agenda-inspector-arrow{top:auto;bottom:-6px;transform:rotate(225deg)}.agenda-inspector-heading{flex:none;justify-content:space-between;align-items:start;gap:12px;display:flex}.agenda-inspector-heading h3{outline:none;min-width:0;font-size:14px;font-weight:600;line-height:21px}.agenda-inspector-heading .workspace-icon{flex:none;margin-block:-4px;margin-inline-end:-4px}.agenda-inspector-footer{border-top:1px solid var(--line);flex-direction:column;flex:none;gap:12px;padding-top:16px;display:flex}.agenda-inspector-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex;container-type:inline-size}.agenda-inspector .agenda-inspector-footer{gap:16px}.agenda-inspector .agenda-inspector-actions:has(>:only-child){justify-content:flex-start}.agenda-inspector-actions>.workspace-button{min-width:0;max-width:100%}.agenda-inspector-actions:has(>:nth-child(2))>.workspace-button{max-width:calc(50% - 4px)}.agenda-inspector-actions>.workspace-button>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:inherit;font-size:inherit;overflow:hidden}.agenda-inspector-actions>.workspace-button>svg{flex:none}.agenda-inspector-actions>a.workspace-button{color:var(--ink);text-decoration:none}.agenda-inspector-actions>a.workspace-button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}@container (width<=180px){.agenda-inspector-actions:has(>:nth-child(2))>.workspace-button{max-width:100%}}.agenda-inspector-people{min-width:0}.agenda-inspector button:focus-visible,.agenda-inspector a:focus-visible{outline-offset:-2px}.agenda-inspector-line{align-items:start;gap:10px;display:flex}.agenda-inspector-line>svg{color:var(--muted);flex:none;margin-top:2px}.agenda-inspector-line>div,.agenda-inspector-line>p,.agenda-inspector-line ul{overflow-wrap:anywhere;min-width:0}.agenda-inspector li+li{margin-top:6px}.agenda-inspector span,.agenda-inspector-muted{color:var(--muted);font-size:11px;display:block}@media (height<=650px){.native-agenda{padding-block:16px}.agenda-navigation{margin-top:12px}.agenda-week{margin-bottom:12px;padding-block:10px 12px}}.agenda-event[data-faded=true] :is(.agenda-time,.agenda-title,.agenda-marker){color:var(--ink);opacity:.65}.agenda-status{color:var(--muted);padding:10px 0;font-size:12px;line-height:1.65}.agenda-status svg{margin-bottom:14px}.agenda-status h3{color:var(--written);font-size:13px;font-weight:500}.agenda-status p{margin:5px 0 17px}.trash-note{color:var(--muted);margin:0 0 16px;font-size:12px;line-height:1.6}.trash-actions{gap:4px;display:flex}.app-toast-viewport{bottom:20px;--toast-x:0px;--toast-y:0px;translate:var(--toast-x) var(--toast-y);transition:translate var(--dur-surface) var(--ease-in-out);z-index:90;pointer-events:none;outline:none;width:340px;max-width:calc(100% - 40px);position:fixed;inset-inline-end:20px}.app-toast{width:100%;height:var(--toast-frontmost-height,var(--toast-height));border:1px solid var(--line);background:var(--float);color:var(--ink);pointer-events:auto;--gap:10px;z-index:calc(100 - var(--toast-index,0));border-radius:11px;outline:none;position:absolute;inset-block-end:0;inset-inline:0;box-shadow:0 8px 24px #0000001f,0 1px 3px #00000014}.app-toast[data-expanded]{height:var(--toast-height)}.app-toast[data-limited]{opacity:0}.app-toast-content{align-items:center;gap:12px;padding-block:12px;padding-inline:16px 10px;display:flex;overflow:hidden}.app-toast-content[data-behind]:not([data-expanded]){opacity:0}.app-toast-title{flex:1;min-width:0;font-size:13px;font-weight:500;line-height:19px}.app-toast button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.citation-anchor{white-space:nowrap}.citation-group{vertical-align:baseline;white-space:nowrap;align-items:baseline;gap:4px;margin-inline:2px 0;line-height:1;display:inline-flex;position:relative}.source-citation{border:1px solid var(--line);background:var(--card);max-width:180px;height:18px;color:var(--written);letter-spacing:0;border-radius:999px;justify-content:center;align-items:center;padding:0 7px;font-size:13px;font-weight:400;line-height:16px;display:inline-flex;position:relative}.source-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.source-citation:before{content:"";width:max(100%,24px);height:max(100%,24px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.citation-anchor:has(.citation-group:not([data-single])){white-space:normal}.citation-group:not([data-single]){white-space:normal;display:inline}.citation-group:not([data-single]) .source-citation~.source-citation{margin-inline-start:4px}.source-citation:hover,.source-citation[aria-expanded=true]{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 20%,var(--line));color:var(--ink)}.source-citation:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.citation-positioner{z-index:100}.citation-positioner[data-anchor-hidden]{visibility:hidden;pointer-events:none}.citation-card{isolation:isolate;width:fit-content;min-width:min(280px,100vw - 24px);max-width:min(400px,100vw - 24px);color:var(--ink);text-align:start;letter-spacing:-.012em;outline:none;font-size:14px;line-height:1.5;transition:opacity .16s ease-out;position:relative}.citation-card[data-animate=false]{transition:none}.citation-card[data-ending-style]{opacity:0}.citation-filter{pointer-events:none;position:absolute}.citation-liquid,.citation-edge{z-index:-1;pointer-events:none;position:absolute;inset:0}.citation-mass{background:var(--float);transform-origin:0 0;border-radius:12px;position:absolute;inset:0}.citation-edge{border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:12px}.citation-content{padding:12px 14px}.citation-heading{min-width:0;color:var(--muted);justify-content:flex-start;align-items:baseline;gap:6px;font-size:12px;line-height:18px;display:flex}.citation-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:260px;color:var(--muted);flex:0 auto;margin:0;font-size:12px;font-weight:400;line-height:18px;overflow:hidden}.citation-date{white-space:nowrap;flex:none;font-size:12px;line-height:18px}.citation-quote{color:var(--ink);letter-spacing:0;overflow-wrap:anywhere;max-height:min(320px,100vh - 160px);margin:8px 0;font-size:14px;font-weight:400;line-height:21px;overflow:auto}.citation-context{color:var(--written)}.citation-footer{color:var(--muted);justify-content:flex-end;align-items:center;margin:4px 0 0;font-size:11px;display:flex}.citation-card[data-morph=true] .citation-liquid{filter:var(--citation-filter)}.citation-card[data-morph=true] .citation-mass{animation:.28s linear both citation-pull}.citation-card[data-morph=true] .citation-content{animation:.13s ease-out 90ms both citation-in,.28s linear backwards citation-crop}.citation-card[data-morph=true] .citation-edge{animation:.16s ease-out .12s both citation-in}@keyframes citation-pull{0%{transform:translate(var(--from-x),var(--from-y)) scale(var(--from-sx),var(--from-sy));border-radius:12px;animation-timing-function:cubic-bezier(.18,.8,.25,1)}72%{border-radius:14px;animation-timing-function:cubic-bezier(.2,0,.25,1);transform:translateY(-2px)scale(.992,1.018)}to{border-radius:12px;transform:none}}@keyframes citation-in{0%{opacity:0}to{opacity:1}}@keyframes citation-crop{0%{clip-path:inset(var(--from-y) calc(100% - var(--from-x) - var(--from-sx) * 100%) calc(100% - var(--from-y) - var(--from-sy) * 100%) var(--from-x) round 9px);animation-timing-function:cubic-bezier(.18,.8,.25,1)}72%{clip-path:inset(-2px .8% calc(2px - 1.8%) 0 round 14px);animation-timing-function:cubic-bezier(.2,0,.25,1)}to{clip-path:inset(0 round 12px)}}@media (prefers-reduced-motion:reduce){.citation-card{transition:none}.citation-card *{animation:none!important}.citation-liquid{filter:none!important}}::highlight(citation-target){background:color-mix(in srgb,var(--accent-soft) 70%,transparent)}[data-focused]{background:color-mix(in srgb,var(--accent-soft) 70%,transparent)}@container (width<=700px){.native-home{grid-template-columns:minmax(0,1fr) 235px}.native-library{padding:24px 18px}.native-agenda{--agenda-inset:15px;padding-block:25px}.meeting-description strong{font-size:13px}.meeting-meta{font-size:10px}}@container (width<=520px){.native-home{grid-template-rows:minmax(0,1fr) 200px;grid-template-columns:1fr}.native-agenda{border-inline-start:0;border-top:1px solid var(--line)}.native-meeting-link{gap:8px}.workspace-breadcrumb{gap:5px}.workspace-parent,.workspace-parent-separator{display:none}}.native-home.no-agenda{grid-template-rows:none;grid-template-columns:minmax(0,1fr)}.workspace-assistant-dock{inset-inline:0;border-top:1px solid var(--line);background:var(--bg);justify-content:flex-end;align-items:center;height:44px;padding:0 18px;display:flex;position:absolute;bottom:0}.workspace-assistant-launch{height:28px;color:var(--muted);transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:7px;padding:0 9px;font-size:11px;font-weight:450;display:inline-flex}.workspace-assistant-launch:hover{color:var(--ink);background:var(--control)}.workspace-assistant-launch:active{background:var(--control-pressed)}.workspace-assistant-launch kbd{font:10px/15px var(--font-sans);color:var(--muted);margin-inline-start:5px}.workspace-content:has(.workspace-assistant-dock) :is(.native-home,.native-folder){padding-bottom:44px}@media (prefers-reduced-motion:reduce){.chat-starter,.workspace-button,.workspace-recording-link,.workspace-assistant-launch,.workspace[data-sidebar-motion=true].sidebar-collapsed .workspace-sidebar,.workspace[data-sidebar-motion=true] .workspace-toolbar{transition:none}}[data-folder-color]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--folder-ink:var(--written);--folder-tint:var(--control)}@media (prefers-color-scheme:dark){[data-folder-color]{--lightningcss-light: ;--lightningcss-dark:initial}}.widget [data-folder-color]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-folder-color=violet]{--folder-ink:var(--lightningcss-light,#7434ca)var(--lightningcss-dark,#b995ff)}[data-folder-color=blue]{--folder-ink:var(--lightningcss-light,#2868ba)var(--lightningcss-dark,#87b5f4)}[data-folder-color=teal]{--folder-ink:var(--lightningcss-light,#157d80)var(--lightningcss-dark,#72cece)}[data-folder-color=green]{--folder-ink:var(--lightningcss-light,#388044)var(--lightningcss-dark,#92c88a)}[data-folder-color=amber]{--folder-ink:var(--lightningcss-light,#976b0d)var(--lightningcss-dark,#e5bd68)}[data-folder-color=orange]{--folder-ink:var(--lightningcss-light,#b85a1f)var(--lightningcss-dark,#efa777)}[data-folder-color=rose]{--folder-ink:var(--lightningcss-light,#be4675)var(--lightningcss-dark,#e99dbb)}[data-folder-color]:not([data-folder-color=default]){--folder-tint:color-mix(in srgb,var(--folder-ink) 12%,var(--bg))}.folder-glyph{color:var(--folder-ink);flex:none;justify-content:center;align-items:center;display:inline-flex}.folder-preview-tile,.folder-heading-icon{background:var(--folder-tint);color:var(--folder-ink)}.folder-page-heading{align-items:center;gap:12px;margin-bottom:9px;display:flex}.folder-page-heading h1{letter-spacing:-.55px;min-width:0;font-size:20px;font-weight:600;line-height:26px}.folder-page-heading h1 input{font:inherit;letter-spacing:inherit}.folder-heading-icon{border:1px solid color-mix(in srgb,var(--folder-ink) 15%,transparent);border-radius:10px;flex:none;place-items:center;width:40px;height:40px;display:grid}.folder-heading-icon:hover{filter:brightness(.96)}.folder-appearance-preview{align-items:center;gap:12px;min-width:0;margin:0 20px 22px;display:flex}.folder-appearance-preview strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.folder-preview-tile{border-radius:11px;flex:none;place-items:center;width:44px;height:44px;display:grid}.folder-choices{padding:0 20px 22px}.folder-choice-label{color:var(--muted);margin-bottom:9px;font-size:11px;font-weight:500}.folder-icon-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-bottom:20px;display:grid}.folder-icon-grid button{height:38px;transition:background var(--dur-micro) ease,border-color var(--dur-micro) ease;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;display:grid}.folder-icon-grid button:hover{background:var(--control)}.folder-icon-grid button[aria-checked=true]{border-color:var(--accent);background:var(--accent-soft)}.folder-color-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;display:grid}.folder-color-grid button{border:1px solid #0000;border-radius:50%;place-items:center;height:30px;display:grid}.folder-color-grid button span{background:var(--folder-ink);border-radius:50%;width:18px;height:18px}.folder-color-grid button:hover{background:var(--control)}.folder-color-grid button[aria-checked=true]{border-color:var(--folder-ink)}.folder-choices button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.folder-choices button:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){.folder-icon-grid button{transition:none}}body:has(.note-footer) .app-toast-viewport{--toast-y:calc(20px - var(--note-footer-height,76px))}body:has(.chat-page) .app-toast-viewport{--toast-y:-68px}body:has(.chat-panel[open]) .app-toast-viewport{--toast-x:-440px}body:has(.chat-panel[open]) .app-toast-viewport:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){--toast-x:440px}@media (width<=999px){body:has(.chat-panel[open]) .app-toast-viewport{--toast-x:4px;--toast-y:4px}body:has(.chat-panel[open]) .app-toast-viewport:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){--toast-x:-4px}.chat-panel:has(.app-toast){height:min(440px,100dvh - 152px);inset-block-end:84px}}@media (prefers-reduced-motion:reduce){.app-toast-viewport{transition:none}}.native-library{container:meeting-library/inline-size}.meeting-description{flex:220px}.meeting-folders{z-index:1;grid-area:1/2;gap:6px;min-width:0;display:flex;overflow:hidden}.meeting-folders:empty{display:none}.meeting-folder-suggestion{min-width:0;display:flex}.meeting-folder-pill{border:1px solid var(--line);min-width:0;max-width:140px;height:22px;color:var(--written);background:0 0;border-radius:11px;flex:0 auto;align-items:center;gap:5px;padding:0 7px;font-size:11px;line-height:20px;display:inline-flex}.meeting-folder-pill[data-opens=true]{transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease,border-color var(--dur-micro) ease}.meeting-folder-pill[data-opens=true]:hover{border-color:var(--control-border);background:var(--control);color:var(--ink)}.meeting-folder-dot{background:var(--folder-ink);border-radius:50%;flex:none;width:7px;height:7px}.meeting-folder-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.meeting-folder-name,.meeting-folder-proposal .note-folder-name>.truncate{max-width:112px}.meeting-folder-pill.meeting-folder-proposal{max-width:none}.meeting-folder-proposal{border-style:dashed;gap:3px;padding-inline-end:3px}.meeting-folder-proposal .note-folder-name{height:20px;font:inherit;border-radius:9px;gap:5px;padding:0}.meeting-folder-proposal .note-folder-name:hover{background:0 0}.meeting-folder-proposal .note-folder-actions{border:0;padding:0}.meeting-folder-proposal .workspace-icon{width:20px;height:20px}.meeting-folder-proposal button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.meeting-folder-proposal button:active{background:var(--control-pressed)}@container meeting-library (width<=460px){.meeting-folders{flex-shrink:0;max-width:50px}.meeting-folders:has(>.meeting-folder-suggestion){max-width:100%}.meeting-folder-pill:not(.meeting-folder-proposal){flex:0 0 22px;justify-content:center;width:22px;min-width:22px;max-width:22px;padding:0}.meeting-folder-name{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}}.sidebar-toggle-pane{width:6px}.workspace-sidebar-toggle[aria-expanded=false] .sidebar-toggle-pane{width:2px}@media (prefers-reduced-motion:no-preference){.workspace[data-sidebar-motion=true] .sidebar-toggle-pane{transition:width .2s cubic-bezier(.22,1,.36,1)}}.ask-page{contain:layout;scrollbar-gutter:stable both-edges;flex-direction:column;height:100%;min-height:0;padding:104px 32px 24px;display:flex;overflow-y:auto}.ask-page-toolbar{z-index:4;top:68px;justify-content:flex-end;align-items:center;gap:12px;height:28px;display:flex;position:absolute;inset-inline:24px}.ask-back{margin-inline-end:auto}.ask-page:has(.ask-landing){padding-bottom:clamp(104px,24vh,240px);container-type:size}.ask-page:has(.ask-landing) .ask-back{display:none}.ask-conversation{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.ask-page>.ask-landing{flex:none;width:100%;max-width:720px;margin:max(0px,50cqh - 97px) auto 0}.ask-home-title{text-align:center;letter-spacing:-.55px;margin:0 0 24px;font-size:20px;font-weight:600;line-height:26px}.ask-page.ask-full-thread:not(:has(.ask-landing)){padding-inline:0;overflow:hidden}.ask-full-thread>.ask-conversation:not(.ask-landing){--ask-reading-inset:max(32px,calc((100% - 720px)/2))}.ask-full-thread .ask-conversation-head,.ask-full-thread .ask-conversation:not(.ask-landing) .ask-composer{margin-inline:var(--ask-reading-inset)}.ask-full-thread .ask-thread{padding-inline:var(--ask-reading-inset)}.ask-conversation-head{flex:none;justify-content:space-between;align-items:center;gap:8px;min-height:44px;display:flex}.ask-conversation-head h2{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:550;overflow:hidden}.ask-conversation button:focus-visible,.ask-page-toolbar button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.ask-header-actions{flex:none;align-items:center;gap:8px;display:flex}.ask-thread-wrap{flex:1;min-height:0;display:flex;position:relative}.ask-thread{overscroll-behavior:contain;flex:1;min-height:0;padding:16px 0;overflow-y:auto}.ask-thread-empty{flex-direction:column;display:flex}.ask-thread-empty .ask-thread-content{margin-top:auto}.ask-landing .ask-thread-wrap{display:none}.ask-turn{flex-direction:column;gap:16px;margin:0 0 24px;display:flex}.ask-turn:last-child{margin-bottom:0}.ask-question{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--control);border-radius:12px;width:fit-content;max-width:80%;margin-inline-start:auto;padding:8px 12px;font-size:14px;line-height:20px}.ask-composer{flex:none;min-width:0;container-type:inline-size}.ask-box{border:1px solid var(--line);background:var(--float);min-width:0;box-shadow:var(--shadow-soft);border-radius:12px;position:relative}@media (prefers-reduced-motion:reduce){.orb-material:before,.orb-material:after{animation:none}.ask-send{transition:none;transform:none!important}}.ask-tracer{pointer-events:none;opacity:0;fill:none;width:calc(100% + 2px);height:calc(100% + 2px);stroke:var(--primary);stroke-width:3px;stroke-linecap:round;filter:drop-shadow(0 0 4px color-mix(in srgb,var(--primary) 70%,transparent)) drop-shadow(0 0 10px color-mix(in srgb,var(--primary) 35%,transparent));position:absolute;inset:-1px;overflow:visible}.ask-tracer rect{stroke-dasharray:1.05 98.95}@media (prefers-reduced-motion:reduce){.ask-tracer{display:none}}.ask-field{padding:12px}.ask-box textarea{field-sizing:content;resize:none;width:100%;min-height:38px;max-height:160px;color:var(--ink);background:0 0;outline:none;font-size:14px;line-height:22px;display:block}.ask-box textarea:focus-visible{outline:none}.ask-box textarea::placeholder{color:var(--muted)}.ask-box-actions{justify-content:space-between;align-items:center;margin-top:8px;display:flex}.ask-toolbar-button{width:28px;height:28px;color:var(--muted);transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease;border:1px solid #0000;border-radius:50%;flex:none;place-items:center;display:grid}.ask-toolbar-button:hover:not(:disabled){background:var(--control);color:var(--ink)}.ask-toolbar-button:active:not(:disabled){background:var(--control-hover)}.ask-toolbar-button:disabled{color:var(--muted);opacity:.45}.ask-send{isolation:isolate;background:var(--primary);color:#fff;--orb-play:paused;transition:transform .12s ease-out;position:relative;overflow:hidden}.ask-send:after{content:"";pointer-events:none;border-radius:inherit;background:#6f00ffbd;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ccb6ff44}.ask-send svg{z-index:1;position:relative}.orb-material{border-radius:inherit;pointer-events:none;background:var(--primary);isolation:isolate;position:absolute;inset:0;overflow:hidden}.orb-material:before,.orb-material:after{content:"";pointer-events:none;filter:blur(3px);animation:18s linear infinite orb-turn;animation-play-state:var(--orb-play);opacity:.92;background:radial-gradient(at 27% 32%,#ccb6ff 0 12%,#af8bff 24%,#0000 52%),radial-gradient(at 75% 68%,#7142e8 0 18%,#0000 50%);position:absolute;inset:-35%;transform:rotate(22deg)}.orb-material:after{background:radial-gradient(ellipse at 68% 26%,#fff 0 3%,#ccb6ff 13%,transparent 40%),radial-gradient(ellipse at 23% 72%,var(--accent) 0 13%,#7142e8 29%,transparent 54%);opacity:.8;animation-name:orb-counter;animation-duration:27s}@keyframes orb-turn{0%{transform:rotate(22deg)}to{transform:rotate(382deg)}}@keyframes orb-counter{0%{transform:rotate(-28deg)}to{transform:rotate(-388deg)}}.ask-box:not([data-busy=true]) .ask-send:not(:disabled):is(:hover,:focus-visible){--orb-play:running;transform:scale(1.04)}.ask-send:active:not(:disabled){transform:scale(.94)}.ask-send:disabled{border-color:var(--line);background:0 0}.ask-send:disabled:after,.ask-send:disabled .orb-material,.ask-box[data-busy=true] .orb-material{display:none}.ask-stop{background:var(--control);color:var(--ink)}.ask-stop:hover:not(:disabled){background:var(--control-hover);color:var(--ink)}.ask-stop:active:not(:disabled){background:var(--control-pressed)}.ask-scope-group{align-items:center;gap:1px;min-width:0;max-width:calc(100% - 40px);display:flex}.ask-scope{background:var(--control);min-width:0;max-width:100%;height:28px;color:var(--muted);white-space:nowrap;border-radius:8px;align-items:center;gap:6px;padding:0 8px;font-size:12px;display:flex}.ask-scope:hover:not(:disabled){background:var(--control-hover);color:var(--ink)}.ask-scope:disabled{opacity:.45}.ask-scope-group:has(.ask-scope-clear) .ask-scope{border-start-end-radius:0;border-end-end-radius:0}.ask-scope-clear{background:var(--control);width:26px;height:28px;color:var(--muted);border-start-end-radius:8px;border-end-end-radius:8px;flex:none;justify-content:center;align-items:center;display:flex}.ask-scope-clear:hover:not(:disabled){background:var(--control-hover);color:var(--ink)}.ask-scope-clear:disabled{opacity:.45}.ask-picker h3:has(.text-action){justify-content:space-between;align-items:center;display:flex}.ask-scope-label{min-width:0;display:flex}.ask-scope-name{text-overflow:ellipsis;min-width:0;overflow:hidden}.ask-scope-others{white-space:pre;flex:none}.ask-scope>svg{flex:none}.ask-starters{flex-direction:column;align-items:flex-end;gap:8px;min-width:0;display:flex}.ask-starters button{max-width:80%;color:var(--muted);text-align:start;background:color-mix(in srgb,var(--control) 50%,transparent);border:0;border-radius:12px;padding:8px 12px;font-size:12px;line-height:20px}.ask-home-starters{opacity:1;visibility:visible;transition:opacity var(--dur-micro) var(--ease-out),visibility 0s;flex-flow:wrap;justify-content:center;align-items:center;margin-top:12px}.ask-home-starters[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--dur-micro) var(--ease-out),visibility 0s var(--dur-micro)}.ask-home-starters[data-instant]{transition:none}@media (prefers-reduced-motion:reduce){.ask-home-starters{transition:opacity var(--dur-micro) var(--ease-out),visibility 0s}.ask-home-starters[aria-hidden=true]{transition-delay:0s,var(--dur-micro)}}.ask-home-starters button{white-space:nowrap;text-overflow:ellipsis;max-width:100%;height:28px;padding:4px 10px;font-size:12.5px;overflow:hidden}.ask-starters button:hover:not(:disabled){background:var(--control);color:var(--ink)}.ask-starters button:active:not(:disabled){background:var(--control-pressed)}.ask-picker{z-index:80;border:1px solid var(--line);background:var(--float);max-height:min(340px,50vh);color:var(--ink);box-shadow:var(--shadow-soft);animation:ask-fade var(--dur-micro) var(--ease-out);border-radius:10px;padding:6px;overflow-y:auto}.ask-mention{width:min(380px,100vw - 32px);position:fixed}.ask-selector-positioner{z-index:80}.ask-picker.ask-selector{width:min(380px,100vw - 32px);max-height:min(380px,60vh,var(--available-height));color:var(--ink);flex-direction:column;display:flex;position:static;inset:auto;overflow:hidden}.ask-picker-search{border-bottom:1px solid var(--line);width:100%;min-width:0;color:var(--ink);text-overflow:ellipsis;background:0 0;border-radius:0;outline:none;flex:none;padding:10px 8px;font-size:13px}.ask-picker-search::placeholder{color:var(--muted)}.ask-picker-search:focus-visible{border-radius:0;outline:none}.ask-picker-results{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;overflow-y:auto}.ask-picker h3{color:var(--muted);padding:7px 8px;font-size:11px;font-weight:550}.ask-picker button:not(.text-action){text-align:start;border-radius:5px;align-items:center;gap:8px;width:100%;padding:8px;font-size:13px;display:flex}.ask-picker button:not(.text-action)[data-active=true],.ask-picker button:not(.text-action):hover:not(:disabled){background:var(--card)}.ask-picker button:not(.text-action)>span{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.ask-picker button:not(.text-action):active{background:var(--control-pressed)}.ask-picker button:not(.text-action)>svg{flex:none}.ask-picker button:not(.text-action):disabled{opacity:.45}.ask-picker small{color:var(--muted);flex:none;font-size:11px}.ask-picker p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;padding:10px;font-size:12px;overflow:hidden}.ask-recent-positioner{z-index:80}.ask-history{width:min(520px,100vw - 32px);max-height:min(480px,var(--available-height));border:1px solid var(--line);background:var(--float);color:var(--ink);box-shadow:var(--shadow);border-radius:9px;overflow:hidden}.ask-history-scroll{max-height:min(478px,calc(var(--available-height) - 2px));overscroll-behavior:contain;padding:8px;overflow-y:auto}.ask-history h2{color:var(--muted);padding:8px 8px 4px;font-size:10px;font-weight:500;line-height:14px}.ask-history section+section{margin-top:8px}.ask-history-empty{color:var(--muted);padding:16px 8px;font-size:12px}.ask-history-row{border-radius:7px;grid-template-columns:minmax(0,1fr) max-content;align-items:center;column-gap:16px;height:46px;padding-inline:8px;display:grid}.ask-history-row:hover:not(:has(:focus-visible)){background:var(--card)}.ask-history-row:active{background:var(--control)}.ask-history-link{grid-area:1/1/2/3;grid-template-columns:subgrid;text-align:start;border-radius:5px;align-items:center;min-width:0;height:100%;display:grid}.ask-history-link strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:450;overflow:hidden}.ask-history-link time{min-width:86px;color:var(--muted);text-align:end;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px}.ask-history-all{justify-content:flex-start;width:100%}.ask-menu-positioner{z-index:110}.ask-actions-menu{min-width:156px}.ask-actions-menu [role=menuitem]{cursor:default;align-items:center;gap:8px;display:flex}.ask-actions-menu [data-highlighted]{background:var(--card);outline:none}.chat-panel .ask-conversation-head{height:44px;padding-inline:16px 12px}.chat-panel .ask-thread{padding:16px 12px}.chat-panel .ask-composer{padding:0 12px 12px;overflow:visible}@container (width<=520px){.ask-page{padding-inline:18px}}@keyframes ask-fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.ask-toolbar-button{transition:none}}.note-folder-proposal{width:max-content;max-width:min(256px,100%)}.note-folder-proposal:hover{color:var(--muted);background:0 0}.note-folder-name{border-radius:5px 0 0 5px;align-items:center;gap:6px;min-width:0;height:30px;padding:0 10px;display:flex}[dir=rtl] .note-folder-name{border-radius:0 5px 5px 0}.note-folder-name:hover,.note-folder-name[aria-expanded=true]{color:var(--ink);background:var(--control-hover)}.note-folder-name:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.note-folder-actions{border-inline-start:1px solid var(--line);flex:none;align-items:center;padding:0 1px;display:flex}.note-folder-proposal,.meeting-folder-proposal{transition:opacity var(--dur-base) var(--ease-out),padding var(--dur-base) var(--ease-out),gap var(--dur-base) var(--ease-out)}.note-folder-actions{width:59px;transition:width var(--dur-base) var(--ease-out),opacity var(--dur-base) var(--ease-out),padding var(--dur-base) var(--ease-out),border-width var(--dur-base) var(--ease-out);overflow:hidden}.meeting-folder-proposal .note-folder-actions{width:40px}[data-phase=accepted] .note-folder-actions,[data-phase=settled] .note-folder-actions{opacity:0;border-inline-start-width:0;width:0;padding:0}.meeting-folder-proposal:is([data-phase=accepted],[data-phase=settled]){border-style:solid;gap:0;padding-inline-end:7px}.note-folder-proposal[data-phase=dismissed],.meeting-folder-proposal[data-phase=dismissed]{opacity:0;pointer-events:none}@container meeting-library (width<=460px){.meeting-folder-proposal .note-folder-name span:last-child{max-width:120px;transition:max-width var(--dur-base) var(--ease-out),opacity var(--dur-base) var(--ease-out)}.meeting-folder-proposal:is([data-phase=accepted],[data-phase=settled]){gap:0;min-width:22px;padding:0}.meeting-folder-proposal:is([data-phase=accepted],[data-phase=settled]) .note-folder-name{flex:1;justify-content:center;gap:0}.meeting-folder-proposal:is([data-phase=accepted],[data-phase=settled]) .note-folder-name span:last-child{opacity:0;max-width:0}}@media (prefers-reduced-motion:reduce){.note-folder-proposal,.meeting-folder-proposal,.note-folder-actions,.meeting-folder-proposal .note-folder-name span:last-child{transition:none}}.ask-conversation ::selection{background:var(--accent-soft);color:var(--ink)}.native-library{scrollbar-gutter:stable}.native-library:has(.library-empty){flex-direction:column;display:flex}.library-load,.library-load>.loading-result{flex-direction:column;flex:1;display:flex}:root[data-chrome=overlay]{--controls-start:env(titlebar-area-x,0px);--controls-end:calc(100vw - env(titlebar-area-x,0px) - env(titlebar-area-width,100vw))}:root[data-chrome=overlay] .workspace{--chrome-glass:var(--chrome)}:root[data-chrome=overlay] .workspace-sidebar-toggle{left:calc(14px + var(--controls-start));top:12px}:root[data-chrome=overlay] .sidebar-collapsed .workspace-window-bar{width:56px}:root[data-chrome=overlay] .workspace-toolbar{right:var(--controls-end)}:root[data-chrome=overlay] .workspace:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .note-topbar{right:calc(16px + var(--controls-end))}:root[data-chrome=overlay] .sidebar-collapsed .workspace-toolbar{padding-inline-start:24px}:root[data-chrome=overlay] .workspace:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .workspace-toolbar:has(.notes-download-status){right:max(0px,calc(var(--controls-end) - 208px))}:root[data-chrome=overlay] .workspace:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)).sidebar-collapsed .workspace-toolbar:has(.notes-download-status){right:max(0px,calc(var(--controls-end) - 56px))}.note-reading-frame{border-radius:12px;flex:1;min-width:0;min-height:0;margin:0 calc(max(0px,50% - 430px) + clamp(20px,10cqw - 42px,48px) - 14px);padding:0 2px;position:relative}.note-reading-frame[hidden]{display:none}.note-reading-clip{border-radius:10px;height:100%;overflow:hidden}.main-window .note-reading-clip>.note-notes-pane{scrollbar-width:auto;scrollbar-gutter:stable;height:100%}.note-reading-frame .note-notes-body{max-width:none;padding-block:22px 40px;padding-inline:12px 8px}.note-reading-clip>.note-notes-pane::-webkit-scrollbar{width:4px}.note-reading-clip>.note-notes-pane::-webkit-scrollbar-track{background:0 0}.note-reading-clip>.note-notes-pane::-webkit-scrollbar-thumb{background:0 0}.note-reading-clip>.note-notes-pane[data-scrolling]::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 45%,transparent);border-radius:3px}.note-latest{z-index:3;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.native-library{--meeting-selection-tint:6%}.native-library .native-meeting-row[data-selected=true],.native-library .native-meeting-row[data-selected=true]:hover{background:color-mix(in srgb,var(--primary) var(--meeting-selection-tint),var(--bg))}.native-meeting-row[data-selected=true]+.native-meeting-row[data-selected=true]{border-top-left-radius:0;border-top-right-radius:0}.native-meeting-row[data-selected=true]:has(+.native-meeting-row[data-selected=true]){border-bottom-right-radius:0;border-bottom-left-radius:0}.native-library:has([data-selecting=true]){padding-bottom:100px}.native-library:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.meeting-menu-divider{background:var(--line);height:1px;margin:4px 0}.meeting-selection-bar{border:1px solid var(--line);background:var(--float);width:max-content;color:var(--ink);z-index:60;border-radius:11px;flex-wrap:wrap;align-items:center;gap:10px;padding:9px 10px 9px 16px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #0000001f,0 1px 3px #00000014}.meeting-selection-count{font-variant-numeric:tabular-nums;margin-inline-end:8px;font-size:12px;font-weight:500}.meeting-selection-count small{color:var(--muted);font-size:11px;font-weight:400;line-height:14px;display:block}.meeting-selection-delete{color:var(--danger)}.meeting-selection-folder{position:relative}.meeting-selection-menu{border:1px solid var(--line);width:240px;max-width:calc(100vw - 16px);max-height:min(320px,60vh);position:absolute;overflow:auto}.meeting-selection-bar button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.meeting-drag-count{background:var(--primary);color:#fff;border-radius:5px;padding:2px 6px;font-size:11px}.app-toast[data-kind=recording-deleted-toast]{width:max-content;max-width:calc(100vw - 40px);inset-inline-start:auto}.app-toast[data-kind=recording-deleted-toast] :is(.app-toast-title,.workspace-button){white-space:nowrap}@media (prefers-reduced-motion:reduce){.app-toast{filter:none!important}.note-folder-proposal,.meeting-folder-proposal,.note-folder-actions,.meeting-folder-proposal .note-folder-name span:last-child{transition:opacity var(--dur-micro) var(--ease-out)}}.note-reading-frame[data-resetting=true] .note-reading-clip{visibility:hidden}.workspace-button.primary{transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease,box-shadow var(--dur-micro) ease,transform var(--dur-micro) var(--ease-out)}.workspace-button.primary:active:not(:disabled){transform:scale(.97)}@media (prefers-reduced-motion:reduce){.workspace-button.primary{transition:none}.workspace-button.primary:active:not(:disabled){transform:none}}:root[data-marketing-theme=dark] .workspace{--sidebar-field:#2f2f31;--sidebar-field-edge:#363638;--sidebar-selected:#38313f}:root[data-marketing-theme=dark] .empty-tile{box-shadow:0 1px 2px #0003,0 14px 32px -10px #00000080}:root[data-marketing-theme=dark] .ask-conversation ::selection{color:#fff;background:#8055b8}:root[data-marketing-theme=dark] .native-library{--meeting-selection-tint:9%}html,body,#root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;height:100%;margin:0;overflow:hidden}html.main-window,body{background:0 0!important}body{pointer-events:none;-webkit-user-select:none;user-select:none;caret-color:#0000}.marketing-window{background:var(--bg);border-radius:12px;position:absolute;inset:0;overflow:hidden;transform:translateZ(0)}@media (width>=1000px){.marketing-window .chat-panel{--chat-height:initial!important}}.marketing-traffic{z-index:100;gap:7px;display:flex;position:absolute;top:21px;left:18px}.marketing-traffic i{background:#ff6058;border-radius:50%;width:10px;height:10px}.marketing-traffic i:nth-child(2){background:#febc2e}.marketing-traffic i:nth-child(3){background:#29c840}html[data-still] *,html[data-still] :before,html[data-still] :after{transition:none!important;animation:none!important}html[data-playing=false] *,html[data-playing=false] :before,html[data-playing=false] :after{animation-play-state:paused!important}.marketing-window .transcript-turn:first-child .name-in{animation:none}.marketing-cursor{z-index:1000;pointer-events:none;opacity:0;width:30px;height:32px;position:fixed;top:0;left:0;overflow:visible}.cursor-pointer{fill:#2f3649;stroke:#fff;filter:drop-shadow(0 1px 1.5px #0e142633);transform-origin:4px 3px;transition:transform .13s ease-out}.marketing-cursor[data-clicking=true] .cursor-pointer{transform:scale(.88)}.cursor-ring{fill:none;stroke:#fff;stroke-width:1.5px;opacity:0;transform-origin:4px 3px;transition:transform .24s ease-out,opacity .18s ease-out;transform:scale(.6)}.marketing-cursor[data-clicking=true] .cursor-ring{opacity:.3;transform:scale(1)}html[data-typing=true] [data-testid=note-mine] li:last-child p:after{content:"";vertical-align:-.1em;border-right:1.5px solid;height:1em;animation:.9s step-end infinite demo-caret;display:inline-block}html[data-typing=true] [data-testid=note-mine] li:last-child p:has(>br:only-child){position:relative}html[data-typing=true] [data-testid=note-mine] li:last-child p:has(>br:only-child):after{position:absolute;top:50%;left:0;translate:0 -50%}@keyframes demo-caret{50%{opacity:0}}html[data-fragment]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.marketing-fragment{min-width:0;position:absolute;inset:24px 24px auto}.marketing-fragment .transcript-toolbar,.marketing-fragment .transcript-player-dock,.marketing-fragment .ask-conversation-head,.marketing-fragment .ask-composer,.marketing-fragment .chat-answer-actions{display:none}.fragment-transcript .transcript-inline [data-testid=transcript]{flex:none;gap:20px;padding:0;overflow:hidden}.fragment-transcript .transcript-turn{min-width:0;margin:0}.fragment-transcript .turn-head{align-self:stretch}.fragment-transcript .line-who{flex:1}.fragment-transcript .turn-time{display:none}.fragment-transcript .transcript-turn[data-track=me]>p.sr-only{clip:auto;clip-path:none;white-space:normal;text-align:right;width:auto;height:auto;font-size:var(--text-xs);line-height:var(--text-xs--line-height);color:var(--muted);align-self:stretch;margin:0;padding:0;display:flex;position:static;overflow:visible}.fragment-transcript [data-testid=transcript-empty],.fragment-transcript .loading-placeholder{display:none}.marketing-fragment .ask-thread{padding:0;overflow:visible}.marketing-fragment .ask-turn>.ask-question{order:0}.fragment-byline{color:var(--muted);order:1;align-items:center;gap:9px;font-size:12px;display:flex}.marketing-fragment .ask-turn>:is(.chat-progress,.chat-answer){order:2}.marketing-fragment .ask-turn>.chat-progress{margin:0}.marketing-fragment .ask-turn>.chat-answer{margin-left:29px}html[data-fragment-playing=false] *{animation-play-state:paused!important}.fragment-ask .ask-turn{position:relative}.fragment-ask .ask-turn>.chat-progress{left:29px;top:var(--fragment-answer-top);visibility:hidden;position:absolute}@media (width<=320px){.marketing-fragment{inset:20px 20px auto}.marketing-fragment .bubble,.marketing-fragment .ask-question,.marketing-fragment .chat-answer{font-size:15px}}.marketing-window [data-testid=transcript-who],.fragment-transcript [data-testid=transcript-who]{visibility:visible;animation:none}.fragment-plan{position:relative}.fragment-plan-size{visibility:hidden;pointer-events:none}.fragment-plan-live{position:absolute;inset:0}html[data-ask-focused=true] [data-testid=chat-suggestions]{visibility:hidden}html[data-fragment=ask] .fragment-ask{justify-content:center;align-items:center;padding:28px;display:flex;inset:0}.fragment-ask .ask-conversation{flex:none;width:100%;max-width:400px}.fragment-ask .ask-thread-wrap,.fragment-ask .ask-thread{flex:none;overflow:visible!important}.fragment-ask .ask-turn{gap:28px;margin:0}.fragment-ask .ask-turn>.ask-question{border-radius:14px 14px 4px;max-width:85%;padding:10px 14px}.fragment-ask .ask-turn>.chat-answer{border:1px solid var(--line);background:var(--float);border-radius:4px 14px 14px;margin:0 24px 0 32px;padding:12px 16px;font-size:14.5px;line-height:1.6}.fragment-ask .chat-answer>p{margin:0}.fragment-ask .chat-answer>p+p{margin-top:6px}.fragment-ask .fragment-byline{left:0;top:calc(var(--fragment-answer-top) + 12px);width:20px;height:20px;margin:0;position:absolute}.fragment-ask .fragment-byline>span{display:none}.fragment-ask .ask-turn>.chat-progress{left:48px;top:calc(var(--fragment-answer-top) + 12px);margin:0}@media (width<=320px){html[data-fragment=ask] .fragment-ask{padding:20px}.fragment-ask .ask-turn{gap:24px}.fragment-ask .ask-turn>.chat-answer{margin-right:0;font-size:14px}.fragment-ask .ask-turn>.ask-question{font-size:14px}}.fragment-ask .ask-turn>.chat-answer{opacity:var(--reply-opacity,1);transition:opacity .18s ease-out}@media (prefers-reduced-motion:reduce){.fragment-ask .ask-turn>.chat-answer{transition:none}}.fragment-plan[data-waiting=true] .fragment-plan-live{visibility:hidden}.summary-cue{position:absolute;inset:0}.summary-cue>span{color:var(--muted);margin-bottom:8px;font-size:14px;display:block}.fragment-ask .ask-thread-wrap .ask-thread{width:100%;min-width:0;max-width:100%}html[data-fragment][data-paused=true] *,html[data-fragment][data-paused=true] :before,html[data-fragment][data-paused=true] :after{animation-play-state:paused!important}-/*$vite$:1*/\ No newline at end of filediff --git a/site/public/marketing/app/renderer.js b/site/public/marketing/app/renderer.jsdeleted file mode 100644index 608580a2..00000000--- a/site/public/marketing/app/renderer.js+++ /dev/null@@ -1,203 +0,0 @@-(function(){var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,o)=>(o=n==null?{}:e(i(n)),s(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n)),l={notes:8,type:9.5,typed:14,finish:15.5,summaryStart:18,summary:20,ask:24,askFocus:24.85,question:25,send:27.4,answer:29.8,answered:31.3,close:34.6,resume:36.2,transcript:37.4},u=`- Leave 30 minutes for a quiet QA pass.`,d=`Note to self: send Ray the asset list by Friday.`,f=[...d].map((e,t)=>1+t%4*.12+(`Note to self: send Ray the asset list by Friday.`[t-1]===` `?.18:`Note to self: send Ray the asset list by Friday.`[t-1]===`:`?.65:0)),p=f.reduce((e,t)=>e+t,0),m=0,h=f.map(e=>l.type+(m+=e)/p*(l.typed-l.type)),g=`## Launch plan-Publish the page Tuesday. Send the announcement Wednesday morning, after checking the links.-## Next steps-- **Kara:** Share the release notes draft Friday.-- **Lincoln:** Send the announcement Wednesday.-- **You:** Send Ray the asset list by Friday.-## My reminders-- Leave 30 minutes for a quiet QA pass.`,_=`When are we launching?`,v=`The page goes live Tuesday.--Lincoln announces it Wednesday.`,y=(e,t,n,r,i)=>({id:e,meetingId:`sample-meeting`,track:`them`,speaker:t,speakerColor:[`Kara Moore`,`Ray Mones`,`Lincoln Park`].indexOf(t),text:n,startMs:r,endMs:i,hidden:!1}),b=[y(1,`Kara Moore`,`The launch page is ready for review.`,709e3,712e3)],x=[{from:1.5,to:4.5,line:y(2,`Ray Mones`,`Support has the checklist. We can publish Tuesday.`,721500,724500)},{from:5.2,to:7.5,line:y(3,`Lincoln Park`,`I’ll send the announcement on Wednesday morning.`,725200,727500)}],S=(e,t)=>e.split(` `).slice(0,Math.ceil(e.split(` `).length*Math.max(0,Math.min(1,t)))).join(` `);function C(e){let t=e>=l.resume,n=t?0:e,r=[...b];for(let e of x)r.push({...e.line,hidden:n<e.to});r.sort((e,t)=>e.startMs-t.startMs);let i=x.find(e=>n>=e.from&&n<e.to);return{transcript:r,partial:i?S(i.line.text,(n-i.from)/(i.to-i.from)):``,partialStart:i?.line.startMs??0,state:t||e<l.finish?`recording`:e<l.summary?`stopped`:`done`,status:t||e<l.finish?`idle`:e<l.summary?`writing`:`done`,mine:u+(!t&&e>=l.type-1.1?`-- `+d.slice(0,h.filter(t=>t<=e).length):``),draft:t||e<l.summaryStart?``:g.slice(0,Math.floor(321*Math.min(1,(e-l.summaryStart)/(l.summary-l.summaryStart)))),tab:e<l.notes||e>=l.transcript?`note-transcript-toggle`:e<l.finish||t?`note-notes-tab`:`note-summary-tab`,askFocused:e>=l.askFocus&&e<l.send,question:e<l.question?``:_.slice(0,Math.ceil(22*Math.min(1,(e-l.question)/2))),answer:e<l.answer?``:S(v,(e-l.answer)/(l.answered-l.answer))}}var w=Date.now(),T=new Date(w).setHours(0,0,0,0),E={id:`sample-meeting`,title:`Launch planning`,startedAt:Math.max(w-72e4,T),endedAt:null,durationMs:72e4,state:`recording`,eventId:null,app:null,language:`english`,titleSource:`user`,attendees:[`Kara Moore`,`Ray Mones`,`Lincoln Park`,`Charlotte Goode`].map(e=>({name:e}))},D=[{id:`launch`,name:`Launch`,color:`violet`},{id:`hiring`,name:`Hiring`,color:`teal`},{id:`customer-calls`,name:`Customer calls`,color:`amber`}].map((e,t)=>({...e,icon:`folder`,createdAt:E.startedAt,position:t})),O={meetingId:E.id,mine:u,enhanced:null,edited:!1,status:`idle`,draft:``,peopleChanged:!1,saves:{mine:{revision:0,status:`saved`},enhanced:{revision:0,status:`saved`}}},k=[{n:1,meetingId:E.id,title:E.title,startedAt:E.startedAt,atMs:721500,excerpt:`Ray Mones: Support has the checklist. We can publish Tuesday.-Lincoln Park: I’ll send the announcement on Wednesday morning.`,transcript:{speakers:[`Kara Moore`,`Ray Mones`,`Lincoln Park`],lines:[{track:`them`,speaker:`Ray Mones`,text:`Support has the checklist. We can publish Tuesday.`,startMs:721500},{track:`them`,speaker:`Lincoln Park`,text:`I’ll send the announcement on Wednesday morning.`,startMs:725200}]}}],A=[{kind:`meeting`,id:E.id,title:E.title,startedAt:E.startedAt}],j={id:`sample-conversation`,title:`Launch date`,chips:A,draft:``,draftChips:[],firstChips:null,turns:[],waitsForMeeting:!1,waitsForModel:!1},M=new URLSearchParams(location.search).get(`fragment`),N=()=>{},P=()=>N,F=e=>async()=>structuredClone(e),I=Object.fromEntries([`widget`,`level`,`segment`,`speakers`,`partial`,`reset`,`meeting`,`notes`,`chat`].map(e=>{let t=new Set;return[e,{on:e=>(t.add(e),()=>{t.delete(e)}),emit:e=>t.forEach(t=>t(structuredClone(e)))}]})),L=I.reset.on,R=new URLSearchParams(location.search).get(`still`),ee=Number(R),z=R===null?0:Math.max(0,Math.min(39,R===``||!Number.isFinite(ee)?33:ee)),te=!1,ne=C(z).transcript,re=JSON.stringify(ne),ie=``,B=``,V=0,ae,H,oe;O.mine=H=C(z).mine;var se=(e,t,n)=>(O.mine=t,O.saves.mine={revision:n,status:`saved`},structuredClone(O.saves.mine)),ce=()=>E.state===`recording`?{kind:`recording`,meetingId:E.id,title:E.title,elapsedMs:72e4+(z>=l.resume?0:z)*1e3,at:Date.now(),note:null}:null;window.yogurt={platform:`darwin`,fake:!0,capabilities:{calendar:!1,callNames:!1,permissionPrompts:!1,mediaPause:!1},setup:{state:F({}),onState:P},updates:{status:F({version:``,available:!1,on:!1,state:`idle`}),onStatus:P},widget:{state:async()=>ce(),onState:I.widget.on,onLevel:I.level.on},meetings:{get:F(E),onChange:I.meeting.on,stop:async()=>{},resume:async()=>(document.documentElement.dataset.resumeClicked=`true`,{id:E.id})},notes:{get:F(O),onChange:I.notes.on,onFlushRequest:P,keptEdits:N,setMine:async(...e)=>se(...e),setEnhanced:F({revision:0,status:`failed`}),flushSync:(e,t,n,r)=>t===`mine`?se(e,n,r):{revision:r,status:`saved`}},transcript:{get:async()=>structuredClone(ne),onSpeakers:I.speakers.on,onSegment:I.segment.on,onPartial:I.partial.on},conversations:{current:F(j.id),get:F(j),onChange:I.chat.on,targets:F(A),warm:N,draft:async(e,t)=>{j.draft=t},ask:async(e,t)=>(t===`When are we launching?`&&(document.documentElement.dataset.questionSent=`true`),j.draft=``,j.id),stop:async()=>{}},settings:{get:F({theme:`dark`,locale:`en`,systemLocale:`en`,language:``,spoken:`en`,myName:`You`,macName:`You`,recordingReminder:!1}),onLanguage:P},audio:{tracks:F([]),onDeleted:P,mics:F({devices:[],choice:null,using:`Mac microphone`,defaultName:`Mac microphone`}),onMics:P},folders:{suggestion:F(null),of:F([D[0]]),list:F(D),onChange:P},onboarding:{nudge:F([])},nav:{go:N,takeAsk:F(!1),onAsk:P},share:{copy:F(`failed`),save:F(`cancelled`)}},HTMLElement.prototype.focus=N,R!==null&&(document.documentElement.dataset.still=``);var le=window.setInterval.bind(window);window.setInterval=(e,t,...n)=>le(()=>{te&&R===null&&e(...n)},t);var ue=e=>document.querySelector(`[data-testid="${e}"]`),de=(e,t=!0)=>e?.dispatchEvent(new MouseEvent(`click`,{bubbles:!0,cancelable:!0,detail:+!!t}));function fe(e){let t=ue(`note-mine`)?.editor;if(t&&(oe!==t||H!==e.mine)){oe=t,H=e.mine,t.commands.setContent({type:`doc`,content:[{type:`bulletList`,content:e.mine.split(`-`).map(e=>({type:`listItem`,content:[{type:`paragraph`,content:e.slice(2)?[{type:`text`,text:e.slice(2)}]:[]}]}))}]});let n=0;t.state.doc.descendants((e,t)=>{e.isTextblock&&(n=t+1+e.content.size)}),t.commands.setTextSelection(n)}}function pe(e){document.activeElement?.blur();let t=ue(e.tab);(R!==null||e.tab!==`note-summary-tab`)&&t&&t!==ae&&(ae=t,t.getAttribute(`aria-selected`)!==`true`&&de(t,z>=l.notes)),z>=l.ask&&z<l.close&&ue(`chat-open`)?.getAttribute(`aria-expanded`)!==`true`&&de(ue(`chat-open`)),z>=l.close&&ue(`chat-close`)&&!document.documentElement.dataset.chatClosed&&(de(ue(`chat-close`)),document.documentElement.dataset.chatClosed=`true`),z>=l.resume&&!document.documentElement.dataset.resumeClicked&&de(ue(`note-resume`)),fe(e),document.documentElement.dataset.typing=String(z>=l.type&&z<l.typed);let n=ue(`chat-input`);e.askFocused&&document.documentElement.dataset.askFocused!==`true`&&de(n),document.documentElement.dataset.askFocused=String(e.askFocused),n&&z<l.send&&n.value!==e.question&&(Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,`value`).set.call(n,e.question),n.dispatchEvent(new Event(`input`,{bubbles:!0}))),z>=l.send&&z<l.close&&!document.documentElement.dataset.questionSent&&(n&&n.value!==`When are we launching?`?(Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,`value`).set.call(n,_),n.dispatchEvent(new Event(`input`,{bubbles:!0}))):ue(`chat-send`)&&!ue(`chat-send`).disabled&&ue(`chat-box`)?.dispatchEvent(new Event(`submit`,{bubbles:!0,cancelable:!0})))}var me=[{id:`note-notes-tab`,start:l.notes-1.2,at:l.notes},{id:`note-stop`,start:l.finish-1.3,at:l.finish},{id:`chat-open`,start:l.ask-1.3,at:l.ask},{id:`chat-input`,start:l.ask+.2,at:l.askFocus},{id:`chat-send`,start:l.send-1.1,at:l.send},{id:`chat-close`,start:l.close-1.1,at:l.close},{id:`note-resume`,start:l.resume-1.1,at:l.resume},{id:`note-transcript-toggle`,start:l.transcript-1.1,at:l.transcript},{id:`home`,start:l.transcript+.2,at:39}],he,ge,_e=0;function ve(e=z){let t=document.querySelector(`.marketing-cursor`);if(!t)return;let n={x:(window.innerWidth||1e3)*.75-4,y:(window.innerHeight||608)*.82-3};!ge&&!he&&(t.style.transform=`translate(${n.x}px,${n.y}px)`);let r=me.findLast(t=>e>=t.start);if(t.style.opacity=r&&e<r.at+(r.id===`note-notes-tab`?.2:.35)&&(R===null||r.id!==`home`)?`1`:`0`,r?.id===`chat-input`&&(t.style.opacity=String(Math.max(0,Math.min(1,1-(e-r.at-.15)/.2)))),t.dataset.clicking=String(!!r&&r.id!==`home`&&e>=r.at&&e<r.at+.15),r){if(r!==he){let{x:i,y:a}=n;if(r.id!==`home`){let e=ue(r.id);if(!e)return;let t=e.getBoundingClientRect();if(!t.width||!t.height)return;i=t.x+t.width*.6-4,a=t.y+t.height*.6-3}let o=t.getBoundingClientRect();if(r.id===`note-stop`){let e=ue(`note-mine`)?.editor;if(!e)return;let t=e.view.coordsAtPos(e.state.selection.to);if(t.bottom<=t.top)return;o={x:t.left+10,y:t.bottom+8}}let s=r.id===`chat-input`?(r.at-r.start-.1)*1e3:Math.max(240,Math.hypot(i-o.x,a-o.y)/.6);ge?.cancel(),ge=t.animate([{transform:`translate(${o.x}px,${o.y}px)`},{transform:`translate(${i}px,${a}px)`}],{duration:s,easing:`cubic-bezier(.45,0,.25,1)`,fill:`both`}),ge.pause(),he=r,_e=R===null?Math.max(r.start,e-1/60):r.start}ge.currentTime=Math.max(0,(e-_e)*1e3)}}function ye(e,t=[.4,.65,.5]){let n=e<z;z=e;let r=C(z);fe(r),ve(),n&&(delete document.documentElement.dataset.chatClosed,delete document.documentElement.dataset.resumeClicked,delete document.documentElement.dataset.questionSent),z>=l.finish&&z<l.resume&&E.state===`recording`&&de(ue(`note-stop`)),E.state!==r.state&&(E.state=r.state,E.endedAt=r.state===`recording`?null:E.startedAt+72e4+l.finish*1e3,I.meeting.emit()),ne=r.transcript,JSON.stringify(ne)!==re&&(re=JSON.stringify(ne),ne.filter(e=>!e.hidden).forEach(e=>I.segment.emit(e)),I.speakers.emit(E.id));let i=r.partial.split(` `).filter(Boolean).map((e,t)=>({text:e,startMs:r.partialStart+t*200,endMs:r.partialStart+t*200+150}));I.partial.emit({meetingId:E.id,track:`them`,startMs:r.partialStart,text:r.partial,words:i}),Object.assign(O,{status:r.status,enhanced:r.status===`done`?g:null,draft:r.draft}),JSON.stringify(O)!==ie&&(ie=JSON.stringify(O),I.notes.emit(O)),j.turns=z<l.send||z>=l.resume?[]:[{id:1,question:_,answer:r.answer+(z>=l.answered?`[1]`:``),status:z<l.answered?`answering`:`done`,step:z<l.answer?{kind:`loading`}:{kind:`reading`,title:E.title},sources:k,scope:A}],j.firstChips=j.turns.length?A:null,JSON.stringify(j)!==B&&(B=JSON.stringify(j),I.chat.emit(j)),z<1.5&&R===null&&(t=[.45+.2*Math.sin(z*9),.55+.18*Math.sin(z*13)]);let a=Array.isArray(t)?Math.max(0,...t.slice(0,3).map(e=>Number.isFinite(e)?Math.max(0,Math.min(1,e)):0)):0,o={me:E.state===`recording`?a:0,them:E.state===`recording`?a:0};I.level.emit(o),I.widget.emit(ce()),n&&!ue(`note-transcript-toggle`)&&I.reset.emit(),pe(r),cancelAnimationFrame(V);let s=6,c=()=>{pe(C(z)),I.level.emit(o),I.partial.emit({meetingId:E.id,track:`them`,startMs:r.partialStart,text:r.partial,words:i}),--s&&(V=requestAnimationFrame(c))};V=requestAnimationFrame(c)}function be(){let e=()=>{ue(`note-transcript-toggle`)&&(z===0&&(pe(C(z)),document.querySelectorAll(`[data-testid=transcript-who]`).length<C(0).transcript.filter(e=>!e.hidden).length)||(t.disconnect(),ye(z),requestAnimationFrame(()=>requestAnimationFrame(()=>{document.documentElement.dataset.ready=`true`,window.parent.postMessage({type:`yogurt-hero-ready`,duration:39},location.origin)}))))},t=new MutationObserver(e);return t.observe(document.body,{childList:!0,subtree:!0}),e(),()=>t.disconnect()}window.addEventListener(`message`,e=>{M||e.source!==window.parent||e.origin!==location.origin||(e.data?.type===`yogurt-hero-cursor`&&Number.isFinite(e.data.seconds)&&ve(Math.max(0,Math.min(39,e.data.seconds))),e.data?.type===`yogurt-hero-time`&&Number.isFinite(e.data.seconds)&&ye(Math.max(0,Math.min(39,e.data.seconds)),e.data.bands),e.data?.type===`yogurt-hero-playing`&&typeof e.data.playing==`boolean`&&(te=e.data.playing,document.documentElement.dataset.playing=String(te)))});function xe(e){j.turns=e?[{id:1,...e,sources:k,scope:A}]:[],j.firstChips=A,I.chat.emit(j)}function Se(e,t){ne=e;for(let t of e)I.segment.emit(t);I.speakers.emit(E.id),I.partial.emit({meetingId:E.id,...t})}var Ce=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function k(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function A(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var j=/\/+/g;function M(e,t){return typeof e==`object`&&e&&e.key!=null?A(``+e.key):t.toString(36)}function N(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function P(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,P(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+M(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(j,`$&/`)+`/`),P(o,r,i,``,function(e){return e})):o!=null&&(k(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(j,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u<e.length;u++)a=e[u],s=l+M(a,u),c+=P(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+M(a,u++),c+=P(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return P(N(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function F(e,t,n){if(e==null)return e;var r=[],i=0;return P(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function I(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var L=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function R(e){var t=T.T,n={};n.types=t===null?null:t.types,T.T=n;try{var r=e(),i=T.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(w,L)}catch(e){L(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),T.T=t}}function ee(e){var t=T.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else R(ee.bind(null,e))}var z={map:F,forEach:function(e,t,n){F(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return F(e,function(){t++}),t},toArray:function(e){return F(e,function(e){return e})||[]},only:function(e){if(!k(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=z,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},e.addTransitionType=ee,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!E.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return D(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)E.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return D(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=k,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:I}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=R,e.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},e.use=function(e){return T.H.use(e)},e.useActionState=function(e,t,n){return T.H.useActionState(e,t,n)},e.useCallback=function(e,t){return T.H.useCallback(e,t)},e.useContext=function(e){return T.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return T.H.useEffect(e,t)},e.useEffectEvent=function(e){return T.H.useEffectEvent(e)},e.useId=function(){return T.H.useId()},e.useImperativeHandle=function(e,t,n){return T.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.H.useMemo(e,t)},e.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return T.H.useReducer(e,t,n)},e.useRef=function(e){return T.H.useRef(e)},e.useState=function(e){return T.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return T.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return T.H.useTransition()},e.version=`19.3.0`})),we=o(((e,t)=>{t.exports=Ce()})),Te=o((e=>{var t=we();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`),o=Symbol.for(`react.recoverable`),s=Symbol.for(`react.optimistic_key`);function c(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:r===s?s:``+r,children:e,containerInfo:t,implementation:n}}var l=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.browser=function(e){return{$$typeof:o,_reason:e}},e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return c(e,t,null,r)},e.flushSync=function(e){var t=l.T,n=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},e.useFormStatus=function(){return l.H.useHostTransitionStatus()},e.version=`19.3.0`})),Ee=o(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=Te()})),U=c(we()),De=c(Ee()),Oe=/^(#{1,3})\s+(.*)$/,ke=/^(\s*)([-*+]|\d+[.)])\s+(.*)$/,Ae=`\\*_[]<#-+.)`;function je(e,t,n){for(let r=e.indexOf(t,n);r!==-1;r=e.indexOf(t,r+1)){let t=0;for(let n=r-1;n>=0&&e[n]===`\\`;n--)t++;if(t%2==0)return r}return-1}function Me(e,t,n){if(t[0]!==`*`)return je(e,t,n);let r=!1;for(let i=je(e,`*`,n);i!==-1;i=je(e,`*`,i)){let n=i+1;for(;e[n]===`*`;)n++;let a=n-i;if(a>=t.length&&(t.length===2||a!==2)){let e=r?t.length===2?1:2:0;if(a>=t.length+e)return i+e}r=!r,i=n}return-1}var Ne=(e,t)=>e.type===t.type&&(e.type!==`link`||t.type===`link`&&e.attrs.href===t.attrs.href),Pe=/<\/?(m(i(n(e)?)?)?)?$/;function Fe(e,t,n=[]){t.streaming&&(e=e.replace(Pe,``));let r=[],i=``,a=()=>{if(!i)return;let e=r.at(-1);e&&e.text!==void 0&&JSON.stringify(e.marks??[])===JSON.stringify(n)?e.text+=i:r.push(n.length?{type:`text`,text:i,marks:n}:{type:`text`,text:i}),i=``},o=(e,i)=>{a();for(let a of Fe(e,{...t,streaming:!1},[...n,i]))Ie(r,a)},s=(e,i)=>{a();for(let a of Fe(e,t,[...n,i]))Ie(r,a)},c=0;for(;c<e.length;){let l=e.slice(c),u=c>0?e[c-1]:` `;if(l[0]===`\\`&&l.length>1&&Ae.includes(l[1])){i+=l[1],c+=2;continue}if(t.inlineCode&&l[0]==="`"){let e=/^`+/.exec(l)[0],i=l.slice(e.length),o=RegExp("(?<!`)"+e+"(?!`)").exec(i);if(o||t.streaming){let t=i.slice(0,o?.index).replace(/\n/g,` `);/^ .* $/.test(t)&&/\S/.test(t)&&(t=t.slice(1,-1)),a(),r.push({type:`text`,text:t,marks:[...n,{type:`code`}]}),c+=e.length+(o?o.index+e.length:i.length);continue}}if(l.startsWith(`<mine>`)){let t=je(e,`</mine>`,c+6);if(t!==-1){o(e.slice(c+6,t),{type:`mine`}),c=t+7;continue}return s(e.slice(c+6),{type:`mine`}),r}if(l.startsWith(`</mine>`)){c+=7;continue}let d=l.startsWith(`***`)?je(e,`*`,c+3):-1,f=d!==-1&&e.slice(d,d+2)===`**`&&e[d+2]!==`*`;if(l.startsWith(`**`)&&!f||l.startsWith(`__`)&&!/\w/.test(u)){let n=l.slice(0,2),i=Me(e,n,c+2);if(i>c+2){o(e.slice(c+2,i),{type:`bold`}),c=i+2;continue}if(t.streaming&&i===-1)return s(e.slice(c+2),{type:`bold`}),r}if(l[0]===`*`&&l[1]!==` `&&(l[1]!==`*`||f)||l[0]===`_`&&!/\w/.test(u)&&l[1]!==`_`){let n=l[0],i=Me(e,n,c+1);for(;n===`_`&&i!==-1&&/\w/.test(e[i+1]??``);)i=je(e,n,i+1);if(i>c+1&&e[i-1]!==` `){o(e.slice(c+1,i),{type:`italic`}),c=i+1;continue}if(t.streaming&&i===-1&&l.length>1)return s(e.slice(c+1),{type:`italic`}),r}if(l[0]===`[`){let e=/^\[((?:\\.|[^\]\\])+)\]\(([^)\s]+)\)/.exec(l);if(e){o(e[1],{type:`link`,attrs:{href:e[2]}}),c+=e[0].length;continue}if(t.streaming&&/^\[[^\]]*(\]\([^)]*)?$/.test(l)){i+=l.slice(1).replace(/\]\(.*$/,``);break}}i+=e[c],c++}return a(),r}function Ie(e,t){let n=e.at(-1);n&&n.text!==void 0&&t.text!==void 0&&JSON.stringify(n.marks??[])===JSON.stringify(t.marks??[])?n.text+=t.text:e.push(t)}var Le=(e,t)=>{let n=Fe(e,t);return n.length?{type:`paragraph`,content:n}:{type:`paragraph`}};function Re(e,t={}){t.streaming&&(e=e.trimEnd().replace(/(^|\n)[\t ]*(?:[-*+]|\d+[.)]|#{1,6})$/,``).trimEnd());let n=[],r=[];for(let i of e.replace(/\r\n?/g,`-`).split(`-`)){let e=i.replace(/\s+$/,``);if(!e.trim()){r=[],n.push({type:`paragraph`});continue}let a=ke.exec(e);if(a){let e=a[1].replace(/\t/g,` `).length,i=/\d/.test(a[2])?`orderedList`:`bulletList`;for(;r.length&&r.at(-1).indent>e;)r.pop();let o=r.at(-1);o&&o.indent===e&&o.list.type!==i&&(r.pop(),o=r.at(-1));let s={type:`listItem`,content:[Le(a[3],t)]};if(o&&o.indent===e)o.list.content.push(s);else{let t=i===`orderedList`?{type:i,attrs:{start:Number(a[2].replace(/\D/g,``))||1},content:[s]}:{type:i,content:[s]};o?o.list.content.at(-1).content.push(t):n.push(t),r.push({indent:e,list:t})}continue}r=[];let o=Oe.exec(e.trim());if(o){let e=Fe(o[2],t);n.push(e.length?{type:`heading`,attrs:{level:o[1].length},content:e}:{type:`heading`,attrs:{level:o[1].length}})}else n.push(Le(i,t))}return t.streaming&&Be(n),{type:`doc`,content:n.length?n:[{type:`paragraph`}]}}var ze=e=>!!e.text?.trim()||!!e.content?.some(ze);function Be(e){for(;e.length&&!ze(e.at(-1));)e.pop();let t=e.at(-1);t?.content&&/List$|^listItem$/.test(t.type)&&Be(t.content)}var Ve={link:()=>`[`,mine:()=>`<mine>`,bold:()=>`**`,italic:()=>`*`},He={link:e=>`](${e.type===`link`?e.attrs.href:``})`,mine:()=>`</mine>`,bold:()=>`**`,italic:()=>`*`},Ue=[`mine`,`link`,`bold`,`italic`],We=e=>e.replace(/[\\*_[\]]/g,`\\$&`).replace(/<(?=\/?mine>)/g,`\\<`),Ge=e=>e.replace(/^(\s*)([#+-])/,`$1\\$2`).replace(/^(\s*\d+)([.)])(?=\s)/,`$1\\$2`);function Ke(e=[]){let t=``,n=[];for(let[r,i]of e.entries()){if(i.type===`hardBreak`){t+=` `;continue}let a=t=>{let n=r+1;for(;n<e.length&&e[n].marks?.some(e=>Ne(e,t));)n++;return n},o=(i.marks??[]).filter(e=>e.type!==`code`).sort((e,t)=>[`bold`,`italic`].includes(e.type)&&[`bold`,`italic`].includes(t.type)&&a(t)-a(e)||Ue.indexOf(e.type)-Ue.indexOf(t.type)),s=0;for(;s<n.length&&s<o.length&&Ne(n[s],o[s]);)s++;for(let e=n.length-1;e>=s;e--)t+=He[n[e].type](n[e]);for(let e=s;e<o.length;e++)t+=Ve[o[e].type](o[e]);n=o;let c=i.text??``;if(i.marks?.some(e=>e.type===`code`)){let e="`".repeat(Math.max(0,...[...c.matchAll(/`+/g)].map(e=>e[0].length))+1),n=/^[` ]|[` ]$/.test(c)?` `:``;t+=`${e}${n}${c}${n}${e}`}else t+=We(c)}for(let e=n.length-1;e>=0;e--)t+=He[n[e].type](n[e]);return t}function qe(e,t,n){let r=Number(e.attrs?.start??1);for(let i of e.content??[]){let a=e.type===`orderedList`?`${r++}. `:`- `,[o,...s]=i.content??[];n.push(`${t}${a}${o?.type===`paragraph`?Ke(o.content):``}`);let c=t+` `.repeat(a.length);for(let e of o?.type===`paragraph`?s:i.content??[])e.type===`bulletList`||e.type===`orderedList`?qe(e,c,n):e.type===`paragraph`&&n.push(`${c}${Ge(Ke(e.content))}`)}}function Je(e){let t=[];for(let n of e.content??[])n.type===`heading`?t.push(`${`#`.repeat(Number(n.attrs?.level??2))} ${Ke(n.content)}`):n.type===`bulletList`||n.type===`orderedList`?qe(n,``,t):n.type===`paragraph`&&t.push(Ge(Ke(n.content)));return t.join(`-`)}var Ye=/\[(\d+(?:\s*,\s*\d+)*)\]/g,Xe=/\[\d+(?:\s*,\s*\d+)*\](?:\s*(?:,|;|&|and)?\s*\[\d+(?:\s*,\s*\d+)*\])*/g,Ze=4,Qe=e=>[...e.matchAll(Ye)].flatMap(e=>e[1].split(`,`).map(e=>Number(e.trim())));function $e(e,t){let n=new Map(t.map(e=>[e.n,e.meetingId])),r=new Set(n.values()).size;return e.replace(Xe,e=>{let t=new Set,i=Qe(e).filter(e=>{let r=n.get(e);return r===void 0||t.has(r)?!1:(t.add(r),!0)});return r>=Ze&&t.size>r/2?``:i.length?`[${i.join(`, `)}]`:``}).replace(/ +([.,;:!?])/g,`$1`).replace(/ +$/gm,``).replace(/ {2,}/g,` `)}var et=/[.!?…](?=$|[\s"'”’)\]]|\p{Lu})/u,tt=/^[ \t]*([.!?…"'”’)\]]+)/u;function nt(e,t,n){let r=[];for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==`citation`){i.text&&r.push(i);continue}for(;r.at(-1)?.type===`text`;){let e=r.at(-1);if(e.text=e.text.trimEnd(),e.text)break;r.pop()}let a=r.map(e=>e.text??``).join(``),o=e.slice(n+1).map(e=>e.text??``).join(``),s=/[.!?…]["'”’)\]]*$/.test(a),c=tt.exec(o),l=c?o.slice(c[0].length):o;if(c&&(s||et.test(c[1]+l)&&/[.!?…]/.test(c[1])||!t&&!l.trim())){let t=c[0].length,i=t-c[1].length;for(let a=n+1;t&&e[a]?.type===`text`;a++){let n=e[a],o=Math.min(t,n.text.length),s=n.text.slice(Math.min(i,o),o);s&&r.push({...n,text:s}),n.text=n.text.slice(o),i=Math.max(0,i-o),t-=o}}(!t||s||et.test(o)||/^\s+["“(]*\p{Lu}/u.test(o))&&(i.attrs.gap=/[\p{L}\p{N}\p{M}]$/u.test(r.at(-1)?.text??``),r.push(i))}let i=ct(r.map(e=>e.text??``).join(``)),a=0;for(let e of r)e.type===`citation`&&(e.attrs.sentence=i.find(e=>a>e.index&&a<=e.end)?.text??``),a+=e.text?.length??0;if(n){let e=new Map;for(let t of r)if(t.type===`citation`)for(let r of t.attrs.marks)e.set(n.get(r.source),r);for(let t of r)t.type===`citation`&&(t.attrs.marks=t.attrs.marks.filter(t=>e.get(n.get(t.source))===t))}let o=[];for(let e of r){if(e.type!==`citation`){o.push(e);continue}let t=[e];for(;o.at(-1)?.type===`text`;){let e=o.at(-1),n=/\S+$/.exec(e.text??``);if(!n)break;if(o.pop(),t.unshift({...e,text:n[0]}),n.index){o.push({...e,text:e.text.slice(0,n.index)});break}}o.push(t.length>1?{type:`citationAnchor`,content:t}:e)}return o}function rt(e,t,n=!1){let r=Re($e(n?e.replace(/\[[\d,\s]*$/,``):e,t).replace(/\n{2,}/g,`-`),{streaming:n}),i=new Map(t.map(e=>[e.n,e.meetingId])),a=new Map,o=e=>e.content?.length&&e.type!==`paragraph`&&e.type!==`heading`?o(e.content.at(-1)):e,s=n?o(r):null,c=e=>{if(e.type!==`text`){if(!e.content)return[e];let t=e.content.flatMap(c);return[{...e,content:e.type===`paragraph`||e.type===`heading`?nt(t,e===s,e.type===`paragraph`?i:void 0):t}]}let t=e.text??``,n=[],r=0;for(let o of t.matchAll(Ye)){o.index>r&&n.push({...e,text:t.slice(r,o.index)});let s=[];for(let e of o[1].split(`,`).map(Number)){let t=i.get(e);t!==void 0&&(a.has(t)||a.set(t,a.size+1),s.push({source:e,number:a.get(t)}))}s.length&&n.push({type:`citation`,attrs:{marks:s,length:o[0].length}}),r=o.index+o[0].length}return r<t.length&&n.push({...e,text:t.slice(r)}),n};return c(r)[0]}function it(e){let t=Re(e.replace(/^[\t ]*#{4,6}[\t ]+/gm,`### `),{inlineCode:!0}),n=e=>e.type===`paragraph`||e.type===`heading`?[e.content??[]]:(e.content??[]).flatMap(n);return n(t)}var at=e=>it(e).map(e=>e.map(e=>e.text??``).join(``)).join(`-`),ot=new Intl.Segmenter(void 0,{granularity:`word`}),st=new Intl.Segmenter(void 0,{granularity:`sentence`});function ct(e){let t=0;return e.split(`-`).flatMap(e=>{let n=t;return t+=e.length+1,[...st.segment(e)].filter(e=>e.segment.trim()).map(e=>({text:e.segment.trim(),index:n+e.index,end:n+e.index+e.segment.length}))})}var lt=new Set(`a an and are as at be been but by can did do for from had has have he her his how i in is it its me my of on or our she so that the their them there these they this to was we were what when which who will with would you your`.split(` `)),ut=e=>new Set((e.toLowerCase().match(/[\p{L}\p{N}]+/gu)??[]).filter(e=>!lt.has(e)));function dt(e,t){let n=e=>e.type===`heading`?[]:e.type===`paragraph`?[(e.content??[]).map(e=>e.text??``).join(``)]:(e.content??[]).flatMap(n),r=ct(n(Re(e.replace(/^[\t ]*#{4,6}[\t ]+/gm,`### `),{inlineCode:!0})).join(`-`)).map(e=>e.text).filter(e=>{let t=[...ot.segment(e)].filter(e=>e.isWordLike).length;return!/[::…]$|\.{3}$/.test(e)&&(t>=3||t>=2&&/[.!?。!?]["'”’»))\]]*$/.test(e))}),i=ut(t),a=0,o=-1;return r.forEach((e,t)=>{let n=[...ut(e)].filter(e=>i.has(e)).length;n>o&&(a=t,o=n)}),{before:r[a-1]??``,match:r[a]??``,after:r[a+1]??``}}var ft=e=>e.normalize(`NFKC`).toLowerCase().replace(/[^\p{L}\p{N}]+/gu,` `).trim();function pt(e,t,n=0){let r=ft(t);if(!r)return-1;let i=e.map(e=>ft(at(e))),a=e=>e.sort((e,t)=>Math.abs(e-n)-Math.abs(t-n))[0]??-1,o=a(i.flatMap((e,t)=>e.includes(r)?[t]:[]));if(o>=0)return o;let s=ft(t.replace(/^[^:\n]{1,80}:\s*/,``)),c=i.join(` `).indexOf(s);if(s&&c>=0){let e=0;return i.findIndex(t=>(e+=t.length+1,e>c))}return a(i.flatMap((e,t)=>e&&r.includes(e)?[t]:[]))}var mt={"Other people":`Other people`,"Reading the transcript…":`Reading the transcript…`,"No events":`No events`,"Go to {date}":`Go to {date}`,"Previous day":`Previous day`,"Next day":`Next day`,"Resume notes · {title}":`Resume notes · {title}`,"Take notes · {title}":`Take notes · {title}`,"Take notes · {count} now":{one:`Take notes · {count} now`,other:`Take notes · {count} now`},Now:`Now`,"in {count} min":{one:`in {count} min`,other:`in {count} min`},"Has notes":`Has notes`,"No matching meetings with {name}.":`No matching meetings with {name}.`,"No matching meetings on {date}.":`No matching meetings on {date}.`,"No matching meetings with {name} on {date}.":`No matching meetings with {name} on {date}.`,"Meetings with {name}":`Meetings with {name}`,"{count} min":{one:`{count} min`,other:`{count} min`},"Starts in {count} min":{one:`Starts in {count} min`,other:`Starts in {count} min`},"Exported {count} meetings":{one:`Exported 1 meeting`,other:`Exported {count} meetings`},"Added {count} meetings.":{one:`Added 1 meeting.`,other:`Added {count} meetings.`},"{count} were already here.":{one:`1 was already here.`,other:`{count} were already here.`},"{count} meetings":{one:`1 meeting`,other:`{count} meetings`},"Meetings in the Trash are deleted for good after {count} days, with their recordings.":{one:`Meetings in the Trash are deleted for good after 1 day, with their recordings.`,other:`Meetings in the Trash are deleted for good after {count} days, with their recordings.`},"{count} meetings, with their notes, transcripts and recordings, are removed from this Mac for good.":{one:`1 meeting, with its notes, transcript and recordings, is removed from this Mac for good.`,other:`{count} meetings, with their notes, transcripts and recordings, are removed from this Mac for good.`},"{count} meetings, with their notes, transcripts and recordings, are removed from this computer for good.":{one:`1 meeting, with its notes, transcript and recordings, is removed from this computer for good.`,other:`{count} meetings, with their notes, transcripts and recordings, are removed from this computer for good.`},"{count} languages supported":{one:`{count} language supported`,other:`{count} languages supported`},"and {count} more":{one:`and {count} more`,other:`and {count} more`},"{count} left":{one:`{count} left`,other:`{count} left`},"Downloading AI":`Downloading AI`,"Downloading AI · {percent}":`Downloading AI · {percent}`,"AI download stopped":`AI download stopped`,"{done} of {total} GB":`{done} of {total} GB`,"{progress} · about {minutes} min left":`{progress} · about {minutes} min left`,"{count} selected":{one:`{count} selected`,other:`{count} selected`},"Add {count} meetings to folder":{one:`Add {count} meeting to folder`,other:`Add {count} meetings to folder`},"Move {count} meetings to Trash":{one:`Move {count} meeting to Trash`,other:`Move {count} meetings to Trash`},"{count} meetings moved to Trash":{one:`{count} meeting moved to Trash`,other:`{count} meetings moved to Trash`},"Upgrading AI":`Upgrading AI`,"Upgrading AI · {percent}":`Upgrading AI · {percent}`,"AI upgrade paused":`AI upgrade paused`,"Better notes model":`Better notes model`,"Download ({size} GB)":`Download ({size} GB)`,"Getting the smaller model · {progress}":`Getting the smaller model · {progress}`,"The larger model keeps running summaries and Ask until then, and is removed after.":`The larger model keeps running summaries and Ask until then, and is removed after.`,"Removing…":`Removing…`,"Open Settings":`Open Settings`,"Download stopped":`Download stopped`,"Upgrade paused":`Upgrade paused`,"You can record meetings. AI summaries and Ask work when this finishes.":`You can record meetings. AI summaries and Ask work when this finishes.`,"Once this model is ready, we'll remove the old one.":`Once this model is ready, we'll remove the old one.`,"More detailed, accurate notes. Replaces the current model, so you don't keep both.":`More detailed, accurate notes. Replaces the current model, so you don't keep both.`,"about {minutes} min left":`about {minutes} min left`,"AI upgrade skipped":`AI upgrade skipped`,Suggested:`Suggested`,"Dismiss suggestion":`Dismiss suggestion`,"Delete recording":`Delete recording`,"Delete recording?":`Delete recording?`,"The audio is deleted for good. Your transcript and notes stay.":`The audio is deleted for good. Your transcript and notes stay.`,"Keep the audio until the transcript is saved.":`Keep the audio until the transcript is saved.`,"Keep audio recordings after meetings":`Keep audio recordings after meetings`,"Recording deleted":`Recording deleted`,"When off, new meetings' audio is deleted once the summary is saved.":`When off, new meetings' audio is deleted once the summary is saved.`,Settings:`Settings`,"New recording":`New recording`,"Hide events without a call link":`Hide events without a call link`,"Keep your agenda and reminders focused on calls.":`Keep your agenda and reminders focused on calls.`,"Show earlier lines":`Show earlier lines`,"{count} more results":{one:`{count} more result`,other:`{count} more results`},"Search meetings and folders":`Search meetings and folders`,"Search…":`Search…`,"All meetings":`All meetings`,"Choose meetings or folders":`Choose meetings or folders`,"In this chat":`In this chat`,"and {count} others":{one:`and {count} other`,other:`and {count} others`},"{count} more":{one:`{count} more`,other:`{count} more`},Clear:`Clear`,"Searched {name}":`Searched {name}`,"Searched all meetings":`Searched all meetings`,"A meeting can be in more than one folder.":`A meeting can be in more than one folder.`,"An AI app":`An AI app`,"Connected apps · {apps}":`Connected apps · {apps}`,"Custom words":`Custom words`,"Export Markdown":`Export Markdown`,"Export Markdown…":`Export Markdown…`,"Export backup":`Export backup`,"Now · {title}":`Now · {title}`,"Paused · {title}":`Paused · {title}`,"Recording is still paused after an interruption.":`Recording is still paused after an interruption.`,"Recording reminders":`Recording reminders`,"Recording resumed after an interruption.":`Recording resumed after an interruption.`,"Recording stopped when the call ended.":`Recording stopped when the call ended.`,"Recording · {title}":`Recording · {title}`,"Removing this model restores the smaller one.":`Removing this model restores the smaller one.`,Skip:`Skip`,"Still reading…":`Still reading…`,"Summaries and Ask are ready.":`Summaries and Ask are ready.`,"The attendee list has changed.":`The attendee list has changed.`,"The download needs {gb} GB more free space.":`The download needs {gb} GB more free space.`,"The downloaded file is damaged.":`The downloaded file is damaged.`,"The list is full.":`The list is full.`,"The selected microphone is unavailable, so recording is using your system microphone.":`The selected microphone is unavailable, so recording is using your system microphone.`,"There is no transcript or typed note to summarize.":`There is no transcript or typed note to summarize.`,"This changes the language of Yogurt's menus and buttons.":`This changes the language of Yogurt's menus and buttons.`,"Yogurt couldn't change the notes model.":`Yogurt couldn't change the notes model.`,"Yogurt couldn't copy.":`Yogurt couldn't copy.`,"Yogurt couldn't delete everything in the Trash.":`Yogurt couldn't delete everything in the Trash.`,"Yogurt couldn't delete the recording.":`Yogurt couldn't delete the recording.`,"Yogurt couldn't delete this folder.":`Yogurt couldn't delete this folder.`,"Yogurt couldn't finish deleting this note.":`Yogurt couldn't finish deleting this note.`,"Yogurt couldn't regenerate the summary, so your previous version is still shown.":`Yogurt couldn't regenerate the summary, so your previous version is still shown.`,"Yogurt couldn't restart the download.":`Yogurt couldn't restart the download.`,"Yogurt couldn't save this folder.":`Yogurt couldn't save this folder.`,"Yogurt is setting up transcription on your computer.":`Yogurt is setting up transcription on your computer.`,"Yogurt reads these calendars and never changes them.":`Yogurt reads these calendars and never changes them.`,"Yogurt records calls without joining them and writes summaries on your computer afterward.":`Yogurt records calls without joining them and writes summaries on your computer afterward.`,"Yogurt stores your meetings, notes and audio on this computer.":`Yogurt stores your meetings, notes and audio on this computer.`,"Yogurt transcribes the call audio without joining the call.":`Yogurt transcribes the call audio without joining the call.`,"Yogurt transcribes your voice.":`Yogurt transcribes your voice.`,"Yogurt uses names shown by supported call apps to label speakers in your transcript.":`Yogurt uses names shown by supported call apps to label speakers in your transcript.`,"Yogurt uses these words to spell names and terms in your transcripts and notes.":`Yogurt uses these words to spell names and terms in your transcripts and notes.`,"Yogurt uses your name to identify you in calls.":`Yogurt uses your name to identify you in calls.`,"Yogurt writes a summary after you finish recording.":`Yogurt writes a summary after you finish recording.`,"You can add notes here to guide the summary.":`You can add notes here to guide the summary.`,"You can back up meetings, notes, transcripts and saved audio in one file.":`You can back up meetings, notes, transcripts and saved audio in one file.`,"You can get a reminder when Yogurt detects a call.":`You can get a reminder when Yogurt detects a call.`,"You can record here or add existing meetings to this folder.":`You can record here or add existing meetings to this folder.`,"You can use calendar events to add meeting titles and attendees to your notes.":`You can use calendar events to add meeting titles and attendees to your notes.`,"Your calendar":`Your calendar`,"Your edits to the summary will be replaced.":`Your edits to the summary will be replaced.`,"Your next recording will use both the microphone and call audio.":`Your next recording will use both the microphone and call audio.`,"Your question is waiting for Yogurt's AI to download.":`Your question is waiting for Yogurt's AI to download.`,"Your summary is waiting for Yogurt's AI to download.":`Your summary is waiting for Yogurt's AI to download.`,"Show Yogurt in":`Show Yogurt in`,"Menu bar and Dock":`Menu bar and Dock`,"Menu bar only":`Menu bar only`,"Dock only":`Dock only`,"Summary language":`Summary language`,"Same as the meeting":`Same as the meeting`,"Used for new summaries and when you write them again.":`Used for new summaries and when you write them again.`,"Writing the summary":`Writing the summary`,Regenerate:`Regenerate`,"Available after recording":`Available after recording`,"Note for the summary":`Note for the summary`,"Add a note, like shorter or in Spanish":`Add a note, like shorter or in Spanish`,"Waiting for Yogurt AI to download":`Waiting for Yogurt AI to download`,"Stop summary":`Stop summary`,"Summary stopped.":`Summary stopped.`,"This window couldn't be displayed.":`This window couldn't be displayed.`,Close:`Close`,"{current} of {count}":{one:`{current} of {count}`,other:`{current} of {count}`},"No matches":`No matches`,"Previous match":`Previous match`,"Next match":`Next match`,"Update ready":`Update ready`,"Installs when you restart Yogurt":`Installs when you restart Yogurt`,"You can restart after recording":`You can restart after recording`,Later:`Later`,Restart:`Restart`,"Yogurt couldn't restart. Try again.":`Yogurt couldn't restart. Try again.`,"Yogurt {version}":`Yogurt {version}`},ht=[{id:`en`,name:`English`,english:`English`},{id:`ar`,name:`العربية`,english:`Arabic`,rtl:!0},{id:`bn`,name:`বাংলা`,english:`Bengali`},{id:`zh-CN`,name:`简体中文`,english:`Chinese (Simplified)`},{id:`zh-TW`,name:`繁體中文`,english:`Chinese (Traditional)`},{id:`cs`,name:`Čeština`,english:`Czech`},{id:`da`,name:`Dansk`,english:`Danish`},{id:`nl`,name:`Nederlands`,english:`Dutch`},{id:`fil`,name:`Filipino`,english:`Filipino`},{id:`fi`,name:`Suomi`,english:`Finnish`},{id:`fr`,name:`Français`,english:`French`},{id:`de`,name:`Deutsch`,english:`German`},{id:`el`,name:`Ελληνικά`,english:`Greek`},{id:`he`,name:`עברית`,english:`Hebrew`,rtl:!0},{id:`hi`,name:`हिन्दी`,english:`Hindi`},{id:`hu`,name:`Magyar`,english:`Hungarian`},{id:`id`,name:`Bahasa Indonesia`,english:`Indonesian`},{id:`it`,name:`Italiano`,english:`Italian`},{id:`ja`,name:`日本語`,english:`Japanese`},{id:`ko`,name:`한국어`,english:`Korean`},{id:`ms`,name:`Bahasa Melayu`,english:`Malay`},{id:`nb`,name:`Norsk`,english:`Norwegian`},{id:`pl`,name:`Polski`,english:`Polish`},{id:`pt-BR`,name:`Português`,english:`Portuguese`},{id:`ro`,name:`Română`,english:`Romanian`},{id:`ru`,name:`Русский`,english:`Russian`},{id:`es`,name:`Español`,english:`Spanish`},{id:`sv`,name:`Svenska`,english:`Swedish`},{id:`th`,name:`ไทย`,english:`Thai`},{id:`tr`,name:`Türkçe`,english:`Turkish`},{id:`uk`,name:`Українська`,english:`Ukrainian`},{id:`vi`,name:`Tiếng Việt`,english:`Vietnamese`}],gt=e=>ht.find(t=>t.id===e)?.rtl?`rtl`:`ltr`,_t=Object.fromEntries(Object.entries(Object.assign({"./locales/en.json":mt})).map(([e,t])=>[e.replace(/^.*\/|\.json$/g,``),t]));function vt(e,t,n,r){let i=e[t]?.[n]??e.en?.[n]??n;if(typeof i!=`string`){let e=typeof r?.count==`number`?r.count:0;i=i[new Intl.PluralRules(t).select(e)]??i.other??n}return r?i.replace(/\{(\w+)\}/g,(e,n)=>{let i=r[n];return i===void 0?e:typeof i==`number`?new Intl.NumberFormat(t).format(i):i}):i}var yt=`en`,bt=new Set,xt=()=>yt;function St(e){return bt.add(e),()=>{bt.delete(e)}}var W=(e,t)=>vt(_t,yt,e,t),Ct=e=>e,wt={folder:Ct(`Folder`),star:Ct(`Star`),heart:Ct(`Heart`),flag:Ct(`Flag`),bookmark:Ct(`Bookmark`),briefcase:Ct(`Briefcase`),users:Ct(`People`),handshake:Ct(`Handshake`),message:Ct(`Conversation`),video:Ct(`Video`),calendar:Ct(`Calendar`),clock:Ct(`Clock`),target:Ct(`Target`),lightbulb:Ct(`Idea`),rocket:Ct(`Rocket`),code:Ct(`Code`),palette:Ct(`Palette`),megaphone:Ct(`Megaphone`),graduation:Ct(`Graduation cap`),book:Ct(`Book`),flask:Ct(`Flask`),coffee:Ct(`Coffee`),house:Ct(`House`),plane:Ct(`Plane`)},Tt={default:Ct(`Default`),violet:Ct(`Purple`),blue:Ct(`Blue`),teal:Ct(`Teal`),green:Ct(`Green`),amber:Ct(`Amber`),orange:Ct(`Orange`),rose:Ct(`Pink`)},Et={icon:`folder`,color:`default`},Dt=Object.keys(Tt).filter(e=>e!=="default");function Ot(e,t,n){let r=e===`them`&&t?n.indexOf(t):-1;return r<0?void 0:r%Dt.length}function kt(e,t){e.indexOf(t)===-1&&e.push(t)}function At(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function jt([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&r<e.length){let r=n<0?e.length+n:n,[i]=e.splice(t,1);e.splice(r,0,i)}return e}var Mt=(e,t,n)=>n>t?t:n<e?e:n,Nt={},Pt=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Ft=e=>typeof e==`object`&&!!e,It=e=>/^0[^.\s]+$/u.test(e);function Lt(e){let t;return()=>(t===void 0&&(t=e()),t)}var Rt=e=>e,zt=(...e)=>e.reduce((e,t)=>n=>t(e(n))),Bt=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},Vt=class{constructor(){this.subscriptions=[]}add(e){return kt(this.subscriptions,e),()=>this.remove(e)}remove(e){At(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Ht=e=>e*1e3,Ut=e=>e/1e3,Wt=(e,t)=>t?1e3/t*e:0,Gt=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e},Kt=(e,t,n)=>e*(3*(1-e)*((1-e)*t+e*n)+e*e);function qt(e,t,n,r){return e===t&&n===r?Rt:i=>{let a=0,o=1,s=i;for(let t=0;;t++){s>=a&&s<=o||(s=(a+o)/2);let r=Kt(s,e,n)-i;if(r*r<1e-28||t===40)break;r>0?o=s:a=s,s-=r*1e-7/(Kt(s+1e-7,e,n)-i-r)}return Kt(s,t,r)}}var Jt=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Yt=e=>t=>1-e(1-t),Xt=qt(.33,1.53,.69,.99),Zt=Yt(Xt),Qt=Jt(Zt),$t=e=>e>=1?1:(e*=2)<1?.5*Zt(e):.5*(2-2**(-10*(e-1))),en=e=>1-Math.sin(Math.acos(e)),tn=Yt(en),nn=Jt(en),rn=qt(.42,0,1,1),an=qt(0,0,.58,1),on=qt(.42,0,.58,1),sn=e=>Array.isArray(e)&&typeof e[0]!=`number`;function cn(e,t){return sn(e)?e[Gt(0,e.length,t)]:e}var ln=e=>Array.isArray(e)&&typeof e[0]==`number`,un={linear:Rt,easeIn:rn,easeInOut:on,easeOut:an,circIn:en,circInOut:nn,circOut:tn,backIn:Zt,backInOut:Qt,backOut:Xt,anticipate:$t},dn=e=>typeof e==`string`,fn=e=>{if(ln(e)){e.length;let[t,n,r,i]=e;return qt(t,n,r,i)}return dn(e)?(un[e],`${e}`,un[e]):e},pn={delta:0,timestamp:0,isProcessing:!1},mn;function hn(){mn=void 0}var gn={now:()=>(mn===void 0&&gn.set(pn.isProcessing||Nt.useManualTiming?pn.timestamp:performance.now()),mn),set:e=>{mn=e,queueMicrotask(hn)}},_n=e=>Math.round(e*1e5)/1e5,vn=e=>t=>typeof t==`string`&&t.startsWith(e),yn=vn(`--`),bn=vn(`var(--`),xn=e=>bn(e)?Sn.test(e.split(`/*`)[0].trim()):!1,Sn=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Cn(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var wn={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Tn={...wn,transform:e=>Mt(0,1,e)},En={...wn,default:1},Dn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function On(e){return e==null}var kn=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,An=(e,t)=>n=>!!(typeof n==`string`&&kn.test(n)&&n.startsWith(e)||t&&!On(n)&&Object.prototype.hasOwnProperty.call(n,t)),jn=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Dn);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Mn=e=>Mt(0,255,e),Nn={...wn,transform:e=>Math.round(Mn(e))},Pn={test:An(`rgb`,`red`),parse:jn(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Nn.transform(e)+`, `+Nn.transform(t)+`, `+Nn.transform(n)+`, `+_n(Tn.transform(r))+`)`};function Fn(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var In={test:An(`#`),parse:Fn,transform:Pn.transform},Ln=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Rn=Ln(`deg`),zn=Ln(`%`),Bn=Ln(`px`),Vn=Ln(`vh`),Hn=Ln(`vw`),Un={...zn,parse:e=>zn.parse(e)/100,transform:e=>zn.transform(e*100)},Wn={test:An(`hsl`,`hue`),parse:jn(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+zn.transform(_n(t))+`, `+zn.transform(_n(n))+`, `+_n(Tn.transform(r))+`)`},Gn={test:e=>Pn.test(e)||In.test(e)||Wn.test(e),parse:e=>Pn.test(e)?Pn.parse(e):Wn.test(e)?Wn.parse(e):In.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Pn.transform(e):Wn.transform(e),getAnimatableNone:e=>{let t=Gn.parse(e);return t.alpha=0,Gn.transform(t)}},Kn=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,qn=new RegExp(Dn.source),Jn=new RegExp(Kn.source,`i`);function Yn(e){return isNaN(e)&&typeof e==`string`&&(qn.test(e)||Jn.test(e))}var Xn=`number`,Zn=`color`,Qn=`var`,$n=`var(`,er="${}",tr=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;function nr(e){let t=e.toString();return qn.test(t)||Jn.test(t)}function rr(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(tr,e=>(Gn.test(e)?(r.color.push(a),i.push(Zn),n.push(Gn.parse(e))):e.startsWith($n)?(r.var.push(a),i.push(Qn),n.push(e)):(r.number.push(a),i.push(Xn),n.push(parseFloat(e))),++a,er)).split(er),indexes:r,types:i}}function ir(e){return rr(e).values}function ar({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===Xn?_n(r[a]):e===Zn?Gn.transform(r[a]):r[a]}return i}}function or(e){return ar(rr(e))}var sr=e=>typeof e==`number`?0:Gn.test(e)?Gn.getAnimatableNone(e):e,cr=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:sr(e);function lr(e){let t=rr(e);return ar(t)(t.values.map((e,n)=>cr(e,t.split[n])))}var ur={test:Yn,parse:ir,createTransformer:or,getAnimatableNone:lr};function dr(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function fr({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=dr(s,r,e+1/3),a=dr(s,r,e),o=dr(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function pr(e,t){return n=>n>0?t:e}var mr=(e,t,n)=>e+(t-e)*n,hr=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},gr=[In,Pn,Wn],_r=e=>gr.find(t=>t.test(e));function vr(e){let t=_r(e);if(!t)return`${e}`,!1;let n=t.parse(e);return t===Wn&&(n=fr(n)),n}var yr=(e,t)=>{let n=vr(e),r=vr(t);if(!n||!r)return pr(e,t);let i={...n};return e=>(i.red=hr(n.red,r.red,e),i.green=hr(n.green,r.green,e),i.blue=hr(n.blue,r.blue,e),i.alpha=mr(n.alpha,r.alpha,e),Pn.transform(i))},br=new Set([`none`,`hidden`]);function xr(e,t){return br.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Sr(e,t){return n=>mr(e,t,n)}function Cr(e){return typeof e==`number`?Sr:typeof e==`string`?xn(e)?pr:Gn.test(e)?yr:Dr:Array.isArray(e)?wr:typeof e==`object`?Gn.test(e)?yr:Tr:pr}function wr(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Cr(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Tr(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Cr(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Er(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var Dr=(e,t)=>{let n=ur.createTransformer(t),r=rr(e),i=rr(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?br.has(e)&&!i.values.length||br.has(t)&&!r.values.length?xr(e,t):zt(wr(Er(r,i),i.values),n):(`${e}${t}`,pr(e,t))},Or=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function kr(e,t){let n=Or.exec(e);if(!n)return;let r=Or.exec(t);if(!r||n[2]!==r[2])return;let i=n[2],a=parseFloat(n[1]),o=parseFloat(r[1]);return e=>_n(mr(a,o,e))+i}function Ar(e,t,n){if(typeof e==`number`&&typeof t==`number`&&typeof n==`number`)return mr(e,t,n);if(typeof e==`string`&&typeof t==`string`){let n=kr(e,t);if(n)return n}return Cr(e)(e,t)}var jr=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function Mr(e){let t=new Set,n=new Set,r=!1,i=!1,a=new Set,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(n.add(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var Nr=40;function Pr(e,t,n={delta:0,timestamp:0,isProcessing:!1}){let r=!1,i=!0,a=()=>r=!0,o=jr.reduce((e,t)=>(e[t]=Mr(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Nt.useManualTiming,o=a?n.timestamp:performance.now();r=!1,a||(n.delta=i?1e3/60:Math.max(Math.min(o-n.timestamp,Nr),1)),n.timestamp=o,n.isProcessing=!0,s.process(n),c.process(n),l.process(n),u.process(n),d.process(n),f.process(n),p.process(n),m.process(n),n.isProcessing=!1,r&&t&&(i=!1,e(h))},g=()=>{r=!0,i=!0,n.isProcessing||e(h)};return{schedule:jr.reduce((e,t)=>{let n=o[t];return e[t]=(e,t=!1,i=!1)=>(r||g(),n.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<jr.length;t++)o[jr[t]].cancel(e)},state:n,steps:o}}var{schedule:Fr,cancel:Ir,steps:Lr}=Pr(typeof requestAnimationFrame<`u`?requestAnimationFrame:Rt,!0,pn),Rr=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>Fr.update(t,e),stop:()=>Ir(t),now:()=>pn.isProcessing?pn.timestamp:gn.now()}},zr=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Br=2e4;function Vr(e,t=50,n=Br,r){let i=0,a=e.next(i);for(r?.push(a.value);!a.done&&i<n;)i+=t,a=e.next(i),r?.push(a.value);return i>=n?1/0:i}function Hr(e,t=100,n){let{keyframes:r,velocity:i}=e,a=r&&r[r.length-1]-r[0],o=n({...e,velocity:i&&a?i*t/a:i,keyframes:[0,t]}),s=Math.min(Vr(o),Br);return{type:`keyframes`,ease:e=>o.next(s*e).value/t,duration:Ut(s)}}var Ur={stiffness:100,damping:10,mass:1,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05},Wr=e=>e<0?1/Math.max(1+e,Ur.minDamping):Math.max(1-e,Ur.minDamping);function Gr(e,t){if(!(e>1))return 1;let n=Math.sqrt(e*e-1),r=e-n,i=e+n,a=2*n*Math.exp(-t)*(1+t);return Jr(e=>i*Math.exp(-r*e)-r*Math.exp(-i*e)-a,e=>Math.exp(-i*e)-Math.exp(-r*e),t)/t}function Kr(e,t){return e*Math.sqrt(1-t*t)}var qr=12;function Jr(e,t,n){let r=n;for(let n=1;n<qr;n++)r-=e(r)/t(r);return r}var Yr=.001;function Xr({duration:e=Ur.duration,bounce:t=Ur.bounce}){let n,r;Ur.maxDuration;let i=Wr(t);e=Mt(Ur.minDuration,Ur.maxDuration,Ut(e)),i<1?(n=t=>{let n=t*i,r=n*e,a=Kr(t,i),o=Math.exp(-r);return Yr-n/a*o},r=t=>{let r=t*i*e,a=i*i*t*t*e,o=Math.exp(-r),s=Kr(t*t,i);return(-n(t)+Yr>0?-1:1)*-a*o/s}):(n=t=>-.001+Math.exp(-t*e)*(t*e+1),r=t=>Math.exp(-t*e)*(-t*(e*e)));let a=5/e,o=Jr(n,r,a),s=o*Gr(i,o*e),c=s*s;return{stiffness:c,damping:i*2*Math.sqrt(c),duration:Ht(e)}}var Zr=(e,t)=>(t?e>=0:e>0)&&e<1/0;function Qr(e,t){if(Zr(e,t))return e}function $r(e){let t=Qr(e.stiffness),n=Qr(e.damping,!0),r=Qr(e.mass),i={...e,stiffness:t??Ur.stiffness,damping:n??Ur.damping,mass:r??Ur.mass,isResolvedFromDuration:!1,isTimeDefined:(t??n??r)===void 0&&(e.duration!==void 0||e.bounce!==void 0)};if(i.isTimeDefined){if(e.visualDuration){let t=Wr(e.bounce||0),n=2*Math.PI/(e.visualDuration*1.2)*Gr(t,2*Math.PI/1.2);i.stiffness=n*n,i.damping=2*t*Math.sqrt(i.stiffness)}else Object.assign(i,Xr(i)),i.isResolvedFromDuration=!0;Zr(i.stiffness)&&Zr(i.damping,!0)||(i.stiffness=Ur.stiffness,i.damping=Ur.damping)}return i}function ei(e=Ur.visualDuration,t=Ur.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},r=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:o,damping:s,mass:c,duration:l,isResolvedFromDuration:u,isTimeDefined:d}=$r({...n}),f=e=>d?0:-Ut(e),p=s/(2*Math.sqrt(o*c)),m=Ut(Math.sqrt(o/c)),h=p*m,g={target:i,delta:i-r,velocity:f(n.velocity||0)||0,restSpeed:0,restDelta:0},_=()=>{let e=Math.abs(g.delta)<5;g.restSpeed=n.restSpeed||(e?Ur.restSpeed.granular:Ur.restSpeed.default),g.restDelta=n.restDelta||(e?Ur.restDelta.granular:Ur.restDelta.default)};_();let v,y,b;if(p<1){let e=Kr(m,p),t={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};b=()=>{t.A=(g.velocity+h*g.delta)/e,t.sinC=h*t.A+g.delta*e,t.cosC=h*g.delta-t.A*e};let n=n=>{n!==t.t&&(t.t=n,t.env=Math.exp(-h*n),t.sin=Math.sin(e*n),t.cos=Math.cos(e*n))};v=e=>(n(e),g.target-t.env*(t.A*t.sin+g.delta*t.cos)),y=e=>(n(e),t.env*(t.sinC*t.sin+t.cosC*t.cos))}else if(p===1){v=e=>g.target-Math.exp(-m*e)*(g.delta+(g.velocity+m*g.delta)*e);let e={C:0};b=()=>{e.C=g.velocity+m*g.delta},y=t=>Math.exp(-m*t)*(m*e.C*t-g.velocity)}else{let e=m*Math.sqrt(p*p-1),t=h-e,n=h+e,r=d?1/0:300/e,i=(e,t)=>Math.exp(t>r?-e*r-h*(t-r):-e*t),a={S:0,F:0};b=()=>{let t=(g.velocity+h*g.delta)/e;a.S=(g.delta+t)/2,a.F=(g.delta-t)/2},v=e=>g.target-a.S*i(t,e)-a.F*i(n,e),y=e=>t*a.S*i(t,e)+n*a.F*i(n,e)}b();let x=u&&l||null,S={calculatedDuration:x,retarget:(e,t)=>{g.target=e[e.length-1],g.delta=g.target-e[0],g.velocity=f(t),n.restSpeed&&n.restDelta||_(),S.calculatedDuration=x,a.done=!1,b()},velocity:e=>Ht(y(e)),next:e=>{let t=v(e);if(u)a.done=e>=l;else{let n=Ht(y(e));a.done=Math.abs(n)<=g.restSpeed&&Math.abs(g.target-t)<=g.restDelta}return a.value=a.done?g.target:t,a},toString:()=>{let e=Math.min(Vr(S),Br),t=zr(t=>S.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return S}ei.applyToOptions=e=>{let t=Hr(e,100,ei);return e.ease=t.ease,e.duration=Ht(t.duration),e.type=`keyframes`,e};function ti({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>e<s||e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>{let t=v(e);f.done=Math.abs(t)<=l,f.value=f.done?_:_+t},b,x,S=e=>{p(f.value)&&(b=e,x=ei({keyframes:[f.value,m(f.value)],velocity:-v(e)/r*1e3,damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return!x&&b===void 0&&(t=!0,y(e),S(e)),b!==void 0&&e>=b?x.next(e-b):(!t&&y(e),f)}}}function ni(e,t,n){let r=[],i=n||Nt.mix||Ar,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=zt(Array.isArray(t)?t[n]||Rt:t,a)),r.push(a)}return r}function ri(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=ni(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Bt(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Mt(e[0],e[a-1],t)):l}function ii(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Bt(0,t,r);e.push(mr(n,1,i))}}function ai(e){let t=[0];return ii(t,e.length-1),t}function oi(e,t){return e.map(e=>e*t)}function si(e,t){return e.map(()=>t||on).splice(0,e.length-1)}function ci({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=sn(r)?r.map(fn):fn(r)||on,a={done:!1,value:t[0]};if(t.length===2&&!Array.isArray(i)&&(!n||n.length!==2||n[0]===0&&n[1]===1)){let[n,r]=t,o=n===r?void 0:(Nt.mix||Ar)(n,r);return{calculatedDuration:e,next:t=>(a.value=o?o(i(e>0?Mt(0,1,t/e):1)):r,a.done=t>=e,a)}}let o=ri(oi(n&&n.length===t.length?n:ai(t),e),t,{ease:Array.isArray(i)?i:si(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var li=5;function ui(e,t,n){let r=Math.max(t-li,0);return Wt(n-e(r),t-r)}function di(e,t,n=0){return t<=0?n:e.velocity?e.velocity(t):ui(t=>e.next(t).value,t,e.next(t).value)}var fi=e=>e!==null;function pi(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(fi),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var mi={decay:ti,inertia:ti,tween:ci,keyframes:ci,spring:ei};function hi(e){typeof e.type==`string`&&(e.type=mi[e.type])}var gi=40,_i=(e,t)=>t-e>gi&&!Nt.useManualTiming?t:e;function vi(e,t){return{kind:e,animation:t,timestamp:gn.now(),frameTimestamp:pn.timestamp,frameIsProcessing:pn.isProcessing}}function yi(e,t,n){let r=globalThis.__MOTION_INSPECT__;if(r)try{r({...vi(`animation-start`,e),options:n?{...t,...n}:t})}catch{}}function bi(e,t){let n=globalThis.__MOTION_INSPECT__;if(n)try{n({...vi(`layout-animation-start`,e),node:t})}catch{}}var xi=class{constructor(){this.isResolved=!1}get finished(){return this._finished||=this.isResolved?Promise.resolve():new Promise(e=>{this._resolve=e}),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(e,t){return this.finished.then(e,t)}},Si=e=>e/100,Ci=e=>Math.round(e*1e4)/1e4,wi=class extends xi{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==gn.now()&&this.tick(gn.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause(),yi(this,this.options)}initAnimation(){let{options:e}=this;hi(e);let{type:t=ci,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||ci;s!==ci&&typeof o[0]!=`number`&&(this.mixKeyframes=zt(Si,Ar(o[0],o[1])),o=[0,100]);let c=s(o===e.keyframes?e:{...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Vr(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,calculatedDuration:i}=this;if(this.startTime===null)return n.next(0);let{delay:a=0,keyframes:o,type:s,onUpdate:c,finalKeyframe:l}=this.options;this.startTime===this.pendingStartTime&&(this.startTime=_i(this.startTime,e)),this.pendingStartTime=void 0,this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let u=this.currentTime-a*(this.playbackSpeed>=0?1:-1),d=this.playbackSpeed>=0?u<0:u>r;this.currentTime=Math.max(u,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let f=this.generate(this.currentTime,d),{done:p}=f;!d&&i!==null&&(p=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let m=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&p);return m&&s!==ti&&(f.value=pi(o,this.options,l,this.speed)),c&&c(f.value),m&&this.finish(),f}at(e){return this.holdTime??Ci((e-this.startTime)*this.playbackSpeed)}sampleAt(e,t){let{options:n,totalDuration:r}=this,i=this.at(e)-(n.delay||0);return i>=r&&n.type!==ti?pi(n.keyframes,n,t?void 0:n.finalKeyframe):this.generate(Math.max(i,0),i<0).value}generate(e,t){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o}=this,{keyframes:s,repeat:c,repeatType:l,repeatDelay:u}=this.options,d=e,f=n;if(c){let t=Math.min(e,r)/o,n=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),i===1&&n--,n=Math.min(n,c+1),n%2&&(l===`reverse`?(i=1-i,u&&(i-=u/o)):l===`mirror`&&(f=a)),d=Mt(0,1,i)*o}let p;return t?(this.delayState.value=s[0],p=this.delayState):p=f.next(d),i&&!t&&(p.value=i(p.value)),p}then(e,t){return this.finished.then(e,t)}get duration(){return Ut(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Ut(e)}get time(){return Ut(this.currentTime)}set time(e){e=Ht(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){return di(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(gn.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Ut(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Rr,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??(this.pendingStartTime=n):this.startTime=n-this.holdTime/(this.playbackSpeed||1),this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(gn.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}},Ti=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Ei(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Dn)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Ti.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Di=/\b([a-z-]*)\(.*?\)/gu,Oi={...ur,getAnimatableNone:e=>{let t=e.match(Di);return t?t.map(Ei).join(` `):e}},ki={...ur,getAnimatableNone:e=>{let t=ur.parse(e);return ur.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Ai={...wn,transform:Math.round},ji={rotate:Rn,pathRotation:Rn,rotateX:Rn,rotateY:Rn,rotateZ:Rn,scale:En,scaleX:En,scaleY:En,scaleZ:En,skew:Rn,skewX:Rn,skewY:Rn,distance:Bn,translateX:Bn,translateY:Bn,translateZ:Bn,x:Bn,y:Bn,z:Bn,perspective:Bn,transformPerspective:Bn,opacity:Tn,originX:Un,originY:Un,originZ:Bn},Mi={borderWidth:Bn,borderTopWidth:Bn,borderRightWidth:Bn,borderBottomWidth:Bn,borderLeftWidth:Bn,borderRadius:Bn,borderTopLeftRadius:Bn,borderTopRightRadius:Bn,borderBottomRightRadius:Bn,borderBottomLeftRadius:Bn,width:Bn,maxWidth:Bn,height:Bn,maxHeight:Bn,top:Bn,right:Bn,bottom:Bn,left:Bn,inset:Bn,insetBlock:Bn,insetBlockStart:Bn,insetBlockEnd:Bn,insetInline:Bn,insetInlineStart:Bn,insetInlineEnd:Bn,padding:Bn,paddingTop:Bn,paddingRight:Bn,paddingBottom:Bn,paddingLeft:Bn,paddingBlock:Bn,paddingBlockStart:Bn,paddingBlockEnd:Bn,paddingInline:Bn,paddingInlineStart:Bn,paddingInlineEnd:Bn,margin:Bn,marginTop:Bn,marginRight:Bn,marginBottom:Bn,marginLeft:Bn,marginBlock:Bn,marginBlockStart:Bn,marginBlockEnd:Bn,marginInline:Bn,marginInlineStart:Bn,marginInlineEnd:Bn,fontSize:Bn,backgroundPositionX:Bn,backgroundPositionY:Bn,...ji,zIndex:Ai,fillOpacity:Tn,strokeOpacity:Tn,numOctaves:Ai},Ni={...Mi,color:Gn,backgroundColor:Gn,outlineColor:Gn,fill:Gn,stroke:Gn,borderColor:Gn,borderTopColor:Gn,borderRightColor:Gn,borderBottomColor:Gn,borderLeftColor:Gn,filter:Oi,WebkitFilter:Oi,mask:ki,WebkitMask:ki},Pi=e=>Ni[e],Fi=new Set([Oi,ki]);function Ii(e,t){let n=Pi(e);return Fi.has(n)||(n=ur),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function Li(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Ri=e=>e*180/Math.PI,zi=e=>Vi(Ri(Math.atan2(e[1],e[0]))),Bi={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scaleZ:()=>1,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:zi,rotateZ:zi,skewX:e=>Ri(Math.atan(e[1])),skewY:e=>Ri(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Vi=e=>(e%=360,e<0&&(e+=360),e),Hi=zi,Ui=e=>Math.hypot(e[0],e[1]),Wi=e=>Math.hypot(e[4],e[5]),Gi={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ui,scaleY:Wi,scaleZ:e=>Math.hypot(e[8],e[9],e[10]),scale:e=>(Ui(e)+Wi(e))/2,rotateX:e=>Vi(Ri(Math.atan2(e[6],e[5]))),rotateY:e=>Vi(Ri(Math.atan2(-e[2],e[0]))),rotateZ:Hi,rotate:Hi,skewX:e=>Ri(Math.atan(e[4])),skewY:e=>Ri(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ki(e){return+!!e.includes(`scale`)}function qi(e,t){if(!e||e===`none`)return Ki(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Gi,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Bi,i=t}if(!i)return Ki(t);let a=r[t],o=i[1].split(`,`).map(Yi);return typeof a==`function`?a(o):o[a]}var Ji=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return qi(n,t)};function Yi(e){return parseFloat(e.trim())}var Xi=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`scaleZ`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Zi=new Set([...Xi,`pathRotation`]),Qi=e=>e===wn||e===Bn,$i=new Set([`x`,`y`,`z`]),ea=Xi.filter(e=>!$i.has(e));function ta(e){let t=[];return ea.forEach(n=>{let r=e.getValue(n);if(r!==void 0){let e=r.get(),i=+!!n.startsWith(`scale`);if(e===i)return;t.push([n,e]),r.set(i)}}),t}var na=new Set([`bottom`,`right`]);function ra(e,t,n,r,i,a){let o=parseFloat(e);if(!isNaN(o))return o;let{min:s,max:c}=t()[n],l=c-s;return a===`border-box`?l:l-parseFloat(r)-parseFloat(i)}var ia={width:({width:e,paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r},i)=>ra(e,i,`x`,t,n,r),height:({height:e,paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r},i)=>ra(e,i,`y`,t,n,r),top:({top:e})=>parseFloat(e),left:({left:e})=>parseFloat(e),bottom:({top:e},t)=>{let{y:n}=t();return parseFloat(e)+(n.max-n.min)},right:({left:e},t)=>{let{x:n}=t();return parseFloat(e)+(n.max-n.min)},x:({transform:e})=>qi(e,`x`),y:({transform:e})=>qi(e,`y`)};ia.translateX=ia.x,ia.translateY=ia.y;var aa=new Set,oa=!1,sa=!1,ca=!1;function la(){if(sa){let e=[],t=new Set,n=new Set;aa.forEach(r=>{r.needsMeasurement&&(e.push(r),t.add(r.element),na.has(r.name)&&n.add(r.element))});let r=new Map;n.forEach(e=>{let t=ta(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}sa=!1,oa=!1,aa.forEach(e=>e.complete(ca)),aa.clear()}function ua(){aa.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(sa=!0)})}function da(){ca=!0,ua(),la(),ca=!1}function fa(e,t,n){if(typeof e==`string`){if(Pt(e)||It(e))return parseFloat(e);if(!ur.test(e)&&ur.test(n))return Ii(t,n)}return e??void 0}var pa=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(aa.add(this),oa||(oa=!0,Fr.read(ua),Fr.resolveKeyframes(la))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=fa(n.readValue(t,a),t,a);r!==void 0&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Li(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),aa.delete(this)}cancel(){this.state===`scheduled`&&(aa.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},ma=e=>e.startsWith(`--`);function ha(e,t,n){ma(t)?e.style.setProperty(t,n):e.style[t]=n}var ga={};function _a(e,t){let n=Lt(e);return()=>ga[t]??n()}var va=_a(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),ya=_a(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),ba=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,xa={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:ba([0,.65,.55,1]),circOut:ba([.55,0,1,.45]),backIn:ba([.31,.01,.66,-.59]),backOut:ba([.33,1.53,.69,.99])};function Sa(e,t){if(e)return typeof e==`function`?ya()?zr(e,t):`ease-out`:ln(e)?ba(e):Array.isArray(e)?e.map(e=>Sa(e,t)||xa.easeOut):xa[e]}function Ca(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=Sa(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function wa(e){return typeof e==`function`&&`applyToOptions`in e}function Ta({type:e,...t}){return wa(e)&&ya()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var Ea=class extends xi{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=Ta(e);this.animation=Ca(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=pi(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),ha(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()},yi(this,e,c)}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return Ut(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Ut(e)}get time(){return Ut(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ht(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,onAttach:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&va()?(this.animation.timeline=e,t?.(this.animation),Rt):n(this)}},Da={anticipate:$t,backInOut:Qt,circInOut:nn};function Oa(e){return e in Da}function ka(e){typeof e.ease==`string`&&Oa(e.ease)&&(e.ease=Da[e.ease])}var Aa=class extends Ea{constructor(e){ka(e),hi(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}elapsed(){return this.state===`running`?(gn.now()-this.startTime)*this.speed:this.time*1e3}sample(e){if(!this.sampler){let{motionValue:e,onUpdate:t,onComplete:n,onPlay:r,onStop:i,element:a,...o}=this.options;this.sampler=new wi({...o,autoplay:!1}),this.sampler.stop()}return this.sampler.sample(Math.max(0,e)).value}liveValue(){let{state:e}=this;if(e===`running`||e===`paused`)return this.sample(this.elapsed())}updateMotionValue(e){let{motionValue:t,element:n,name:r}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let{speed:i}=this,a=this.elapsed(),o=this.state===`running`&&i?Mt(0,10,a):0,s=this.sample(a);n&&r&&ha(n,r,s),t.setWithVelocity(this.sample(a-o*Math.sign(i)),s,o/Math.abs(i||1))}},ja=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(ur.test(e)||e===`0`)&&!e.startsWith(`url(`));function Ma(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Na(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=ja(i,t),s=ja(a,t);return!o||!s?(o!==s&&`${t}${i}${a}${o?a:i}`,!1):Ma(e)||(n===`spring`||wa(n))&&r}function Pa(e){e.duration=0,e.type=`keyframes`}var Fa=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`]),Ia=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function La(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Ia.test(e[t]))return!0;return!1}var Ra=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),za=Lt(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function Ba(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!n||!(Fa.has(n)||Ra.has(n)))return!1;let c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return za()&&(Fa.has(n)||Ra.has(n)&&La(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Va=(e,t)=>t&&typeof e==`number`?t.transform(e):e,Ha={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},Ua=Xi.length;function Wa(e,t,n){let r=``,i=!0;for(let a=0;a<Ua;a++){let o=Xi[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Va(s,Mi[o]);if(!c){i=!1;let t=Ha[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Va(a,Mi.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}var Ga=new WeakMap,Ka=200,qa=.001,Ja=.1,Ya=.001,Xa=100,Za=e=>/^(linear|ease(In|Out|InOut))$/.test(e),Qa=(e,t)=>e-t,$a=(e,t,n)=>{let r=[];for(let i=0;i<=n;i++)r.push(mr(e,t,i/n));return r},eo=e=>e.motionValue.owner,to=e=>Ga.get(e),no=(e,t)=>e.latestValues?e.latestValues[t]:e.getValue(t)?.get(),ro=({name:e,motionValue:t})=>e&&Xi.includes(e)&&t?.owner?.current instanceof HTMLElement&&za()&&ya();function io(e){let t=eo(e),{onUpdate:n,transformTemplate:r}=t.getProps();return!e.isHandoff&&!n&&!e.hasOnUpdate&&!r&&e.type!==`inertia`&&(no(t,`transform`)||`none`)===`none`&&!no(t,`pathRotation`)&&!t.projection?.isProjecting()}var ao=class extends wi{constructor(e){let t=eo(e).current,{driver:n=Rr}=e,r,i=io(e);e.driver=e=>{let i=n(e);return{js:i,now:i.now,start:(e=!0)=>{let n=to(t);!n||n.isJS?i.start(e):n.schedule(!1,!e)},stop:()=>{i.stop();let e=to(t);e&&!e.isFinishing&&e.release(r)}}},super(e),r=this,this.canAccelerate=i;let{stop:a}=this;this.stop=()=>{this.isAccelerated()&&this.sync(),a()}}get group(){return to(eo(this.options).current)}get js(){return this.driver?.js}get name(){return this.options.name}timing(){let{startTime:e,speed:t,totalDuration:n}=this,{delay:r=0,repeatType:i}=this.options;return this.holdTime===null?n===1/0?[e+r/t,this.resolvedDuration*(i===`loop`?1:2)/t||1]:[e+(r+n)/t,0]:[1/0,0]}isAccelerated(){let{group:e,state:t}=this;return e?.tracks.has(this)&&!e.isJS&&this.canAccelerate&&(t===`running`||t===`paused`)}liveValue(){return this.isAccelerated()?this.sampleAt(gn.now()):void 0}tween(){let{keyframes:e,type:t,ease:n,times:r,repeat:i,delay:a=0}=this.options,o=ln(n)?ba(n):Za(n)&&xa[n];if(o&&!i&&!r&&e.length===2&&t===ci&&this.holdTime===null){let e=this.startTime+a/this.speed;return[e,e+this.resolvedDuration/this.speed,o]}}boundaries(e,t){let{startTime:n,speed:r,resolvedDuration:i,options:a}=this,{delay:o=0,repeat:s=0,repeatDelay:c=0,repeatType:l,times:u,keyframes:d,type:f}=a,p=(f||ci)===ci?u||ai(d):[0,1],m=n+o/r,h=[];if(this.holdTime!==null||!(i>0))return h;for(let n=Math.max(0,Math.floor((e-m)*r/i));n<=s;n++){let a=m+n*i/r;if(a>t)break;for(let o of p){let s=a+(n%2&&l&&l!==`loop`?1-o:o)*(i-c)/r;s>e&&s<t&&h.push(s)}}return h}numberAt(e){return parseFloat(this.sampleAt(e,!0))}sync(){let e=gn.now();this.options.motionValue.setWithVelocity(this.sampleAt(e-10,!0),this.sampleAt(e,!0),10)}play(){this.isStopped||((this.group||oo(eo(this.options))).tracks.add(this),super.play())}pause(){super.pause(),this.isAccelerated()&&(this.sync(),this.group.schedule(!1))}complete(){super.complete();let{group:e}=this;e&&!e.isJS&&this.canAccelerate&&this.tick(gn.now())}get time(){return this.isAccelerated()?Ut(Mt(0,this.totalDuration,this.at(gn.now())-(this.options.delay||0))):super.time}set time(e){super.time=e,this.isAccelerated()&&this.sync()}attachTimeline(e){return this.canAccelerate=!1,this.group?.demote(!0),super.attachTimeline(e)}};function oo(e){let t=e.current,n=new Set,r=new Map,i={},a=[],o=new Map,s=[],c=!1,l=!1,u=!1,d=!1,f=-1/0,p=e=>{for(let t of n)if(t.name===e)return!0},m=(t,n)=>{let o={};for(let s of t===void 0?Xi:a){let a=r.get(s),c=t===void 0?no(e,s):a?a.sampleAt(n>t&&!a.timing()[1]?n:t):i[s];c!==void 0&&(o[s]=c)}return o},h=(e,t)=>{let n=``,r=m(e,t);for(let e in r)n+=(Ha[e]||e)+`(`+Va(r[e],Mi[e])+`) `;return n||`none`},g=(e=m())=>{t.style.transform=Wa(e,{})},_=(e=!0)=>{e&&g(),s.forEach(({animation:e})=>e.cancel()),s=[]},v=(e,t,n=1/0)=>{let r={animation:e,offset:t,end:n};e.startTime=gn.now()+t,n<1/0&&(e.onfinish=()=>{r.isDone=!0,s.some(e=>e.end===1/0)&&(e.cancel(),s=s.filter(e=>e!==r)),O.schedule(!1)}),e.oncancel=()=>s.includes(r)&&O.demote(),s.push(r)},y=(e,t,n)=>{let r=(t,n)=>Math.abs(e(n)-e(t)),i=r(t,n);for(;n-t>.01;){let e=(t+n)/2;r(t,e)>r(e,n)?n=e:t=e}return r(t,n)>i/2?[t,n]:[]},b=(e,t,n,r)=>{let i=Math.min(Ka,Math.max(2,Math.ceil((n-t)/10)));if(r.length*4>i)return;let a=$a(t,n,i).concat(r).sort(Qa),o=e=>Bt(t,n,e),s,c;for(let t of e){let e=a.map(e=>t.numberAt(e)),[n]=e,r=e.map(e=>e-n),i=r[r.length-1],o=r.some(e=>Math.abs(e)*qa>Math.abs(i))?0:i,l=r.map(e=>o?e/o:e);if(!o){if(l.some(e=>!(Math.abs(e)<=qa)))return}else if(!s)s=l,c=e=>(t.numberAt(e)-n)/o;else if(l.some((e,t)=>!(Math.abs(e-s[t])<=qa)))return}if(!s||s.every((e,t)=>Math.abs(e-o(a[t]))<=qa))return`linear`;let l=[],u=(e,t=c(e))=>l.push(Ci(t)+` `+Ci(o(e)*100)+`%`);return s.forEach((e,t)=>{t&&Math.abs(e-s[t-1])>.2&&y(c,a[t-1],a[t]).forEach(e=>u(e)),u(a[t],e)}),`linear(`+l+`)`},x=(e,t,n,r)=>{let i=[t],a=(t,n)=>e.every(e=>!(Math.abs(e.numberAt((t+n)/2)-(e.numberAt(t)+e.numberAt(n))/2)>(e.name.startsWith(`scale`)?Ya:Ja))),o=(t,n,r)=>{if(n-t<1||a(t,n))i.push(n);else if(r<4)o(t,(t+n)/2,r+1),o((t+n)/2,n,r+1);else{for(let r of e)i.push(...y(e=>r.numberAt(e),t,n));i.push(n)}},s=$a(t,n,Math.ceil((n-t)/100));for(let e of r)s.push(e,Math.min(e+.01,n));let c=t;for(let e of s.sort(Qa))e>c&&o(c,e,0),c=e;return i.sort(Qa)},S=e=>{let t;for(let n of e){let e=n.tween();if(!e||t?.some((t,n)=>n<2?Math.abs(e[n]-t)>1:e[n]!==t))return;t=e}return t},C=(e,n,r,i={fill:`both`},a,o)=>{let s=e.flatMap(e=>e.boundaries(n,r)),c=o||b(e,n,r,s),l=c?[n,r]:x(e,n,r,s),u=l.map(e=>h(e,a)),d={transform:u};return c||(d.offset=l.map(e=>Bt(n,r,e))),u.every(e=>e===u[0])&&(g(m(n,a)),d=null),t.animate(d,{...i,duration:r-n,easing:c||`linear`})},w=c=>{let l=c,u=0,d=0,f=[],p=[],m=new Set;r.clear(),o=new Map;for(let e of n){r.set(e.name,e);let[t,n]=e.timing(),i=t===1/0;if(o.set(e,[e.at(c),e.speed,i]),i)e.sync();else{if(e.speed<0)return;if(n){if(u){let e=(t-d)/n;if(Math.abs(n-u)>1||Math.abs(e-Math.round(e))*u>1)return}else u=n,d=t;p.push(e)}else m.add(t);f.push(e),l=Math.max(l,t)}}i={},a=Xi.filter(t=>{if(r.has(t))return!0;let n=i[t]=no(e,t);return n!==void 0&&parseFloat(n)!==+!!t.startsWith(`scale`)}),_(!1);let h=!u&&S(f);try{if(h&&h[1]>c){let[e,t,n]=h;v(C(f,e,t,void 0,void 0,n),e-c,t-e)}else l>c&&(v(C(f,c,l),0,l-c),m.forEach(e=>e<l-1&&v(t.animate(null,{duration:e-c}),0,e-c)));if(u){let e=d+Math.floor((l-d)/u)*u;v(C(p,e,e+u,{iterations:1/0,iterationStart:(l-e)/u,fill:`forwards`},l),l-c)}}catch{return}return s.length||_(),!0},T=e=>{let t,r=0;for(let i of n){let n=o.get(i);if(!n)return!1;let[a,s,c]=n,l=i.at(e),u=i.timing()[0]===1/0;if(c){if(u&&l===a)continue;return!1}let d=(l-a)/s,f=u?0:i.speed/s;if(t===void 0)t=d,r=f;else if(Math.abs(d-t)>1||f!==r)return!1}if(t===void 0)return!0;if(!s.length)return!1;for(let{offset:e,end:n,isDone:r}of s){let i=t-e;if(n<1/0&&(r?i<n-1:i<0||i>=n))return!1}for(let{animation:n,offset:i,isDone:a}of s){if(a)continue;let o=t-i;r?(n.playbackRate=r,n.startTime=e-o/r):(n.pause(),n.currentTime=o)}return!0},E=()=>!n.size&&(u=!0,to(t)===O&&Ga.delete(t),O.isJS||_(),!0),D=()=>{let t=gn.now();if(O.isJS||(O.isFinishing=!0,n.forEach(n=>{let[r,a]=n.timing();n.state===`running`&&n.speed>0&&!a&&r<=t+1&&(n.complete(),i[n.name]=no(e,n.name),o.has(n)||(c=!0))}),O.isFinishing=!1),l=!1,u||(n.forEach(({state:e},t)=>{(e===`idle`||e===`finished`)&&n.delete(t)}),E()))return;for(let e of n)if(!e.canAccelerate)return O.demote(!0);O.isJS&&(O.isJS=!1,c=!0,n.forEach(e=>e.js?.stop()));let r=c,a=d;if(c=d=!1,r||!T(t)){if(a){if(t-f<Xa)return O.demote();f=t}if(!w(t))return O.demote()}},O={tracks:n,isJS:!1,isFinishing:!1,schedule(e,t){u||(c||=e,d||=!!t,l||(l=!0,pn.isProcessing?Fr.render(D,!1,!0):queueMicrotask(D)))},release(e){let{state:t}=e;(t===`idle`||t===`finished`)&&n.delete(e),E()||O.schedule(!0)},check(){if(!O.isJS){for(let t in i)if(no(e,t)!==i[t]&&!p(t))return O.schedule(!0,!0)}},demote(e){O.isJS||u||(n.forEach(t=>{t.isAccelerated()&&t.sync(),e||(t.canAccelerate=!1)}),O.isJS=!0,o=new Map,_(),n.forEach(e=>e.state===`running`&&e.js?.start()))}};return Ga.set(t,O),O}var so=class extends xi{constructor(e){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=gn.now();let{keyframes:t,name:n,motionValue:r,element:i}=e,a=e;a.autoplay??=!0,a.delay??=0,a.type??=`keyframes`,a.repeat??=0,a.repeatDelay??=0,a.repeatType??=`loop`;let o=i?.KeyframeResolver||pa;this.keyframeResolver=new o(t,(e,t,n)=>this.onKeyframesResolved(e,t,a,!n),n,r,i),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=gn.now();let u=!0;Na(e,i,a,o)||(u=!1,(Nt.instantAnimations||!s)&&l?.(pi(e,n,t)),e[0]=e[e.length-1],Pa(n),n.repeat=0);let{onComplete:d}=n;n.finalKeyframe=t,n.keyframes=e,n.onComplete=()=>{d?.(),this.notifyFinished()};let f=u&&!c&&Ba(n),p=!f&&ro(n);r&&(f||p||this.resolvedAt!==this.createdAt)&&(n.startTime??=_i(this.createdAt,this.resolvedAt));let m;if(f){n.element=n.motionValue?.owner?.current;try{m=new Aa(n)}catch{m=new wi(n)}}else m=p?new ao(n):new wi(n);this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this._animation.finished:super.finished}then(e,t){return this.finished.finally(e).then(()=>{})}liveValue(){return this._animation?.liveValue?.()}get animation(){return this._animation||(this.keyframeResolver?.resume(),da()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}},co=class{constructor(e){this.stop=()=>this.runAll(`stop`),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll(`time`)}set time(e){this.setAll(`time`,e)}get speed(){return this.getAll(`speed`)}set speed(e){this.setAll(`speed`,e)}get state(){return this.getAll(`state`)}get startTime(){return this.getAll(`startTime`)}get duration(){return lo(this.animations,`duration`)}get iterationDuration(){return lo(this.animations,`iterationDuration`)}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll(`play`)}pause(){this.runAll(`pause`)}cancel(){this.runAll(`cancel`)}complete(){this.runAll(`complete`)}};function lo(e,t){let n=0;for(let r=0;r<e.length;r++){let i=e[r][t];i!==null&&i>n&&(n=i)}return n}var uo=class extends co{then(e,t){return this.finished.finally(e).then(()=>{})}};function fo(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var po=30,mo=e=>!isNaN(parseFloat(e)),ho={current:void 0},go=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=gn.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.notifyChange(),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=gn.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=mo(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){var n;return e===`change`?this.onChangeSubscribe(t):((n=this.events)[e]||(n[e]=new Vt)).add(t)}onChangeSubscribe(e){let{events:t}=this;return!t.change&&!this.changeSubscriber?this.changeSubscriber=e:(t.change||(t.change=new Vt,t.change.add(this.changeSubscriber),this.changeSubscriber=void 0),t.change.add(e)),()=>{this.changeSubscriber===e?this.changeSubscriber=void 0:t.change?.remove(e),this.stopIfUnobserved()}}stopIfUnobserved(){Fr.read(()=>{!this.changeSubscriber&&!this.events.change?.getSize()&&this.stop()})}clearListeners(){this.changeSubscriber=void 0;for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){let{current:e,changeSubscriber:t}=this;t?t(e):this.events.change?.notify(e)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){ho.current&&ho.current.push(this);let e=this.animation?.liveValue?.();return e===void 0?this.current:e}getCurrent(){return this.current}getPrevious(){return this.prev}getVelocity(){let e=gn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>po)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,po);return Wt(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0;let n=!1,r;r=e(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===r&&this.clearAnimation(),t()}),n||(this.animation=r),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function _o(e,t){return new go(e,t)}function vo(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function yo(e,t){let n=e?.[t]??e?.default??e;return n===e?n:vo(n,e)}var bo={type:`spring`,stiffness:500,damping:25,restSpeed:10},xo=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),So={type:`keyframes`,duration:.8},Co={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},wo=(e,{keyframes:t})=>t.length>2?So:Zi.has(e)?e.startsWith(`scale`)?xo(t[1]):bo:Co,To=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Eo(e){for(let t in e)if(!To.has(t))return!0;return!1}var Do=(e,t,n,r={},i,a)=>o=>{let s=yo(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=Ht(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i,hasOnUpdate:!!s.onUpdate};Eo(s)||Object.assign(u,wo(e,u)),u.duration&&=Ht(u.duration),u.repeatDelay&&=Ht(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Pa(u),u.delay===0&&(d=!0)),(Nt.instantAnimations||Nt.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Pa(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=pi(u.keyframes,s);if(e!==void 0){Fr.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new wi(u):new so(u)},Oo=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ko(e){let t=Oo.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Ao(e,t,n=1){`${e}`;let[r,i]=ko(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Pt(e)?parseFloat(e):e}return xn(i)?Ao(i,t,n+1):i}function jo(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Mo(e,t,n,r){let i=t=>typeof t==`function`?t(n===void 0?e.custom:n,...jo(r)):t;return t=i(t),typeof t==`string`&&(t=e.variants&&e.variants[t]),i(t)}function No(e,t,n){return Mo(e.getProps(),t,n,e)}var Po=(e,t)=>t===`exit`?e.presenceContext?.custom:void 0,Fo=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Xi]),Io=e=>Array.isArray(e);function Lo(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,_o(n))}function Ro(e){return Io(e)?e[e.length-1]||0:e}function zo(e,t){let{transitionEnd:n={},transition:r={},...i}=No(e,t)||{};i={...i,...n};for(let t in i)Lo(e,t,Ro(i[t]))}var Bo=e=>!!(e&&e.getVelocity);function Vo(e){return!!(Bo(e)&&e.add)}function Ho(e,t){let n=e.getValue(`willChange`);if(Vo(n))return n.add(t);if(!n&&Nt.WillChange){let n=new Nt.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Uo(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Wo=`data-`+Uo(`framerAppearId`);function Go(e){return e.props[Wo]}var Ko=typeof window<`u`;function qo({protectedKeys:e,needsAnimating:t},n){let r=n in e&&!t[n];return t[n]=!1,r}function Jo(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?vo(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState?.getState()[i],p=a?.path;p&&(p.animateValues?p.animateValues(t=>e.getValue(t,e.latestValues[t]??0),s,a,n,d):p.animateVisualElement?.(e,s,a,n,d));for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&qo(f,t))continue;let o={delay:n,...yo(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){Fr.update(()=>r.set(i));continue}let p=!1;if(Ko&&window.MotionHandoffAnimation){let n=Go(e);if(n){let e=window.MotionHandoffAnimation(n,t,Fr);e!==null&&(o.startTime=e,p=!0)}}Ho(e,t);let m=l??e.shouldReduceMotion;r.start(Do(t,r,i,m&&Fo.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>Fr.update(()=>{o&&zo(e,o)});d.length?Promise.all(d).then(t):t()}return d}function Yo(e,t,n={}){let r=No(e,t,Po(e,n.type)),i=n.transitionOverride||(r?.transition??(e.getDefaultTransition()||{})),a=()=>Promise.all(r?Jo(e,r,n):[]),o=(r=0)=>{let{variantChildren:a}=e,{delayChildren:o=0,staggerChildren:s,staggerDirection:c}=i,l=[];return a?.forEach(e=>{e.notify(`AnimationStart`,t),l.push(Yo(e,t,{...n,delay:r+(typeof o==`function`?0:o)+fo(a,e,o,s,c)}).then(()=>e.notify(`AnimationComplete`,t)))}),Promise.all(l)},{when:s}=i;return s?s===`beforeChildren`?a().then(()=>o()):o().then(a):Promise.all([a(),o(n.delay)])}function Xo(e,t,n={}){return e.notify(`AnimationStart`,t),(Array.isArray(t)?Promise.all(t.map(t=>Yo(e,t,n))):typeof t==`string`?Yo(e,t,n):Promise.all(Jo(e,No(e,t,n.custom),n))).then(()=>{e.notify(`AnimationComplete`,t)})}var Zo={test:e=>e===`auto`,parse:e=>e},Qo=e=>t=>t.test(e),$o=[wn,Bn,zn,Rn,Hn,Vn,Zo],es=e=>$o.find(Qo(e));function ts(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||It(e)}var ns=new Set([`auto`,`none`,`0`]);function rs(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!ns.has(t)&&nr(t)&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]!==i&&(e[r]=Ii(n,i))}var is=class extends pa{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}scheduleResolve(){if(this.canReadNow()&&(this.readKeyframes(),!this.needsMeasurement))return this.complete();super.scheduleResolve()}canReadNow(){let{unresolvedKeyframes:e,element:t,motionValue:n}=this,r=e[0]??n?.get();if(!t?.current||r===void 0)return!1;for(let t=0;t<e.length;t++)if(Cn(t?e[t]:r))return!1;return!0}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),xn(r))){let i=Ao(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Fo.has(n)||e.length!==2)return;let[r,i]=e;if(typeof r==`number`&&typeof i==`number`)return;let a=es(r),o=es(i);if(Cn(r)!==Cn(i)&&ia[n])this.needsMeasurement=!0;else if(a!==o){if(Qi(a)&&Qi(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else ia[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||ts(e[t]))&&n.push(t);n.length&&rs(e,n,t)}measure(){let{element:e,name:t}=this;return ia[t](window.getComputedStyle(e.current),()=>e.measureViewportBox())}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&this.motionValue?.jump(r,!1)}measureEndState(){let{element:e,unresolvedKeyframes:t}=this;if(!e||!e.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let n=t.length-1,r=t[n];t[n]=this.measure(),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},as=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`],ss=[];function cs(e){typeof e.test==`function`&&e.read,ls(e),ss.unshift(e)}function ls(e){At(ss,e)}function us(e){return ss.find(t=>t.test(e))}function ds(e,t,n={},r){let i=[],{velocity:a,path:o}=n,s=n.reduceMotion??r?.shouldReduceMotion;o?.animateValues&&r&&(t={...t},o.animateValues(e,t,n,0,i));for(let o in t){if(o===`transition`||o===`transitionEnd`)continue;let c=t[o];if(c===void 0)continue;let l=e(o),u=l.get();u!==void 0&&!l.isAnimating()&&!Array.isArray(c)&&c===u&&!a?Fr.update(()=>l.set(c)):(l.start(Do(o,l,c,s&&Fo.has(o)?{type:!1}:n,r)),l.animation&&i.push(l.animation))}let{transitionEnd:c}=t;if(c){let t=()=>Fr.update(()=>{for(let t in c)e(t).set(c[t])});i.length?Promise.all(i).then(t):t()}return i}function fs(e,t,n,r,i){return ds(r=>{let a=e.get(t,r);if(!a){let o;if(!i){let i=n[r];o=ps(i)??e.read(t,r,i),`${r}`}a=_o(o,{owner:i}),e(t,{[r]:a})}return a},n,r,i)}function ps(e){let t=Array.isArray(e)?e[0]:void 0;return t===null?void 0:t}function ms(e){return Ft(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}function hs(e){return Ft(e)&&`ownerSVGElement`in e}function gs(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var _s=class{constructor(e=Fr.render){this.step=e,this.values=new Map,this.pending=[],this.numPending=0,this.flush=()=>{let{pending:e,numPending:t}=this;this.numPending=0;for(let n=0;n<t;n++)e[n]()}}set(e,t,n,r){if(this.values.get(e)?.onRemove(),r)for(let e of this.values.values())e.value===r&&(n=e.render);let i=()=>n&&this.schedule(n);t.get()!==void 0&&i();let a=t.on(`change`,i),o=()=>{a(),n&&!r&&this.cancel(n),this.values.get(e)?.onRemove===o&&this.values.delete(e)};return this.values.set(e,{value:t,render:r?void 0:n,onRemove:o}),o}get(e){return this.values.get(e)?.value}release(){let e=new Map;return this.values.forEach((t,n)=>{e.set(n,t.value),t.onRemove()}),this.transformKeys=this.transformValues=void 0,e}schedule(e){let{pending:t,numPending:n}=this;for(let r=0;r<n;r++)if(t[r]===e)return;n||this.step(this.flush),t[this.numPending++]=e}cancel(e){let{pending:t}=this;for(let n=0;n<this.numPending;n++)if(t[n]===e){t[n]=t[--this.numPending];return}}};function vs(e,{step:t,...n}={}){let r=new WeakMap;return Object.assign((n,i)=>{let a=r.get(n)??new _s(t);r.set(n,a);let o=[];for(let t in i){let r=i[t],s=e(n,a,t,r);o.push(s)}return()=>{for(let e of o)e()}},n,{get:(e,t)=>r.get(e)?.get(t),flush:e=>r.get(e)?.flush(),state:e=>r.get(e)})}var ys={};function bs(e){let t=``,{transformKeys:n=[],transformValues:r={}}=e;for(let e=0;e<n.length;e++){let i=n[e],a=r[i].getCurrent();a!==void 0&&(typeof a==`number`?a:parseFloat(a))!==+!!i.startsWith(`scale`)&&(t+=(t&&` `)+(ys[i]||(ys[i]=(Ha[i]||i)+`(`))+Va(a,ji[i])+`)`)}let i=e.get(`pathRotation`)?.get();return i&&(t+=(t&&` `)+`rotate(`+Va(i,ji.pathRotation)+`)`),t||`none`}var xs=new Set([`originX`,`originY`,`originZ`]),Ss=(e,t)=>Va(e.get(t)?.get(),Mi[t]),Cs=(e,t,n,r)=>{let i,a;if(Zi.has(n)){if(n!==`pathRotation`){let e=t.transformKeys??=[];(t.transformValues??={})[n]=r,e.includes(n)||(e.push(n),e.sort((e,t)=>Xi.indexOf(e)-Xi.indexOf(t)))}t.get(`transform`)||(!ms(e)&&!t.get(`transformBox`)&&Cs(e,t,`transformBox`,new go(`fill-box`)),t.set(`transform`,new go(`none`),()=>{Ga.get(e)?.check(),e.style.transform=bs(t)})),a=t.get(`transform`)}else xs.has(n)?(t.get(`transformOrigin`)||t.set(`transformOrigin`,new go(``),()=>{let n=Ss(t,`originX`)??`50%`,r=Ss(t,`originY`)??`50%`,i=Ss(t,`originZ`)??0;e.style.transformOrigin=`${n} ${r} ${i}`}),a=t.get(`transformOrigin`)):i=ma(n)?()=>{e.style.setProperty(n,r.getCurrent())}:()=>{e.style[n]=Va(r.getCurrent(),Mi[n])};return t.set(n,r,i,a)},ws=e=>ms(e)||hs(e),Ts=(e,t)=>{if(Zi.has(t))return Ji(e,t);let n=getComputedStyle(e),r=ma(t)?n.getPropertyValue(t):n[t];return typeof r==`string`&&r.trim()||0},Es=vs(Cs,{test:ws,read:Ts});function Ds(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Zi.has(e))o=!0;else if(yn(e))i[e]=n;else{let t=Va(n,Mi[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=Wa(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}var Os={offset:`stroke-dashoffset`,array:`stroke-dasharray`},ks={offset:`strokeDashoffset`,array:`strokeDasharray`};function As(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Os:ks;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var js=[`transform`,`opacity`,`clipPath`,`filter`,`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Ms(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Ds(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;for(let e of js)d[e]!==void 0&&(f[e]=d[e],delete d[e]);(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&As(d,i,a,o,!1)}function Ns(e,t){if(!(t in e))return!1;let n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t)||Object.getOwnPropertyDescriptor(e,t);return n&&typeof n.set==`function`}var Ps=(e,t,n,r,i=n)=>{let a=Ns(e,i);!a&&(i.startsWith(`data`)||i.startsWith(`aria`))&&(i=Uo(i));let o=Mi[n]||Mi[i],s=a?()=>{e[i]=Va(r.get(),Mi[n])}:()=>{let t=Va(r.get(),o);t==null?e.removeAttribute(i):e.setAttribute(i,String(t))};return t.set(n,r,s)};function Fs(e,t,n,r){return Fr.render(()=>e.setAttribute(`pathLength`,`1`)),n===`pathOffset`?t.set(n,r,()=>{let t=r.get();e.setAttribute(`stroke-dashoffset`,`${-t}`)}):(t.get(`stroke-dasharray`)||t.set(`stroke-dasharray`,new go(`1 1`),()=>{let n=t.get(`pathLength`)?.get()??1,r=t.get(`pathSpacing`)?.get();e.setAttribute(`stroke-dasharray`,`${n} ${r??1-Number(n)}`)}),t.set(n,r,void 0,t.get(`stroke-dasharray`)))}var Is=vs((e,t,n,r)=>n.startsWith(`path`)&&!Zi.has(n)?Fs(e,t,n,r):n.startsWith(`attr`)?Ps(e,t,n,r,Ls(n)):(Zi.has(n)||xs.has(n)||ma(n)||n in e.style?Cs:Ps)(e,t,n,r),{test:hs,read:(e,t)=>Zi.has(t)?Mi[t]?.default||0:ma(t)||js.includes(t)?Ts(e,t)||e.getAttribute(Uo(t))||0:(t=Ls(t),e.getAttribute(Uo(t))??e.getAttribute(t)??void 0)});function Ls(e){return e.replace(/^attr([A-Z])/,(e,t)=>t.toLowerCase())}function Rs({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function zs({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Bs(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Vs(e){return e===void 0||e===1}function Hs({scale:e,scaleX:t,scaleY:n}){return!Vs(e)||!Vs(t)||!Vs(n)}function Us(e){return Hs(e)||Ws(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.rotateZ||e.skewX||e.skewY}function Ws(e){return Gs(e.x)||Gs(e.y)}function Gs(e){return e&&e!==`0%`}function Ks(e,t,n){return n+t*(e-n)}function qs(e,t,n,r,i){return i!==void 0&&(e=Ks(e,i,r)),Ks(e,n,r)+t}function Js(e,t=0,n=1,r,i){e.min=qs(e.min,t,n,r,i),e.max=qs(e.max,t,n,r,i)}function Ys(e,{x:t,y:n}){Js(e.x,t.translate,t.scale,t.originPoint),Js(e.y,n.translate,n.scale,n.originPoint)}var Xs=.999999999999,Zs=1.0000000000001;function Qs(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&($s(e.x,-a.scroll.offset.x),$s(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Ys(e,o)),r&&Us(a.latestValues)&&nc(e,a.latestValues,a.layout?.layoutBox))}t.x<Zs&&t.x>Xs&&(t.x=1),t.y<Zs&&t.y>Xs&&(t.y=1)}function $s(e,t){e.min+=t,e.max+=t}function ec(e,t,n,r,i=.5){Js(e,t,n,mr(e.min,e.max,i),r)}function tc(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function nc(e,t,n){let r=n??e;ec(e.x,tc(t.x,r.x),t.scaleX,t.scale,t.originX),ec(e.y,tc(t.y,r.y),t.scaleY,t.scale,t.originY)}function rc(e,t){return Rs(Bs(e.getBoundingClientRect(),t))}function ic(e,t,n){let r=rc(e,n),{scroll:i}=t;return i&&($s(r.x,i.offset.x),$s(r.y,i.offset.y)),r}var ac={},oc=e=>hs(e)?Is:Es,sc=class{constructor(e,t){this.effect=e,this.current=t,this.KeyframeResolver=is}getValue(e){return this.effect.get(this.current,e)}readValue(e,t){return this.effect.read(this.current,e,t)}render(){this.effect.flush(this.current)}measureViewportBox(){return rc(this.current)}getProps(){return ac}};function cc(e,t,n,r){if(r)return ds(e=>r.getValue(e,null),t,n,r);let i=oc(e);return fs(i,e,t,n,new sc(i,e))}var lc=vs((e,t,n,r)=>t.set(n,r,()=>{e[n]=r.get()}),{test:e=>Ft(e),read:(e,t)=>{let n=e[t];return typeof n==`string`||typeof n==`number`?n:void 0}}),{schedule:uc,cancel:dc}=Pr(queueMicrotask,!1);function fc(e,t,n){let r=Bo(e)?e:_o(e);return r.start(Do(``,r,t,n)),r.animation}var pc={},mc={value:null,addProjectionMetrics:null};function hc(e,t){let n=gn.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Ir(r),e(a-t))};return Fr.setup(r,!0),()=>Ir(r)}function gc(e){return hs(e)&&e.tagName===`svg`}function _c(e){return Bo(e)?e.get():e}var vc=e=>typeof e==`number`?e:parseFloat(e),yc=as.length,bc=[`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skewX`,`skewY`],xc=bc.length,Sc=e=>typeof e==`number`||Bn.test(e);function Cc(e,t,n,r,i,a){i?(e.opacity=mr(0,n.opacity??1,Tc(r)),e.opacityExit=mr(t.opacity??1,0,Ec(r))):a&&(e.opacity=mr(t.opacity??1,n.opacity??1,r));for(let i=0;i<yc;i++){let a=as[i],o=wc(t,a),s=wc(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||Sc(o)===Sc(s)?(e[a]=Math.max(mr(vc(o),vc(s),r),0),(zn.test(s)||zn.test(o))&&(e[a]+=`%`)):e[a]=s)}for(let i=0;i<xc;i++){let a=bc[i];(t[a]||n[a])&&(e[a]=mr(t[a]||0,n[a]||0,r))}}function wc(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Tc=Dc(0,.5,tn),Ec=Dc(.5,.95,Rt);function Dc(e,t,n){return r=>r<e?0:r>t?1:n(Bt(e,t,r))}function Oc(e,t){e.min=t.min,e.max=t.max}function kc(e,t){Oc(e.x,t.x),Oc(e.y,t.y)}function Ac(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var jc=.9999,Mc=1.0001,Nc=-.01,Pc=.01;function Fc(e){return e.max-e.min}function Ic(e,t,n){return Math.abs(e-t)<=n}function Lc(e,t,n,r=.5){e.origin=r,e.originPoint=mr(t.min,t.max,e.origin),e.scale=Fc(n)/Fc(t),e.translate=mr(n.min,n.max,e.origin)-e.originPoint,(e.scale>=jc&&e.scale<=Mc||isNaN(e.scale))&&(e.scale=1),(e.translate>=Nc&&e.translate<=Pc||isNaN(e.translate))&&(e.translate=0)}function Rc(e,t,n,r){Lc(e.x,t.x,n.x,r?r.originX:void 0),Lc(e.y,t.y,n.y,r?r.originY:void 0)}function zc(e,t,n,r=0){e.min=(r?mr(n.min,n.max,r):n.min)+t.min,e.max=e.min+Fc(t)}function Bc(e,t,n,r){zc(e.x,t.x,n.x,r?.x),zc(e.y,t.y,n.y,r?.y)}function Vc(e,t,n,r=0){let i=r?mr(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Fc(t)}function Hc(e,t,n,r){Vc(e.x,t.x,n.x,r?.x),Vc(e.y,t.y,n.y,r?.y)}function Uc(e,t,n,r,i){return e-=t,e=Ks(e,1/n,r),i!==void 0&&(e=Ks(e,1/i,r)),e}function Wc(e,t=0,n=1,r=.5,i,a=e,o=e){if(zn.test(t)&&(t=parseFloat(t),t=mr(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=mr(a.min,a.max,r);e===a&&(s-=t),e.min=Uc(e.min,t,n,s,i),e.max=Uc(e.max,t,n,s,i)}function Gc(e,t,[n,r,i],a,o){Wc(e,t[n],t[r],t[i],t.scale,a,o)}var Kc=[`x`,`scaleX`,`originX`],qc=[`y`,`scaleY`,`originY`];function Jc(e,t,n,r){Gc(e.x,t,Kc,n?n.x:void 0,r?r.x:void 0),Gc(e.y,t,qc,n?n.y:void 0,r?r.y:void 0)}var Yc=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xc=()=>({x:Yc(),y:Yc()}),Zc=()=>({min:0,max:0}),Qc=()=>({x:Zc(),y:Zc()});function $c(e){return e.translate===0&&e.scale===1}function el(e){return $c(e.x)&&$c(e.y)}function tl(e,t){return e.min===t.min&&e.max===t.max}function nl(e,t){return tl(e.x,t.x)&&tl(e.y,t.y)}function rl(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function il(e,t){return rl(e.x,t.x)&&rl(e.y,t.y)}function al(e){return Fc(e.x)/Fc(e.y)}function ol(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var sl=class{constructor(){this.members=[]}add(e){kt(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;r&&r.isConnected!==!1||n.snapshot||(At(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(At(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}};function cl(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ll={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`){if(Bn.test(e))e=parseFloat(e);else return e}return`${cl(e,t.target.x)}% ${cl(e,t.target.y)}%`}},ul={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=ur.parse(e);if(i.length>5)return r;let a=ur.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=mr(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},dl={borderRadius:{...ll,applyTo:[...as]},borderTopLeftRadius:ll,borderTopRightRadius:ll,borderBottomLeftRadius:ll,borderBottomRightRadius:ll,boxShadow:ul};function fl(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,rotateZ:s,skewX:c,skewY:l}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`rotateZ(${s}deg) `),c&&(r+=`skewX(${c}deg) `),l&&(r+=`skewY(${l}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}function pl(e){return[e(`x`),e(`y`)]}var ml=(e,t)=>e.depth-t.depth,hl=class{constructor(){this.children=[],this.isDirty=!1}add(e){kt(this.children,e),this.isDirty=!0}remove(e){At(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ml),this.isDirty=!1,this.children.forEach(e)}},gl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};Object.assign(pc,{...dl,...pc});var _l={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},vl=[``,`X`,`Y`,`Z`],yl=1e3,bl=0;function xl(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}var Sl=({instance:e})=>e&&Ga.get(e)?.demote();function Cl(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Go(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,Fr,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Cl(r)}function wl({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=bl++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,mc.value&&(_l.nodes=_l.calculatedTargetDeltas=_l.calculatedProjections=0),this.nodes.forEach(Dl),this.nodes.forEach(Rl),this.nodes.forEach(zl),this.nodes.forEach(Ol),mc.addProjectionMetrics&&mc.addProjectionMetrics(_l)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new hl)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Vt),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=hs(t)&&!gc(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;Fr.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=hc(i,250),gl.hasAnimatedSinceResize&&(gl.hasAnimatedSinceResize=!1,this.nodes.forEach(Ll)))})}n&&this.root.registerSharedNode(n,this),this.addLayoutListener()}addLayoutListener(){let{layoutId:e,layout:t,visualElement:n,animate:r}=this.options;this.instance&&!this.hasLayoutListener&&r!==!1&&n&&(e||t)&&(this.hasLayoutListener=!0,this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:i})=>{if(this.isAnimationBlocked){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||n.getDefaultTransition()||Gl,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=n.getProps(),c=!this.targetLayout||!il(this.targetLayout,i),l=!t&&r;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...yo(a,`layout`),onPlay:o,onComplete:s};(n.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||Ll(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),this.hasLayoutListener=!1,Ir(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Bl),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Cl(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;Sl(this),this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,Sl(t),(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1),t.isAnimationBlocked&&(t.dragSnapshot||=t.measure(),this.dragAncestor=t)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(jl),this.nodes.forEach(Al);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Ml);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Pl),this.nodes.forEach(Fl),this.nodes.forEach(Il),this.nodes.forEach(Tl),this.nodes.forEach(El)):this.nodes.forEach(Ml),this.clearAllSnapshots();let e=gn.now();pn.delta=Mt(0,1e3/60,e-pn.timestamp),pn.timestamp=e,pn.isProcessing=!0,Lr.update.process(pn),Lr.preRender.process(pn),Lr.render.process(pn),pn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,uc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(kl),this.sharedNodes.forEach((e,t)=>e.members.length?e.removeLeadSnapshot():this.sharedNodes.delete(t))}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Fr.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Fr.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),this.snapshot&&!Fc(this.snapshot.measuredBox.x)&&!Fc(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected||=Qc(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout;e&&Sl(this);let t=this.projectionDelta&&!el(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Us(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),Yl(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return Qc();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Zl))){let{scroll:e}=this.root;e&&($s(t.x,e.offset.x),$s(t.y,e.offset.y))}return t}removeElementScroll(e){let t=Qc();if(kc(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&kc(t,e),$s(t.x,i.offset.x),$s(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||Qc();kc(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&($s(r.x,-n.scroll.offset.x),$s(r.y,-n.scroll.offset.y)),Us(n.latestValues)&&nc(r,n.latestValues,n.layout?.layoutBox)}return Us(this.latestValues)&&nc(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=Qc();kc(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Us(n.latestValues))continue;let r;n.instance&&(Hs(n.latestValues)&&n.updateSnapshot(),r=Qc(),kc(r,n.measurePageBox())),Jc(t,n.latestValues,n.snapshot?.layoutBox,r)}return Us(this.latestValues)&&Jc(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade},this.addLayoutListener()}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==pn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=pn.timestamp;let a=this.getClosestProjectingParent();!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=Qc(),this.targetWithTransforms=Qc()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Bc(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):kc(this.target,this.layout.layoutBox),Ys(this.target,this.targetDelta)):kc(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),mc.value&&_l.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Hs(this.parent.latestValues)||Ws(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Qc(),this.relativeTargetOrigin=Qc(),Hc(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),kc(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===pn.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;kc(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Qs(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=Qc());let{target:s}=e;s?(!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ac(this.prevProjectionDelta.x,this.projectionDelta.x),Ac(this.prevProjectionDelta.y,this.projectionDelta.y)),Rc(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===a&&this.treeScale.y===o&&ol(this.projectionDelta.x,this.prevProjectionDelta.x)&&ol(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),mc.value&&_l.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Xc(),this.projectionDelta=Xc(),this.projectionDeltaWithTransform=Xc()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=Xc();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=Qc(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!(!c||u||this.options.crossfade!==!0||this.path.some(Wl));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=mr(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=mr(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(Vl(o.x,e.x,n),Vl(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Hc(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Ul(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&nl(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=Qc(),kc(f,this.relativeTarget)),c&&(this.animationValues=a,Cc(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(Ir(this.pendingAnimation),void 0),this.pendingAnimation=Fr.update(()=>{gl.hasAnimatedSinceResize=!0,this.motionValue||=_o(0),this.motionValue.jump(0,!1),this.currentAnimation=fc(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),bi(this.currentAnimation,this),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(yl),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,layout:n,latestValues:r}=e,{target:i}=e;if(t&&i&&n){if(this!==e&&this.layout&&n&&Xl(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||Qc();let t=Fc(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=Fc(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}kc(t,i),nc(t,r),Rc(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new sl),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&xl(`z`,e,r,this.animationValues);for(let t=0;t<vl.length;t++)xl(`rotate${vl[t]}`,e,r,this.animationValues),xl(`skew${vl[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=_c(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=_c(t?.pointerEvents)||``),this.hasProjected&&!Us(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=fl(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in pc){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=pc[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?_c(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=this.dragSnapshot=this.dragAncestor=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Al),this.root.sharedNodes.clear()}}}function Tl(e){e.updateLayout(),Nl(e)}function El(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)pl(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Fc(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Oc(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else Xl(i,t.layoutBox,n)&&pl(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Fc(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=Xc();Rc(o,n,t.layoutBox);let s=Xc();a?Rc(s,e.applyTransform(r,!0),t.measuredBox):Rc(s,n,t.layoutBox);let c=!el(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=Qc();Hc(s,t.layoutBox,i.layoutBox,o);let c=Qc();Hc(c,n,a.layoutBox,o),il(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Dl(e){mc.value&&_l.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Ol(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function kl(e){e.clearSnapshot()}function Al(e){e.clearMeasurements()}function jl(e){e.isLayoutDirty=!0,e.updateLayout()}function Ml(e){e.isLayoutDirty=!1}function Nl(e){let{snapshot:t,dragAncestor:n}=e,r=n?.layout;if(!t||!r||e.resumeFrom||e.isAnimationBlocked)return;let i=n.dragSnapshot;pl(e=>$s(t.layoutBox[e],r.layoutBox[e].min-i.layoutBox[e].min))}function Pl(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.dragSnapshot||e.layout,e.isLayoutDirty=!0)}function Fl(e){e.relativeTarget&&e.relativeParent?.isLayoutDirty&&(e.currentAnimation?e.isLayoutDirty=!0:(e.targetDelta=void 0,e.removeRelativeTarget()))}function Il(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Ll(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Rl(e){e.resolveTargetDelta()}function zl(e){e.calcProjection()}function Bl(e){e.resetSkewAndRotation()}function Vl(e,t,n){e.translate=mr(t.translate,0,n),e.scale=mr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Hl(e,t,n,r){e.min=mr(t.min,n.min,r),e.max=mr(t.max,n.max,r)}function Ul(e,t,n,r){Hl(e.x,t.x,n.x,r),Hl(e.y,t.y,n.y,r)}function Wl(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Gl={duration:.45,ease:[.4,0,.1,1]},Kl=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ql=Kl(`applewebkit/`)&&!Kl(`chrome/`)?Math.round:Rt;function Jl(e){e.min=ql(e.min),e.max=ql(e.max)}function Yl(e){Jl(e.x),Jl(e.y)}function Xl(e,t,n){return e===`position`||e===`preserve-aspect`&&!Ic(al(t),al(n),.2)}function Zl(e){return e!==e.root&&e.scroll?.wasRoot}function Ql(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var $l=wl({attachResizeListener:(e,t)=>Ql(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),eu={current:void 0},tu=wl({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!eu.current){let e=new $l({});e.mount(window),e.setOptions({layoutScroll:!0}),eu.current=e}return eu.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),nu=new WeakMap;function ru(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function iu(e){return typeof e==`string`||Array.isArray(e)}var au=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],ou=[`initial`,...au];function su(e){if(ru(e.animate))return!0;for(let t=0;t<ou.length;t++)if(iu(e[ou[t]]))return!0;return!1}function cu(e){return!!(su(e)||e.variants)}function lu(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Bo(i))e.addValue(r,i);else if(Bo(a))e.addValue(r,_o(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,_o(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var uu={current:null},du={current:!1},fu=typeof window<`u`;function pu(){if(du.current=!0,fu){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>uu.current=e.matches;e.addEventListener(`change`,t),t()}else uu.current=!1}}var mu=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],hu={};function gu(e){hu=e}function _u(){return hu}var vu=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=pa,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=gn.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,Fr.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=su(t),this.isVariantNode=cu(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Bo(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];if(this.current=e,nu.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.isVariantNode&&!this.isControllingVariants){let e=this;do e=e.props.inherit!==!1&&e.parent;while(e&&!e.isVariantNode);if(e){let{variantChildren:t}=e;t.add(this),this.removeFromVariantTree=()=>t.delete(this)}}this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(du.current||pu(),this.shouldReduceMotion=uu.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Ir(this.notifyUpdate),Ir(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Fa.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Ea({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:Ht(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Zi.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&Fr.preRender(this.notifyUpdate),n&&(this.projection&&(this.projection.isTransformDirty=!0),Ga.get(this.current)?.check()),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!e.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in hu){let t=hu[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Qc()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){let{transformTemplate:n,onUpdate:r}=this.props;(e.transformTemplate||n)&&this.scheduleRender(),(e.transformTemplate&&!n||e.onUpdate&&!r)&&Ga.get(this.current)?.demote(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<mu.length;t++){let n=mu[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=lu(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}addValue(e,t){let n=this.values.get(e);if(t!==n){n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t);let r=t.get();r!==void 0&&(this.latestValues[e]=r)}}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=_o(t??this.getDefaultValue?.(e),{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Pt(n)||It(n))?n=parseFloat(n):typeof n!=`number`&&!ur.test(n)&&ur.test(t)&&(n=Ii(e,t)),this.setBaseTarget(e,Bo(n)?n.get():n)),Bo(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}on(e,t){return this.events[e]||(this.events[e]=new Vt),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){uc.render(this.render)}},yu=class extends vu{constructor(){super(...arguments),this.KeyframeResolver=is}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Bo(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}};function bu(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function xu(e,{layout:t,layoutId:n}){return Zi.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!pc[e]||e===`opacity`)}function Su(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Bo(r[t])||i&&Bo(i[t])||xu(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Cu(e){return window.getComputedStyle(e)}var wu=class extends yu{constructor(){super(...arguments),this.type=`html`,this.renderInstance=bu}mount(e){e.style,super.mount(e)}readValueFromInstance(e,t){if(Zi.has(t))return this.projection?.isProjecting?Ki(t):Ji(e,t);{let n=Cu(e),r=(yn(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return rc(e,t)}build(e,t,n){Ds(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Su(e,t,n)}},Tu=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1;function Eu(e){return{point:{x:e.pageX,y:e.pageY}}}var Du=e=>t=>Tu(t)&&e(t,Eu(t));function Ou(e,t,n,r){return Ql(e,t,Du(n),r)}var ku=new WeakMap,Au,ju=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:hs(r)&&`getBBox`in r?r.getBBox()[t]:r[n],Mu=ju(`inline`,`width`,`offsetWidth`),Nu=ju(`block`,`height`,`offsetHeight`);function Pu({target:e,borderBoxSize:t}){ku.get(e)?.forEach(n=>{n(e,{get width(){return Mu(e,t)},get height(){return Nu(e,t)}})})}function Fu(e){e.forEach(Pu)}function Iu(){typeof ResizeObserver<`u`&&(Au=new ResizeObserver(Fu))}function Lu(e,t){Au||Iu();let n=gs(e);return n.forEach(e=>{let n=ku.get(e);n||(n=new Set,ku.set(e,n)),n.add(t),Au?.observe(e)}),()=>{n.forEach(e=>{let n=ku.get(e);n?.delete(t),n?.size||Au?.unobserve(e)})}}var Ru=new Set,zu;function Bu(){zu=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ru.forEach(t=>t(e))},window.addEventListener(`resize`,zu)}function Vu(e){return Ru.add(e),zu||Bu(),()=>{Ru.delete(e),!Ru.size&&typeof zu==`function`&&(window.removeEventListener(`resize`,zu),zu=void 0)}}function Hu(e,t){return typeof e==`function`?Vu(e):Lu(e,t)}var Uu=(e,t)=>Math.abs(e-t);function Wu(e,t){let n=Uu(e.x,t.x),r=Uu(e.y,t.y);return Math.sqrt(n**2+r**2)}var Gu=new Set([`auto`,`scroll`]),Ku=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.hasPendingMove=!1,this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=qu(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Yu(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Wu(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e;this.history.push({...r,timestamp:gn.now()});let{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=qu(t,this.transformPagePoint),this.hasPendingMove=!0,Fr.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.hasPendingMove&&this.updatePoint(),this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Yu(e.type===`pointercancel`?this.lastMoveEventInfo:qu(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Tu(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=qu(Eu(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=pn;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Yu(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=zt(Ou(this.contextWindow,`pointermove`,this.handlePointerMove,d),Ou(this.contextWindow,`pointerup`,this.handlePointerUp,d),Ou(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(Gu.has(e.overflowX)||Gu.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};(i.x!==0||i.y!==0)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),Fr.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Ir(this.updatePoint)}};function qu(e,t){return t?{point:t(e.point)}:e}function Ju(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yu({point:e},t){return{point:e,delta:Ju(e,Zu(t)),offset:Ju(e,Xu(t)),velocity:Qu(t,.1)}}function Xu(e){return e[0]}function Zu(e){return e[e.length-1]}function Qu(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Zu(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ht(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>Ht(t)*2&&(r=e[1]);let a=Ut(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}var $u=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function ed(e){return $u.has(e.tagName)||e.isContentEditable===!0}var td=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function nd(e){return td.has(e.tagName)||e.isContentEditable===!0}var rd={x:!1,y:!1};function id(){return rd.x||rd.y}function ad(e){return e===`x`||e===`y`?rd[e]?null:(rd[e]=!0,()=>{rd[e]=!1}):rd.x||rd.y?null:(rd.x=rd.y=!0,()=>{rd.x=rd.y=!1})}function od(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?mr(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?mr(n,e,r.max):Math.min(e,n)),e}function sd(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function cd(e,{top:t,left:n,bottom:r,right:i}){return{x:sd(e.x,n,i),y:sd(e.y,t,r)}}function ld(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function ud(e,t){return{x:ld(e.x,t.x),y:ld(e.y,t.y)}}function dd(e,t){let n=.5,r=Fc(e),i=Fc(t);return i>r?n=Bt(t.min,t.max-r,e.min):r>i&&(n=Bt(e.min,e.max-i,t.min)),Mt(0,1,n)}function fd(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var pd=.35;function md(e=pd){return e===!1?e=0:e===!0&&(e=pd),{x:hd(e,`left`,`right`),y:hd(e,`top`,`bottom`)}}function hd(e,t,n){return{min:gd(e,t),max:gd(e,n)}}function gd(e,t){return typeof e==`number`?e:e[t]||0}var _d=new WeakMap,vd=class{constructor(e,t=()=>e.getProps()){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Qc(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e,this.readProps=t}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(e),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ad(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),pl(e=>{let t=this.getAxisMotionValue(e).get()||0;if(xn(t)&&(t=Ao(t,this.visualElement.current)||0),Bn.test(t))t=parseFloat(t);else if(zn.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Fc(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&Fr.update(()=>i(e,t),!1,!0),Ho(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){if(this.currentDirection=wd(o),this.currentDirection===null)return;i&&i(this.currentDirection)}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&Fr.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new Ku(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:this.visualElement.current?.ownerDocument.defaultView,element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&Fr.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!Cd(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=od(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;yd(e)?this.constraints||=this.resolveRefConstraints():this.constraints=e&&n?cd(n.layoutBox,e):!1,this.elastic=md(t),r!==this.constraints&&!yd(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&pl(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=fd(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!yd(e))return!1;let n=bd(e),{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=ic(n,r.root,this.visualElement.getTransformPagePoint()),a=ud(r.layout.layoutBox,i);if(t){let e=t(zs(a));this.hasMutatedConstraints=!!e,e&&(a=Rs(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=pl(o=>{if(!Cd(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return Ho(this.visualElement,e),n.start(Do(e,n,0,t,this.visualElement,!1))}stopAnimation(){pl(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.readProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor({clientX:e,clientY:t}){let{drag:n}=this.getProps(),r={x:e,y:t},i=this.visualElement.getTransformPagePoint()?.(r)||r,a=this.visualElement.measureViewportBox();pl(e=>{if(!Cd(e,n,this.currentDirection))return;let t=this.getAxisMotionValue(e),{min:r,max:o}=a[e];t.set((t.get()||0)+i[e]-mr(r,o,.5))})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!yd(t)||!n||!this.constraints)return;this.stopAnimation();let r=this.constraints,i={x:0,y:0};pl(e=>{let t=this.getAxisMotionValue(e).get();i[e]=dd({min:t,max:t},r[e])});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),pl(t=>{let n=this.getAxisMotionValue(t);if(!Cd(t,e,null)||!n.get())return;let{min:r,max:a}=this.constraints[t];n.set(mr(r,a,i[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;_d.set(this.visualElement,this);let e=this.visualElement.current,t=Ou(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&nd(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps(),r=yd(t)&&bd(t);r&&(this.constraints=this.resolveRefConstraints(),n||=Sd(e,r,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),Fr.read(r);let o=Ql(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(pl(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.readProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=pd,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function yd(e){return!!e&&typeof e==`object`&&(`current`in e||`nodeType`in e)}var bd=e=>`current`in e?e.current:e;function xd(e){let t=!0;return()=>{t?t=!1:e()}}function Sd(e,t,n){let r=Hu(e,xd(n)),i=Hu(t,xd(n));return()=>{r(),i()}}function Cd(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function wd(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}function Td(e,t){let n=gs(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Ed(e){return!(e.pointerType===`touch`||id())}function Dd(e,t,n={}){let[r,i,a]=Td(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{e.pointerType!==`touch`&&(n?r=!0:s(e))};e.addEventListener(`pointerenter`,n=>{if(!Ed(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var Od=(e,t)=>t?e===t||Od(e,t.parentElement):!1,kd=new WeakSet;function Ad(e){return t=>{t.key===`Enter`&&e(t)}}function jd(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Md=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Ad(()=>{if(kd.has(n))return;jd(n,`down`);let e=Ad(()=>{jd(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>jd(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Nd(e){return Tu(e)&&!id()}var Pd=new WeakSet;function Fd(e,t,n={}){let[r,i,a]=Td(e,n),o=e=>{let r=e.currentTarget;if(!Nd(e)||Pd.has(e))return;kd.add(r),n.stopPropagation&&Pd.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),kd.has(r)&&kd.delete(r),Nd(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||Od(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),ms(e)&&(e.addEventListener(`focus`,e=>Md(e,i)),!ed(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function Id(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],s=ri(i,a,o);return t?s(r):s}var Ld=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},Rd=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),zd=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Bd(e,t,n,r){bu(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Rd.has(n)?n:Uo(n),t.attrs[n])}function Vd(e,t,n){let r=Su(e,t,n);for(let n in e)if(n!==`children`&&(Bo(e[n])||Bo(t[n]))){let t=Xi.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Hd=class extends yu{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=Qc}getBaseTargetFromProps(e,t){return Zi.has(t)?super.getBaseTargetFromProps(e,t)??Ki(t):e[t]}getDefaultValue(e){return Zi.has(e)?this.latestValues[e]??Ki(e):void 0}readValueFromInstance(e,t){if(Zi.has(t)){let e=Pi(t);return e&&e.default||0}if(js.includes(t)){let n=getComputedStyle(e)[t];if(typeof n==`string`&&n)return n.trim()}return t=Rd.has(t)?t:Uo(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Vd(e,t,n)}build(e,t,n){Ms(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Bd(e,t,n,r)}mount(e){this.isSVGTag=zd(e.tagName),super.mount(e)}};function Ud(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Wd=[...au].reverse();function Gd(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>Xo(e,t,n))),n=qd(),r=!0,i=!1;function a(a){let{props:o,parent:s,manuallyAnimateOnMount:c}=e,l=r||i,u=[],d=new Set,f={},p=1/0,m=e;do m=m.props.inherit!==!1&&m.parent;while(m&&!m.isControllingVariants);if(Wd.forEach((t,r)=>{let i=n[t],h=o[t],g=m&&m.props[t],_=h===void 0?iu(g)||g===!1?g:void 0:h,v=iu(_),y=t===a?i.isActive:null;y===!1&&(p=r);let b=v&&h===void 0&&!(l&&c);if(i.protectedKeys={...f},!i.isActive&&y===null||!_&&!i.prevProp||ru(_)||typeof _==`boolean`)return;if(t===`exit`&&i.isActive&&y!==!0){f={...f,...i.prevResolvedValues};return}let x=Kd(i.prevProp,_),S=x||v&&(y&&!b||r>p),C=!1,w=Array.isArray(_)?_:[_],T={};if(y!==!1)for(let n of w){let{transition:r,transitionEnd:i,...a}=No(e,n,Po(e,t))||{};T={...T,...a,...i}}let{prevResolvedValues:E}=i;for(let t in{...E,...T}){if(t in f)continue;let n=T[t],r=E[t],a=Array.isArray(n)&&Array.isArray(r)?!Ud(n,r)||x:n!==r;if(a&&n==null)d.add(t);else if(a||n!==void 0&&d.has(t)){S=!0,d.delete(t)&&(C=!0),i.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)}else i.protectedKeys[t]=!0}if(i.prevProp=_,i.prevResolvedValues=T,i.isActive&&(f={...f,...T}),S&&(!(b&&x)||C))for(let n of w){let r={type:t};if(typeof n==`string`&&l&&c&&s?.enteringChildren){let t=No(s,n)?.transition?.delayChildren;r.delay=fo(s.enteringChildren,e,t)}u.push({animation:n,options:r})}}),d.size){let{initial:t}=o,n={},r=typeof t!=`boolean`&&No(e,Array.isArray(t)?t[0]:t,e.presenceContext?.custom);r&&r.transition&&(n.transition=r.transition),d.forEach(i=>{let a=e.getValue(i);a&&(a.liveStyle=!0);let s=r&&!Array.isArray(t)?r[i]:void 0,c=e.getBaseTargetFromProps(o,i);n[i]=(s===void 0?c!==void 0&&!Bo(c)?c:e.initialValues[i]===void 0?e.baseTarget[i]:void 0:s)??null}),u.push({animation:n})}let h=l&&e.blockInitialAnimation||r&&!c&&(o.initial===!1||o.initial===o.animate);return r=i=!1,!h&&u.length?t(u):Promise.resolve()}function o(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=a(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:a,setActive:o,setAnimateFunction:n=>{t=n(e)},getState:()=>n,reset:()=>{n=qd(),i=!0}}}function Kd(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Ud(t,e):!1}function qd(){let e={};for(let t of au)e[t]={isActive:t===`animate`,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}};return e}function Jd(e){return typeof e==`object`&&!Array.isArray(e)}function Yd(e,t,n,r){return e==null?[]:typeof e==`string`&&Jd(t)?gs(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>e!=null):[e]}function Xd(e,t,n){return e*(t+1)+n*t}function Zd(e,t,n,r){return typeof t==`number`?t:t.startsWith(`-`)||t.startsWith(`+`)?Math.max(0,e+parseFloat(t)):t===`<`?n:t.startsWith(`<`)?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}function Qd(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];i.at>t&&i.at<n&&(At(e,i),r--)}}function $d(e,t,n,r,i,a){Qd(e,i,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:mr(i,a,r[o]),easing:cn(n,o)})}function ef(e,t,n=0){let r=t+1+t*n;for(let t=0;t<e.length;t++)e[t]=e[t]/r}function tf(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var nf=`easeInOut`,rf=20;function af(e,{defaultTransition:t={},...n}={},r,i){let a=t.duration||.3,o=new Map,s=new Map,c={},l=new Map,u=0,d=0,f=0;for(let n=0;n<e.length;n++){let o=e[n];if(typeof o==`string`){l.set(o,d);continue}if(!Array.isArray(o)){l.set(o.name,Zd(d,o.at,u,l));continue}let[p,m,h={}]=o;h.at!==void 0&&(d=Zd(d,h.at,u,l));let g=0,_=(e,n,r,o=0,s=0)=>{let c=cf(e),{delay:l=0,times:u=ai(c),type:p=t.type||`keyframes`,repeat:m,repeatType:h,repeatDelay:_=0,...v}=n,{ease:y=t.ease||`easeOut`,duration:b}=n,x=typeof l==`function`?l(o,s):l,S=c.length,C=wa(p)?p:i?.[p||`keyframes`];if(S<=2&&C){let e=100;if(S===2&&df(c)){let t=c[1]-c[0];e=Math.abs(t)}let n={...t,...v};b!==void 0&&(n.duration=Ht(b));let r=Hr(n,e,C);y=r.ease,b=r.duration}b??=a;let w=d+x;u.length===1&&u[0]===0&&(u[1]=1);let T=u.length-c.length;if(T>0&&ii(u,T),c.length===1&&c.unshift(null),m&&`${m}${rf}`,m&&m<rf){let e=b>0?_/b:0;b=Xd(b,m,_);let t=[...c],n=[...u];y=Array.isArray(y)?[...y]:[y];let r=[...y],i=h===`reverse`||h===`mirror`,a=t,o=r;i&&(a=[...t].reverse(),h===`reverse`&&(o=[...r].reverse().map(e=>typeof e==`function`?Yt(e):e)));for(let s=0;s<m;s++){let l=i&&s%2==0,d=l?a:t,f=l?o:r,p=(s+1)*(1+e);e>0&&(c.push(c[c.length-1]),u.push(p),y.push(`linear`)),c.push(...d);for(let e=0;e<d.length;e++)u.push(n[e]+p),y.push(e===0?`linear`:cn(f,e-1))}ef(u,m,e)}let E=w+b;$d(r,c,y,u,w,E),g=Math.max(x+b,g),f=Math.max(E,f)};if(Bo(p)){let e=of(p,s);_(m,h,sf(`default`,e))}else{let e=Yd(p,m,r,c),t=e.length;for(let n=0;n<t;n++){m=m,h=h;let r=e[n],i=of(r,s);for(let e in m)_(m[e],lf(h,e),sf(e,i),n,t)}}u=d,d+=g}return s.forEach((e,r)=>{for(let i in e){let a=e[i];a.sort(tf);let s=[],c=[],l=[];for(let e=0;e<a.length;e++){let{at:t,value:n,easing:r}=a[e];s.push(n),c.push(Bt(0,f,t)),l.push(r||`easeOut`)}c[0]!==0&&(c.unshift(0),s.unshift(s[0]),l.unshift(nf)),c[c.length-1]!==1&&(c.push(1),s.push(null)),o.has(r)||o.set(r,{keyframes:{},transition:{}});let u=o.get(r);u.keyframes[i]=s;let{type:d,...p}=t;u.transition[i]={...p,duration:f,ease:l,times:c,...n}}}),o}function of(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function sf(e,t){return t[e]||(t[e]=[]),t[e]}function cf(e){return Array.isArray(e)?e:[e]}function lf(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var uf=e=>typeof e==`number`,df=e=>e.every(uf);function ff(e,t){return Bo(e)||typeof e==`number`||typeof e==`string`&&!Jd(t)}function pf(e,t,n,r){let i=[];if(ff(e,t))i.push(fc(e,Jd(t)&&t.default||t,n&&(n.default||n)));else{if(e==null)return i;let a=Yd(e,t,r),o=a.length;for(let e=0;e<o;e++){let r=a[e],s={...n};`delay`in s&&typeof s.delay==`function`&&(s.delay=s.delay(e,o)),r instanceof Element?i.push(...cc(r,t,s,nu.get(r))):i.push(...fs(us(r)??lc,r,t,s))}}return i}function mf(e,t,n){let r=[];return af(e.map(e=>{if(Array.isArray(e)&&typeof e[0]==`function`){let t=e[0],n=_o(0);return n.on(`change`,t),e.length===1?[n,[0,1]]:e.length===2?[n,[0,1],e[1]]:[n,e[1],e[2]]}return e}),t,n,{spring:ei}).forEach(({keyframes:e,transition:t},n)=>{r.push(...pf(n,e,t))}),r}function hf(e){return Array.isArray(e)&&e.some(Array.isArray)}function gf(e={}){let{scope:t,reduceMotion:n,skipAnimations:r}=e;function i(e,i,a){let o=[],s,c={};if(n!==void 0&&(c.reduceMotion=n),r!==void 0&&(c.skipAnimations=r),hf(e)){let{onComplete:n,...r}=i||{};typeof n==`function`&&(s=n),o=mf(e,{...c,...r},t)}else{let{onComplete:n,...r}=a||{};typeof n==`function`&&(s=n),o=pf(e,i,{...c,...r},t)}let l=new uo(o);return s&&l.finished.then(s),t&&(t.animations.push(l),l.finished.then(()=>{At(t.animations,l)})),l}return i}var _f=Object.assign(gf(),{addEffect:cs,removeEffect:ls}),vf=.1,yf=2/3,bf=1/3;function xf(e,t){return e.bottom>t.scrollTop&&e.top<t.scrollTop+t.height}function Sf(e,t,n=!1){return e.top>=t.scrollTop+t.height*vf&&e.bottom<=t.scrollTop+t.height*yf&&!n?null:Math.round(Math.max(0,Math.min(t.scrollHeight-t.height,e.top-t.height*bf)))}function Cf(e,t,n){let r=e,i=e,a=[];return{to(e,t){e!==i&&a.push({delta:e-i,start:t}),i=e},at(e){let i=0;return a=a.filter(({delta:a,start:o})=>{let s=Math.max(0,Math.min(1,(e-o)/t));return s===1?(r+=a,!1):(i+=a*n(s),!0)}),r+i},get active(){return a.length>0}}}var wf=`(prefers-reduced-motion: reduce)`,Tf=[.23,1,.32,1],Ef=[.23,1.15,.32,1],Df=[.77,0,.175,1],Of=qt(...Tf),kf={micro:120,base:180,surface:240,askExit:150,ease:`cubic-bezier(${Tf.join(`,`)})`,move:`cubic-bezier(${Df.join(`,`)})`,soft:`cubic-bezier(${Ef.join(`,`)})`,out:Tf,softCurve:Ef},Af={settleMs:280},jf=()=>window.matchMedia(wf).matches?`auto`:`smooth`;function Mf(){let[e,t]=(0,U.useState)(()=>window.matchMedia(wf).matches);return(0,U.useEffect)(()=>{let e=window.matchMedia(wf),n=()=>t(e.matches);return e.addEventListener(`change`,n),n(),()=>e.removeEventListener(`change`,n)},[]),e}function Nf(e,t){let n=Cf(e.scrollTop,kf.surface,Of),r=e.scrollTop,i=0,a=o=>{i=0,jf()===`auto`?(e.scrollTop=r,t()):(n.to(r,o),e.scrollTop=n.at(o),n.active?i=requestAnimationFrame(a):t())};return{to(e){r=e,i||=requestAnimationFrame(a)},stop(){cancelAnimationFrame(i),i=0},get active(){return i!==0}}}function Pf(e,t=!0){let[n,r]=(0,U.useState)({value:e,animate:t});return(0,U.useLayoutEffect)(()=>{if(e){r({value:e,animate:t});return}if(!n.value)return;let i=setTimeout(()=>r({value:e,animate:!1}),kf.micro);return()=>clearTimeout(i)},[e,t]),{value:e||(n.animate?n.value:void 0),props:{"data-motion":(e?t:n.animate)?void 0:`instant`,"data-ending-style":e?void 0:``,inert:!e}}}var Ff=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),If=o(((e,t)=>{t.exports=Ff()})),Lf=(0,U.createContext)({});function Rf(e){let t=(0,U.useRef)(null);return t.current===null&&(t.current=e()),t.current}var zf=typeof window<`u`?U.useLayoutEffect:U.useEffect,Bf=(0,U.createContext)(null),Vf=(0,U.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function Hf(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Uf(...e){return t=>{let n=!1,r=e.map(e=>{let r=Hf(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Hf(e[t],null)}}}}function Wf(...e){return U.useCallback(Uf(...e),e)}var G=If(),Gf=class extends U.Component{getSnapshotBeforeUpdate(e){let t=this.props.getElement();if(ms(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=ms(e)&&e.offsetWidth||0,r=ms(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function Kf({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a,popNode:o}){let s=(0,U.useId)(),c=(0,U.useRef)(null),l=(0,U.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:u}=(0,U.useContext)(Vf),d=Wf(c,a===!1?void 0:e.props?.ref??e?.ref),f=()=>c.current||o?.current?.current;return(0,U.useInsertionEffect)(()=>{let{width:e,height:o,top:c,left:d,right:p,bottom:m,direction:h}=l.current,g=f();if(t||a===!1||!g||!e||!o)return;let _=h===`rtl`,v=n===`left`?_?`right: ${p}`:`left: ${d}`:_?`left: ${d}`:`right: ${p}`,y=r===`bottom`?`bottom: ${m}`:`top: ${c}`;g.dataset.motionPopId=s;let b=g.ownerDocument,x=b.createElement(`style`);u&&(x.nonce=u);let S=i??b.head;return S.appendChild(x),x.sheet&&x.sheet.insertRule(`- [data-motion-pop-id="${s}"] {- position: absolute !important;- width: ${e}px !important;- height: ${o}px !important;- ${v}px !important;- ${y}px !important;- }- `),()=>{g.removeAttribute(`data-motion-pop-id`),S.contains(x)&&S.removeChild(x)}},[t]),(0,G.jsx)(Gf,{isPresent:t,getElement:f,sizeRef:l,pop:a,children:a===!1?e:U.cloneElement(e,{ref:d})})}var qf=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=Rf(Jf),d=(0,U.useId)(),f=(0,U.useRef)(),p=(0,U.useRef)(n),m=(0,U.useRef)(r);zf(()=>{p.current=n,m.current=r});let h=!0,g=(0,U.useMemo)(()=>(h=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:(e,t)=>(u.set(e,!1),t&&t.parent?.presenceContext?.id!==d&&(f.current=t),()=>{u.delete(e),!p.current&&!u.size&&m.current?.()})}),[n,u,r]);return a&&h&&(g={...g}),(0,U.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),U.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,G.jsx)(Kf,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,popNode:f,children:e}),(0,G.jsx)(Bf.Provider,{value:g,children:e})};function Jf(){return new Map}function Yf(e=!0){let t=(0,U.useContext)(Bf);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,U.useId)();(0,U.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,U.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}function Xf(){return Zf((0,U.useContext)(Bf))}function Zf(e){return e===null||e.isPresent}var Qf=e=>e.key||``;function $f(e){let t=[];return U.Children.forEach(e,e=>{(0,U.isValidElement)(e)&&t.push(e)}),t}var ep=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=Yf(o),f=(0,U.useMemo)(()=>$f(e),[e]),p=o&&!u?[]:f.map(Qf),m=(0,U.useRef)(!0),h=Rf(()=>new Map),g=(0,U.useRef)(new Set),[_,v]=(0,U.useState)(f),[y,b]=(0,U.useState)(f);zf(()=>{o&&!u&&!y.length&&d?.()},[u,o,y.length,d]);let x=(0,U.useRef)();(0,U.useEffect)(()=>()=>{let e=x.current;x.current=void 0,e?.()},[y]),zf(()=>{m.current=!1;for(let e=0;e<y.length;e++){let t=Qf(y[e]);p.includes(t)?(h.delete(t),g.current.delete(t)):h.get(t)!==!0&&h.set(t,!1)}},[y,p.length,p.join(`-`)]);let S=[];if(f!==_){let e=[...f],t=0;for(let n of y){let r=p.indexOf(Qf(n));r===-1?(e.splice(t++,0,n),S.push(n)):t=r+S.length+1}return S.every(e=>h.get(Qf(e)))?e=f:a===`wait`&&(e=S),b($f(e)),v(f),null}let{forceRender:C}=(0,U.useContext)(Lf);return(0,G.jsx)(G.Fragment,{children:y.map(e=>{let _=Qf(e),b=o&&!u?!1:f===y||p.includes(_);return(0,G.jsx)(qf,{isPresent:b,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:b?void 0:()=>{if(g.current.has(_))return;if(h.has(_))g.current.add(_),h.set(_,!0);else return;let e=!0;h.forEach(t=>{t||(e=!1)}),e&&(C?.(),v([]),o&&d?.(),x.current=r)},anchorX:s,anchorY:c,children:e},_)})})},tp=(0,U.createContext)({strict:!1}),np={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},rp=!1;function ip(){if(rp)return;let e={};for(let t in np)e[t]={isEnabled:e=>np[t].some(t=>!!e[t])};gu(e),rp=!0}function ap(){return ip(),_u()}function op(e){let t=ap();for(let n in e)t[n]={...t[n],...e[n]};gu(t)}function sp({children:e,...t}){let n=(0,U.useContext)(Vf);t={...n,...t},t.transition=vo(t.transition,n.transition),t.isStatic=Rf(()=>t.isStatic);let r=(0,U.useMemo)(()=>t,[JSON.stringify(t.transition),t.transformPagePoint,t.reducedMotion,t.skipAnimations,t.isValidProp]);return(0,G.jsx)(Vf.Provider,{value:r,children:e})}var cp=(0,U.createContext)({});function lp(e,t){if(su(e)){let{initial:t,animate:n}=e;return{initial:t===!1||iu(t)?t:void 0,animate:iu(n)?n:void 0}}return e.inherit===!1?{}:t}function up(e){let{initial:t,animate:n}=lp(e,(0,U.useContext)(cp));return(0,U.useMemo)(()=>({initial:t,animate:n}),[dp(t),dp(n)])}function dp(e){return Array.isArray(e)?e.join(` `):e}var fp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function pp(e,t,n){for(let r in t)!Bo(t[r])&&!xu(r,n)&&(e[r]=t[r])}function mp({transformTemplate:e},t){return(0,U.useMemo)(()=>{let n=fp();return Ds(n,t,e),Object.assign({},n.vars,n.style)},[t])}function hp(e,t){let n=e.style||{},r={};return pp(r,n,e),Object.assign(r,mp(e,t)),r}function gp(e,t){let n={},r=hp(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var _p=()=>({...fp(),attrs:{}});function vp(e,t,n,r){let i=(0,U.useMemo)(()=>{let n=_p();return Ms(n,t,zd(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};pp(t,e.style,e),i.style={...t,...i.style}}return i}var yp=new Set(`animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function bp(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||yp.has(e)}function xp(e,t){return e.startsWith(`on`)?!bp(e):t?.(e)??!bp(e)}function Sp(e,t,n,r){let i={};for(let a in e)a===`values`&&typeof e.values==`object`||Bo(e[a])||(xp(a,r)||n===!0&&bp(a)||!t&&!bp(a)||e.draggable&&a.startsWith(`onDrag`))&&(i[a]=e[a]);return i}var Cp=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function wp(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Cp.indexOf(e)>-1||/[A-Z]/u.test(e))}function Tp(e,t,n,{latestValues:r},i,a=!1,o,s){let c=(o??wp(e)?vp:gp)(t,r,i,e),l=Sp(t,typeof e==`string`,a,s),u=e===U.Fragment?{}:{...l,...c,ref:n},{children:d}=t,f=(0,U.useMemo)(()=>Bo(d)?d.get():d,[d]);return(0,U.createElement)(e,{...u,children:f})}function Ep({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Dp(n,r,i,e),renderState:t()}}function Dp(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=_c(a[e]);let{initial:o,animate:s}=e,c=su(e),l=cu(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!ru(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Mo(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var Op=e=>(t,n)=>{let r=(0,U.useContext)(cp),i=(0,U.useContext)(Bf),a=()=>Ep(e,t,r,i);return n?a():Rf(a)},kp=Op({scrapeMotionValuesFromProps:Su,createRenderState:fp}),Ap=Op({scrapeMotionValuesFromProps:Vd,createRenderState:_p}),jp=Symbol.for(`motionComponentSymbol`);function Mp(e,t,n){let r=(0,U.useRef)(n);(0,U.useInsertionEffect)(()=>{r.current=n});let i=(0,U.useRef)(null);return(0,U.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`){if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n)}else a&&(a.current=n)},[t])}var Np=(0,U.createContext)({});function Pp(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function Fp(e,t,n,r,i,a){let{visualElement:o}=(0,U.useContext)(cp),s=(0,U.useContext)(tp),c=(0,U.useContext)(Bf),l=(0,U.useContext)(Vf),u=l.reducedMotion,d=l.skipAnimations,f=(0,U.useRef)(null),p=(0,U.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,U.useContext)(Np);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&Ip(f.current,n,i,h);let g=(0,U.useRef)(!1);(0,U.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[Wo],v=(0,U.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return zf(()=>{p.current&&m&&(m.animationState?.animateChanges(),m.enteringChildren=void 0)},[]),zf(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,U.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function Ip(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:Lp(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&Pp(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function Lp(e){if(e)return e.options.allowProjection===!1?Lp(e.parent):e.projection}function Rp(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&op(r);let a=n?n===`svg`:wp(e),o=a?Ap:kp;function s(n,s){let c,l={...(0,U.useContext)(Vf),...n,layoutId:zp(n)},{isStatic:u,isValidProp:d}=l,f=up(n),p=o(n,u);if(!u&&typeof window<`u`){Bp(l,r);let t=Vp(l);c=t.MeasureLayout,f.visualElement=Fp(e,p,l,i,t.ProjectionNode,a)}return(0,G.jsxs)(cp.Provider,{value:f,children:[c&&f.visualElement?(0,G.jsx)(c,{visualElement:f.visualElement,...l}):null,Tp(e,n,Mp(p,f.visualElement,s),p,u,t,a,d)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,U.forwardRef)(s);return c[jp]=e,c}function zp({layoutId:e}){let t=(0,U.useContext)(Lf).id;return t&&e!==void 0?t+`-`+e:e}function Bp(e,t){(0,U.useContext)(tp).strict}function Vp(e){let{drag:t,layout:n}=ap();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function Hp(e,t){if(typeof Proxy>`u`)return Rp;let n=new Map,r=(n,r)=>Rp(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,Rp(a,void 0,e,t)),n.get(a))})}var Up=(e,t)=>t.isSVG??wp(e)?new Hd(t):new wu(t,{allowProjection:e!==U.Fragment}),Wp=class extends Ld{constructor(e){super(e),e.animationState||=Gd(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();ru(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},Gp=0,Kp={animation:{Feature:Wp},exit:{Feature:class extends Ld{constructor(){super(...arguments),this.id=Gp++}update(){let{presenceContext:e,prevPresenceContext:t,animationState:n}=this.node;if(!e||!n)return;let{isPresent:r,onExitComplete:i}=e,a=t?.isPresent;if(r===a)return;if(r&&a===!1){if(this.exit===!0){let{initial:e}=this.node.getProps();if(e&&!Array.isArray(e)){let{transition:t,transitionEnd:n,...r}=No(this.node,e)||{};for(let e in r)this.node.getValue(e)?.jump(r[e])}this.node.blockInitialAnimation=!1,n.reset(),n.animateChanges()}else n.setActive(`exit`,!1);this.exit=void 0;return}let o=this.exit=n.setActive(`exit`,!r);i&&!r&&o.then(()=>{this.exit===o&&(this.exit=!0,i(this.id))})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id,this.node))}unmount(){}}}},qp=class extends Ld{constructor(e){super(e),this.removeGroupControls=Rt,this.removeListeners=Rt,this.controls=new vd(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Rt}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},Jp=({current:e})=>e?e.ownerDocument.defaultView:null,Yp=e=>(t,n)=>{e&&Fr.update(()=>e(t,n),!1,!0)},Xp=class extends Ld{constructor(){super(...arguments),this.removePointerDownListener=Rt}onPointerDown(e){this.session=new Ku(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Jp(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Yp(e),onStart:Yp(t),onMove:Yp(n),onEnd:(e,t)=>{delete this.session,r&&Fr.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Ou(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Zp=!1,Qp=({layout:e,layoutDependency:t})=>({layout:e,layoutDependency:t,animationType:typeof e==`string`?e:`both`}),$p=class extends U.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),Zp&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,...Qp(this.props),onExitComplete:()=>this.safeToRemove()})),gl.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layout:t,layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,{projection:o}=r;return o&&(o.isPresent=a,(e.layoutDependency!==n||e.layout!==t)&&o.setOptions({...o.options,...Qp(this.props)}),Zp=!0,i||e.layoutDependency!==n||n===void 0||e.isPresent!==a?o.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?o.promote():o.relegate()||Fr.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),uc.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;Zp=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function em(e){let[t,n]=Yf(),r=(0,U.useContext)(Lf);return(0,G.jsx)($p,{...e,layoutGroup:r,switchLayoutGroup:(0,U.useContext)(Np),isPresent:t,safeToRemove:n})}var tm={pan:{Feature:Xp},drag:{Feature:qp,ProjectionNode:tu,MeasureLayout:em}};function nm(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&Fr.postRender(()=>i(t,Eu(t)))}var rm=class extends Ld{mount(){let{current:e}=this.node;e&&(this.unmount=Dd(e,(e,t)=>(nm(this.node,t,`Start`),e=>nm(this.node,e,`End`))))}unmount(){}},im=class extends Ld{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}e&&this.node.animationState&&(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=zt(Ql(this.node.current,`focus`,()=>this.onFocus()),Ql(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function am(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&Fr.postRender(()=>i(t,Eu(t)))}var om=class extends Ld{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Fd(e,(e,t)=>(am(this.node,t,`Start`),(e,{success:t})=>am(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},sm=new WeakMap,cm=new WeakMap,lm=e=>{let t=sm.get(e.target);t&&t(e)},um=e=>{e.forEach(lm)};function dm({root:e,...t}){let n=e||document;cm.has(n)||cm.set(n,{});let r=cm.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(um,{root:e,...t})),r[i]}function fm(e,t,n){let r=dm(t);return sm.set(e,n),r.observe(e),()=>{sm.delete(e),r.unobserve(e)}}var pm={some:0,all:1},mm=class extends Ld{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:pm[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=fm(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(hm(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function hm({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var gm={inView:{Feature:mm},tap:{Feature:om},focus:{Feature:im},hover:{Feature:rm}},_m={layout:{ProjectionNode:tu,MeasureLayout:em}},vm=Hp({...Kp,...gm,...tm,..._m},Up);function ym(e){let t=Rf(()=>_o(e)),{isStatic:n}=(0,U.useContext)(Vf);if(n){let[,n]=(0,U.useState)(e);(0,U.useEffect)(()=>t.on(`change`,n),[])}return t}function bm(e,t){let n=ym(t()),r=()=>n.set(t());return r(),zf(()=>{let t=()=>Fr.preRender(r,!1,!0),n=e.map(e=>e.on(`change`,t));return r(),()=>{n.forEach(e=>e()),Ir(r)}}),n}function xm(e){ho.current=[],e();let t=bm(ho.current,e);return ho.current=void 0,t}function Sm(e,t,n,r){if(typeof e==`function`)return xm(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!=`function`)return wm(e,t,n,r);let i=typeof t==`function`?t:Id(t,n,r),a=Array.isArray(e)?Cm(e,i):Cm([e],([e])=>i(e)),o=Array.isArray(e)?void 0:e.accelerate;if(o&&!o.isTransformed&&typeof t!=`function`&&Array.isArray(n)&&r?.clamp!==!1){let e=r?.ease;a.accelerate={...o,times:[0,...t,1],keyframes:[n[0],...n,n[n.length-1]],isTransformed:!0,...e?{ease:Array.isArray(e)?[e[0],...e]:e}:{}}}return a}function Cm(e,t){let n=Rf(()=>[]);return bm(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function wm(e,t,n,r){let i=Rf(()=>Object.keys(n)),a=Rf(()=>({}));for(let o of i)a[o]=Sm(e,t,n[o],r);return a}var Tm=class{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach(n=>{n.start(e.nativeEvent||e,t)})}cancel(){this.componentControls.forEach(e=>{e.cancel()})}stop(){this.componentControls.forEach(e=>{e.stop()})}},Em=()=>new Tm;function Dm(){return Rf(Em)}var Om=(0,U.createContext)(null);function km(e,t,n,r,i,a=`ltr`){let o=e.findIndex(e=>e.value===t);if(o===-1)return e;if(i===`xy`){let{layout:t}=e[o],r={x:mr(t.x.min,t.x.max,.5)+n.x,y:mr(t.y.min,t.y.max,.5)+n.y},i=Am(e),s=i.find(t=>t.items.includes(e[o])),c=i.reduce((e,t)=>jm(r.y,t)<jm(r.y,e)?t:e);if(c!==s)return Mm(e,o,r.x,c,a);let l=Nm(r,t),u=-1,d=l;return e.forEach((e,t)=>{if(t===o)return;let n=Nm(r,e.layout);n<d&&(u=t,d=n)}),u===-1?e:jt(e,o,o+Math.sign(u-o))}if(!r[i])return e;let s=r[i]>0?1:-1,c=e[o+s];if(!c)return e;let l=e[o].layout[i],u=c.layout[i],d=mr(u.min,u.max,.5);return s===1&&l.max+n[i]>d||s===-1&&l.min+n[i]<d?jt(e,o,o+s):e}function Am(e){let t=[];return e.forEach(e=>{let{min:n,max:r}=e.layout.y,i=t[t.length-1];!i||n>=i.max||r<=i.min?t.push({items:[e],min:n,max:r}):(i.items.push(e),i.min=Math.min(i.min,n),i.max=Math.max(i.max,r))}),t}function jm(e,t){return e<t.min?t.min-e:e>t.max?e-t.max:0}function Mm(e,t,n,r,i){let a=e.filter((e,n)=>n!==t),o=r.items.find(e=>{let t=mr(e.layout.x.min,e.layout.x.max,.5);return i===`ltr`?n<t:n>t}),s=o?a.indexOf(o):a.indexOf(r.items[r.items.length-1])+1,c=[...a];return c.splice(s,0,e[t]),c.every((t,n)=>t===e[n])?e:c}function Nm(e,t){let n=Math.max(t.x.min-e.x,0,e.x-t.x.max),r=Math.max(t.y.min-e.y,0,e.y-t.y.max);return n*n+r*r}var Pm=(e,t)=>e.max<=t.min||t.max<=e.min;function Fm(e){let t=!1,n=!1;for(let r=0;r<e.length;r++)for(let i=r+1;i<e.length;i++)if(t||=Pm(e[r].x,e[i].x),n||=Pm(e[r].y,e[i].y),t&&n)return`xy`;return t?`x`:`y`}function Im({children:e,as:t=`ul`,axis:n,onReorder:r,values:i,onPointerDownCapture:a,onClickCapture:o,...s},c){let l=Rf(()=>vm[t]),u=(0,U.useRef)(new Map),[d,f]=(0,U.useState)(`y`),p=(0,U.useRef)(!1),m=(0,U.useRef)(!1),h=(0,U.useRef)(null),g=n||d,_=new Set(i);u.current.forEach((e,t)=>{_.has(t)||u.current.delete(t)});let v={axis:g,groupRef:h,hasReordered:m,registerItem:(e,t)=>{if(u.current.set(e,t),!n){let e=Fm(i.flatMap(e=>{let t=u.current.get(e);return t?[t]:[]}));e!==d&&f(e)}},updateOrder:(e,t,n)=>{if(p.current)return;let a=i.flatMap(e=>{let t=u.current.get(e);return t?[{value:e,layout:t}]:[]}),o=h.current?.ownerDocument.defaultView?.getComputedStyle(h.current).direction===`rtl`?`rtl`:`ltr`,s=km(a,e,t,n,g,o);if(a!==s){p.current=!0,m.current=!0;let e=[...i],t=a.map(({value:e})=>i.indexOf(e));s.forEach(({value:n},r)=>{e[t[r]]=n}),r(e)}}};(0,U.useEffect)(()=>{p.current=!1},[i]);let y=e=>{h.current=e,typeof c==`function`?c(e):c&&(c.current=e)},b={overflowAnchor:`none`,...s.style};return(0,G.jsx)(l,{...s,style:b,ref:y,onPointerDownCapture:e=>{m.current=!1,a?.(e)},onClickCapture:e=>{m.current&&e.detail&&(m.current=!1,e.stopPropagation(),e.preventDefault()),o?.(e)},ignoreStrict:!0,children:(0,G.jsx)(Om.Provider,{value:v,children:e})})}var Lm=(0,U.forwardRef)(Im),Rm=50,zm=25,Bm=new Set([`auto`,`scroll`]),Vm=new WeakMap,Hm=new WeakMap,Um=null;function Wm(){if(Um){let e=Km(Um,`y`);e&&(Hm.delete(e),Vm.delete(e));let t=Km(Um,`x`);t&&t!==e&&(Hm.delete(t),Vm.delete(t)),Um=null}}function Gm(e,t){let n=getComputedStyle(e),r=t===`x`?n.overflowX:n.overflowY,i=e===document.body||e===document.documentElement;return Bm.has(r)||i}function Km(e,t){let n=e?.parentElement;for(;n;){if(Gm(n,t))return n;n=n.parentElement}return null}function qm(e,t,n){let r=t.getBoundingClientRect(),i=n===`x`?Math.max(0,r.left):Math.max(0,r.top),a=n===`x`?Math.min(window.innerWidth,r.right):Math.min(window.innerHeight,r.bottom),o=e-i,s=a-e;if(o<Rm){let e=1-o/Rm;return{amount:-25*e*e,edge:`start`}}if(s<Rm){let e=1-s/Rm;return{amount:zm*e*e,edge:`end`}}return{amount:0,edge:null}}function Jm(e,t,n,r){if(!e)return;Um=e;let i=Km(e,n);if(!i)return;let{amount:a,edge:o}=qm(t-(n===`x`?window.scrollX:window.scrollY),i,n);if(o===null){Hm.delete(i),Vm.delete(i);return}let s=Hm.get(i),c=i===document.body||i===document.documentElement;if(s!==o){if(!(o===`start`&&r<0||o===`end`&&r>0))return;Hm.set(i,o);let e=n===`x`?i.scrollWidth-(c?window.innerWidth:i.clientWidth):i.scrollHeight-(c?window.innerHeight:i.clientHeight);Vm.set(i,e)}if(a>0){let e=Vm.get(i);if((n===`x`?c?window.scrollX:i.scrollLeft:c?window.scrollY:i.scrollTop)>=e)return}n===`x`?c?window.scrollBy({left:a}):i.scrollLeft+=a:c?window.scrollBy({top:a}):i.scrollTop+=a}function Ym(e,t=0){return Bo(e)?e:ym(t)}function Xm({children:e,style:t={},value:n,as:r=`li`,onDrag:i,onDragEnd:a,layout:o=!0,...s},c){let l=Rf(()=>vm[r]),u=(0,U.useContext)(Om),d={x:Ym(t.x),y:Ym(t.y)},f=Sm([d.x,d.y],([e,t])=>e||t?1:`unset`),{axis:p,registerItem:m,updateOrder:h,groupRef:g,hasReordered:_}=u;return(0,G.jsx)(l,{drag:p===`xy`||p,...s,dragSnapToOrigin:!0,style:{...t,x:d.x,y:d.y,zIndex:f},layout:o,onDrag:(e,t)=>{let{velocity:r,point:a}=t,o={x:d.x.get(),y:d.y.get()};h(n,o,r);let s=p===`xy`?Math.abs(r.x)>Math.abs(r.y)?`x`:`y`:p;Jm(g.current,a[s],s,r[s]),i&&i(e,t)},onDragEnd:(e,t)=>{_.current=!1,Wm(),a&&a(e,t)},onLayoutMeasure:e=>{m(n,e)},ref:c,ignoreStrict:!0,children:e})}var Zm=(0,U.forwardRef)(Xm),Qm=vm,$m={out:[.23,1,.32,1],soft:[.215,.61,.355,1],draw:[0,0,.58,1],inOut:[.77,0,.175,1],away:[.33,.17,.67,.5],in:[.4,0,1,1],drawer:[.34,1.2,.64,1],arrive:[.11,0,.5,0],color:[.25,.1,.25,1],leave:[0,0,.58,1],enter:[.25,.1,.35,1],resize:[.4,0,.1,1],fill:[.4,0,.2,1]},eh={press:{type:`spring`,stiffness:550,damping:30,restSpeed:10},pop:{type:`spring`,stiffness:400,damping:29},tooltip:{type:`spring`,stiffness:400,damping:31},dialog:{type:`spring`,stiffness:150,damping:25},toast:{type:`spring`,stiffness:280,damping:24},selection:{type:`spring`,stiffness:300,damping:30},highlight:{type:`spring`,stiffness:500,damping:40},reflow:{type:`spring`,stiffness:500,damping:40},handoff:{type:`spring`,stiffness:450,damping:43},morph:{type:`spring`,stiffness:660,damping:52},height:{type:`spring`,stiffness:300,damping:30,bounce:0,restDelta:.01},slide:{type:`spring`,stiffness:300,damping:35,restDelta:.01},thumb:{type:`spring`,stiffness:300,damping:25},slider:{type:`spring`,stiffness:400,damping:32},bounce:{type:`spring`,stiffness:200,damping:16},glyph:{type:`spring`,stiffness:500,damping:45},checkPop:{type:`spring`,stiffness:500,damping:24},entrance:{type:`spring`,stiffness:200,damping:20},progress:{type:`spring`,stiffness:300,damping:35,restDelta:.01,restSpeed:.1},number:{type:`spring`,stiffness:90,damping:50}},th={menu:{duration:.22,ease:$m.soft},overlay:{duration:.4,ease:$m.soft},dialogFade:{duration:.4,ease:$m.soft},fade:{duration:.2,ease:$m.out},color:{duration:.2,ease:$m.color},reveal:{duration:.3,ease:$m.out},disclosure:{duration:.35,ease:$m.soft},panelOut:{duration:.15,ease:$m.leave},panelIn:{duration:.3,ease:$m.enter},tooltipIn:{duration:.34,ease:$m.enter},tooltipOut:{duration:.13,ease:$m.leave},panelHeight:{duration:.45,ease:$m.resize},check:{duration:.3,delay:.2,ease:$m.draw},uncheck:{duration:.3,ease:$m.draw},fill:{duration:.3,ease:$m.fill},popOut:{duration:.15,ease:$m.out},swap:{duration:.15,ease:$m.out},spin:{duration:.3,ease:$m.out},handoffOut:{duration:.22,ease:$m.soft},handoffIn:{duration:.26,ease:$m.arrive},dismiss:{duration:.2,ease:$m.away},shake:{duration:.4,ease:$m.inOut},drawerOut:{duration:.16,ease:$m.in},drawer:{duration:.4,ease:$m.drawer},sheet:{duration:.4,ease:$m.soft},collapse:{duration:.28,ease:$m.inOut},collapseLabel:{duration:.14,ease:$m.out},instant:{duration:0}},nh={press:.97,choice:.985,tooltip:.7,popover:.8,menu:.9,dialog:.8,icon:.5,toast:.96,fill:.7,action:.9},rh={icon:`blur(2px)`,tooltip:`blur(6px)`,disclosure:`blur(2px)`,surface:`blur(4px)`,panel:`blur(5px)`},ih={icon:90},ah={handoff:6,navigation:24,tabs:12,step:24,tooltip:40,shake:3},oh={stack:.03};function sh(e=1){let t=t=>e===1?t:Object.fromEntries(Object.entries(t).map(([t,n])=>[t,dh(n,e)]));return{tempo:e,ease:$m,scale:nh,blur:rh,rotate:ih,shift:ah,stagger:e===1?oh:Object.fromEntries(Object.entries(oh).map(([t,n])=>[t,n*e])),spring:t(eh),transition:t(th)}}var ch=sh(),lh=U.createContext(ch),uh=[`duration`,`visualDuration`,`delay`,`repeatDelay`,`delayChildren`];function dh(e,t){if(!e||t===1||typeof e!=`object`)return e;let n={};for(let[r,i]of Object.entries(e))n[r]=typeof i==`number`&&uh.includes(r)?i*t:typeof i==`number`&&r===`stiffness`?i/(t*t):typeof i==`number`&&r===`damping`?i/t:i&&typeof i==`object`&&!Array.isArray(i)?dh(i,t):i;return n}function fh(e){let{tempo:t}=U.use(lh);return dh(e,t)}function ph(){return U.use(lh)}U.createContext(`draw`);var mh={linear:`linear`,easeIn:`cubic-bezier(0.42, 0, 1, 1)`,easeOut:`cubic-bezier(0, 0, 0.58, 1)`,easeInOut:`cubic-bezier(0.42, 0, 0.58, 1)`,circIn:`cubic-bezier(0, 0.65, 0.55, 1)`,circOut:`cubic-bezier(0.55, 0, 1, 0.45)`,backIn:`cubic-bezier(0.31, 0.01, 0.66, -0.59)`,backOut:`cubic-bezier(0.33, 1.53, 0.69, 0.99)`},hh=[`stiffness`,`damping`,`mass`,`bounce`,`visualDuration`];function gh(e){return Array.isArray(e)&&e.length===4&&e.every(Number.isFinite)?`cubic-bezier(${e.join(`, `)})`:typeof e==`string`?mh[e]??`ease`:mh.easeInOut}function _h(e){let t=e;if(t.type===`spring`||hh.some(e=>e in t)){let{duration:e,ease:n}=Hr(typeof t.duration==`number`?{...t,duration:t.duration*1e3}:t,100,ei),r=Math.round(e*1e3);return{duration:r,easing:zr(n,r)}}let n=typeof t.duration==`number`?t.duration:.3;return{duration:Math.round(n*1e3),easing:gh(t.ease)}}var vh=U.createContext(`user`);function yh(){let e=U.use(vh),{reducedMotion:t}=U.use(Vf);return t===`always`?`always`:e}function bh({children:e,remount:t}){let n=yh();return(0,G.jsx)(sp,{reducedMotion:n,children:t?(0,G.jsx)(xh,{children:e}):e})}function xh({children:e}){let t=wh();return(0,G.jsx)(U.Fragment,{children:e},t?`reduce`:`full`)}var Sh=`(prefers-reduced-motion: reduce)`;function Ch(e){let t=window.matchMedia(Sh);return t.addEventListener(`change`,e),()=>t.removeEventListener(`change`,e)}function wh(){let e=yh(),t=U.useSyncExternalStore(Ch,()=>window.matchMedia(Sh).matches,()=>!1);return e===`never`?!1:e===`always`||t}var Th=ch.spring.pop;ch.transition.menu,ch.spring.morph;var Eh={tooltip:ch.scale.tooltip,popover:ch.scale.popover,menu:ch.scale.menu};function Dh(...e){return t=>{for(let n of e)typeof n==`function`?n(t):n&&(n.current=t)}}function Oh(e){if(!(e instanceof HTMLElement))return[1,1];let t=e.getBoundingClientRect(),n=(e,t)=>t&&Math.abs(e-t)>=1?e/t:1;return[n(t.width,e.offsetWidth),n(t.height,e.offsetHeight)]}var kh=ch.transition.fade,Ah=[`top`,`bottom`,`left`,`right`],jh={top:`--scroll-fade-top`,bottom:`--scroll-fade-bottom`,left:`--scroll-fade-left`,right:`--scroll-fade-right`,size:`--scroll-fade-size`},Mh=e=>`rgb(0 0 0 / calc(1 - var(${jh[e]}, 0)))`,Nh=e=>`calc(var(${jh.size}) * min(1, var(${jh[e]}, 0) * 1000))`,Ph=`linear-gradient(to bottom, ${Mh(`top`)} 0, #000 ${Nh(`top`)}, #000 calc(100% - ${Nh(`bottom`)}), ${Mh(`bottom`)} 100%)`,Fh=`linear-gradient(to right, ${Mh(`left`)} 0, #000 ${Nh(`left`)}, #000 calc(100% - ${Nh(`right`)}), ${Mh(`right`)} 100%)`,Ih={vertical:Ph,horizontal:Fh,both:`${Ph}, ${Fh}`},Lh=e=>Math.min(1,Math.max(0,e)),Rh=e=>e*e*(3-2*e),zh=1.75,Bh=150,Vh=`ul, ol, [role="list"], [role="group"]`;function Hh(e,t){for(let n of e.children)n instanceof HTMLElement&&(n.matches(Vh)||Array.from(n.children).some(e=>e.matches(Vh))?Hh(n,t):t.push(n));return t}function Uh(e){let t=e;for(;t.children.length===1;)t=t.children[0];return Hh(t,[])}function Wh(e,t){let n=e.style;if(t)n.setProperty(`mask-image`,t),n.setProperty(`-webkit-mask-image`,t),n.setProperty(`mask-composite`,`intersect`),n.setProperty(`-webkit-mask-composite`,`source-in`);else for(let e of[`mask-image`,`-webkit-mask-image`,`mask-composite`,`-webkit-mask-composite`])n.removeProperty(e)}function Gh(e,{orientation:t=`vertical`,size:n=40,shrink:r=.03,blur:i=4,transition:a,enabled:o=!0}={}){let s=wh(),c=fh(a??kh),l=U.useRef(c);U.useEffect(()=>{l.current=c});let u=ym(0),d=ym(0),f=ym(0),p=ym(0),m=U.useMemo(()=>({top:u,bottom:d,left:f,right:p}),[u,d,f,p]),h=U.useRef(s);return U.useEffect(()=>{h.current=s},[s]),U.useEffect(()=>{let a=e.current;if(!a||!o)return;let s=t!==`horizontal`,c=t!==`vertical`,u=Ih[t],d=!1;a.style.setProperty(jh.size,`${n}px`);let f=new Set,p=new Set,g=()=>{for(let e of f)e.style.removeProperty(`scale`);for(let e of p)e.style.removeProperty(`filter`);f.clear(),p.clear()},_=[],v=0,y=0,b=()=>{if(!r&&!i){_=[];return}let e=a.getBoundingClientRect(),[t,n]=Oh(a);v=a.clientWidth,y=a.clientHeight,_=Uh(a).map(r=>{let i=r.getBoundingClientRect();return{item:r,x:(i.left+i.width/2-e.left)/t+a.scrollLeft,y:(i.top+i.height/2-e.top)/n+a.scrollTop,ownFilter:!p.has(r)&&getComputedStyle(r).filter!==`none`}})},x=n*zh,S=e=>x>0?Rh(Lh(1-e/x)):0,C=!0,w=()=>{C&&(C=!1,b());let e=h.current?0:r;if(!_.length||!e&&!i)return g();let t=a.scrollLeft,n=a.scrollTop;for(let{item:r,x:a,y:o,ownFilter:l}of _){let u=0;if(s){let e=o-n;u=Math.max(S(e)*m.top.get(),S(y-e)*m.bottom.get())}if(c){let e=a-t;u=Math.max(u,S(e)*m.left.get(),S(v-e)*m.right.get())}u>.001&&e?(r.style.scale=String(1-e*u),f.add(r)):f.delete(r)&&r.style.removeProperty(`scale`),u>.001&&i&&!l?(r.style.filter=`blur(${(i*u).toFixed(2)}px)`,p.add(r)):p.delete(r)&&r.style.removeProperty(`filter`)}},T=!1,E=()=>{T=!1,w()},D=()=>{T||(T=!0,Fr.render(E))},O=()=>{let e=!1;for(let t of Ah){let n=Lh(m[t].get());n>.001&&(e=!0),a.style.setProperty(jh[t],n.toFixed(4))}e!==d&&(d=e,Wh(a,e?u:null)),D()},k=Ah.map(e=>m[e].on(`change`,O)),A=n/2,j=e=>A>0?Lh(e/A):+(e>.5),M=e=>{let t={top:0,bottom:0,left:0,right:0};if(s){let e=a.scrollHeight-a.clientHeight;e>1&&(t.top=j(a.scrollTop),t.bottom=j(e-a.scrollTop))}if(c){let e=a.scrollWidth-a.clientWidth;if(e>1){let n=Math.abs(a.scrollLeft),r=e-n,i=getComputedStyle(a).direction===`rtl`;t.left=j(i?r:n),t.right=j(i?n:r)}}for(let n of Ah)e||h.current?m[n].jump(t[n]):Math.abs(m[n].get()-t[n])>.001&&_f(m[n],t[n],l.current);O()};M(!0);let N=0,P=()=>{let e=performance.now();e-N>Bh&&(C=!0),N=e,M(!0)};a.addEventListener(`scroll`,P,{passive:!0});let F=new ResizeObserver(()=>{C=!0,M(!1)}),I=()=>{F.disconnect(),F.observe(a);for(let e of a.children)F.observe(e)};I();let L=new MutationObserver(e=>{e.some(e=>e.target===a)&&I(),C=!0,M(!1)});return L.observe(a,{childList:!0,subtree:!0}),()=>{a.removeEventListener(`scroll`,P),Ir(E),F.disconnect(),L.disconnect(),k.forEach(e=>e()),Wh(a,null),g();for(let e of Object.values(jh))a.style.removeProperty(e);for(let e of Ah)m[e].jump(0)}},[e,o,t,n,r,i,m]),m}var Kh={vertical:{overflowY:`auto`},horizontal:{overflowX:`auto`},both:{overflow:`auto`}};function qh({ref:e,asChild:t=!1,orientation:n=`vertical`,size:r,shrink:i,blur:a,transition:o,enabled:s,style:c,children:l,...u}){let d=U.useRef(null),f=U.isValidElement(l)?l.props.ref:void 0,p=U.useMemo(()=>Dh(d,f),[f]);U.useImperativeHandle(e,()=>d.current),Gh(d,{orientation:n,size:r,shrink:i,blur:a,transition:o,enabled:s});let m={"data-slot":`scroll-fade`,"data-orientation":n,...u};if(t&&U.isValidElement(l)){let e=l;return U.cloneElement(e,{...e.props,...m,className:[e.props.className,u.className].filter(Boolean).join(` `)||void 0,style:{...Kh[n],...e.props.style,...c},ref:p})}return(0,G.jsx)(`div`,{ref:d,style:{...Kh[n],...c},...m,children:l})}function Jh({children:e,enabled:t=!0,size:n=20}){let r=Mf();return(0,G.jsx)(qh,{asChild:!0,enabled:t,size:n,shrink:0,blur:0,transition:{duration:(r?kf.micro:kf.base)/1e3,ease:kf.out},children:e})}var Yh=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function Xh(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:Yh(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var Zh=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},Qh=e=>{let t=Zh(e);return t.charAt(0).toUpperCase()+t.slice(1)},$h=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),eg={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function tg(e){return e!=null}function ng(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??eg.width,a=e.size??e.height??eg.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?$h(...c):$h(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??eg[`stroke-width`])*Number(e.size??e.width??eg.width)/Number(t.size??t.width??eg.width):t.strokeWidth??eg[`stroke-width`];return[`svg`,{...Object.entries(eg).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&tg(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&tg(t.width)&&{[r(`width`)]:t.width},...`height`in t&&tg(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function rg(e,t={}){return ng(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var eee=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},tee=(0,U.createContext)({}),nee=()=>(0,U.useContext)(tee),ree=(0,U.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=nee()??{},y=!!c||eee(d),[b,x,S=[]]=rg(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:$h(v,s),hasA11yProp:y,attributes:d});return(0,U.createElement)(b,{ref:f,...x},[...S.map(([e,t])=>(0,U.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function ig(e,t=[],n=[]){let r=typeof e==`string`?Xh(e,t,n):e,i=(0,U.forwardRef)(({className:e,...t},n)=>(0,U.createElement)(ree,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=Qh(r.name)),i}var ag={name:`arrow-down`,size:24,node:[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]};ag.node;var og=ig(ag),sg={name:`arrow-up-right`,size:24,node:[[`path`,{d:`M7 7h10v10`,key:`1tivn9`}],[`path`,{d:`M7 17 17 7`,key:`1vkiza`}]]};sg.node;var iee=ig(sg),cg={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};cg.node;var lg=ig(cg),ug={name:`audio-lines`,size:24,node:[[`path`,{d:`M2 10v3`,key:`1fnikh`}],[`path`,{d:`M6 6v11`,key:`11sgs0`}],[`path`,{d:`M10 3v18`,key:`yhl04a`}],[`path`,{d:`M14 8v7`,key:`3a1oy3`}],[`path`,{d:`M18 5v13`,key:`123xd1`}],[`path`,{d:`M22 10v3`,key:`154ddg`}]]};ug.node;var dg=ig(ug),fg={name:`bold`,size:24,node:[[`path`,{d:`M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8`,key:`mg9rjx`}]]};fg.node;var aee=ig(fg),pg={name:`book-open`,size:24,node:[[`path`,{d:`M12 5v16`,key:`1f6ucr`}],[`path`,{d:`M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z`,key:`1fyvmf`}]]};pg.node;var oee=ig(pg),mg={name:`bookmark`,size:24,node:[[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`,key:`oz39mx`}]]};mg.node;var see=ig(mg),hg={name:`briefcase-business`,size:24,node:[[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2`,key:`1ksdt3`}],[`path`,{d:`M22 13a18.15 18.15 0 0 1-20 0`,key:`12hx5q`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`,key:`i6l2r4`}]]};hg.node;var cee=ig(hg),gg={name:`calendar-days`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 13h.01`,key:`1sbv64`}],[`path`,{d:`M12 13h.01`,key:`y0uutt`}],[`path`,{d:`M16 13h.01`,key:`wip0gl`}],[`path`,{d:`M8 17h.01`,key:`p3bg7i`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M16 17h.01`,key:`ql8jdd`}]]};gg.node;var _g=ig(gg),vg={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};vg.node;var yg=ig(vg),bg={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};bg.node;var xg=ig(bg),Sg={name:`chevron-left`,size:24,node:[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]};Sg.node;var Cg=ig(Sg),wg={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};wg.node;var Tg=ig(wg),Eg={name:`chevron-up`,size:24,node:[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]};Eg.node;var Dg=ig(Eg),Og={name:`circle-alert`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],aliases:[`alert-circle`]};Og.node;var kg=ig(Og),Ag={name:`clock`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]};Ag.node;var jg=ig(Ag),Mg={name:`code`,size:24,node:[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]};Mg.node;var Ng=ig(Mg),Pg={name:`coffee`,size:24,node:[[`path`,{d:`M10 2v2`,key:`7u0qdc`}],[`path`,{d:`M14 2v2`,key:`6buw04`}],[`path`,{d:`M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1`,key:`pwadti`}],[`path`,{d:`M6 2v2`,key:`colzsn`}]]};Pg.node;var Fg=ig(Pg),Ig={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};Ig.node;var Lg=ig(Ig),Rg={name:`external-link`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]};Rg.node;var zg=ig(Rg),Bg={name:`file-down`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 18v-6`,key:`17g6i2`}],[`path`,{d:`m9 15 3 3 3-3`,key:`1npd3o`}]]};Bg.node;var Vg=ig(Bg),Hg={name:`file-text`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]};Hg.node;var Ug=ig(Hg),Wg={name:`flag`,size:24,node:[[`path`,{d:`M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528`,key:`1jaruq`}]]};Wg.node;var Gg=ig(Wg),Kg={name:`flask-conical`,size:24,node:[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]};Kg.node;var qg=ig(Kg),Jg={name:`folder`,size:24,node:[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]};Jg.node;var Yg=ig(Jg),Xg={name:`graduation-cap`,size:24,node:[[`path`,{d:`M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z`,key:`j76jl0`}],[`path`,{d:`M22 10v6`,key:`1lu8f3`}],[`path`,{d:`M6 12.5V16a6 3 0 0 0 12 0v-3.5`,key:`1r8lef`}]]};Xg.node;var Zg=ig(Xg),Qg={name:`handshake`,size:24,node:[[`path`,{d:`m11 17 2 2a1 1 0 1 0 3-3`,key:`efffak`}],[`path`,{d:`m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4`,key:`9pr0kb`}],[`path`,{d:`m21 3 1 11h-2`,key:`1tisrp`}],[`path`,{d:`M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3`,key:`1uvwmv`}],[`path`,{d:`M3 4h8`,key:`1ep09j`}]]};Qg.node;var $g=ig(Qg),e_={name:`heading`,size:24,node:[[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`path`,{d:`M6 20V4`,key:`1w1bmo`}],[`path`,{d:`M18 20V4`,key:`o2hl4u`}]]};e_.node;var t_=ig(e_),n_={name:`heart`,size:24,node:[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`,key:`mvr1a0`}]]};n_.node;var r_=ig(n_),i_={name:`house`,size:24,node:[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]],aliases:[`home`]};i_.node;var a_=ig(i_),o_={name:`info`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]};o_.node;var s_=ig(o_),c_={name:`italic`,size:24,node:[[`line`,{x1:`19`,x2:`10`,y1:`4`,y2:`4`,key:`15jd3p`}],[`line`,{x1:`14`,x2:`5`,y1:`20`,y2:`20`,key:`bu0au3`}],[`line`,{x1:`15`,x2:`9`,y1:`4`,y2:`20`,key:`uljnxc`}]]};c_.node;var l_=ig(c_),u_={name:`languages`,size:24,node:[[`path`,{d:`m5 8 6 6`,key:`1wu5hv`}],[`path`,{d:`m4 14 6-6 2-3`,key:`1k1g8d`}],[`path`,{d:`M2 5h12`,key:`or177f`}],[`path`,{d:`M7 2h1`,key:`1t2jsx`}],[`path`,{d:`m22 22-5-10-5 10`,key:`don7ne`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]};u_.node;var d_=ig(u_),f_={name:`lightbulb`,size:24,node:[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]};f_.node;var p_=ig(f_),m_={name:`link-2-off`,size:24,node:[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`,key:`10o201`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`,key:`1d3206`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`,key:`rvw6j4`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]};m_.node;var h_=ig(m_),g_={name:`list-ordered`,size:24,node:[[`path`,{d:`M11 5h10`,key:`1cz7ny`}],[`path`,{d:`M11 12h10`,key:`1438ji`}],[`path`,{d:`M11 19h10`,key:`11t30w`}],[`path`,{d:`M4 4h1v5`,key:`10yrso`}],[`path`,{d:`M4 9h2`,key:`r1h2o0`}],[`path`,{d:`M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02`,key:`xtkcd5`}]]};g_.node;var __=ig(g_),v_={name:`list`,size:24,node:[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]};v_.node;var y_=ig(v_),b_={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]};b_.node;var x_=ig(b_),S_={name:`maximize-2`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]};S_.node;var C_=ig(S_),w_={name:`megaphone`,size:24,node:[[`path`,{d:`M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`,key:`q8bfy3`}],[`path`,{d:`M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14`,key:`1853fq`}],[`path`,{d:`M8 6v8`,key:`15ugcq`}]]};w_.node;var T_=ig(w_),E_={name:`message-circle`,size:24,node:[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}]]};E_.node;var D_=ig(E_),O_={name:`mic`,size:24,node:[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]};O_.node;var k_=ig(O_),A_={name:`minus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]};A_.node;var j_=ig(A_),M_={name:`palette`,size:24,node:[[`path`,{d:`M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z`,key:`e79jfc`}],[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`1okk4w`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`,key:`f64h9f`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`,key:`qy21gx`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`fotxhn`}]]};M_.node;var N_=ig(M_),P_={name:`pencil`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]};P_.node;var F_=ig(P_),I_={name:`plane`,size:24,node:[[`path`,{d:`M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z`,key:`1v9wt8`}]]};I_.node;var L_=ig(I_),R_={name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]};R_.node;var z_=ig(R_),B_={name:`rocket`,size:24,node:[[`path`,{d:`M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5`,key:`qeys4`}],[`path`,{d:`M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09`,key:`u4xsad`}],[`path`,{d:`M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z`,key:`676m9`}],[`path`,{d:`M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05`,key:`92ym6u`}]]};B_.node;var lee=ig(B_),V_={name:`rotate-ccw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]};V_.node;var H_=ig(V_),U_={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};U_.node;var W_=ig(U_),G_={name:`square`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]};G_.node;var uee=ig(G_),K_={name:`star`,size:24,node:[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]};K_.node;var dee=ig(K_),q_={name:`target`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`6`,key:`1vlfrh`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]};q_.node;var fee=ig(q_),J_={name:`text-align-start`,size:24,node:[[`path`,{d:`M21 5H3`,key:`1fi0y6`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M17 19H3`,key:`z6ezky`}]],aliases:[`text`,`align-left`]};J_.node;var Y_=ig(J_),X_={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};X_.node;var Z_=ig(X_),Q_={name:`triangle-alert`,size:24,node:[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`alert-triangle`]};Q_.node;var $_=ig(Q_),ev={name:`users-round`,size:24,node:[[`path`,{d:`M18 21a8 8 0 0 0-16 0`,key:`3ypg7q`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`path`,{d:`M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3`,key:`10s06x`}]],aliases:[`users-2`]};ev.node;var pee=ig(ev),tv={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};tv.node;var nv=ig(tv),rv={name:`video`,size:24,node:[[`path`,{d:`m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5`,key:`ftymec`}],[`rect`,{x:`2`,y:`6`,width:`14`,height:`12`,rx:`2`,key:`158x01`}]]};rv.node;var mee=ig(rv),iv={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};iv.node;var av=ig(iv),ov=({width:e=`60%`})=>(0,G.jsx)(`span`,{className:`loading-bar`,style:{width:e}});function sv({layout:e,testId:t=`${e}-loading`}){return(0,G.jsx)(`div`,{"data-testid":t,className:`page-loading loading-${e}`,role:`status`,"aria-label":W(`Loading…`),"aria-busy":`true`,children:(0,G.jsx)(`div`,{"aria-hidden":`true`,inert:!0,children:e===`note`?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`header`,{className:`note-header note-page-width`,children:[(0,G.jsx)(`div`,{className:`note-title-type`,children:(0,G.jsx)(ov,{width:`52%`})}),(0,G.jsx)(`div`,{className:`note-meta-row`,children:(0,G.jsx)(`div`,{className:`note-metadata`,children:[100,130,110].map(e=>(0,G.jsx)(`span`,{className:`loading-note-chip`,style:{width:e}},e))})}),(0,G.jsxs)(`div`,{className:`note-primary-tabs`,children:[(0,G.jsxs)(`button`,{role:`tab`,disabled:!0,children:[(0,G.jsx)(dg,{size:14}),W(`Transcript`)]}),(0,G.jsxs)(`button`,{role:`tab`,disabled:!0,children:[(0,G.jsx)(Y_,{size:14}),W(`My notes`)]})]})]}),(0,G.jsx)(`div`,{className:`note-page-width note-notes-body`,children:(0,G.jsx)(`div`,{className:`loading-prose`,children:[`48%`,`82%`,`72%`].map(e=>(0,G.jsx)(ov,{width:e},e))})})]}):e===`history`?(0,G.jsxs)(`section`,{children:[(0,G.jsx)(`h2`,{children:(0,G.jsx)(ov,{width:`48px`})}),(0,G.jsx)(`ul`,{children:[0,1,2].map(e=>(0,G.jsx)(`li`,{className:`ask-history-row`,children:(0,G.jsxs)(`div`,{className:`ask-history-link`,children:[(0,G.jsx)(`strong`,{children:(0,G.jsx)(ov,{width:`${130+e*14}px`})}),(0,G.jsx)(`time`,{children:(0,G.jsx)(ov,{width:`56px`})})]})},e))})]}):e===`folders`?(0,G.jsx)(`div`,{className:`workspace-folder-list`,children:[0,1,2].map(e=>(0,G.jsxs)(`div`,{className:`workspace-nav`,children:[(0,G.jsx)(`span`,{className:`loading-folder-icon`}),(0,G.jsx)(ov,{width:`${70+e*12}px`})]},e))}):e===`calendars`?(0,G.jsx)(G.Fragment,{children:[0,1].map(e=>(0,G.jsxs)(`div`,{className:`settings-row settings-calendar-choice`,children:[(0,G.jsx)(`span`,{className:`settings-calendar-dot loading-bar`}),(0,G.jsxs)(`span`,{className:`settings-row-copy`,children:[(0,G.jsx)(`span`,{className:`settings-label`,children:(0,G.jsx)(ov,{width:`120px`})}),(0,G.jsx)(`span`,{className:`settings-description block`,children:(0,G.jsx)(ov,{width:`90px`})})]}),(0,G.jsx)(`span`,{className:`loading-checkbox`})]},e))}):e===`transcript`?(0,G.jsx)(`div`,{className:`loading-transcript-turns`,children:[0,1,2].map(e=>(0,G.jsxs)(`div`,{className:`transcript-turn flex flex-col gap-[5px] ${e===1?`items-end`:`items-start`}`,children:[(0,G.jsx)(`p`,{className:e===1?`sr-only`:`turn-head flex items-baseline gap-2 px-1 text-xs`,children:(0,G.jsx)(ov,{width:`42px`})}),(0,G.jsx)(`p`,{className:`bubble ${e===1?`bubble-me`:`bubble-them`}`,children:(0,G.jsx)(ov,{width:`${160+e*25}px`})})]},e))}):(0,G.jsxs)(`div`,{className:`ask-turn`,children:[(0,G.jsx)(`p`,{className:`ask-question`,children:(0,G.jsx)(ov,{width:`160px`})}),(0,G.jsx)(`div`,{className:`loading-prose`,children:[`48%`,`82%`,`72%`].map(e=>(0,G.jsx)(ov,{width:e},e))})]})})})}function cv(e){let t=Mf(),[n,r]=(0,U.useState)(e?`waiting`:`ready`),i=(0,U.useRef)(void 0);return(0,U.useLayoutEffect)(()=>{let a;return e?n!==`skeleton`&&(i.current=void 0,r(`waiting`),a=setTimeout(()=>{i.current=performance.now(),r(`skeleton`)},100)):n===`waiting`?r(`ready`):n===`skeleton`?t?r(`revealing`):a=setTimeout(()=>r(`revealing`),Math.max(0,200-(performance.now()-i.current))):n===`revealing`&&(a=setTimeout(()=>r(`ready`),kf.micro)),()=>clearTimeout(a)},[e,n,t]),n}var lv=()=>(0,U.useSyncExternalStore)(St,xt);function hee(e,t){return W(e,Object.fromEntries(Object.keys(t).map(e=>[e,`\u0000${e}\u0000`]))).split(`\0`).map((e,n)=>n%2?(0,G.jsx)(U.Fragment,{children:t[e]},n):e)}function uv(e){let t=[];for(let n of e){if(n.hidden&&n.echoConfident)continue;let e=!!n.hidden,r=t.at(-1);r?.echo===e?r.lines.push(n):t.push({echo:e,lines:[n]})}return t}var gee=3e4;function dv(e){let t=Math.max(0,Math.floor(e/1e3)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=String(t%60).padStart(2,`0`);return n?`${n}:${String(r).padStart(2,`0`)}:${i}`:`${r}:${i}`}function _ee(e){let t=[];for(let n of e){let e=t[t.length-1],r=e?.[e.length-1];r&&r.track===n.track&&r.speaker===n.speaker&&n.startMs-(r.endMs??r.startMs)<gee?e.push(n):t.push([n])}return t}function fv(e,t){let n=0,r=e.length-1,i=-1;for(;n<=r;){let a=n+r>>1;e[a].startMs<=t?(i=a,n=a+1):r=a-1}return i}function vee(e){let t=[];for(let n of e){let e=t[t.length-1],r=e?.[e.length-1];r&&n.startMs-r.endMs<1500?e.push(n):t.push([n])}return t}function yee(e,t){let n=t.filter(e=>e.words.length).map(t=>{let n=e.filter(e=>e.track===t.track&&e.startMs<=t.startMs).at(-1);return{track:t.track,startMs:t.startMs,endMs:t.endMs,speaker:n?n.speaker:null,speakerColor:n?.speakerColor,live:t}});return n.length?[...e,...n].sort((e,t)=>e.startMs-t.startMs):e}function bee(e,t,n,r){let i=0,a=0;for(let t=0;t<e.length;t++){if(e[t]!==n[0])continue;let r=0;for(;t+r<e.length&&r<n.length&&e[t+r]===n[r];)r++;r>=a&&(a=r,i=t)}let o=r;return{keys:n.map((e,n)=>i+n<t.length?t[i+n]:o++),next:o}}function xee(e,t,n){let r=e=>!(`live`in e),i=e.reduce((e,t)=>e+t.lines.filter(r).length,0),a=i<=t?0:Math.floor((i-t)/n)*n;if(!a)return{runs:e,earlier:0};let o=a,s=[];for(let t of e){if(!o){s.push(t);continue}let e=0;for(;e<t.lines.length&&o>0;)r(t.lines[e])&&o--,e++;e<t.lines.length&&s.push({...t,lines:t.lines.slice(e)})}return{runs:s,earlier:a}}function pv(e,t){let n=t.trim();if(!n)return[];let r=new RegExp(n.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),`giu`),i=[];for(let t of e)for(let e of t.text.matchAll(r))i.push({key:`${t.track}:${t.startMs}`,start:e.index,end:e.index+e[0].length});return i}function mv(e,t){return t?Math.max(0,e.findIndex(e=>e.key===t.key&&e.start===t.start)):0}function hv(e,t,n){return n?((e+t)%n+n)%n:0}function gv(e,t){return e.top>=t.top&&e.bottom<=t.bottom?null:t.scrollTop+(e.top+e.bottom-t.top-t.bottom)/2}var _v={"⌃⌘S":`Ctrl+Shift+S`,"⌃⌘F":`F11`,"⌥⇧⌘V":`Ctrl+Shift+V`};function vv(e,t){if(t===`darwin`)return e;if(_v[e])return _v[e];let n=e.replace(/[⌃⇧⌥⌘]/g,``);return n===e?e:[...[e.includes(`⌘`)||e.includes(`⌃`)?`Ctrl`:``,e.includes(`⇧`)?`Shift`:``,e.includes(`⌥`)?`Alt`:``].filter(Boolean),n].join(`+`)}var yv=(e,t)=>t===`darwin`?e.metaKey:e.ctrlKey&&!e.metaKey;function bv(e,t){return t===`darwin`?e.mac:`other`in e?e.other:t===`win32`?e.windows:e.linux}var xv=()=>globalThis.window?.yogurt?.os??`darwin`,Sv=e=>vv(e,xv()),Cv=e=>yv(e,xv()),wv=()=>xv()===`darwin`,Tv=e=>bv(e,xv());function See(e,t,n){let r=new Map;for(let t of e.querySelectorAll(`[data-key]`)){let e=t.querySelector(`[data-testid="transcript-text"]`);if(!e)continue;let n=[],i=[],a=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT),o,s=0;for(;o=a.nextNode();){let e=o;e.length&&(n.push({node:e,start:s,end:s+e.length}),i.push(e.data),s+=e.length)}r.set(t.dataset.key,{root:e,text:i.join(``),spans:n})}let i=t.map(e=>({...e,text:r.get(`${e.track}:${e.startMs}`)?.text??``})),a=[],o=[];for(let e of pv(i,n)){let t=r.get(e.key);try{let n=Ev(t.spans,e.start),r=Ev(t.spans,e.end);if(!t.root.isConnected||!n||!r||!t.root.contains(n.node)||!t.root.contains(r.node))continue;let i=t.root.ownerDocument.createRange();if(i.setStart(n.node,e.start-n.start),i.setEnd(r.node,e.end-r.start),i.toString()!==t.text.slice(e.start,e.end))continue;a.push(e),o.push(i)}catch{}}return{query:n,matches:a,ranges:o}}function Ev(e,t){let n=0,r=e.length;for(;n<r;){let i=n+r>>>1;e[i].end<t?n=i+1:r=i}return e[n]}function Cee({lines:e,list:t,active:n,playbackInset:r,beforeScroll:i,onFinding:a,toolbar:o,onClose:s}){lv();let c=(0,U.useId)(),l=(0,U.useId)(),[u,d]=(0,U.useState)(!1),[f,p]=(0,U.useState)(``),[m,h]=(0,U.useState)(0),[g,_]=(0,U.useState)(null),v=(0,U.useRef)(null),y=(0,U.useRef)(null),[b,x]=(0,U.useState)({query:``,matches:[],ranges:[]}),{matches:S,ranges:C}=b,w=mv(S,g),T=S[w],E=(0,U.useRef)(null),D=(0,U.useRef)(!1),O=!!f.trim(),k=()=>{d(!0),a(!0),u&&(v.current?.focus({preventScroll:!0}),v.current?.select())},A=()=>{p(``),_(null),d(!1),a(!1),y.current?.focus({preventScroll:!0})},j=e=>{S.length&&(D.current=!0,_(S[hv(w,e,S.length)]),h(e=>e+1))};(0,U.useLayoutEffect)(()=>{u&&(v.current?.focus({preventScroll:!0}),v.current?.select())},[u]),(0,U.useLayoutEffect)(()=>{let e=E.current,t=e?.querySelector(`.transcript-find-controls`);if(!n||!o||!e||!t)return;let r=()=>{let n=Math.max(240,t.getBoundingClientRect().width+76);e.dataset.findBelow=String(o.getBoundingClientRect().width<n)};r();let i=new ResizeObserver(r);return i.observe(o),i.observe(t),()=>i.disconnect()},[n,o]),(0,U.useLayoutEffect)(()=>{b.query===f&&T&&(T.key!==g?.key||T.start!==g.start)&&_(T)},[T,g,b.query,f]),(0,U.useLayoutEffect)(()=>{let r=t.current;if(!n||!u||!f.trim()||!r){x({query:f,matches:[],ranges:[]});return}let i=()=>x(See(r,e,f));i();let a=new MutationObserver(i);return a.observe(r,{childList:!0,characterData:!0,subtree:!0}),()=>a.disconnect()},[e,f,u,n,t]),(0,U.useLayoutEffect)(()=>{if(!n)return;let e=new Highlight;for(let t of C)e.add(t);return CSS.highlights.set(`transcript-find`,e),()=>{CSS.highlights.get(`transcript-find`)===e&&CSS.highlights.delete(`transcript-find`)}},[C,n]),(0,U.useLayoutEffect)(()=>{if(!n||b.query!==f)return;let e=C[w],a=new Highlight(...e?[e]:[]);a.priority=1,CSS.highlights.set(`transcript-find-current`,a);let o=t.current;if(D.current&&e&&o){let t=e.getBoundingClientRect(),n=o.getBoundingClientRect(),a=v.current?.getBoundingClientRect(),s=gv(t,{top:a&&a.bottom>n.top&&t.right>a.left&&t.left<a.right?a.bottom+8:n.top,bottom:n.bottom-r,scrollTop:o.scrollTop});t.height&&s!==null&&(i?.(),o.scrollTo({top:s,behavior:jf()}))}return D.current=!1,()=>{CSS.highlights.get(`transcript-find-current`)===a&&CSS.highlights.delete(`transcript-find-current`)}},[C,w,g,m,n,r,t,b.query,f]),(0,U.useEffect)(()=>{if(!n)return;let e=e=>{e.defaultPrevented||e.isComposing||e.altKey||document.querySelector(`dialog:modal, [aria-modal="true"]`)||(Cv(e)&&(e.code===`KeyF`||e.code===`KeyG`)?(e.preventDefault(),e.stopPropagation(),e.code===`KeyF`?k():O&&j(e.shiftKey?-1:1)):e.key===`Escape`&&u&&(E.current?.contains(e.target)||t.current?.contains(e.target))&&(e.preventDefault(),e.stopPropagation(),A()))};return window.addEventListener(`keydown`,e,!0),()=>window.removeEventListener(`keydown`,e,!0)});let M=(0,G.jsxs)(`div`,{ref:E,className:`transcript-toolbar`,children:[(0,G.jsxs)(`div`,{className:`transcript-find`,"data-open":u,onBlur:e=>{u&&!e.currentTarget.contains(e.relatedTarget)&&!O&&(d(!1),a(!1))},children:[(0,G.jsx)(`button`,{ref:y,type:`button`,"data-testid":`transcript-find-open`,className:`ghost-btn transcript-find-trigger`,"aria-label":W(`Search the transcript`),title:`${W(`Search the transcript`)} (${Sv(`⌘F`)})`,"aria-expanded":u,"aria-hidden":u,"aria-controls":l,tabIndex:u?-1:0,onClick:k,children:(0,G.jsx)(W_,{size:14,strokeWidth:1.75,"aria-hidden":`true`})}),(0,G.jsx)(`div`,{id:l,className:`transcript-find-clip`,inert:!u,"aria-hidden":!u,children:(0,G.jsxs)(`div`,{className:`transcript-search-field`,children:[(0,G.jsx)(W_,{size:14,strokeWidth:1.75,"aria-hidden":`true`,className:`shrink-0 text-muted`}),(0,G.jsx)(`input`,{ref:v,"data-testid":`transcript-search`,value:f,onChange:e=>{D.current=!0,_(null),p(e.target.value)},onKeyDown:e=>{e.nativeEvent.isComposing||e.key===`Enter`&&(e.preventDefault(),j(e.shiftKey?-1:1))},placeholder:W(`Search`),"aria-label":W(`Search the transcript`),"aria-describedby":c,spellCheck:!1}),(0,G.jsxs)(`span`,{className:`transcript-find-controls`,children:[(0,G.jsxs)(`span`,{className:`transcript-find-results`,"data-visible":O,inert:!O,"aria-hidden":!O,children:[(0,G.jsxs)(`span`,{className:`transcript-find-count`,children:[(0,G.jsx)(`span`,{"aria-hidden":`true`,className:`transcript-find-reserve`,children:W(`{current} of {count}`,{current:99999,count:99999})}),(0,G.jsx)(`span`,{"aria-hidden":`true`,className:`transcript-find-reserve`,children:W(`No matches`)}),(0,G.jsx)(`span`,{id:c,"data-testid":`transcript-find-count`,role:`status`,"aria-live":`polite`,"aria-atomic":`true`,children:O?S.length?W(`{current} of {count}`,{current:w+1,count:S.length}):W(`No matches`):``})]}),(0,G.jsxs)(`span`,{className:`transcript-find-arrows`,children:[(0,G.jsx)(`button`,{type:`button`,"data-testid":`transcript-find-previous`,className:`ghost-btn workspace-icon`,disabled:!S.length,"aria-label":W(`Previous match`),title:`${W(`Previous match`)} (⇧Enter · ${Sv(`⇧⌘G`)})`,"aria-keyshortcuts":`Shift+Enter ${wv()?`Meta`:`Control`}+Shift+G`,onClick:()=>j(-1),children:(0,G.jsx)(Dg,{size:14,strokeWidth:1.75,"aria-hidden":`true`})}),(0,G.jsx)(`button`,{type:`button`,"data-testid":`transcript-find-next`,className:`ghost-btn workspace-icon`,disabled:!S.length,"aria-label":W(`Next match`),title:`${W(`Next match`)} (Enter · ${Sv(`⌘G`)})`,"aria-keyshortcuts":`Enter ${wv()?`Meta`:`Control`}+G`,onClick:()=>j(1),children:(0,G.jsx)(xg,{size:14,strokeWidth:1.75,"aria-hidden":`true`})})]})]}),(0,G.jsx)(`button`,{type:`button`,"data-testid":`transcript-find-close`,className:`ghost-btn workspace-icon transcript-find-close`,"aria-label":W(`Close`),title:`${W(`Close`)} (Esc)`,"aria-keyshortcuts":`Escape`,onClick:A,children:(0,G.jsx)(av,{size:14,strokeWidth:1.75,"aria-hidden":`true`})})]})]})})]}),s&&(0,G.jsx)(`div`,{className:`transcript-actions`,children:(0,G.jsx)(`button`,{"data-testid":`transcript-close`,onClick:s,"aria-label":W(`Hide transcript`),title:W(`Hide transcript`),className:`ghost-btn workspace-icon`,children:(0,G.jsx)(xg,{size:15,"aria-hidden":`true`})})})]});return n?o?(0,De.createPortal)(M,o):M:null}function Dv(){return null}var Ov=900,kv=24,Av=8,jv=24;function Mv(e,t){let n=!1,r=!1,i=!1,a=!1,o=e.scrollTop,s=0,c=0,l=!1,u,d=()=>i||a||t.contains(document.activeElement)||!e.clientHeight||e.scrollHeight-e.clientHeight-e.scrollTop<=jv,f=e=>{let n=e&&!d();l!==n&&(l=n,t.dataset.hidden=String(l))},p=()=>{n=!1,s=0,c=0,o=e.scrollTop,clearTimeout(u),u=void 0,f(!1)},m=()=>{clearTimeout(u),u=setTimeout(p,Ov)},h=()=>{n||(s=0,c=0),n=!0,m()},g=()=>{let t=e.scrollTop-o;if(o=e.scrollTop,d()){p();return}if(!n||!t)return;let r=Math.sign(t);c=r===s?c+Math.abs(t):Math.abs(t),s=r,r>0&&c>=kv&&f(!0),r<0&&c>=Av&&f(!1),m()},_=e=>{e.isTrusted&&!e.ctrlKey&&Math.abs(e.deltaY)>Math.abs(e.deltaX)&&h()},v=e=>{!e.isTrusted||e.defaultPrevented||e.ctrlKey||e.metaKey||e.altKey||![`ArrowUp`,`ArrowDown`,`PageUp`,`PageDown`,`Home`,`End`,` `].includes(e.key)||e.target.closest(`input, textarea, button, [contenteditable="true"]`)||h()},y=e=>{e.isTrusted&&h()},b=t=>{if(!t.isTrusted||t.button!==0||t.target!==e)return;let n=e.getBoundingClientRect(),i=t.clientX-n.left;(i<=Math.max(e.clientLeft,12)||i>=Math.min(e.clientLeft+e.clientWidth,n.width-12))&&(r=!0,h())},x=e=>{r&&e.isTrusted&&h()},S=()=>{r=!1},C=e=>{e.pointerType!==`touch`&&(a=!0,p())},w=()=>{a=!1},T=()=>{d()&&p()},E=new ResizeObserver(T);E.observe(e);let D=new MutationObserver(T);return D.observe(e,{childList:!0,subtree:!0}),e.addEventListener(`scroll`,g,{passive:!0}),e.addEventListener(`wheel`,_,{passive:!0}),e.addEventListener(`touchmove`,y,{passive:!0}),e.addEventListener(`keydown`,v),e.addEventListener(`pointerdown`,b),document.addEventListener(`pointermove`,x,{passive:!0}),document.addEventListener(`pointerup`,S),document.addEventListener(`pointercancel`,S),t.addEventListener(`pointerenter`,C),t.addEventListener(`pointerleave`,w),t.addEventListener(`focusin`,p),t.dataset.hidden=`false`,{programmatic:p,pin(e){i=e,p()},dispose(){clearTimeout(u),E.disconnect(),D.disconnect(),e.removeEventListener(`scroll`,g),e.removeEventListener(`wheel`,_),e.removeEventListener(`touchmove`,y),e.removeEventListener(`keydown`,v),e.removeEventListener(`pointerdown`,b),document.removeEventListener(`pointermove`,x),document.removeEventListener(`pointerup`,S),document.removeEventListener(`pointercancel`,S),t.removeEventListener(`pointerenter`,C),t.removeEventListener(`pointerleave`,w),t.removeEventListener(`focusin`,p),delete t.dataset.hidden}}}var Nv=new Map,Pv=new Map,Fv=e=>Nv.get(e);function Iv(){for(let[e,t]of Pv)t.clientHeight&&Nv.set(e,t.scrollTop)}function Lv(e,t=!0){let n=(0,U.useRef)(null);return(0,U.useLayoutEffect)(()=>{let r=n.current;if(!r)return;Pv.set(e,r),t&&Nv.has(e)&&(r.scrollTop=Nv.get(e));let i=()=>{r.clientHeight&&Nv.set(e,r.scrollTop)};return r.addEventListener(`scroll`,i,{passive:!0}),()=>{Pv.delete(e),r.removeEventListener(`scroll`,i)}},[e,t]),n}var Rv=e=>(e.startMs+e.endMs)/2,zv=e=>e.map((e,t)=>t===0||e.glue?e.text:` `+e.text).join(``),Bv=e=>e.toLocaleLowerCase().replace(/[^\p{L}\p{N}']/gu,``),Vv=(e,t)=>e===t||Math.min(e.length,t.length)>=4&&(e.startsWith(t)||t.startsWith(e)),Hv=500;function Uv(e,t){let n=t.split(/\s+/).map(Bv).filter(Boolean).slice(-40),r=e.slice(0,60).map(e=>Bv(e.text));if(!n.length||!r.length)return 0;let i=Array(n.length+1).fill(0),a=0,o=0;for(let e=1;e<=r.length;e++){let t=[e];for(let a=1;a<=n.length;a++)t[a]=Math.min(i[a]+1,t[a-1]+1,i[a-1]+ +!Vv(r[e-1],n[a-1]));let s=t[n.length],c=e-2*s;s<=Math.floor(e/4)&&(e>=2||n.length===1)&&c>o&&(a=e,o=c),i=t}return a}function Wv(e,t){let n=e.filter(e=>!e.rough&&Rv(e)>=t.endMs),r=e.filter(e=>e.rough),i=Uv(r,t.text),a=r.filter(e=>Rv(e)<t.endMs-Hv).length;return[...n,...r.slice(i||a)].sort((e,t)=>e.startMs-t.startMs)}var Gv=e=>`${e.track}:${e.startMs}`,Kv=24,qv=400,Jv=e=>e.track===`me`?W(`You`):e.speaker||W(`Them`);function Yv(e){let[t,n]=(0,U.useState)([]),[r,i]=(0,U.useState)(!1),a=(0,U.useRef)(new Set);return(0,U.useEffect)(()=>{let t=!0;i(!1),n([]),a.current=new Set;let r=(t,r)=>n(n=>{let i=new Set(n.map(Gv)),o=t.filter(t=>t.meetingId===e&&!i.has(Gv(t)));if(r)for(let e of o)a.current.add(Gv(e));return o.length?[...n,...o].sort((e,t)=>e.startMs-t.startMs):n}),o=window.yogurt.transcript.onSegment(e=>r([e],!0));window.yogurt.transcript.get(e,{hidden:!0}).then(e=>{t&&(r(e,!1),i(!0))});let s=window.yogurt.transcript.onSpeakers(t=>{t===e&&window.yogurt.transcript.get(e,{hidden:!0}).then(e=>n(t=>{let n=new Map(e.map(e=>[Gv(e),e])),r=new Set(t.map(Gv));return[...t.map(e=>n.get(Gv(e))??e),...e.filter(e=>!r.has(Gv(e)))].sort((e,t)=>e.startMs-t.startMs)}))});return()=>{t=!1,o(),s()}},[e]),{lines:t,live:a,loaded:r}}var Xv=300,wee=50;function Tee(e,t){let[n,r]=(0,U.useState)({}),i=(0,U.useRef)({me:-1/0,them:-1/0});(0,U.useEffect)(()=>{if(r({}),i.current={me:-1/0,them:-1/0},!t)return;let n=window.yogurt.transcript.onPartial(t=>{if(t.meetingId!==e)return;let n=t.words??[];n.length&&(i.current[t.track]=Math.max(i.current[t.track],n.at(-1).endMs)),r(e=>({...e,[t.track]:{track:t.track,startMs:n[0]?.startMs??t.startMs,endMs:n.at(-1)?.endMs??t.startMs,text:t.text,words:n}}))}),a=window.yogurt.transcript.onSegment(t=>{t.meetingId===e&&r(e=>{let n=e[t.track];if(!n)return e;let r=Wv(n.words,{endMs:t.endMs,text:t.text});return{...e,[t.track]:{...n,words:r,text:zv(r),startMs:r[0]?.startMs??n.startMs}}})});return()=>{n(),a()}},[e,t]);let a=(0,U.useCallback)(e=>e.startMs<i.current[e.track]+500,[]);return{live:[`me`,`them`].map(e=>n[e]).filter(e=>!!e&&e.words.length>0),previewed:a}}function Eee({said:e}){let t=(0,U.useRef)({words:[],keys:[],next:0}),n=e.words.map(e=>e.text),r=bee(t.current.words,t.current.keys,n,t.current.next);return t.current={words:n,keys:r.keys,next:r.next},(0,G.jsxs)(`span`,{"data-testid":`transcript-partial`,"data-track":e.track,"data-start":e.startMs,"aria-live":`off`,className:`live-words`,children:[e.words.map((e,t)=>(0,G.jsx)(`span`,{className:`live-word`,children:t===0||e.glue?e.text:` ${e.text}`},r.keys[t])),(0,G.jsxs)(`span`,{className:`live-dots`,"aria-hidden":`true`,children:[(0,G.jsx)(`i`,{}),(0,G.jsx)(`i`,{}),(0,G.jsx)(`i`,{})]})]})}var Dee=(0,U.memo)(function({line:e,focused:t,name:n,playing:r,playable:i,focusable:a,arrived:o,onPlay:s,onFocusLine:c}){lv(),window.yogurt.fake&&(window.__rowRenders=(window.__rowRenders??0)+1);let l=Gv(e),u=dv(e.startMs);return(0,G.jsxs)(`span`,{"data-key":l,"data-testid":`transcript-line`,"data-track":e.track,"data-start":e.startMs,"data-playing":r||void 0,role:i?`button`:void 0,"aria-label":i?W(`Play from {time}, {name}: {text}`,{time:u,name:n,text:e.text}):void 0,tabIndex:i?a?0:-1:void 0,onFocus:e=>{e.target===e.currentTarget&&c(l)},onClick:t=>s(e,t),title:u,"data-hidden":e.hidden||void 0,"data-focused":t||void 0,className:`line ${o===`fade`?`line-in`:o===`settle`?`line-settle`:``} ${i?`line-playable cursor-pointer`:``}`,children:[(0,G.jsx)(`span`,{"data-testid":`transcript-text`,children:e.text}),(0,G.jsx)(`time`,{"data-testid":`transcript-time`,className:`sr-only`,children:u})]})});function Zv({id:e,recording:t,inline:n=!1,active:r=!0,onClose:i,focus:a,toolbar:o}){let{lines:s,live:c,loaded:l}=Yv(e),u=cv(!l),{live:d,previewed:f}=Tee(e,t),p=(0,U.useMemo)(()=>uv(yee(s,d)).filter(e=>!e.echo),[s,d]),m=(0,U.useMemo)(()=>uv(s).filter(e=>!e.echo).flatMap(e=>e.lines),[s]),[h,g]=(0,U.useState)(!1),[_,v]=(0,U.useState)(!1);(0,U.useEffect)(()=>{g(!1),v(!1)},[e]);let[y,b]=(0,U.useState)([]);(0,U.useEffect)(()=>{if(b([]),t)return;let n=!0,r=!1,i=window.yogurt.audio.onDeleted(t=>{t===e&&(document.activeElement?.closest(`[data-testid="player"], [data-testid="recording-delete-confirm"]`)&&(F.current?.setAttribute(`tabindex`,`-1`),F.current?.focus({preventScroll:!0})),r=!0,b([]),re(!1),N(null))});return window.yogurt.audio.tracks(e).then(e=>{n&&!r&&b(e)}),()=>{n=!1,i()}},[e,t]);let x=(0,U.useRef)(null),S=y.length>0,C=(0,U.useRef)(null),[w,T]=(0,U.useState)(0),E=(0,U.useRef)(null);(0,U.useLayoutEffect)(()=>{let e=C.current;if(!e){T(0);return}let t=()=>T(e.getBoundingClientRect().height+28);t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[S,r]);let[D,O]=(0,U.useState)(),[k,A]=(0,U.useState)(0),j=(0,U.useRef)(0),M=(0,U.useRef)(m);M.current=m;let N=(0,U.useCallback)((e,t=!1)=>{let n=e==null?-1:fv(M.current,e),r=n<0?void 0:Gv(M.current[n]);O(e=>e===r?e:r),t&&A(e=>e+1)},[]),P=`transcript/${e}`,F=Lv(P,r&&l);(0,U.useLayoutEffect)(()=>{let e=F.current,t=C.current;if(!r||!S||!e||!t)return;let n=Mv(e,t);return E.current=n,()=>{n.dispose(),E.current=null}},[e,r,S]);let I=(0,U.useRef)(Fv(P)===void 0),[L,R]=(0,U.useState)(!1),ee=()=>{let e=F.current;e&&(ae.current===null&&(H.current=performance.now(),de()),I.current=e.scrollHeight-e.scrollTop-e.clientHeight<Kv,R(!I.current))};(0,U.useLayoutEffect)(()=>{let e=F.current;r&&t&&!h&&e&&I.current&&(E.current?.programmatic(),e.scrollTop=e.scrollHeight)},[m,d,t,r,h]);let z=()=>{let e=F.current;e&&(E.current?.programmatic(),I.current=!0,R(!1),e.scrollTo({top:e.scrollHeight,behavior:jf()}))},te=e=>e?F.current?.querySelector(`[data-key="${CSS.escape(e)}"]`)??null:null,[ne,re]=(0,U.useState)(!1),ie=(0,U.useRef)(!0),[B,V]=(0,U.useState)(null),ae=(0,U.useRef)(null),H=(0,U.useRef)(0),oe=(0,U.useRef)(D);oe.current=D,(0,U.useEffect)(()=>{ie.current=!0,V(null)},[e]);let se=e=>{let t=F.current,n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=r.top-n.top+t.scrollTop;return{row:{top:i,bottom:i+r.height},view:{scrollTop:t.scrollTop,height:Math.max(0,t.clientHeight-w),scrollHeight:t.scrollHeight}}},ce=e=>{let t=F.current,n=te(oe.current);if(h||!t||!n||!e&&performance.now()-H.current<qv)return;let{row:r,view:i}=se(n),a=Sf(r,i,e);if(!(a===null||!ae.current&&Math.abs(a-t.scrollTop)<2)){if(!ae.current){let e=Nf(t,()=>requestAnimationFrame(()=>{ae.current===e&&!e.active&&(ae.current=null)}));ae.current=e}E.current?.programmatic(),ae.current.to(a)}};(0,U.useEffect)(()=>{k===j.current?ne&&ie.current&&ce(!1):(j.current=k,ie.current=!0,V(null),ce(!0))},[D,ne,k]);let le=(0,U.useCallback)(()=>{ie.current=!0,V(null)},[]),ue=()=>{le(),ce(!0)},de=()=>{let e=F.current,n=te(oe.current);if(t||!e||!n)return;let{row:r,view:i}=se(n);ie.current=xf(r,i),V(ie.current?null:r.top<i.scrollTop?`up`:`down`)},fe=()=>{H.current=performance.now(),ae.current?.stop(),ae.current=null};(0,U.useEffect)(()=>()=>{ae.current?.stop(),ae.current=null},[e,r]);let pe=(0,U.useRef)(S);pe.current=S;let me=(0,U.useCallback)((e,t)=>{!pe.current||t.target.closest(`button, input, form`)||window.getSelection()?.toString()||(le(),x.current?.playFrom(e.startMs))},[le]),[he,ge]=(0,U.useState)(),_e=(0,U.useRef)(void 0);(0,U.useEffect)(()=>{if(!r||!a||_e.current===a.seq||!m.length)return;let e=m.filter(e=>!e.hidden),t=(a.match?e[pt(e.map(e=>e.text),a.match,Math.max(0,fv(e,a.ms)))]:void 0)??m[Math.max(0,fv(m,a.ms))];t&&(_e.current=a.seq,I.current=!1,v(!0),ge(Gv(t)),ye(Gv(t)),requestAnimationFrame(()=>{E.current?.programmatic(),te(Gv(t))?.scrollIntoView({block:`center`})}))},[a?.seq,m,r]),(0,U.useEffect)(()=>{if(!he)return;let e=window.setTimeout(()=>ge(void 0),2400);return()=>clearTimeout(e)},[he,a?.seq]);let[ve,ye]=(0,U.useState)(),be=ve??D??(m[0]&&Gv(m[0])),xe=e=>{let t=e.target.closest(`[data-testid="transcript-line"]`);if(!S||!t||t!==e.target)return;let n=m.findIndex(e=>Gv(e)===t.dataset.key);if(n<0)return;let r=e=>{let t=te(Gv(m[Math.max(0,Math.min(m.length-1,e))]));E.current?.programmatic(),t?.focus({preventScroll:!0}),t?.scrollIntoView({block:`nearest`})};e.key===`ArrowDown`?(e.preventDefault(),r(n+1)):e.key===`ArrowUp`?(e.preventDefault(),r(n-1)):e.key===`Home`?(e.preventDefault(),r(0)):e.key===`End`?(e.preventDefault(),r(m.length-1)):(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),le(),x.current?.playFrom(m[n].startMs))},Se=(0,U.useMemo)(()=>p.map(e=>({...e,k:Gv(e.lines[0])})),[p]),Ce=(0,U.useMemo)(()=>t&&!_?xee(Se,Xv,wee):{runs:Se,earlier:0},[Se,t,_]),we=(0,U.useCallback)(e=>{g(e),e&&(v(!0),I.current=!1,ae.current?.stop(),ae.current=null)},[]);return(0,G.jsxs)(n?`section`:`aside`,{style:{"--playback-inset":`${w}px`},"data-testid":`transcript-panel`,"aria-label":W(`Transcript`),onKeyDown:e=>{!n&&e.key===`Escape`&&(e.stopPropagation(),i?.())},className:n?`transcript-inline`:`chat-in pointer-events-auto absolute inset-x-0 bottom-1 z-20 mx-auto flex h-[min(44vh,480px)] w-[min(720px,calc(100%-48px))] flex-col rounded-xl border border-line bg-float shadow-[var(--shadow)]`,children:[(0,G.jsx)(Cee,{lines:m,list:F,active:r,playbackInset:w,beforeScroll:()=>E.current?.programmatic(),onFinding:we,toolbar:o,onClose:n?void 0:i},e),(0,G.jsxs)(`div`,{className:`transcript-scroll-wrap relative flex min-h-0 flex-1 flex-col`,children:[(0,G.jsx)(Jh,{enabled:r&&l,children:(0,G.jsxs)(`ol`,{"data-loaded":l,"data-loading-phase":u,"data-testid":`transcript`,ref:F,onScroll:ee,onWheel:fe,onTouchStart:fe,onPointerDown:fe,onKeyDownCapture:fe,onKeyDown:xe,className:`loading-content transcript-loading-content flex flex-1 flex-col gap-2 overflow-y-auto px-4 pb-4 pt-2 text-sm leading-[1.55]`,children:[u!==`ready`&&(0,G.jsx)(`li`,{className:`loading-placeholder`,children:(0,G.jsx)(sv,{layout:`transcript`})}),l&&s.length===0&&d.length===0&&(0,G.jsx)(`li`,{"data-testid":`transcript-empty`,className:`note-empty empty-state`,children:(0,G.jsxs)(`div`,{className:`empty-state-content`,children:[(0,G.jsx)(`div`,{className:`empty-tile`,children:(0,G.jsx)(dg,{size:28,strokeWidth:1.5,"aria-hidden":`true`})}),W(`Nothing heard yet.`)]})}),Ce.earlier>0&&(0,G.jsx)(`li`,{className:`flex justify-center`,children:(0,G.jsx)(`button`,{"data-testid":`transcript-earlier`,onClick:()=>{E.current?.programmatic(),I.current=!1,v(!0)},className:`ghost-btn`,children:W(`Show earlier lines`)})}),Ce.runs.map(e=>(0,G.jsx)(U.Fragment,{children:_ee(e.lines).map(e=>{let t=e[0].track===`me`,n=e[0],r=t||!(`speakerColor`in n)?void 0:n.speakerColor,i=e.some(e=>!(`live`in e));return(0,G.jsxs)(`li`,{"data-testid":`transcript-turn`,"data-track":n.track,className:`transcript-turn flex flex-col gap-[5px] ${t?`items-end`:`items-start`}`,children:[(0,G.jsxs)(`p`,{className:t?`sr-only`:`turn-head flex items-baseline gap-2 px-1 text-xs`,children:[(0,G.jsx)(`span`,{"data-testid":`transcript-who`,"data-color":r,"data-folder-color":r===void 0?void 0:Dt[r],className:`line-who font-medium ${t?``:`text-muted`} ${i?`name-in`:`invisible`}`,children:Jv(n)}),(0,G.jsx)(`time`,{className:`turn-time tabular-nums text-muted`,children:dv(n.startMs)})]}),vee(e).map(e=>(0,G.jsx)(`p`,{"data-testid":`transcript-bubble`,"data-track":n.track,dir:`auto`,className:`bubble ${t?`bubble-me`:`bubble-them`}`,children:e.map((e,t)=>{if(`live`in e)return(0,G.jsxs)(U.Fragment,{children:[t>0&&` `,(0,G.jsx)(Eee,{said:e.live})]},`live`);let n=Gv(e);return(0,G.jsxs)(U.Fragment,{children:[t>0&&` `,(0,G.jsx)(Dee,{line:e,focused:n===he,name:Jv(e),playing:n===D,playable:S,focusable:n===be,arrived:c.current.has(n)?f(e)?`settle`:`fade`:null,onPlay:me,onFocusLine:ye})]},n)})},Gv(e[0])))]},Gv(n))})},e.k))]})}),t&&L&&!h&&(0,G.jsxs)(`button`,{"data-testid":`transcript-latest`,onClick:z,className:`workspace-button absolute bottom-3 start-1/2 -translate-x-1/2 rtl:translate-x-1/2`,children:[(0,G.jsx)(og,{size:12,"aria-hidden":`true`}),W(`Latest`)]}),!t&&ne&&B&&D&&!h&&(0,G.jsxs)(`button`,{"data-testid":`transcript-follow`,onClick:ue,className:`workspace-button absolute bottom-3 start-1/2 -translate-x-1/2 rtl:translate-x-1/2`,children:[(0,G.jsx)(og,{size:12,"aria-hidden":`true`,className:`follow-arrow`,"data-up":B===`up`}),W(`Back to playing`)]})]}),r&&S&&(0,G.jsx)(`div`,{ref:C,className:`transcript-player-dock`,children:(0,G.jsx)(Dv,{ref:x,id:e,tracks:y,onTime:N,onPlaying:re,onBusy:e=>E.current?.pin(e)})})]})}function Qv({part:e,outline:t=!0}){return(0,G.jsxs)(`div`,{"data-testid":`note-enhanced-waiting`,className:`summary-waiting`,"aria-live":`polite`,children:[t&&(0,G.jsx)(`div`,{className:`summary-outline`,"aria-hidden":`true`,children:[0,1].map(e=>(0,G.jsxs)(`div`,{className:`summary-outline-block`,children:[(0,G.jsx)(`div`,{className:`summary-outline-bar summary-outline-heading`}),[0,1].map(e=>(0,G.jsx)(`div`,{className:`summary-outline-bullet`,children:(0,G.jsx)(`div`,{className:`summary-outline-bar`})},e))]},e))}),(0,G.jsx)(`span`,{className:`sr-only`,children:e?W(`Reading a long meeting, part {part} of {of}…`,{part:e.part,of:e.of}):W(`Reading the transcript…`)})]})}function $v(e){this.content=e}$v.prototype={constructor:$v,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return t==-1?void 0:this.content[t+1]},update:function(e,t,n){var r=n&&n!=e?this.remove(n):this,i=r.find(e),a=r.content.slice();return i==-1?a.push(n||e,t):(a[i+1]=t,n&&(a[i]=n)),new $v(a)},remove:function(e){var t=this.find(e);if(t==-1)return this;var n=this.content.slice();return n.splice(t,2),new $v(n)},addToStart:function(e,t){return new $v([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new $v(n)},addBefore:function(e,t,n){var r=this.remove(t),i=r.content.slice(),a=r.find(e);return i.splice(a==-1?i.length:a,0,t,n),new $v(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return e=$v.from(e),e.size?new $v(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=$v.from(e),e.size?new $v(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=$v.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}},$v.from=function(e){if(e instanceof $v)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new $v(t)};function ey(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),a=t.child(r);if(i==a)n+=i.nodeSize;else{if(!i.sameMarkup(a))return n;if(i.isText&&i.text!=a.text){let e=i.text,t=a.text,r=0;for(;e[r]==t[r];r++)n++;return r&&r<e.length&&r<t.length&&ry(e.charCodeAt(r-1))&&ny(e.charCodeAt(r))&&n--,n}if(i.content.size||a.content.size){let e=ey(i.content,a.content,n+1);if(e!=null)return e}n+=i.nodeSize}}}function ty(e,t,n,r){for(let i=e.childCount,a=t.childCount;;){if(i==0||a==0)return i==a?null:{a:n,b:r};let o=e.child(--i),s=t.child(--a),c=o.nodeSize;if(o==s)n-=c,r-=c;else{if(!o.sameMarkup(s))return{a:n,b:r};if(o.isText&&o.text!=s.text){let e=o.text,t=s.text,i=e.length,a=t.length;for(;i>0&&a>0&&e[i-1]==t[a-1];)i--,a--,n--,r--;return i&&a&&i<e.length&&ry(e.charCodeAt(i-1))&&ny(e.charCodeAt(i))&&(n++,r++),{a:n,b:r}}if(o.content.size||s.content.size){let e=ty(o.content,s.content,n-1,r-1);if(e)return e}n-=c,r-=c}}}function ny(e){return e>=56320&&e<57344}function ry(e){return e>=55296&&e<56320}var K=class e{constructor(e,t){if(this.content=e,this.size=t||0,t==null)for(let t=0;t<e.length;t++)this.size+=e[t].nodeSize}nodesBetween(e,t,n,r=0,i){for(let a=0,o=0;o<t;a++){let s=this.content[a],c=o+s.nodeSize;if(c>e&&n(s,r+o,i||null,a)!==!1&&s.content.size){let i=o+1;s.nodesBetween(Math.max(0,e-i),Math.min(s.content.size,t-i),n,r+i)}o=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let i=``,a=!0;return this.nodesBetween(e,t,(o,s)=>{let c=o.isText?o.text.slice(Math.max(e,s)-s,t-s):o.isLeaf?r?typeof r==`function`?r(o):r:o.type.spec.leafText?o.type.spec.leafText(o):``:``;o.isBlock&&(o.isLeaf&&c||o.isTextblock)&&n&&(a?a=!1:i+=n),i+=c},0),i}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,i=this.content.slice(),a=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),a=1);a<t.content.length;a++)i.push(t.content[a]);return new e(i,this.size+t.size)}cut(t,n=this.size){if(t==0&&n==this.size)return this;let r=[],i=0;if(n>t)for(let e=0,a=0;a<n;e++){let o=this.content[e],s=a+o.nodeSize;s>t&&((a<t||s>n)&&(o=o.isText?o.cut(Math.max(0,t-a),Math.min(o.text.length,n-a)):o.cut(Math.max(0,t-a-1),Math.min(o.content.size,n-a-1))),r.push(o),i+=o.nodeSize),a=s}return new e(r,i)}cutByIndex(t,n){return t==n?e.empty:t==0&&n==this.content.length?this:new e(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),a=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new e(i,a)}addToStart(t){return new e([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new e(this.content.concat(t),this.size+t.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw RangeError(`Index `+e+` out of range for `+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let r=this.content[t];e(r,n,t),n+=r.nodeSize}}findDiffStart(e,t=0){return ey(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return ty(this,e,t,n)}findIndex(e){if(e==0)return ay(0,e);if(e==this.size)return ay(this.content.length,e);if(e>this.size||e<0)throw RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,n=0;;t++){let r=this.child(t),i=n+r.nodeSize;if(i>=e)return i==e?ay(t+1,i):ay(t,n);n=i}}toString(){return`<`+this.toStringInner()+`>`}toStringInner(){return this.content.join(`, `)}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(t,n){if(!n)return e.empty;if(!Array.isArray(n))throw RangeError(`Invalid input for Fragment.fromJSON`);return e.fromArray(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return e.empty;let n,r=0;for(let e=0;e<t.length;e++){let i=t[e];r+=i.nodeSize,e&&i.isText&&t[e-1].sameMarkup(i)?(n||=t.slice(0,e),n[n.length-1]=i.withText(n[n.length-1].text+i.text)):n&&n.push(i)}return new e(n||t,r)}static from(t){if(!t)return e.empty;if(t instanceof e)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new e([t],t.nodeSize);throw RangeError(`Can not convert `+t+` to a Fragment`+(t.nodesBetween?` (looks like multiple versions of prosemirror-model were loaded)`:``))}};K.empty=new K([],0);var iy={index:0,offset:0};function ay(e,t){return iy.index=e,iy.offset=t,iy}function oy(e,t){if(e===t)return!0;if(!(e&&typeof e==`object`)||!(t&&typeof t==`object`))return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!oy(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!oy(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}var sy=class e{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(this.eq(i))return e;if(this.type.excludes(i.type))t||=e.slice(0,r);else if(i.type.excludes(this.type))return e;else!n&&i.type.rank>this.type.rank&&(t||=e.slice(0,r),t.push(this),n=!0),t&&t.push(i)}return t||=e.slice(),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&oy(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw RangeError(`Invalid input for Mark.fromJSON`);let n=e.marks[t.type];if(!n)throw RangeError(`There is no mark type ${t.type} in this schema`);return n.create(t.attrs)}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return e.none;if(t instanceof e)return[t];let n=t.slice();return n.sort((e,t)=>e.type.rank-t.type.rank),n}};sy.none=[];var cy=class extends Error{},q=class e{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=uy(this.content,t+this.openStart,n,this.openStart+1,this.openEnd+1);return r&&new e(r,this.openStart,this.openEnd)}removeBetween(t,n){return new e(ly(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+`(`+this.openStart+`,`+this.openEnd+`)`}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(t,n){if(!n)return e.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!=`number`||typeof i!=`number`)throw RangeError(`Invalid input for Slice.fromJSON`);return new e(K.fromJSON(t,n.content),r,i)}static maxOpen(t,n=!0){let r=0,i=0;for(let e=t.firstChild;e&&!e.isLeaf&&(n||!e.type.spec.isolating);e=e.firstChild)r++;for(let e=t.lastChild;e&&!e.isLeaf&&(n||!e.type.spec.isolating);e=e.lastChild)i++;return new e(t,r,i)}};q.empty=new q(K.empty,0,0);function ly(e,t,n){let{index:r,offset:i}=e.findIndex(t),a=e.maybeChild(r),{index:o,offset:s}=e.findIndex(n);if(i==t||a.isText){if(s!=n&&!e.child(o).isText)throw RangeError(`Removing non-flat range`);return e.cut(0,t).append(e.cut(n))}if(r!=o)throw RangeError(`Removing non-flat range`);return e.replaceChild(r,a.copy(ly(a.content,t-i-1,n-i-1)))}function uy(e,t,n,r,i,a){let{index:o,offset:s}=e.findIndex(t),c=e.maybeChild(o);if(s==t||c.isText)return a&&r<=0&&i<=0&&!a.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let l=uy(c.content,t-s-1,n,o==0?r-1:0,o==e.childCount-1?i-1:0,c);return l&&e.replaceChild(o,c.copy(l))}function Oee(e,t,n){if(n.openStart>e.depth)throw new cy(`Inserted content deeper than insertion position`);if(e.depth-n.openStart!=t.depth-n.openEnd)throw new cy(`Inconsistent open depths`);return dy(e,t,n,0)}function dy(e,t,n,r){let i=e.index(r),a=e.node(r);if(i==t.index(r)&&r<e.depth-n.openStart){let o=dy(e,t,n,r+1);return a.copy(a.content.replaceChild(i,o))}if(!n.content.size)return gy(a,vy(e,t,r));if(!n.openStart&&!n.openEnd&&e.depth==r&&t.depth==r){let r=e.parent,i=r.content;return gy(r,i.cut(0,e.parentOffset).append(n.content).append(i.cut(t.parentOffset)))}{let{start:i,end:o}=kee(n,e);return gy(a,_y(e,i,o,t,r))}}function fy(e,t){if(!t.type.compatibleContent(e.type))throw new cy(`Cannot join `+t.type.name+` onto `+e.type.name)}function py(e,t,n){let r=e.node(n);return fy(r,t.node(n)),r}function my(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function hy(e,t,n,r){let i=(t||e).node(n),a=0,o=t?t.index(n):i.childCount;e&&(a=e.index(n),e.depth>n?a++:e.textOffset&&(my(e.nodeAfter,r),a++));for(let e=a;e<o;e++)my(i.child(e),r);t&&t.depth==n&&t.textOffset&&my(t.nodeBefore,r)}function gy(e,t){if(!e.type.validContent(t))throw new cy(`Invalid content for node `+e.type.name);return e.copy(t)}function _y(e,t,n,r,i){let a=e.depth>i&&py(e,t,i+1),o=r.depth>i&&py(n,r,i+1),s=[];return hy(null,e,i,s),a&&o&&t.index(i)==n.index(i)?(fy(a,o),my(gy(a,_y(e,t,n,r,i+1)),s)):(a&&my(gy(a,vy(e,t,i+1)),s),hy(t,n,i,s),o&&my(gy(o,vy(n,r,i+1)),s)),hy(r,null,i,s),new K(s)}function vy(e,t,n){let r=[];return hy(null,e,n,r),e.depth>n&&my(gy(py(e,t,n+1),vy(e,t,n+1)),r),hy(t,null,n,r),new K(r)}function kee(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let e=n-1;e>=0;e--)r=t.node(e).copy(K.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}var yy=class e{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw RangeError(`There is no position before the top-level node`);return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw RangeError(`There is no position after the top-level node`);return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[t*3],r=t==0?0:this.path[t*3-1]+1;for(let t=0;t<e;t++)r+=n.child(t).nodeSize;return r}marks(){let e=this.parent,t=this.index();if(e.content.size==0)return sy.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){let e=n;n=r,r=e}let i=n.marks;for(var a=0;a<i.length;a++)i[a].type.spec.inclusive!==!1||r&&i[a].isInSet(r.marks)||(i=i[a--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,r=e.parent.maybeChild(e.index());for(var i=0;i<n.length;i++)n[i].type.spec.inclusive!==!1||r&&n[i].isInSet(r.marks)||(n=n[i--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new xy(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e=``;for(let t=1;t<=this.depth;t++)e+=(e?`/`:``)+this.node(t).type.name+`_`+this.index(t-1);return e+`:`+this.parentOffset}static resolve(t,n){if(!(n>=0&&n<=t.content.size))throw RangeError(`Position `+n+` out of range`);let r=[],i=0,a=n;for(let e=t;;){let{index:t,offset:n}=e.content.findIndex(a),o=a-n;if(r.push(e,t,i+n),!o||(e=e.child(t),e.isText))break;a=o-1,i+=n+1}return new e(n,r,a)}static resolveCached(t,n){let r=by.get(t);if(r)for(let e=0;e<r.elts.length;e++){let t=r.elts[e];if(t.pos==n)return t}else by.set(t,r=new Aee);let i=r.elts[r.i]=e.resolve(t,n);return r.i=(r.i+1)%jee,i}},Aee=class{constructor(){this.elts=[],this.i=0}},jee=12,by=new WeakMap,xy=class{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}},Mee=Object.create(null),Sy=class e{constructor(e,t,n,r=sy.none){this.type=e,this.attrs=t,this.marks=r,this.content=n||K.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,r=0){this.content.nodesBetween(e,t,n,r,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,``)}textBetween(e,t,n,r){return this.content.textBetween(e,t,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&oy(this.attrs,t||e.defaultAttrs||Mee)&&sy.sameSet(this.marks,n||sy.none)}copy(t=null){return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}cut(e,t=this.content.size){return e==0&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return q.empty;let r=this.resolve(e),i=this.resolve(t),a=n?0:r.sharedDepth(t),o=r.start(a);return new q(r.node(a).content.cut(r.pos-o,i.pos-o),r.depth-a,i.depth-a)}replace(e,t,n){return Oee(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:r}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(r==e||t.isText)return t;e-=r+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let r=this.content.child(t-1);return{node:r,index:t-1,offset:n-r.nodeSize}}resolve(e){return yy.resolveCached(this,e)}resolveNoCache(e){return yy.resolve(this,e)}rangeHasMark(e,t,n){let r=!1;return t>e&&this.nodesBetween(e,t,e=>(n.isInSet(e.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+=`(`+this.content.toStringInner()+`)`),wy(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw Error(`Called contentMatchAt on a node with invalid content`);return t}canReplace(e,t,n=K.empty,r=0,i=n.childCount){let a=this.contentMatchAt(e).matchFragment(n,r,i),o=a&&a.matchFragment(this.content,t);if(!o||!o.validEnd)return!1;for(let e=r;e<i;e++)if(!this.type.allowsMarks(n.child(e).marks))return!1;return!0}canReplaceWith(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;let i=this.contentMatchAt(e).matchType(n),a=i&&i.matchFragment(this.content,t);return a?a.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),Ty(this.type.attrs,this.attrs,`node`,this.type.name);let e=sy.none;for(let t=0;t<this.marks.length;t++){let n=this.marks[t];Ty(n.type.attrs,n.attrs,`mark`,n.type.name),e=n.addToSet(e)}if(!sy.sameSet(e,this.marks))throw RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(e=>e.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(e=>e.toJSON())),e}static fromJSON(e,t){if(!t)throw RangeError(`Invalid input for Node.fromJSON`);let n;if(t.marks){if(!Array.isArray(t.marks))throw RangeError(`Invalid mark data for Node.fromJSON`);n=t.marks.map(e.markFromJSON)}if(t.type==`text`){if(typeof t.text!=`string`)throw RangeError(`Invalid text node in JSON`);return e.text(t.text,n)}let r=K.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,r,n)}};Sy.prototype.text=void 0;var Cy=class e extends Sy{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw RangeError(`Empty text nodes are not allowed`);this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):wy(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new e(this.type,this.attrs,t,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};function wy(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+`(`+t+`)`;return t}function Ty(e,t,n,r){for(let i in t)if(!(i in e))throw RangeError(`Unsupported attribute ${i} for ${n} of type ${r}`);for(let n in e)e[n].validate&&e[n].validate(t[n])}var Ey=class e{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new Dy(t,n);if(r.next==null)return e.empty;let i=Oy(r);r.next&&r.err(`Unexpected trailing text`);let a=Ry(Fy(i));return zy(a,r),a}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let r=this;for(let i=t;r&&i<n;i++)r=r.matchType(e.child(i).type);return r}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!(t.isText||t.hasRequiredAttrs()))return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let r=[this];function i(a,o){let s=a.matchFragment(e,n);if(s&&(!t||s.validEnd))return K.from(o.map(e=>e.createAndFill()));for(let e=0;e<a.next.length;e++){let{type:t,next:n}=a.next[e];if(!(t.isText||t.hasRequiredAttrs())&&r.indexOf(n)==-1){r.push(n);let e=i(n,o.concat(t));if(e)return e}}return null}return i(this,[])}findWrapping(e){for(let t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),i=r.match;if(i.matchType(e)){let e=[];for(let t=r;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<i.next.length;e++){let{type:a,next:o}=i.next[e];a.isLeaf||a.hasRequiredAttrs()||a.name in t||r.type&&!o.validEnd||(n.push({match:a.contentMatch,type:a,via:r}),t[a.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(n){e.push(n);for(let r=0;r<n.next.length;r++)e.indexOf(n.next[r].next)==-1&&t(n.next[r].next)}return t(this),e.map((t,n)=>{let r=n+(t.validEnd?`*`:` `)+` `;for(let n=0;n<t.next.length;n++)r+=(n?`, `:``)+t.next[n].type.name+`->`+e.indexOf(t.next[n].next);return r}).join(`-`)}};Ey.empty=new Ey(!0);var Dy=class{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==``&&this.tokens.pop(),this.tokens[0]==``&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw SyntaxError(e+` (in content expression '`+this.string+`')`)}};function Oy(e){let t=[];do t.push(ky(e));while(e.eat(`|`));return t.length==1?t[0]:{type:`choice`,exprs:t}}function ky(e){let t=[];do t.push(Ay(e));while(e.next&&e.next!=`)`&&e.next!=`|`);return t.length==1?t[0]:{type:`seq`,exprs:t}}function Ay(e){let t=Py(e);for(;;)if(e.eat(`+`))t={type:`plus`,expr:t};else if(e.eat(`*`))t={type:`star`,expr:t};else if(e.eat(`?`))t={type:`opt`,expr:t};else if(e.eat(`{`))t=My(e,t);else break;return t}function jy(e){/\D/.test(e.next)&&e.err(`Expected number, got '`+e.next+`'`);let t=Number(e.next);return e.pos++,t}function My(e,t){let n=jy(e),r=n;return e.eat(`,`)&&(r=e.next==`}`?-1:jy(e)),e.eat(`}`)||e.err(`Unclosed braced range`),{type:`range`,min:n,max:r,expr:t}}function Ny(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let e in n){let r=n[e];r.isInGroup(t)&&i.push(r)}return i.length==0&&e.err(`No node type or group '`+t+`' found`),i}function Py(e){if(e.eat(`(`)){let t=Oy(e);return e.eat(`)`)||e.err(`Missing closing paren`),t}if(/\W/.test(e.next))e.err(`Unexpected token '`+e.next+`'`);else{let t=Ny(e,e.next).map(t=>(e.inline==null?e.inline=t.isInline:e.inline!=t.isInline&&e.err(`Mixing inline and block content`),{type:`name`,value:t}));return e.pos++,t.length==1?t[0]:{type:`choice`,exprs:t}}}function Fy(e){let t=[[]];return i(a(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){let i={term:r,to:n};return t[e].push(i),i}function i(e,t){e.forEach(e=>e.to=t)}function a(e,t){if(e.type==`choice`)return e.exprs.reduce((e,n)=>e.concat(a(n,t)),[]);if(e.type==`seq`)for(let r=0;;r++){let o=a(e.exprs[r],t);if(r==e.exprs.length-1)return o;i(o,t=n())}else if(e.type==`star`){let o=n();return r(t,o),i(a(e.expr,o),o),[r(o)]}else if(e.type==`plus`){let o=n();return i(a(e.expr,t),o),i(a(e.expr,o),o),[r(o)]}else if(e.type==`opt`)return[r(t)].concat(a(e.expr,t));else if(e.type==`range`){let o=t;for(let t=0;t<e.min;t++){let t=n();i(a(e.expr,o),t),o=t}if(e.max==-1)i(a(e.expr,o),o);else for(let t=e.min;t<e.max;t++){let t=n();r(o,t),i(a(e.expr,o),t),o=t}return[r(o)]}else if(e.type==`name`)return[r(t,void 0,e.value)];else throw Error(`Unknown expr type`)}}function Iy(e,t){return t-e}function Ly(e,t){let n=[];return r(t),n.sort(Iy);function r(t){let i=e[t];if(i.length==1&&!i[0].term)return r(i[0].to);n.push(t);for(let e=0;e<i.length;e++){let{term:t,to:a}=i[e];!t&&n.indexOf(a)==-1&&r(a)}}}function Ry(e){let t=Object.create(null);return n(Ly(e,0));function n(r){let i=[];r.forEach(t=>{e[t].forEach(({term:t,to:n})=>{if(!t)return;let r;for(let e=0;e<i.length;e++)i[e][0]==t&&(r=i[e][1]);Ly(e,n).forEach(e=>{r||i.push([t,r=[]]),r.indexOf(e)==-1&&r.push(e)})})});let a=t[r.join(`,`)]=new Ey(r.indexOf(e.length-1)>-1);for(let e=0;e<i.length;e++){let r=i[e][1].sort(Iy);a.next.push({type:i[e][0],next:t[r.join(`,`)]||n(r)})}return a}}function zy(e,t){for(let n=0,r=[e];n<r.length;n++){let e=r[n],i=!e.validEnd,a=[];for(let t=0;t<e.next.length;t++){let{type:n,next:o}=e.next[t];a.push(n.name),i&&!(n.isText||n.hasRequiredAttrs())&&(i=!1),r.indexOf(o)==-1&&r.push(o)}i&&t.err(`Only non-generatable nodes (`+a.join(`, `)+`) in a required position (see https://prosemirror.net/docs/guide/#generatable)`)}}function By(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function Vy(e,t){let n=Object.create(null);for(let r in e){let i=e[r],a=t&&t[r];if(a===void 0){if(i.hasDefault)a=i.default;else throw RangeError(`No value supplied for attribute `+r)}else i.validate&&i.validate(a);n[r]=a}return n}function Hy(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new Gy(e,r,t[r]);return n}var Uy=class e{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(` `):[],this.attrs=Hy(e,n.attrs),this.defaultAttrs=By(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||e==`text`),this.isText=e==`text`}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Ey.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?`pre`:`normal`)}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Vy(this.attrs,e)}create(e=null,t,n){if(this.isText)throw Error(`NodeType.create can't construct text nodes`);return new Sy(this,this.computeAttrs(e),K.from(t),sy.setFrom(n))}createChecked(e=null,t,n){return t=K.from(t),this.checkContent(t),new Sy(this,this.computeAttrs(e),t,sy.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),t=K.from(t),t.size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let r=this.contentMatch.matchFragment(t),i=r&&r.fillBefore(K.empty,!0);return i?new Sy(this,e,t.append(i),sy.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let t=0;t<e.childCount;t++)if(!this.allowsMarks(e.child(t).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let t;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||=e.slice(0,n);return t?t.length?t:sy.none:e}static compile(t,n){let r=Object.create(null);t.forEach((t,i)=>r[t]=new e(t,n,i));let i=n.spec.topNode||`doc`;if(!r[i])throw RangeError(`Schema is missing its top node type ('`+i+`')`);if(!r.text)throw RangeError(`Every schema needs a 'text' type`);for(let e in r.text.attrs)throw RangeError(`The text node type should not have attributes`);return r}};function Wy(e,t,n){let r=n.split(`|`);return n=>{let i=n===null?`null`:typeof n;if(r.indexOf(i)<0)throw RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${i}`)}}var Gy=class{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,`default`),this.default=n.default,this.validate=typeof n.validate==`string`?Wy(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}},Ky=class e{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=Hy(e,r.attrs),this.excluded=null;let i=By(this.attrs);this.instance=i?new sy(this,i):null}create(e=null){return!e&&this.instance?this.instance:new sy(this,Vy(this.attrs,e))}static compile(t,n){let r=Object.create(null),i=0;return t.forEach((t,a)=>r[t]=new e(t,i++,n,a)),r}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}excludes(e){return this.excluded.indexOf(e)>-1}},qy=class{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let n in e)t[n]=e[n];t.nodes=$v.from(e.nodes),t.marks=$v.from(e.marks||{}),this.nodes=Uy.compile(this.spec.nodes,this),this.marks=Ky.compile(this.spec.marks,this);let n=Object.create(null);for(let e in this.nodes){if(e in this.marks)throw RangeError(e+` can not be both a node and a mark`);let t=this.nodes[e],r=t.spec.content||``,i=t.spec.marks;if(t.contentMatch=n[r]||(n[r]=Ey.parse(r,this.nodes)),t.inlineContent=t.contentMatch.inlineContent,t.spec.linebreakReplacement){if(this.linebreakReplacement)throw RangeError(`Multiple linebreak nodes defined`);if(!t.isInline||!t.isLeaf)throw RangeError(`Linebreak replacement nodes must be inline leaf nodes`);this.linebreakReplacement=t}t.markSet=i==`_`?null:i?Jy(this,i.split(` `)):i==``||!t.inlineContent?[]:null}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=n==null?[t]:n==``?[]:Jy(this,n.split(` `))}this.nodeFromJSON=e=>Sy.fromJSON(this,e),this.markFromJSON=e=>sy.fromJSON(this,e),this.topNodeType=this.nodes[this.spec.topNode||`doc`],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if(typeof e==`string`)e=this.nodeType(e);else if(!(e instanceof Uy))throw RangeError(`Invalid node type: `+e);else if(e.schema!=this)throw RangeError(`Node type from different schema used (`+e.name+`)`);return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new Cy(n,n.defaultAttrs,e,sy.setFrom(t))}mark(e,t){return typeof e==`string`&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw RangeError(`Unknown node type: `+e);return t}};function Jy(e,t){let n=[];for(let r=0;r<t.length;r++){let i=t[r],a=e.marks[i],o=a;if(a)n.push(a);else for(let t in e.marks){let r=e.marks[t];(i==`_`||r.spec.group&&r.spec.group.split(` `).indexOf(i)>-1)&&n.push(o=r)}if(!o)throw SyntaxError(`Unknown mark type: '`+t[r]+`'`)}return n}function Yy(e){return e.tag!=null}function Xy(e){return e.style!=null}var Zy=class e{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];t.forEach(e=>{if(Yy(e))this.tags.push(e);else if(Xy(e)){let t=/[^=]*/.exec(e.style)[0];n.indexOf(t)<0&&n.push(t),this.styles.push(e)}}),this.normalizeLists=!this.tags.some(t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)})}parse(e,t={}){let n=new ob(this,t,!1);return n.addAll(e,sy.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new ob(this,t,!0);return n.addAll(e,sy.none,t.from,t.to),q.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){let n=this.tags[r];if(cb(e,n.tag)&&(n.namespace===void 0||e.namespaceURI==n.namespace)&&(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(t===!1)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,r){for(let i=r?this.styles.indexOf(r)+1:0;i<this.styles.length;i++){let r=this.styles[i],a=r.style;if(!(a.indexOf(e)!=0||r.context&&!n.matchesContext(r.context)||a.length>e.length&&(a.charCodeAt(e.length)!=61||a.slice(e.length+1)!=t))){if(r.getAttrs){let e=r.getAttrs(t);if(e===!1)continue;r.attrs=e||void 0}return r}}}static schemaRules(e){let t=[];function n(e){let n=e.priority==null?50:e.priority,r=0;for(;r<t.length;r++){let e=t[r];if((e.priority==null?50:e.priority)<n)break}t.splice(r,0,e)}for(let t in e.marks){let r=e.marks[t].spec.parseDOM;r&&r.forEach(e=>{n(e=lb(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)})}for(let t in e.nodes){let r=e.nodes[t].spec.parseDOM;r&&r.forEach(e=>{n(e=lb(e)),e.node||e.ignore||e.mark||(e.node=t)})}return t}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new e(t,e.schemaRules(t)))}},Qy={address:!0,article:!0,aside:!0,blockquote:!0,body:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},$y={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},eb={ol:!0,ul:!0},tb=1,nb=2,rb=4;function ib(e,t,n){return t==null?e&&e.whitespace==`pre`?3:n&-5:(t?tb:0)|(t===`full`?nb:0)}var ab=class{constructor(e,t,n,r,i,a){this.type=e,this.attrs=t,this.marks=n,this.solid=r,this.options=a,this.content=[],this.activeMarks=sy.none,this.match=i||(a&rb?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(K.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let t=this.type.contentMatch,n;return(n=t.findWrapping(e.type))?(this.match=t,n):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&tb)){let e=this.content[this.content.length-1],t;if(e&&e.isText&&(t=/[ \t\r\n\u000c]+$/.exec(e.text))){let n=e;e.text.length==t[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-t[0].length))}}let t=K.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(K.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Qy.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}},ob=class{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let r=t.topNode,i,a=ib(null,t.preserveWhitespace,0)|(n?rb:0);i=r?new ab(r.type,r.attrs,sy.none,!0,t.topMatch||r.type.contentMatch,a):n?new ab(null,null,sy.none,!0,null,a):new ab(e.schema.topNodeType,null,sy.none,!0,null,a),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){e.nodeType==3?this.addTextNode(e,t):e.nodeType==1&&this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,r=this.top,i=r.options&nb?`full`:this.localPreserveWS||(r.options&tb)>0,{schema:a}=this.parser;if(i===`full`||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(!i){if(n=n.replace(/[ \t\r\n\u000c]+/g,` `),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let t=r.content[r.content.length-1],i=e.previousSibling;(!t||i&&i.nodeName==`BR`||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(n=n.slice(1))}}else if(i===`full`)n=n.replace(/\r\n?/g,`-`);else if(a.linebreakReplacement&&/[\r\n]/.test(n)&&this.top.findWrapping(a.linebreakReplacement.create())){let e=n.split(/\r?\n|\r/);for(let n=0;n<e.length;n++)n&&this.insertNode(a.linebreakReplacement.create(),t,!0),e[n]&&this.insertNode(a.text(e[n]),t,!/\S/.test(e[n]));n=``}else n=n.replace(/\r?\n|\r/g,` `);n&&this.insertNode(a.text(n),t,!/\S/.test(n)),this.findInText(e)}else this.findInside(e)}addElement(e,t,n){let r=this.localPreserveWS,i=this.top;(e.tagName==`PRE`||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let a=e.nodeName.toLowerCase(),o;eb.hasOwnProperty(a)&&this.parser.normalizeLists&&sb(e);let s=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(o=this.parser.matchTag(e,this,n));out:if(s?s.ignore:$y.hasOwnProperty(a))this.findInside(e),this.ignoreFallback(e,t);else if(!s||s.skip||s.closeParent){s&&s.closeParent?this.open=Math.max(0,this.open-1):s&&s.skip.nodeType&&(e=s.skip);let n,r=this.needsBlock;if(Qy.hasOwnProperty(a))i.content.length&&i.content[0].isInline&&this.open&&(this.open--,i=this.top),n=!0,i.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,t);break out}let o=s&&s.skip?t:this.readStyles(e,t);o&&this.addAll(e,o),n&&this.sync(i),this.needsBlock=r}else{let n=this.readStyles(e,t);n&&this.addElementByRule(e,s,n,s.consuming===!1?o:void 0)}this.localPreserveWS=r}leafFallback(e,t){e.nodeName==`BR`&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`-`),t)}ignoreFallback(e,t){e.nodeName!=`BR`||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text(`-`),t,!0)}readStyles(e,t){let n=e.style;if(n&&n.length)for(let e=0;e<this.parser.matchedStyles.length;e++){let r=this.parser.matchedStyles[e],i=n.getPropertyValue(r);if(i)for(let e;;){let n=this.parser.matchStyle(r,i,this,e);if(!n)break;if(n.ignore)return null;if(t=n.clearMark?t.filter(e=>!n.clearMark(e)):t.concat(this.parser.schema.marks[n.mark].create(n.attrs)),n.consuming===!1)e=n;else break}}return t}addElementByRule(e,t,n,r){let i,a;if(t.node){if(a=this.parser.schema.nodes[t.node],a.isLeaf)this.insertNode(a.create(t.attrs),n,e.nodeName==`BR`)||this.leafFallback(e,n);else{let e=this.enter(a,t.attrs||null,n,t.preserveWhitespace);e&&(i=!0,n=e)}}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let o=this.top;if(a&&a.isLeaf)this.findInside(e);else if(r)this.addElement(e,n,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(e=>this.insertNode(e,n,!1));else{let r=e;typeof t.contentElement==`string`?r=e.querySelector(t.contentElement):typeof t.contentElement==`function`?r=t.contentElement(e):t.contentElement&&(r=t.contentElement),this.findAround(e,r,!0),this.addAll(r,n),this.findAround(e,r,!1)}i&&this.sync(o)&&this.open--}addAll(e,t,n,r){let i=n||0;for(let a=n?e.childNodes[n]:e.firstChild,o=r==null?null:e.childNodes[r];a!=o;a=a.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(a,t);this.findAtPoint(e,i)}findPlace(e,t,n){let r,i;for(let t=this.open,a=0;t>=0;t--){let o=this.nodes[t],s=o.findWrapping(e);if(s&&(!r||r.length>s.length+a)&&(r=s,i=o,!s.length))break;if(o.solid){if(n)break;a+=2}}if(!r)return null;this.sync(i);for(let e=0;e<r.length;e++)t=this.enterInner(r[e],null,t,!1);return t}insertNode(e,t,n){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&(t=this.enterInner(e,null,t))}let r=this.findPlace(e,t,n);if(r){this.closeExtra();let t=this.top;t.match&&=t.match.matchType(e.type);let n=sy.none;for(let i of r.concat(e.marks))(t.type?t.type.allowsMarkType(i.type):ub(i.type,e.type))&&(n=i.addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n,r){let i=this.findPlace(e.create(t),n,!1);return i&&=this.enterInner(e,t,n,!0,r),i}enterInner(e,t,n,r=!1,i){this.closeExtra();let a=this.top;a.match=a.match&&a.match.matchType(e);let o=ib(e,i,a.options);a.options&rb&&a.content.length==0&&(o|=rb);let s=sy.none;return n=n.filter(t=>!(a.type?a.type.allowsMarkType(t.type):ub(t.type,e))||(s=t.addToSet(s),!1)),this.nodes.push(new ab(e,t,s,r,null,o)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;else this.localPreserveWS&&(this.nodes[t].options|=tb);return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].pos==null&&e.nodeType==1&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&&this.find)for(let r=0;r<this.find.length;r++)this.find[r].pos==null&&e.nodeType==1&&e.contains(this.find[r].node)&&t.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf(`|`)>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split(`/`),n=this.options.context,r=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),i=-(n?n.depth+1:0)+ +!r,a=(e,o)=>{for(;e>=0;e--){let s=t[e];if(s==``){if(e==t.length-1||e==0)continue;for(;o>=i;o--)if(a(e-1,o))return!0;return!1}{let e=o>0||o==0&&r?this.nodes[o].type:n&&o>=i?n.node(o-i).type:null;if(!e||e.name!=s&&!e.isInGroup(s))return!1;o--}}return!0};return a(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let t=this.parser.schema.nodes[e];if(t.isTextblock&&t.defaultAttrs)return t}}};function sb(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=t.nodeType==1?t.nodeName.toLowerCase():null;e&&eb.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):e==`li`?n=t:e&&(n=null)}}function cb(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function lb(e){let t={};for(let n in e)t[n]=e[n];return t}function ub(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let a=[],o=e=>{a.push(e);for(let n=0;n<e.edgeCount;n++){let{type:r,next:i}=e.edge(n);if(r==t||a.indexOf(i)<0&&o(i))return!0}};if(o(i.contentMatch))return!0}}var db=class e{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||=pb(t).createDocumentFragment();let r=n,i=[];return e.forEach(e=>{if(i.length||e.marks.length){let n=0,a=0;for(;n<i.length&&a<e.marks.length;){let t=e.marks[a];if(!this.marks[t.type.name])a++;else{if(!t.eq(i[n][0])||t.type.spec.spanning===!1)break;n++,a++}}for(;n<i.length;)r=i.pop()[1];for(;a<e.marks.length;){let n=e.marks[a++],o=this.serializeMark(n,e.isInline,t);o&&(i.push([n,r]),r.appendChild(o.dom),r=o.contentDOM||o.dom)}}r.appendChild(this.serializeNodeInner(e,t))}),n}serializeNodeInner(e,t){if(e.isText)return pb(t).createTextNode(e.text);let{dom:n,contentDOM:r}=_b(pb(t),this.nodes[e.type.name](e),null,e.attrs);if(r){if(e.isLeaf)throw RangeError(`Content hole not allowed in a leaf node spec`);this.serializeFragment(e.content,t,r)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let r=e.marks.length-1;r>=0;r--){let i=this.serializeMark(e.marks[r],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(e,t,n={}){let r=this.marks[e.type.name];return r&&_b(pb(n),r(e,t),null,e.attrs)}static renderSpec(e,t,n=null,r){return typeof t==`string`?{dom:e.createTextNode(t)}:_b(e,t,n,r)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new e(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(e){let t=fb(e.nodes);return t.text||=e=>e.text,t}static marksFromSchema(e){return fb(e.marks)}};function fb(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function pb(e){return e.document||window.document}var mb=new WeakMap;function hb(e){let t=mb.get(e);return t===void 0&&mb.set(e,t=gb(e)),t}function gb(e){let t=null;function n(e){if(e&&typeof e==`object`){if(Array.isArray(e)){if(typeof e[0]==`string`)t||=[],t.push(e);else for(let t=0;t<e.length;t++)n(e[t])}else for(let t in e)n(e[t])}}return n(e),t}function _b(e,t,n,r){if(t.nodeType==1)return{dom:t};if(t.dom&&t.dom.nodeType==1)return t;let i=t[0],a;if(typeof i!=`string`)throw RangeError(`Invalid array passed to renderSpec`);if(r&&(a=hb(r))&&a.indexOf(t)>-1)throw RangeError(`Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.`);let o=i.indexOf(` `);o>0&&(n=i.slice(0,o),i=i.slice(o+1));let s,c=n?e.createElementNS(n,i):e.createElement(i),l=t[1],u=1;if(l&&typeof l==`object`&&l.nodeType==null&&!Array.isArray(l)){u=2;for(let e in l)if(l[e]!=null){let t=e.indexOf(` `);t>0?c.setAttributeNS(e.slice(0,t),e.slice(t+1),l[e]):e==`style`&&c.style?c.style.cssText=l[e]:c.setAttribute(e,l[e])}}for(let i=u;i<t.length;i++){let a=t[i];if(a===0){if(i<t.length-1||i>u)throw RangeError(`Content hole must be the only child of its parent node`);return{dom:c,contentDOM:c}}if(typeof a==`string`)c.appendChild(e.createTextNode(a));else{let{dom:t,contentDOM:i}=_b(e,a,n,r);if(c.appendChild(t),i){if(s)throw RangeError(`Multiple content holes`);s=i}}}return{dom:c,contentDOM:s}}var vb=65535,yb=2**16;function bb(e,t){return e+t*yb}function xb(e){return e&vb}function Sb(e){return(e-(e&vb))/yb}var Cb=1,wb=2,Tb=4,Eb=8,Db=class{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(this.delInfo&Eb)>0}get deletedBefore(){return(this.delInfo&5)>0}get deletedAfter(){return(this.delInfo&6)>0}get deletedAcross(){return(this.delInfo&Tb)>0}},Ob=class e{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&e.empty)return e.empty}recover(e){let t=0,n=xb(e);if(!this.inverted)for(let e=0;e<n;e++)t+=this.ranges[e*3+2]-this.ranges[e*3+1];return this.ranges[n*3]+t+Sb(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let r=0,i=this.inverted?2:1,a=this.inverted?1:2;for(let o=0;o<this.ranges.length;o+=3){let s=this.ranges[o]-(this.inverted?r:0);if(s>e)break;let c=this.ranges[o+i],l=this.ranges[o+a],u=s+c;if(e<=u){let i=c?e==s?-1:e==u?1:t:t,a=s+r+(i<0?0:l);if(n)return a;let d=e==(t<0?s:u)?null:bb(o/3,e-s),f=0;return c&&(f|=e==s?wb:e==u?Cb:Tb,(t<0?e!=s:e!=u)&&(f|=Eb)),new Db(a,f,d)}r+=l-c}return n?e+r:new Db(e+r,0,null)}touches(e,t){let n=0,r=xb(t),i=this.inverted?2:1,a=this.inverted?1:2;for(let t=0;t<this.ranges.length;t+=3){let o=this.ranges[t]-(this.inverted?n:0);if(o>e)break;let s=this.ranges[t+i];if(e<=o+s&&t==r*3)return!0;n+=this.ranges[t+a]-s}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,i=0;r<this.ranges.length;r+=3){let a=this.ranges[r],o=a-(this.inverted?i:0),s=a+(this.inverted?0:i),c=this.ranges[r+t],l=this.ranges[r+n];e(o,o+c,s,s+l),i+=l-c}}invert(){return new e(this.ranges,!this.inverted)}toString(){return(this.inverted?`-`:``)+JSON.stringify(this.ranges)}static offset(t){return t==0?e.empty:new e(t<0?[0,-t,0]:[0,0,t])}};Ob.empty=new Ob([]);var kb=class e{constructor(e,t,n=0,r=e?e.length:0){this.mirror=t,this.from=n,this.to=r,this._maps=e||[],this.ownData=!(e||t)}get maps(){return this._maps}slice(t=0,n=this.maps.length){return new e(this._maps,this.mirror,t,n)}appendMap(e,t){this.ownData||=(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),!0),this.to=this._maps.push(e),t!=null&&this.setMirror(this._maps.length-1,t)}appendMapping(e){for(let t=0,n=this._maps.length;t<e._maps.length;t++){let r=e.getMirror(t);this.appendMap(e._maps[t],r!=null&&r<t?n+r:void 0)}}getMirror(e){if(this.mirror){for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}}setMirror(e,t){this.mirror||=[],this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this._maps.length+e._maps.length;t>=0;t--){let r=e.getMirror(t);this.appendMap(e._maps[t].invert(),r!=null&&r>t?n-r-1:void 0)}}invert(){let t=new e;return t.appendMappingInverted(this),t}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n<this.to;n++)e=this._maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let r=0;for(let n=this.from;n<this.to;n++){let i=this._maps[n].mapResult(e,t);if(i.recover!=null){let t=this.getMirror(n);if(t!=null&&t>n&&t<this.to){n=t,e=this._maps[t].recover(i.recover);continue}}r|=i.delInfo,e=i.pos}return n?e:new Db(e,r,null)}},Ab=Object.create(null),jb=class{getMap(){return Ob.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw RangeError(`Invalid input for Step.fromJSON`);let n=Ab[t.stepType];if(!n)throw RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in Ab)throw RangeError(`Duplicate use of step JSON ID `+e);return Ab[e]=t,t.prototype.jsonID=e,t}},Mb=class e{constructor(e,t){this.doc=e,this.failed=t}static ok(t){return new e(t,null)}static fail(t){return new e(null,t)}static fromReplace(t,n,r,i){try{return e.ok(t.replace(n,r,i))}catch(t){if(t instanceof cy)return e.fail(t.message);throw t}}};function Nb(e,t,n){let r=[];for(let i=0;i<e.childCount;i++){let a=e.child(i);a.content.size&&(a=a.copy(Nb(a.content,t,a))),a.isInline&&(a=t(a,n,i)),r.push(a)}return K.fromArray(r)}var Pb=class e extends jb{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),r=n.node(n.sharedDepth(this.to)),i=new q(Nb(t.content,(e,t)=>!e.isAtom||!t.type.allowsMarkType(this.mark.type)?e:e.mark(this.mark.addToSet(e.marks)),r),t.openStart,t.openEnd);return Mb.fromReplace(e,this.from,this.to,i)}invert(t){let n=[];return t.nodesBetween(this.from,this.to,(t,r)=>{if(t.isInline&&t.isAtom){let i=this.mark.addToSet(t.marks);if(!sy.sameSet(i,t.marks)){let a=Math.max(this.from,r),o=Math.min(this.to,r+t.nodeSize);Ib(Fb,a,o,this.mark,n);for(let r of t.marks)r.isInSet(i)||Ib(e,a,o,r,n)}}}),n.length==1?n[0]:new Lb(n)}map(t){let n=t.map(this.from,1),r=t.map(this.to,-1);return n>=r?null:new e(n,r,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:`addMark`,mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`)throw RangeError(`Invalid input for AddMarkStep.fromJSON`);return new e(n.from,n.to,t.markFromJSON(n.mark))}};jb.jsonID(`addMark`,Pb);var Fb=class e extends jb{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new q(Nb(t.content,e=>e.mark(this.mark.removeFromSet(e.marks)),e),t.openStart,t.openEnd);return Mb.fromReplace(e,this.from,this.to,n)}invert(e){let t=[];return e.nodesBetween(this.from,this.to,(e,n)=>{e.isInline&&e.isAtom&&this.mark.isInSet(e.marks)&&Ib(Pb,Math.max(this.from,n),Math.min(this.to,n+e.nodeSize),this.mark,t)}),t.length==1?t[0]:new Lb(t)}map(t){let n=t.map(this.from,1),r=t.map(this.to,-1);return n>=r?null:new e(n,r,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:`removeMark`,mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`)throw RangeError(`Invalid input for RemoveMarkStep.fromJSON`);return new e(n.from,n.to,t.markFromJSON(n.mark))}};jb.jsonID(`removeMark`,Fb);function Ib(e,t,n,r,i){let a=i.length?i[i.length-1]:null;a&&a instanceof e&&a.to==t&&a.mark.eq(r)?i[i.length-1]=new e(a.from,n,r):i.push(new e(t,n,r))}var Lb=class e extends jb{constructor(e){super(),this.steps=e}apply(e){for(let t of this.steps){let n=t.apply(e);if(!n.doc)return n;e=n.doc}return new Mb(e,null)}invert(t){return new e(this.steps.map(e=>e.invert(t)))}map(t){let n=[];for(let e of this.steps){let r=e.map(t);r&&n.push(r)}return n.length?new e(n):null}toJSON(){return{stepType:`markSet`,steps:this.steps.map(e=>e.toJSON())}}static fromJSON(t,n){if(!Array.isArray(n.steps)||!n.steps.every(e=>e.stepType==`addMark`||e.stepType==`removeMark`))throw RangeError(`Invalid JSON for MarkSetStep`);return new e(n.steps.map(e=>jb.fromJSON(t,e)))}};jb.jsonID(`markSet`,Lb);var Rb=class e extends jb{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return Mb.fail(`No node at mark step's position`);let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return Mb.fromReplace(e,this.pos,this.pos+1,new q(K.from(n),0,+!t.isLeaf))}invert(t){let n=t.nodeAt(this.pos);if(n){let t=this.mark.addToSet(n.marks);if(t.length==n.marks.length){for(let r=0;r<n.marks.length;r++)if(!n.marks[r].isInSet(t))return new e(this.pos,n.marks[r]);return new e(this.pos,this.mark)}}return new zb(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.mark)}toJSON(){return{stepType:`addNodeMark`,pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!=`number`)throw RangeError(`Invalid input for AddNodeMarkStep.fromJSON`);return new e(n.pos,t.markFromJSON(n.mark))}};jb.jsonID(`addNodeMark`,Rb);var zb=class e extends jb{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return Mb.fail(`No node at mark step's position`);let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return Mb.fromReplace(e,this.pos,this.pos+1,new q(K.from(n),0,+!t.isLeaf))}invert(e){let t=e.nodeAt(this.pos);return!t||!this.mark.isInSet(t.marks)?this:new Rb(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.mark)}toJSON(){return{stepType:`removeNodeMark`,pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!=`number`)throw RangeError(`Invalid input for RemoveNodeMarkStep.fromJSON`);return new e(n.pos,t.markFromJSON(n.mark))}};jb.jsonID(`removeNodeMark`,zb);var Bb=class e extends jb{constructor(e,t,n,r=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=r}apply(e){return this.structure&&Hb(e,this.from,this.to)?Mb.fail(`Structure replace would overwrite content`):Mb.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Ob([this.from,this.to-this.from,this.slice.size])}invert(t){return new e(this.from,this.from+this.slice.size,t.slice(this.from,this.to))}map(t){let n=t.mapResult(this.to,-1),r=this.from==this.to&&e.MAP_BIAS<0?n:t.mapResult(this.from,1);return r.deletedAcross&&n.deletedAcross?null:new e(r.pos,Math.max(r.pos,n.pos),this.slice,this.structure)}merge(t){if(!(t instanceof e)||t.structure||this.structure)return null;if(this.from+this.slice.size==t.from&&!this.slice.openEnd&&!t.slice.openStart){let n=this.slice.size+t.slice.size==0?q.empty:new q(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new e(this.from,this.to+(t.to-t.from),n,this.structure)}if(t.to==this.from&&!this.slice.openStart&&!t.slice.openEnd){let n=this.slice.size+t.slice.size==0?q.empty:new q(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new e(t.from,this.to,n,this.structure)}return null}toJSON(){let e={stepType:`replace`,from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`)throw RangeError(`Invalid input for ReplaceStep.fromJSON`);return new e(n.from,n.to,q.fromJSON(t,n.slice),!!n.structure)}};Bb.MAP_BIAS=1,jb.jsonID(`replace`,Bb);var Vb=class e extends jb{constructor(e,t,n,r,i,a,o=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=r,this.slice=i,this.insert=a,this.structure=o}apply(e){if(this.structure&&(Hb(e,this.from,this.gapFrom)||Hb(e,this.gapTo,this.to)))return Mb.fail(`Structure gap-replace would overwrite content`);let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return Mb.fail(`Gap is not a flat range`);let n=this.slice.insertAt(this.insert,t.content);return n?Mb.fromReplace(e,this.from,this.to,n):Mb.fail(`Content does not fit in gap`)}getMap(){return new Ob([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(t){let n=this.gapTo-this.gapFrom;return new e(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1),i=this.from==this.gapFrom?n.pos:t.map(this.gapFrom,-1),a=this.to==this.gapTo?r.pos:t.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||i<n.pos||a>r.pos?null:new e(n.pos,r.pos,i,a,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:`replaceAround`,from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`||typeof n.gapFrom!=`number`||typeof n.gapTo!=`number`||typeof n.insert!=`number`)throw RangeError(`Invalid input for ReplaceAroundStep.fromJSON`);return new e(n.from,n.to,n.gapFrom,n.gapTo,q.fromJSON(t,n.slice),n.insert,!!n.structure)}};jb.jsonID(`replaceAround`,Vb);function Hb(e,t,n){let r=e.resolve(t),i=n-t,a=r.depth;for(;i>0&&a>0&&r.indexAfter(a)==r.node(a).childCount;)a--,i--;if(i>0){let e=r.node(a).maybeChild(r.indexAfter(a));for(;i>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,i--}}return!1}function Ub(e,t,n,r){let i=[];e.doc.nodesBetween(t,n,(e,a,o)=>{if(!e.isInline)return;let s=e.marks;!r.isInSet(s)&&o.type.allowsMarkType(r.type)&&Ib(Pb,Math.max(a,t),Math.min(a+e.nodeSize,n),r,i)}),i.forEach(t=>e.step(t))}function Wb(e,t,n,r){let i=[],a=0;e.doc.nodesBetween(t,n,(e,o)=>{if(!e.isInline||!e.isAtom)return;a++;let s=null;if(r instanceof Ky){let t=e.marks,n;for(;n=r.isInSet(t);)(s||=[]).push(n),t=n.removeFromSet(t)}else r?r.isInSet(e.marks)&&(s=[r]):s=e.marks;if(s&&s.length){let r=Math.min(o+e.nodeSize,n);for(let e=0;e<s.length;e++){let n=s[e],c;for(let e=0;e<i.length;e++){let t=i[e];t.step==a-1&&n.eq(i[e].style)&&(c=t)}c?(c.to=r,c.step=a):i.push({style:n,from:Math.max(o,t),to:r,step:a})}}}),i.forEach(t=>e.step(new Fb(t.from,t.to,t.style)))}function Gb(e,t,n,r=n.contentMatch,i=!0){let a=e.doc.nodeAt(t),o=[],s=t+1;for(let t=0;t<a.childCount;t++){let c=a.child(t),l=s+c.nodeSize,u=r.matchType(c.type);if(!u)o.push(new Bb(s,l,q.empty));else{r=u;for(let t=0;t<c.marks.length;t++)n.allowsMarkType(c.marks[t].type)||e.step(new Fb(s,l,c.marks[t]));if(i&&c.isText&&n.whitespace!=`pre`){let e,t=/\r?\n|\r/g,r;for(;e=t.exec(c.text);)r||=new q(K.from(n.schema.text(` `,n.allowedMarks(c.marks))),0,0),o.push(new Bb(s+e.index,s+e.index+e[0].length,r))}}s=l}if(!r.validEnd){let t=r.fillBefore(K.empty,!0);e.replace(s,s,new q(t,0,0))}for(let t=o.length-1;t>=0;t--)e.step(o[t])}function Kb(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function qb(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth,r=0,i=0;;--n){let a=e.$from.node(n),o=e.$from.index(n)+r,s=e.$to.indexAfter(n)-i;if(n<e.depth&&a.canReplace(o,s,t))return n;if(n==0||a.type.spec.isolating||!Kb(a,o,s))break;o&&(r=1),s<a.childCount&&(i=1)}return null}function Jb(e,t,n){let{$from:r,$to:i,depth:a}=t,o=r.before(a+1),s=i.after(a+1),c=o,l=s,u=K.empty,d=0;for(let e=a,t=!1;e>n;e--)t||r.index(e)>0?(t=!0,u=K.from(r.node(e).copy(u)),d++):c--;let f=K.empty,p=0;for(let e=a,t=!1;e>n;e--)t||i.after(e+1)<i.end(e)?(t=!0,f=K.from(i.node(e).copy(f)),p++):l++;e.step(new Vb(c,l,o,s,new q(u.append(f),d,p),u.size-d,!0))}function Yb(e,t,n=null,r=e){let i=Zb(e,t),a=i&&Qb(r,t);return a?i.map(Xb).concat({type:t,attrs:n}).concat(a.map(Xb)):null}function Xb(e){return{type:e,attrs:null}}function Zb(e,t){let{parent:n,startIndex:r,endIndex:i}=e,a=n.contentMatchAt(r).findWrapping(t);if(!a)return null;let o=a.length?a[0]:t;return n.canReplaceWith(r,i,o)?a:null}function Qb(e,t){let{parent:n,startIndex:r,endIndex:i}=e,a=n.child(r),o=t.contentMatch.findWrapping(a.type);if(!o)return null;let s=(o.length?o[o.length-1]:t).contentMatch;for(let e=r;s&&e<i;e++)s=s.matchType(n.child(e).type);return!s||!s.validEnd?null:o}function $b(e,t,n){let r=K.empty;for(let e=n.length-1;e>=0;e--){if(r.size){let t=n[e].type.contentMatch.matchFragment(r);if(!t||!t.validEnd)throw RangeError(`Wrapper type given to Transform.wrap does not form valid content of its parent wrapper`)}r=K.from(n[e].type.create(n[e].attrs,r))}let i=t.start,a=t.end;e.step(new Vb(i,a,i,a,new q(r,0,0),n.length,!0))}function ex(e,t,n,r,i){if(!r.isTextblock)throw RangeError(`Type given to setBlockType should be a textblock`);let a=e.steps.length;e.doc.nodesBetween(t,n,(t,n)=>{let o=typeof i==`function`?i(t):i;if(t.isTextblock&&!t.hasMarkup(r,o)&&rx(e.doc,e.mapping.slice(a).map(n),r)){let i=null;if(r.schema.linebreakReplacement){let e=r.whitespace==`pre`,t=!!r.contentMatch.matchType(r.schema.linebreakReplacement);e&&!t?i=!1:!e&&t&&(i=!0)}i===!1&&nx(e,t,n,a),Gb(e,e.mapping.slice(a).map(n,1),r,void 0,i===null);let s=e.mapping.slice(a),c=s.map(n,1),l=s.map(n+t.nodeSize,1);return e.step(new Vb(c,l,c+1,l-1,new q(K.from(r.create(o,null,t.marks)),0,0),1,!0)),i===!0&&tx(e,t,n,a),!1}})}function tx(e,t,n,r){t.forEach((i,a)=>{if(i.isText){let o,s=/\r?\n|\r/g;for(;o=s.exec(i.text);){let i=e.mapping.slice(r).map(n+1+a+o.index);e.replaceWith(i,i+1,t.type.schema.linebreakReplacement.create())}}})}function nx(e,t,n,r){t.forEach((i,a)=>{if(i.type==i.type.schema.linebreakReplacement){let i=e.mapping.slice(r).map(n+1+a);e.replaceWith(i,i+1,t.type.schema.text(`-`))}})}function rx(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function ix(e,t,n,r,i){let a=e.doc.nodeAt(t);if(!a)throw RangeError(`No node at given position`);n||=a.type;let o=n.create(r,null,i||a.marks);if(a.isLeaf)return e.replaceWith(t,t+a.nodeSize,o);if(!n.validContent(a.content))throw RangeError(`Invalid content for node type `+n.name);e.step(new Vb(t,t+a.nodeSize,t+1,t+a.nodeSize-1,new q(K.from(o),0,0),1,!0))}function ax(e,t,n=1,r){let i=e.resolve(t),a=i.depth-n,o=r&&r[r.length-1]||i.parent;if(a<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!o.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let e=i.depth-1,t=n-2;e>a;e--,t--){let n=i.node(e),a=i.index(e);if(n.type.spec.isolating)return!1;let o=n.content.cutByIndex(a,n.childCount),s=r&&r[t+1];s&&(o=o.replaceChild(0,s.type.create(s.attrs)));let c=r&&r[t]||n;if(!n.canReplace(a+1,n.childCount)||!c.type.validContent(o))return!1}let s=i.indexAfter(a),c=r&&r[0];return i.node(a).canReplaceWith(s,s,c?c.type:i.node(a+1).type)}function ox(e,t,n=1,r){let i=e.doc.resolve(t),a=K.empty,o=K.empty;for(let e=i.depth,t=i.depth-n,s=n-1;e>t;e--,s--){a=K.from(i.node(e).copy(a));let t=r&&r[s];o=K.from(t?t.type.create(t.attrs,o):i.node(e).copy(o))}e.step(new Bb(t,t,new q(a.append(o),n,n),!0))}function sx(e,t){let n=e.resolve(t),r=n.index();return lx(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function cx(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:r}=e.type.schema;for(let i=0;i<t.childCount;i++){let a=t.child(i),o=a.type==r?e.type.schema.nodes.text:a.type;if(n=n.matchType(o),!n||!e.type.allowsMarks(a.marks))return!1}return n.validEnd}function lx(e,t){return!!(e&&t&&!e.isLeaf&&cx(e,t))}function ux(e,t,n=-1){let r=e.resolve(t);for(let e=r.depth;;e--){let i,a,o=r.index(e);if(e==r.depth?(i=r.nodeBefore,a=r.nodeAfter):n>0?(i=r.node(e+1),o++,a=r.node(e).maybeChild(o)):(i=r.node(e).maybeChild(o-1),a=r.node(e+1)),i&&!i.isTextblock&&lx(i,a)&&r.node(e).canReplace(o,o+1))return t;if(e==0)break;t=n<0?r.before(e):r.after(e)}}function dx(e,t,n){let r=null,{linebreakReplacement:i}=e.doc.type.schema,a=e.doc.resolve(t-n),o=a.node().type;if(i&&o.inlineContent){let e=o.whitespace==`pre`,t=!!o.contentMatch.matchType(i);e&&!t?r=!1:!e&&t&&(r=!0)}let s=e.steps.length;if(r===!1){let r=e.doc.resolve(t+n);nx(e,r.node(),r.before(),s)}o.inlineContent&&Gb(e,t+n-1,o,a.node().contentMatchAt(a.index()),r==null);let c=e.mapping.slice(s),l=c.map(t-n);if(e.step(new Bb(l,c.map(t+n,-1),q.empty,!0)),r===!0){let t=e.doc.resolve(l);tx(e,t.node(),t.before(),e.steps.length)}return e}function fx(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(r.parentOffset==0)for(let e=r.depth-1;e>=0;e--){let t=r.index(e);if(r.node(e).canReplaceWith(t,t,n))return r.before(e+1);if(t>0)return null}if(r.parentOffset==r.parent.content.size)for(let e=r.depth-1;e>=0;e--){let t=r.indexAfter(e);if(r.node(e).canReplaceWith(t,t,n))return r.after(e+1);if(t<r.node(e).childCount)return null}return null}function px(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let e=0;e<n.openStart;e++)i=i.firstChild.content;for(let e=1;e<=(n.openStart==0&&n.size?2:1);e++)for(let t=r.depth;t>=0;t--){let n=t==r.depth?0:r.pos<=(r.start(t+1)+r.end(t+1))/2?-1:1,a=r.index(t)+ +(n>0),o=r.node(t),s=!1;if(e==1)s=o.canReplace(a,a,i);else{let e=o.contentMatchAt(a).findWrapping(i.firstChild.type);s=e&&o.canReplaceWith(a,a,e[0])}if(s)return n==0?r.pos:n<0?r.before(t+1):r.after(t+1)}return null}function mx(e,t,n=t,r=q.empty){if(t==n&&!r.size)return null;let i=e.resolve(t),a=e.resolve(n);return hx(i,a,r)?new Bb(t,n,r):new gx(i,a,r).fit()}function hx(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}var gx=class{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=K.empty;for(let t=0;t<=e.depth;t++){let n=e.node(t);this.frontier.push({type:n.type,match:n.contentMatchAt(e.indexAfter(t))})}for(let t=e.depth;t>0;t--)this.placed=K.from(e.node(t).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(e<0?this.$to:n.doc.resolve(e));if(!r)return null;let i=this.placed,a=n.depth,o=r.depth;for(;a&&o&&i.childCount==1;)i=i.firstChild.content,a--,o--;let s=new q(i,a,o);return e>-1?new Vb(n.pos,e,this.$to.pos,this.$to.end(),s,t):s.size||n.pos!=this.$to.pos?new Bb(n.pos,r.pos,s):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<e;n++){let i=t.firstChild;if(t.childCount>1&&(r=0),i.type.spec.isolating&&r<=n){e=n;break}t=i.content}for(let t=1;t<=2;t++)for(let n=t==1?e:this.unplaced.openStart;n>=0;n--){let e,r=null;n?(r=yx(this.unplaced.content,n-1).firstChild,e=r.content):e=this.unplaced.content;let i=e.firstChild;for(let e=this.depth;e>=0;e--){let{type:a,match:o}=this.frontier[e],s,c=null;if(t==1&&(i?o.matchType(i.type)||(c=o.fillBefore(K.from(i),!1)):r&&a.compatibleContent(r.type)))return{sliceDepth:n,frontierDepth:e,parent:r,inject:c};if(t==2&&i&&(s=o.findWrapping(i.type)))return{sliceDepth:n,frontierDepth:e,parent:r,wrap:s};if(r&&o.matchType(r.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced;return wx(e,-1)<=t?!1:(this.unplaced.size>1&&wx(e,1)>n&&n++,this.unplaced=new q(e,t+1,n),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=yx(e,t);if(r.childCount<=1&&t>0){let i=e.size-t<=t+r.size;this.unplaced=new q(_x(e,t-1,1),t-1,i?t-1:n)}else this.unplaced=new q(_x(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:r,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let e=0;e<i.length;e++)this.openFrontierNode(i[e]);let a=this.unplaced,o=n?n.content:a.content,s=a.openStart-e,c=0,l=[],{match:u,type:d}=this.frontier[t];if(r){for(let e=0;e<r.childCount;e++)l.push(r.child(e));u=u.matchFragment(r)}let f=o.size+e-(a.content.size-a.openEnd);for(;c<o.childCount;){let e=o.child(c),t=u.matchType(e.type);if(!t)break;c++,(c>1||s==0||e.content.size)&&(u=t,l.push(bx(e.mark(d.allowedMarks(e.marks)),c==1?s:0,c==o.childCount?f:-1)))}let p=c==o.childCount;p||(f=-1),this.placed=vx(this.placed,t,K.from(l)),this.frontier[t].match=u,p&&f<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let e=0,t=o;e<f;e++){let e=t.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),t=e.content}this.unplaced=p?e==0?q.empty:new q(_x(a.content,e-1,1),e-1,f<0?a.openEnd:e-1):new q(_x(a.content,e,c),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!xx(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return-1;let{depth:n}=this.$to,r=this.$to.after(n);for(;n>1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(e){scan:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:r}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),a=xx(e,t,r,n,i);if(a){for(let n=t-1;n>=0;n--){let{match:t,type:r}=this.frontier[n],i=xx(e,n,r,t,!0);if(!i||i.childCount)continue scan}return{depth:t,fit:a,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=vx(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),r=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,r)}return e}openFrontierNode(e,t=null,n){let r=this.frontier[this.depth];r.match=r.match.matchType(e),this.placed=vx(this.placed,this.depth,K.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(K.empty,!0);e.childCount&&(this.placed=vx(this.placed,this.frontier.length,e))}};function _x(e,t,n){return t==0?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(_x(e.firstChild.content,t-1,n)))}function vx(e,t,n){return t==0?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(vx(e.lastChild.content,t-1,n)))}function yx(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function bx(e,t,n){if(t<=0)return e;let r=e.content;return t>1&&(r=r.replaceChild(0,bx(r.firstChild,t-1,r.childCount==1?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(K.empty,!0)))),e.copy(r)}function xx(e,t,n,r,i){let a=e.node(t),o=i?e.indexAfter(t):e.index(t);if(o==a.childCount&&!n.compatibleContent(a.type))return null;let s=r.fillBefore(a.content,!0,o);return s&&!Sx(n,a.content,o)?s:null}function Sx(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}function Cx(e){return e.spec.defining||e.spec.definingForContent}function wx(e,t){for(let n=0;;n++){let r=t<0?e.firstChild:e.lastChild;if(!r||r.isAtom)return n;e=r.content}}function Tx(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),a=e.doc.resolve(n);if(hx(i,a,r))return e.step(new Bb(t,n,r));let o=kx(i,a);o[o.length-1]==0&&o.pop();let s=-(i.depth+1);o.unshift(s);for(let e=i.depth,t=i.pos-1;e>0;e--,t--){let n=i.node(e).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;o.indexOf(e)>-1?s=e:i.before(e)==t&&o.splice(1,0,-e)}let c=o.indexOf(s),l=[],u=r.openStart;for(let e=r.content,t=0;;t++){let n=e.firstChild;if(l.push(n),t==r.openStart)break;e=n.content}for(let e=u-1;e>=0;e--){let t=l[e],n=Cx(t.type);if(n&&!t.sameMarkup(i.node(Math.abs(s)-1)))u=e;else if(n||!t.type.isTextblock)break}for(let t=r.openStart;t>=0;t--){let s=(t+u+1)%(r.openStart+1),d=l[s];if(d)for(let t=0;t<o.length;t++){let l=o[(t+c)%o.length],u=!0;l<0&&(u=!1,l=-l);let f=i.node(l-1),p=i.index(l-1);if(f.canReplaceWith(p,p,d.type,d.marks))return e.replace(i.before(l),u?a.after(l):n,new q(Ex(r.content,0,r.openStart,s),s,r.openEnd))}}let d=e.steps.length;for(let s=o.length-1;s>=0&&(e.replace(t,n,r),!(e.steps.length>d));s--){let e=o[s];e<0||(t=i.before(e),n=a.after(e))}}function Ex(e,t,n,r,i){if(t<n){let i=e.firstChild;e=e.replaceChild(0,i.copy(Ex(i.content,t+1,n,r,i)))}if(t>r){let t=i.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(K.empty,!0))}return e}function Dx(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let i=fx(e.doc,t,r.type);i!=null&&(t=n=i)}e.replaceRange(t,n,new q(K.from(r),0,0))}function Ox(e,t,n){let r=e.doc.resolve(t),i=e.doc.resolve(n);if(r.parent.isTextblock&&i.parent.isTextblock&&r.start()!=i.start()&&r.parentOffset==0&&i.parentOffset==0){let a=r.sharedDepth(n),o=!1;for(let e=r.depth;e>a;e--)r.node(e).type.spec.isolating&&(o=!0);for(let e=i.depth;e>a;e--)i.node(e).type.spec.isolating&&(o=!0);if(!o){for(let e=r.depth;e>0&&t==r.start(e);e--)t=r.before(e);for(let e=i.depth;e>0&&n==i.start(e);e--)n=i.before(e);r=e.doc.resolve(t),i=e.doc.resolve(n)}}let a=kx(r,i);for(let t=0;t<a.length;t++){let n=a[t],o=t==a.length-1;if(o&&n==0||r.node(n).type.contentMatch.validEnd)return e.delete(r.start(n),i.end(n));if(n>0&&(o||r.node(n-1).canReplace(r.index(n-1),i.indexAfter(n-1))))return e.delete(r.before(n),i.after(n))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a&&r.start(a-1)==i.start(a-1)&&r.node(a-1).canReplace(r.index(a-1),i.index(a-1)))return e.delete(r.before(a),n);e.delete(t,n)}function kx(e,t){let n=[],r=Math.min(e.depth,t.depth);for(let i=r;i>=0;i--){let r=e.start(i);if(r<e.pos-(e.depth-i)||t.end(i)>t.pos+(t.depth-i)||e.node(i).type.spec.isolating||t.node(i).type.spec.isolating)break;(r==t.start(i)||i==e.depth&&i==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&i&&t.start(i-1)==r-1)&&n.push(i)}return n}var Ax=class e extends jb{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return Mb.fail(`No node at attribute step's position`);let n=Object.create(null);for(let e in t.attrs)n[e]=t.attrs[e];n[this.attr]=this.value;let r=t.type.create(n,null,t.marks);return Mb.fromReplace(e,this.pos,this.pos+1,new q(K.from(r),0,+!t.isLeaf))}getMap(){return Ob.empty}invert(t){return new e(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.attr,this.value)}toJSON(){return{stepType:`attr`,pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.pos!=`number`||typeof n.attr!=`string`)throw RangeError(`Invalid input for AttrStep.fromJSON`);return new e(n.pos,n.attr,n.value)}};jb.jsonID(`attr`,Ax);var jx=class e extends jb{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return Mb.ok(n)}getMap(){return Ob.empty}invert(t){return new e(this.attr,t.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:`docAttr`,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.attr!=`string`)throw RangeError(`Invalid input for DocAttrStep.fromJSON`);return new e(n.attr,n.value)}};jb.jsonID(`docAttr`,jx);var Mx=class extends Error{};Mx=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},Mx.prototype=Object.create(Error.prototype),Mx.prototype.constructor=Mx,Mx.prototype.name=`TransformError`;var Nx=class{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new kb}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Mx(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,t=-1e9;for(let n=0;n<this.mapping.maps.length;n++){let r=this.mapping.maps[n];n&&(e=r.map(e,1),t=r.map(t,-1)),r.forEach((n,r,i,a)=>{e=Math.min(e,i),t=Math.max(t,a)})}return e==1e9?null:{from:e,to:t}}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=q.empty){let r=mx(this.doc,e,t,n);return r&&this.step(r),this}replaceWith(e,t,n){return this.replace(e,t,new q(K.from(n),0,0))}delete(e,t){return this.replace(e,t,q.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return Tx(this,e,t,n),this}replaceRangeWith(e,t,n){return Dx(this,e,t,n),this}deleteRange(e,t){return Ox(this,e,t),this}lift(e,t){return Jb(this,e,t),this}join(e,t=1){return dx(this,e,t),this}wrap(e,t){return $b(this,e,t),this}setBlockType(e,t=e,n,r=null){return ex(this,e,t,n,r),this}setNodeMarkup(e,t,n=null,r){return ix(this,e,t,n,r),this}setNodeAttribute(e,t,n){return this.step(new Ax(e,t,n)),this}setDocAttribute(e,t){return this.step(new jx(e,t)),this}addNodeMark(e,t){return this.step(new Rb(e,t)),this}removeNodeMark(e,t){let n=this.doc.nodeAt(e);if(!n)throw RangeError(`No node at position `+e);if(t instanceof sy)t.isInSet(n.marks)&&this.step(new zb(e,t));else{let r=n.marks,i,a=[];for(;i=t.isInSet(r);)a.push(new zb(e,i)),r=i.removeFromSet(r);for(let e=a.length-1;e>=0;e--)this.step(a[e])}return this}split(e,t=1,n){return ox(this,e,t,n),this}addMark(e,t,n){return Ub(this,e,t,n),this}removeMark(e,t,n){return Wb(this,e,t,n),this}clearIncompatible(e,t,n){return Gb(this,e,t,n),this}},Px=Object.create(null),Fx=class{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new Ix(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=q.empty){let n=t.content.lastChild,r=null;for(let e=0;e<t.openEnd;e++)r=n,n=n.lastChild;let i=e.steps.length,a=this.ranges;for(let o=0;o<a.length;o++){let{$from:s,$to:c}=a[o],l=e.mapping.slice(i);e.replaceRange(l.map(s.pos),l.map(c.pos),o?q.empty:t),o==0&&Wx(e,i,(n?n.isInline:r&&r.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,r=this.ranges;for(let i=0;i<r.length;i++){let{$from:a,$to:o}=r[i],s=e.mapping.slice(n),c=s.map(a.pos),l=s.map(o.pos);i?e.deleteRange(c,l):(e.replaceRangeWith(c,l,t),Wx(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let r=e.parent.inlineContent?new zx(e):Ux(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(let r=e.depth-1;r>=0;r--){let i=t<0?Ux(e.node(0),e.node(r),e.before(r+1),e.index(r),t,n):Ux(e.node(0),e.node(r),e.after(r+1),e.index(r)+1,t,n);if(i)return i}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new Hx(e.node(0))}static atStart(e){return Ux(e,e,0,0,1)||new Hx(e)}static atEnd(e){return Ux(e,e,e.content.size,e.childCount,-1)||new Hx(e)}static fromJSON(e,t){if(!t||!t.type)throw RangeError(`Invalid input for Selection.fromJSON`);let n=Px[t.type];if(!n)throw RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in Px)throw RangeError(`Duplicate use of selection JSON ID `+e);return Px[e]=t,t.prototype.jsonID=e,t}getBookmark(){return zx.between(this.$anchor,this.$head).getBookmark()}};Fx.prototype.visible=!0;var Ix=class{constructor(e,t){this.$from=e,this.$to=t}},Lx=!1;function Rx(e){!Lx&&!e.parent.inlineContent&&(Lx=!0,console.warn(`TextSelection endpoint not pointing into a node with inline content (`+e.parent.type.name+`)`))}var zx=class e extends Fx{constructor(e,t=e){Rx(e),Rx(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,n){let r=t.resolve(n.map(this.head));if(!r.parent.inlineContent)return Fx.near(r);let i=t.resolve(n.map(this.anchor));return new e(i.parent.inlineContent?i:r,r)}replace(e,t=q.empty){if(super.replace(e,t),t==q.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(t){return t instanceof e&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new Bx(this.anchor,this.head)}toJSON(){return{type:`text`,anchor:this.anchor,head:this.head}}static fromJSON(t,n){if(typeof n.anchor!=`number`||typeof n.head!=`number`)throw RangeError(`Invalid input for TextSelection.fromJSON`);return new e(t.resolve(n.anchor),t.resolve(n.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(t,n,r){let i=t.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let e=Fx.findFrom(n,r,!0)||Fx.findFrom(n,-r,!0);if(e)n=e.$head;else return Fx.near(n,r)}return t.parent.inlineContent||(i==0?t=n:(t=(Fx.findFrom(t,-r,!0)||Fx.findFrom(t,r,!0)).$anchor,t.pos<n.pos!=i<0&&(t=n))),new e(t,n)}};Fx.jsonID(`text`,zx);var Bx=class e{constructor(e,t){this.anchor=e,this.head=t}map(t){return new e(t.map(this.anchor),t.map(this.head))}resolve(e){return zx.between(e.resolve(this.anchor),e.resolve(this.head))}},Vx=class e extends Fx{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(t,n){let{deleted:r,pos:i}=n.mapResult(this.anchor),a=t.resolve(i);return r?Fx.near(a):new e(a)}content(){return new q(K.from(this.node),0,0)}eq(t){return t instanceof e&&t.anchor==this.anchor}toJSON(){return{type:`node`,anchor:this.anchor}}getBookmark(){return new Nee(this.anchor)}static fromJSON(t,n){if(typeof n.anchor!=`number`)throw RangeError(`Invalid input for NodeSelection.fromJSON`);return new e(t.resolve(n.anchor))}static create(t,n){return new e(t.resolve(n))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}};Vx.prototype.visible=!1,Fx.jsonID(`node`,Vx);var Nee=class e{constructor(e){this.anchor=e}map(t){let{deleted:n,pos:r}=t.mapResult(this.anchor);return n?new Bx(r,r):new e(r)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&Vx.isSelectable(n)?new Vx(t):Fx.near(t)}},Hx=class e extends Fx{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=q.empty){if(t==q.empty){e.delete(0,e.doc.content.size);let t=Fx.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:`all`}}static fromJSON(t){return new e(t)}map(t){return new e(t)}eq(t){return t instanceof e}getBookmark(){return Pee}};Fx.jsonID(`all`,Hx);var Pee={map(){return this},resolve(e){return new Hx(e)}};function Ux(e,t,n,r,i,a=!1){if(t.inlineContent)return zx.create(e,n);for(let o=r-(i>0?0:1);i>0?o<t.childCount:o>=0;o+=i){let r=t.child(o);if(!r.isAtom){let t=Ux(e,r,n+i,i<0?r.childCount:0,i,a);if(t)return t}else if(!a&&Vx.isSelectable(r))return Vx.create(e,n-(i<0?r.nodeSize:0));n+=r.nodeSize*i}return null}function Wx(e,t,n){let r=e.steps.length-1;if(r<t)return;let i=e.steps[r];if(!(i instanceof Bb||i instanceof Vb))return;let a=e.mapping.maps[r],o;a.forEach((e,t,n,r)=>{o??=r}),e.setSelection(Fx.near(e.doc.resolve(o),n))}var Gx=1,Kx=2,qx=4,Fee=class extends Nx{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw RangeError(`Selection passed to setSelection must point at the current document`);return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(this.updated|Gx)&-3,this.storedMarks=null,this}get selectionSet(){return(this.updated&Gx)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Kx,this}ensureMarks(e){return sy.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Kx)>0}addStep(e,t){super.addStep(e,t),this.updated&=-3,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||sy.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let r=this.doc.type.schema;if(t==null)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(n??=t,!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,i)),!this.selection.empty&&this.selection.to==t+e.length&&this.setSelection(Fx.near(this.selection.$to)),this}}setMeta(e,t){return this.meta[typeof e==`string`?e:e.key]=t,this}getMeta(e){return this.meta[typeof e==`string`?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=qx,this}get scrolledIntoView(){return(this.updated&qx)>0}};function Jx(e,t){return!t||!e?e:e.bind(t)}var Yx=class{constructor(e,t,n){this.name=e,this.init=Jx(t.init,n),this.apply=Jx(t.apply,n)}},Iee=[new Yx(`doc`,{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new Yx(`selection`,{init(e,t){return e.selection||Fx.atStart(t.doc)},apply(e){return e.selection}}),new Yx(`storedMarks`,{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new Yx(`scrollToSelection`,{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})],Xx=class{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Iee.slice(),t&&t.forEach(e=>{if(this.pluginsByKey[e.key])throw RangeError(`Adding different instances of a keyed plugin (`+e.key+`)`);this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new Yx(e.key,e.spec.state,e))})}},Zx=class e{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),r=null;for(;;){let i=!1;for(let a=0;a<this.config.plugins.length;a++){let o=this.config.plugins[a];if(o.spec.appendTransaction){let s=r?r[a].n:0,c=r?r[a].state:this,l=s<t.length&&o.spec.appendTransaction.call(o,s?t.slice(s):t,c,n);if(l&&n.filterTransaction(l,a)){if(l.setMeta(`appendedTransaction`,e),!r){r=[];for(let e=0;e<this.config.plugins.length;e++)r.push(e<a?{state:n,n:t.length}:{state:this,n:0})}t.push(l),n=n.applyInner(l),i=!0}r&&(r[a]={state:n,n:t.length})}}if(!i)return{state:n,transactions:t}}}applyInner(t){if(!t.before.eq(this.doc))throw RangeError(`Applying a mismatched transaction`);let n=new e(this.config),r=this.config.fields;for(let e=0;e<r.length;e++){let i=r[e];n[i.name]=i.apply(t,this[i.name],this,n)}return n}get tr(){return new Fee(this)}static create(t){let n=new Xx(t.doc?t.doc.type.schema:t.schema,t.plugins),r=new e(n);for(let e=0;e<n.fields.length;e++)r[n.fields[e].name]=n.fields[e].init(t,r);return r}reconfigure(t){let n=new Xx(this.schema,t.plugins),r=n.fields,i=new e(n);for(let e=0;e<r.length;e++){let n=r[e].name;i[n]=this.hasOwnProperty(n)?this[n]:r[e].init(t,i)}return i}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(e=>e.toJSON())),e&&typeof e==`object`)for(let n in e){if(n==`doc`||n==`selection`)throw RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],i=r.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(r,this[r.key]))}return t}static fromJSON(t,n,r){if(!n)throw RangeError(`Invalid input for EditorState.fromJSON`);if(!t.schema)throw RangeError(`Required config field 'schema' missing`);let i=new Xx(t.schema,t.plugins),a=new e(i);return i.fields.forEach(e=>{if(e.name==`doc`)a.doc=Sy.fromJSON(t.schema,n.doc);else if(e.name==`selection`)a.selection=Fx.fromJSON(a.doc,n.selection);else if(e.name==`storedMarks`)n.storedMarks&&(a.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let i in r){let o=r[i],s=o.spec.state;if(o.key==e.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(n,i)){a[e.name]=s.fromJSON.call(o,t,n[i],a);return}}a[e.name]=e.init(t,a)}}),a}};function Qx(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):r==`handleDOMEvents`&&(i=Qx(i,t,{})),n[r]=i}return n}var $x=class{constructor(e){this.spec=e,this.props={},e.props&&Qx(e.props,this,this.props),this.key=e.key?e.key.key:tS(`plugin`)}getState(e){return e[this.key]}},eS=Object.create(null);function tS(e){return e in eS?e+`$`+ ++eS[e]:(eS[e]=0,e+`$`)}var nS=class{constructor(e=`key`){this.key=tS(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}},Lee=o((e=>{var t=we();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),rS=o(((e,t)=>{t.exports=Lee()})),iS=rS(),aS=Object.defineProperty,Ree=(e,t)=>{let n={};for(var r in e)aS(n,r,{get:e[r],enumerable:!0});return t||aS(n,Symbol.toStringTag,{value:`Module`}),n},oS=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function sS(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock(`backward`,e):n.parentOffset>0)?null:n}var cS=(e,t,n)=>{let r=sS(e,n);if(!r)return!1;let i=fS(r);if(!i){let n=r.blockRange(),i=n&&qb(n);return i!=null&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let a=i.nodeBefore;if(SS(e,i,t,-1))return!0;if(r.parent.content.size==0&&(uS(a,`end`)||Vx.isSelectable(a)))for(let n=r.depth;;n--){let o=mx(e.doc,r.before(n),r.after(n),q.empty);if(o&&o.slice.size<o.to-o.from){if(t){let n=e.tr.step(o);n.setSelection(uS(a,`end`)?Fx.findFrom(n.doc.resolve(n.mapping.map(i.pos,-1)),-1):Vx.create(n.doc,i.pos-a.nodeSize)),t(n.scrollIntoView())}return!0}if(n==1||r.node(n-1).childCount>1)break}return a.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos-a.nodeSize,i.pos).scrollIntoView()),!0):!1},zee=(e,t,n)=>{let r=sS(e,n);if(!r)return!1;let i=fS(r);return i?lS(e,i,t):!1},Bee=(e,t,n)=>{let r=pS(e,n);if(!r)return!1;let i=gS(r);return i?lS(e,i,t):!1};function lS(e,t,n){let r=t.nodeBefore,i=t.pos-1;for(;!r.isTextblock;i--){if(r.type.spec.isolating)return!1;let e=r.lastChild;if(!e)return!1;r=e}let a=t.nodeAfter,o=t.pos+1;for(;!a.isTextblock;o++){if(a.type.spec.isolating)return!1;let e=a.firstChild;if(!e)return!1;a=e}let s=mx(e.doc,i,o,q.empty);if(!s||s.from!=i||s instanceof Bb&&s.slice.size>=o-i)return!1;if(n){let t=e.tr.step(s);t.setSelection(zx.create(t.doc,i)),n(t.scrollIntoView())}return!0}function uS(e,t,n=!1){for(let r=e;r;r=t==`start`?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}var dS=(e,t,n)=>{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock(`backward`,e):r.parentOffset>0)return!1;a=fS(r)}let o=a&&a.nodeBefore;return!o||!Vx.isSelectable(o)?!1:(t&&t(e.tr.setSelection(Vx.create(e.doc,a.pos-o.nodeSize)).scrollIntoView()),!0)};function fS(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function pS(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock(`forward`,e):n.parentOffset<n.parent.content.size)?null:n}var mS=(e,t,n)=>{let r=pS(e,n);if(!r)return!1;let i=gS(r);if(!i)return!1;let a=i.nodeAfter;if(SS(e,i,t,1))return!0;if(r.parent.content.size==0&&(uS(a,`start`)||Vx.isSelectable(a))){let n=mx(e.doc,r.before(),r.after(),q.empty);if(n&&n.slice.size<n.to-n.from){if(t){let r=e.tr.step(n);r.setSelection(uS(a,`start`)?Fx.findFrom(r.doc.resolve(r.mapping.map(i.pos)),1):Vx.create(r.doc,r.mapping.map(i.pos))),t(r.scrollIntoView())}return!0}}return a.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos,i.pos+a.nodeSize).scrollIntoView()),!0):!1},hS=(e,t,n)=>{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock(`forward`,e):r.parentOffset<r.parent.content.size)return!1;a=gS(r)}let o=a&&a.nodeAfter;return!o||!Vx.isSelectable(o)?!1:(t&&t(e.tr.setSelection(Vx.create(e.doc,a.pos)).scrollIntoView()),!0)};function gS(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}var Vee=(e,t)=>{let n=e.selection,r=n instanceof Vx,i;if(r){if(n.node.isTextblock||!sx(e.doc,n.from))return!1;i=n.from}else if(i=ux(e.doc,n.from,-1),i==null)return!1;if(t){let n=e.tr.join(i);r&&n.setSelection(Vx.create(n.doc,i-e.doc.resolve(i).nodeBefore.nodeSize)),t(n.scrollIntoView())}return!0},Hee=(e,t)=>{let n=e.selection,r;if(n instanceof Vx){if(n.node.isTextblock||!sx(e.doc,n.to))return!1;r=n.to}else if(r=ux(e.doc,n.to,1),r==null)return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0},Uee=(e,t)=>{let{$from:n,$to:r}=e.selection,i=n.blockRange(r),a=i&&qb(i);return a!=null&&(t&&t(e.tr.lift(i,a).scrollIntoView()),!0)},_S=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(t&&t(e.tr.insertText(`-`).scrollIntoView()),!0)};function vS(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}var yS=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),a=n.indexAfter(-1),o=vS(i.contentMatchAt(a));if(!o||!i.canReplaceWith(a,a,o))return!1;if(t){let r=n.after(),i=e.tr.replaceWith(r,r,o.createAndFill());i.setSelection(Fx.near(i.doc.resolve(r),1)),t(i.scrollIntoView())}return!0},bS=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof Hx||r.parent.inlineContent||i.parent.inlineContent)return!1;let a=vS(i.parent.contentMatchAt(i.indexAfter()));if(!a||!a.isTextblock)return!1;if(t){let n=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,o=e.tr.insert(n,a.createAndFill());o.setSelection(zx.create(o.doc,n+1)),t(o.scrollIntoView())}return!0},xS=(e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if(ax(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),i=r&&qb(r);return i!=null&&(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)};function Wee(e){return(t,n)=>{if(t.selection instanceof Vx&&t.selection.node.isBlock){let{$from:e}=t.selection;return!e.parentOffset||!ax(t.doc,e.pos)?!1:(n&&n(t.tr.split(e.pos).scrollIntoView()),!0)}if(!t.selection.$from.depth)return!1;let r=t.tr;!t.selection.empty&&(t.selection instanceof zx||t.selection instanceof Hx)&&r.deleteSelection();let{$from:i}=r.selection,a=r.steps.length,o=[],s,c,l=!1,u=!1;for(let t=i.depth;;t--)if(i.node(t).isBlock){l=i.end(t)==i.pos+(i.depth-t),u=i.start(t)==i.pos-(i.depth-t),c=vS(i.node(t-1).contentMatchAt(i.indexAfter(t-1)));let n=e&&e(i.parent,l,i);o.unshift(n||(l&&c?{type:c}:null)),s=t;break}else{if(t==1)return!1;o.unshift(null)}let d=i.pos,f=ax(r.doc,d,o.length,o);if(f||=(o[0]=c?{type:c}:null,ax(r.doc,d,o.length,o)),!f)return!1;if(r.split(d,o.length,o),!l&&u&&i.node(s).type!=c){let e=r.mapping.slice(a),t=e.map(i.before(s)),n=r.doc.resolve(t);c&&i.node(s-1).canReplaceWith(n.index(),n.index()+1,c)&&r.setNodeMarkup(e.map(i.before(s)),c)}return n&&n(r.scrollIntoView()),!0}}var Gee=Wee(),Kee=(e,t)=>{let{$from:n,to:r}=e.selection,i,a=n.sharedDepth(r);return a!=0&&(i=n.before(a),t&&t(e.tr.setSelection(Vx.create(e.doc,i))),!0)},qee=(e,t)=>(t&&t(e.tr.setSelection(new Hx(e.doc))),!0);function Jee(e,t,n){let r=t.nodeBefore,i=t.nodeAfter,a=t.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&t.parent.canReplace(a-1,a)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(a,a+1)||!(i.isTextblock||sx(e.doc,t.pos))?!1:(n&&n(e.tr.join(t.pos).scrollIntoView()),!0)}function SS(e,t,n,r){let i=t.nodeBefore,a=t.nodeAfter,o,s,c=i.type.spec.isolating||a.type.spec.isolating;if(!c&&Jee(e,t,n))return!0;let l=!c&&t.parent.canReplace(t.index(),t.index()+1);if(l&&(o=(s=i.contentMatchAt(i.childCount)).findWrapping(a.type))&&s.matchType(o[0]||a.type).validEnd){if(n){let r=t.pos+a.nodeSize,s=K.empty;for(let e=o.length-1;e>=0;e--)s=K.from(o[e].create(null,s));s=K.from(i.copy(s));let c=e.tr.step(new Vb(t.pos-1,r,t.pos,r,new q(s,1,0),o.length,!0)),l=c.doc.resolve(r+2*o.length);l.nodeAfter&&l.nodeAfter.type==i.type&&sx(c.doc,l.pos)&&c.join(l.pos),n(c.scrollIntoView())}return!0}let u=a.type.spec.isolating||r>0&&c?null:Fx.findFrom(t,1),d=u&&u.$from.blockRange(u.$to),f=d&&qb(d);if(f!=null&&f>=t.depth)return n&&n(e.tr.lift(d,f).scrollIntoView()),!0;if(l&&uS(a,`start`,!0)&&uS(i,`end`)){let r=i,o=[];for(;o.push(r),!r.isTextblock;)r=r.lastChild;let s=a,c=1;for(;!s.isTextblock;s=s.firstChild)c++;if(r.canReplace(r.childCount,r.childCount,s.content)){if(n){let r=K.empty;for(let e=o.length-1;e>=0;e--)r=K.from(o[e].copy(r));n(e.tr.step(new Vb(t.pos-o.length,t.pos+a.nodeSize,t.pos+c,t.pos+a.nodeSize-c,new q(r,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function CS(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,a=i.depth;for(;i.node(a).isInline;){if(!a)return!1;a--}return i.node(a).isTextblock?(n&&n(t.tr.setSelection(zx.create(t.doc,e<0?i.start(a):i.end(a)))),!0):!1}}var wS=CS(-1),TS=CS(1);function Yee(e,t=null){return function(n,r){let{$from:i,$to:a}=n.selection,o=i.blockRange(a),s=o&&Yb(o,e,t);return s?(r&&r(n.tr.wrap(o,s).scrollIntoView()),!0):!1}}function ES(e,t=null){return function(n,r){let i=!1;for(let r=0;r<n.selection.ranges.length&&!i;r++){let{$from:{pos:a},$to:{pos:o}}=n.selection.ranges[r];n.doc.nodesBetween(a,o,(r,a)=>{if(i)return!1;if(r.isTextblock&&!r.hasMarkup(e,t)){if(r.type==e)i=!0;else{let t=n.doc.resolve(a),r=t.index();i=t.parent.canReplaceWith(r,r+1,e)}}})}if(!i)return!1;if(r){let i=n.tr;for(let r=0;r<n.selection.ranges.length;r++){let{$from:{pos:a},$to:{pos:o}}=n.selection.ranges[r];i.setBlockType(a,o,e,t)}r(i.scrollIntoView())}return!0}}function DS(...e){return function(t,n,r){for(let i=0;i<e.length;i++)if(e[i](t,n,r))return!0;return!1}}var OS=DS(oS,cS,dS),kS=DS(oS,mS,hS),AS={Enter:DS(_S,bS,xS,Gee),"Mod-Enter":yS,Backspace:OS,"Mod-Backspace":OS,"Shift-Backspace":OS,Delete:kS,"Mod-Delete":kS,"Mod-a":qee},Xee={"Ctrl-h":AS.Backspace,"Alt-Backspace":AS[`Mod-Backspace`],"Ctrl-d":AS.Delete,"Ctrl-Alt-Backspace":AS[`Mod-Delete`],"Alt-Delete":AS[`Mod-Delete`],"Alt-d":AS[`Mod-Delete`],"Ctrl-a":wS,"Ctrl-e":TS};for(let e in AS)Xee[e]=AS[e];typeof navigator<`u`?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<`u`&&os.platform&&os.platform();function Zee(e,t=null){return function(n,r){let{$from:i,$to:a}=n.selection,o=i.blockRange(a);if(!o)return!1;let s=r?n.tr:null;return Qee(s,o,e,t)?(r&&r(s.scrollIntoView()),!0):!1}}function Qee(e,t,n,r=null){let i=!1,a=t,o=t.$from.doc;if(t.depth>=2&&t.$from.node(t.depth-1).type.compatibleContent(n)&&t.startIndex==0){if(t.$from.index(t.depth-1)==0)return!1;let e=o.resolve(t.start-2);a=new xy(e,e,t.depth),t.endIndex<t.parent.childCount&&(t=new xy(t.$from,o.resolve(t.$to.end(t.depth)),t.depth)),i=!0}let s=Yb(a,n,r,t);return s?(e&&$ee(e,t,s,i,n),!0):!1}function $ee(e,t,n,r,i){let a=K.empty;for(let e=n.length-1;e>=0;e--)a=K.from(n[e].type.create(n[e].attrs,a));e.step(new Vb(t.start-(r?2:0),t.end,t.start,t.end,new q(a,0,0),n.length,!0));let o=0;for(let e=0;e<n.length;e++)n[e].type==i&&(o=e+1);let s=n.length-o,c=t.start+n.length-(r?2:0),l=t.parent;for(let n=t.startIndex,r=t.endIndex,i=!0;n<r;n++,i=!1)!i&&ax(e.doc,c,s)&&(e.split(c,s),c+=2*s),c+=l.child(n).nodeSize;return e}function ete(e){return function(t,n){let{$from:r,$to:i}=t.selection,a=r.blockRange(i,t=>t.childCount>0&&t.firstChild.type==e);return a?n?r.node(a.depth-1).type==e?tte(t,n,e,a):nte(t,n,a):!0:!1}}function tte(e,t,n,r){let i=e.tr,a=r.end,o=r.$to.end(r.depth);a<o&&(i.step(new Vb(a-1,o,a,o,new q(K.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new xy(i.doc.resolve(r.$from.pos),i.doc.resolve(o),r.depth));let s=qb(r);if(s==null)return!1;i.lift(r,s);let c=i.doc.resolve(i.mapping.map(a,-1)-1);return sx(i.doc,c.pos)&&c.nodeBefore.type==c.nodeAfter.type&&i.join(c.pos),t(i.scrollIntoView()),!0}function nte(e,t,n){let r=e.tr,i=n.parent;for(let e=n.end,t=n.endIndex-1,a=n.startIndex;t>a;t--)e-=i.child(t).nodeSize,r.delete(e-1,e+1);let a=r.doc.resolve(n.start),o=a.nodeAfter;if(r.mapping.map(n.end)!=n.start+a.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,c=n.endIndex==i.childCount,l=a.node(-1),u=a.index(-1);if(!l.canReplace(u+ +!s,u+1,o.content.append(c?K.empty:K.from(i))))return!1;let d=a.pos,f=d+o.nodeSize;return r.step(new Vb(d-+!!s,f+ +!!c,d+1,f-1,new q((s?K.empty:K.from(i.copy(K.empty))).append(c?K.empty:K.from(i.copy(K.empty))),+!s,+!c),+!s)),t(r.scrollIntoView()),!0}function rte(e){return function(t,n){let{$from:r,$to:i}=t.selection,a=r.blockRange(i,t=>t.childCount>0&&t.firstChild.type==e);if(!a)return!1;let o=a.startIndex;if(o==0)return!1;let s=a.parent,c=s.child(o-1);if(c.type!=e)return!1;if(n){let r=c.lastChild&&c.lastChild.type==s.type,i=K.from(r?e.create():null),o=new q(K.from(e.create(null,K.from(s.type.create(null,i)))),r?3:1,0),l=a.start,u=a.end;n(t.tr.step(new Vb(l-(r?3:1),u,l,u,o,1,!0)).scrollIntoView())}return!0}}var jS=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},MS=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t},NS=null,PS=function(e,t,n){let r=NS||=document.createRange();return r.setEnd(e,n??e.nodeValue.length),r.setStart(e,t||0),r},ite=function(){NS=null},FS=function(e,t,n,r){return n&&(IS(e,t,n,r,-1)||IS(e,t,n,r,1))},ate=/^(img|br|input|textarea|hr)$/i;function IS(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:LS(e))){let n=e.parentNode;if(!n||!RS(n)||VS(e)||ate.test(e.nodeName)||e.contentEditable==`false`)return!1;t=jS(e)+(i<0?0:1),e=n}else if(RS(e)){let n=e.childNodes[t+(i<0?-1:0)];if(RS(n)&&n.contentEditable==`false`){if(n.pmViewDesc?.ignoreForSelection)t+=i;else return!1}else e=n,t=i<0?LS(e):0}else return!1}}function LS(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function RS(e){return e.nodeType==1}function zS(e){return e.nodeType==3}function BS(e,t){return t?e.contains(RS(t)?t:t.parentNode):!1}function ote(e,t){for(;;){if(zS(e)&&t)return e;if(RS(e)&&t>0){if(e.contentEditable==`false`)return null;e=e.childNodes[t-1],t=LS(e)}else if(e.parentNode&&!VS(e))t=jS(e),e=e.parentNode;else return null}}function ste(e,t){for(;;){if(zS(e)&&t<e.nodeValue.length)return e;if(RS(e)&&t<e.childNodes.length){if(e.contentEditable==`false`)return null;e=e.childNodes[t],t=0}else if(e.parentNode&&!VS(e))t=jS(e)+1,e=e.parentNode;else return null}}function cte(e,t,n){for(let r=t==0,i=t==LS(e);r||i;){if(e==n)return!0;let t=jS(e);if(e=e.parentNode,!e)return!1;r&&=t==0,i&&=t==LS(e)}}function VS(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}var HS=function(e){return e.focusNode&&FS(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function US(e,t){let n=document.createEvent(`Event`);return n.initEvent(`keydown`,!0,!0),n.keyCode=e,n.key=n.code=t,n}function WS(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function GS(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:Math.min(LS(r.offsetNode),r.offset)}}catch{}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:Math.min(LS(r.startContainer),r.startOffset)}}}var KS=typeof navigator<`u`?navigator:null,qS=typeof document<`u`?document:null,JS=KS&&KS.userAgent||``,YS=/Edge\/(\d+)/.exec(JS),XS=/MSIE \d/.exec(JS),ZS=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(JS),QS=!!(XS||ZS||YS),$S=XS?document.documentMode:ZS?+ZS[1]:YS?+YS[1]:0,eC=!QS&&/gecko\/(\d+)/i.test(JS);eC&&+(/Firefox\/(\d+)/.exec(JS)||[0,0])[1];var tC=!QS&&/Chrome\/(\d+)/.exec(JS),nC=!!tC,rC=tC?+tC[1]:0,iC=!QS&&!!KS&&/Apple Computer/.test(KS.vendor),aC=iC&&(/Mobile\/\w+/.test(JS)||!!KS&&KS.maxTouchPoints>2),oC=aC||(KS?/Mac/.test(KS.platform):!1),sC=KS?/Win/.test(KS.platform):!1,cC=/Android \d/.test(JS),lC=!!qS&&`webkitFontSmoothing`in qS.documentElement.style,uC=lC?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function dC(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function fC(e,t){return typeof e==`number`?e:e[t]}function pC(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function mC(e,t,n){if(!kC(t)&&t.left==0)return;let r=e.someProp(`scrollThreshold`)||0,i=e.someProp(`scrollMargin`)||5,a=e.dom.ownerDocument;for(let o=n||e.dom;o;){if(!RS(o)){o=MS(o);continue}let e=o==a.body,n=e?dC(a):pC(o),s=0,c=0;if(t.top<n.top+fC(r,`top`)?c=-(n.top-t.top+fC(i,`top`)):t.bottom>n.bottom-fC(r,`bottom`)&&(c=t.bottom-t.top>n.bottom-n.top?t.top+fC(i,`top`)-n.top:t.bottom-n.bottom+fC(i,`bottom`)),t.left<n.left+fC(r,`left`)?s=-(n.left-t.left+fC(i,`left`)):t.right>n.right-fC(r,`right`)&&(s=t.right-n.right+fC(i,`right`)),s||c){if(e)a.defaultView.scrollBy(s,c);else{let e=o.scrollLeft,n=o.scrollTop;c&&(o.scrollTop+=c),s&&(o.scrollLeft+=s);let r=o.scrollLeft-e,i=o.scrollTop-n;t={left:t.left-r,top:t.top-i,right:t.right-r,bottom:t.bottom-i}}}let l=e?`fixed`:getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(l))break;o=l==`absolute`?o.offsetParent:MS(o)}}function hC(e){let t=e.dom.getBoundingClientRect(),n=Math.max(0,t.top),r,i;for(let a=(t.left+t.right)/2,o=n+1;o<Math.min(innerHeight,t.bottom);o+=5){let t=e.root.elementFromPoint(a,o);if(!t||t==e.dom||!e.dom.contains(t))continue;let s=t.getBoundingClientRect();if(s.top>=n-20){r=t,i=s.top;break}}return{refDOM:r,refTop:i,stack:gC(e.dom)}}function gC(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=MS(r));return t}function _C({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;vC(n,r==0?0:r-t)}function vC(e,t){for(let n=0;n<e.length;n++){let{dom:r,top:i,left:a}=e[n];r.scrollTop!=i+t&&(r.scrollTop=i+t),r.scrollLeft!=a&&(r.scrollLeft=a)}}var yC=null;function bC(e){if(e.setActive)return e.setActive();if(yC)return e.focus(yC);let t=gC(e);e.focus(yC==null?{get preventScroll(){return yC={preventScroll:!0},!0}}:void 0),yC||(yC=!1,vC(t,0))}function xC(e,t){let n,r=2e8,i,a=0,o=t.top,s=t.top,c,l;for(let u=e.firstChild,d=0;u;u=u.nextSibling,d++){let e;if(RS(u))e=u.getClientRects();else if(zS(u))e=PS(u).getClientRects();else continue;for(let f=0;f<e.length;f++){let p=e[f];if(p.top<=o&&p.bottom>=s){o=Math.max(p.bottom,o),s=Math.min(p.top,s);let e=p.left>t.left?p.left-t.left:p.right<t.left?t.left-p.right:0;if(e<r){n=u,r=e,i=e&&zS(n)?{left:p.right<t.left?p.right:p.left,top:t.top}:t,RS(u)&&e&&(a=d+ +(t.left>=(p.left+p.right)/2));continue}}else p.top>t.top&&!c&&p.left<=t.left&&p.right>=t.left&&(c=u,l={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!n&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(a=d+1)}}return!n&&c&&(n=c,i=l,r=0),n&&zS(n)?SC(n,i):!n||r?{node:e,offset:a}:xC(n,i)}function SC(e,t){let n=e.nodeValue.length,r=document.createRange(),i;for(let a=0;a<n;a++){r.setEnd(e,a+1),r.setStart(e,a);let n=AC(r,1);if(n.top!=n.bottom&&CC(t,n)){i={node:e,offset:a+ +(t.left>=(n.left+n.right)/2)};break}}return r.detach(),i||{node:e,offset:0}}function CC(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function wC(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}function TC(e,t,n){let{node:r,offset:i}=xC(t,n),a=-1;if(RS(r)&&!r.firstChild){let e=r.getBoundingClientRect();a=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,i,a)}function EC(e,t,n,r){let i=-1;for(let n=t,a=!1;n!=e.dom;){let t=e.docView.nearestDesc(n,!0),o;if(!t)return null;if(RS(t.dom)&&(t.node.isBlock&&t.parent||!t.contentDOM)&&((o=t.dom.getBoundingClientRect()).width||o.height)&&(t.node.isBlock&&t.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(t.dom.nodeName)&&(!a&&o.left>r.left||o.top>r.top?i=t.posBefore:(!a&&o.right<r.left||o.bottom<r.top)&&(i=t.posAfter),a=!0),!t.contentDOM&&i<0&&!t.node.isText))return(t.node.isBlock?r.top<(o.top+o.bottom)/2:r.left<(o.left+o.right)/2)?t.posBefore:t.posAfter;n=t.dom.parentNode}return i>-1?i:e.docView.posFromDOM(t,n,-1)}function DC(e,t,n){let r=e.childNodes.length;if(r&&n.top<n.bottom)for(let i=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),a=i;;){let n=e.childNodes[a];if(RS(n)){let e=n.getClientRects();for(let r=0;r<e.length;r++){let i=e[r];if(CC(t,i))return DC(n,t,i)}}if((a=(a+1)%r)==i)break}return e}function OC(e,t){let n=e.dom.ownerDocument,r,i=0,a=GS(n,t.left,t.top);a&&({node:r,offset:i}=a);let o=(e.root.elementFromPoint?e.root:n).elementFromPoint(t.left,t.top),s;if(!o||!e.dom.contains(o)){let n=e.dom.getBoundingClientRect();if(!CC(t,n)||(o=DC(e.dom,t,n),!o))return null}if(iC)for(let e=o;r&&e;e=MS(e))e.draggable&&(r=void 0);if(o=wC(o,t),r){if(eC&&RS(r)&&(i=Math.min(i,r.childNodes.length),i<r.childNodes.length)){let e=r.childNodes[i],n;e.nodeName==`IMG`&&(n=e.getBoundingClientRect()).right<=t.left&&n.bottom>t.top&&i++}let n;lC&&i&&RS(r)&&RS(n=r.childNodes[i-1])&&n.contentEditable==`false`&&n.getBoundingClientRect().top>=t.top&&i--,r==e.dom&&i==r.childNodes.length-1&&RS(r.lastChild)&&t.top>r.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:i!=0&&RS(r)&&r.childNodes[i-1].nodeName==`BR`||(s=EC(e,r,i,t))}s??=TC(e,o,t);let c=e.docView.nearestDesc(o,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function kC(e){return e.top<e.bottom||e.left<e.right}function AC(e,t){let n=e.getClientRects();if(n.length){let e=n[t<0?0:n.length-1];if(kC(e))return e}return Array.prototype.find.call(n,kC)||e.getBoundingClientRect()}var jC=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function MC(e,t,n){let{node:r,offset:i,atom:a}=e.docView.domFromPos(t,n<0?-1:1),o=lC||eC;if(zS(r)){if(o&&(jC.test(r.nodeValue)||(n<0?!i:i==r.nodeValue.length))){let e=AC(PS(r,i,i),n);if(eC&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let t=AC(PS(r,i-1,i-1),-1);if(t.top==e.top){let n=AC(PS(r,i,i+1),-1);if(n.top!=e.top)return NC(n,n.left<t.left)}}return e}{let e=i,t=i,a=n<0?1:-1;return n<0&&!i?(t++,a=-1):n>=0&&i==r.nodeValue.length?(e--,a=1):n<0?e--:t++,NC(AC(PS(r,e,t),a),a<0)}}if(!e.state.doc.resolve(t-(a||0)).parent.inlineContent){if(a==null&&i&&(n<0||i==LS(r))){let e=r.childNodes[i-1];if(RS(e))return PC(e.getBoundingClientRect(),!1)}if(a==null&&i<LS(r)){let e=r.childNodes[i];if(RS(e))return PC(e.getBoundingClientRect(),!0)}return PC(r.getBoundingClientRect(),n>=0)}if(a==null&&i&&(n<0||i==LS(r))){let e=r.childNodes[i-1],t=zS(e)?PS(e,LS(e)-+!o):RS(e)&&(e.nodeName!=`BR`||!e.nextSibling)?e:null;if(t)return NC(AC(t,1),!1)}if(a==null&&i<LS(r)){let e=r.childNodes[i];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?zS(e)?PS(e,0,+!o):RS(e)?e:null:null;if(t)return NC(AC(t,-1),!0)}return NC(AC(zS(r)?PS(r):r,-n),n>=0)}function NC(e,t){if(e.width==0)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function PC(e,t){if(e.height==0)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function FC(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}function IC(e,t,n){let r=t.selection,i=n==`up`?r.$from:r.$to;return FC(e,t,()=>{let{node:t}=e.docView.domFromPos(i.pos,n==`up`?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let r=MC(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(RS(e))t=e.getClientRects();else if(zS(e))t=PS(e,0,e.nodeValue.length).getClientRects();else continue;for(let e=0;e<t.length;e++){let i=t[e];if(i.bottom>i.top+1&&(n==`up`?r.top-i.top>(i.bottom-r.top)*2:i.bottom-r.bottom>(r.bottom-i.top)*2))return!1}}return!0})}var LC=/[\u0590-\u08ac]/;function RC(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,a=!i,o=i==r.parent.content.size,s=e.domSelection();return s?!LC.test(r.parent.textContent)||!s.modify?n==`left`||n==`backward`?a:o:FC(e,t,()=>{let{focusNode:t,focusOffset:i,anchorNode:a,anchorOffset:o}=e.domSelectionRange(),c=s.caretBidiLevel;s.modify(`move`,n,`character`);let l=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:u,focusOffset:d}=e.domSelectionRange(),f=u&&!BS(l,u)||t==u&&i==d;try{s.collapse(a,o),t&&(t!=a||i!=o)&&s.extend&&s.extend(t,i)}catch{}return c!=null&&(s.caretBidiLevel=c),f}):r.pos==r.start()||r.pos==r.end()}var zC=null,BC=null,VC=!1;function HC(e,t,n){return zC==t&&BC==n?VC:(zC=t,BC=n,VC=n==`up`||n==`down`?IC(e,t,n):RC(e,t,n))}var UC=0,WC=1,GC=2,KC=3,qC=class{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,this.contentDOM=r,this.dirty=UC,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(e){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,n=this.posAtStart;;t++){let r=this.children[t];if(r==e)return n;n+=r.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,n){if(this.contentDOM&&BS(this.contentDOM,e)){if(n<0){let n,r;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&!((r=n.pmViewDesc)&&r.parent==this);)n=n.previousSibling;return n?this.posBeforeChild(r)+r.size:this.posAtStart}{let n,r;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&!((r=n.pmViewDesc)&&r.parent==this);)n=n.nextSibling;return n?this.posBeforeChild(r):this.posAtEnd}}let r;if(e==this.dom&&this.contentDOM)r=t>jS(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM)){let n=e.compareDocumentPosition(this.contentDOM);r=n&16?t>Array.from(e.childNodes).findIndex(e=>e.contains(this.contentDOM)):!(n&4)}else if(this.dom.firstChild){if(t==0)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.previousSibling)break}if(r==null&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.nextSibling)break}}return r??n>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,r=e;r;r=r.parentNode){let i=this.getDesc(r),a;if(i&&(!t||i.node)){if(n&&(a=i.nodeDOM)&&!(RS(a)?BS(a,e):a==e))n=!1;else return i}}}getDesc(e){let t=e.pmViewDesc;for(let e=t;e;e=e.parent)if(e==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let r=this.children[t],i=n+r.size;if(n==e&&i!=n){for(;!r.border&&r.children.length;)for(let e=0;e<r.children.length;e++){let t=r.children[e];if(t.size){r=t;break}}return r}if(e<i)return r.descAt(e-n-r.border);n=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n=0,r=0;for(let t=0;n<this.children.length;n++){let i=this.children[n],a=t+i.size;if(a>e){r=e-t;break}t=a}if(r)return this.children[n].domFromPos(r-this.children[n].border,t);for(;n>0;n--){let e=this.children[n-1];if(e.size||!(e instanceof ew||e instanceof JC&&e.side>=0))break}if(t<=0){let e,r=!0;for(;e=n?this.children[n-1]:null,e&&e.dom.parentNode!=this.contentDOM;n--,r=!1);return e&&t&&r&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?jS(e.dom)+1:0}}{let e,r=!0;for(;e=n<this.children.length?this.children[n]:null,e&&e.dom.parentNode!=this.contentDOM;n++,r=!1);return e&&r&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?jS(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,i=-1;for(let a=n,o=0;;o++){let n=this.children[o],s=a+n.size;if(r==-1&&e<=s){let i=a+n.border;if(e>=i&&t<=s-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=a;for(let t=o;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=jS(n.dom)+1;break}e-=n.size}r==-1&&(r=0)}if(r>-1&&(s>t||o==this.children.length-1)){t=s;for(let e=o+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){i=jS(n.dom);break}t+=n.size}i==-1&&(i=this.contentDOM.childNodes.length);break}a=s}return{node:this.contentDOM,from:e,to:t,fromOffset:r,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return t.size==0||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(!RS(t)||n==t.childNodes.length)throw RangeError(`No node after pos `+e);return t.childNodes[n]}setSelection(e,t,n,r=!1){let i=Math.min(e,t),a=Math.max(e,t);for(let o=0,s=0;o<this.children.length;o++){let c=this.children[o],l=s+c.size;if(i>s&&a<l)return c.setSelection(e-s-c.border,t-s-c.border,n,r);s=l}let o=this.domFromPos(e,e?-1:1),s=t==e?o:this.domFromPos(t,t?-1:1),c=n.root.getSelection(),l=n.domSelectionRange(),u=!1;if((eC||iC)&&e==t){let{node:e,offset:t}=o;if(zS(e)){if(u=!!(t&&e.nodeValue[t-1]==`-`),u&&t==e.nodeValue.length)for(let t=e,n;t;t=t.parentNode){if(n=t.nextSibling){n.nodeName==`BR`&&(o=s={node:n.parentNode,offset:jS(n)+1});break}let e=t.pmViewDesc;if(e&&e.node&&e.node.isBlock)break}}else{let n=e.childNodes[t-1];u=n&&(n.nodeName==`BR`||n.contentEditable==`false`)}}if(eC&&l.focusNode&&l.focusNode!=s.node&&RS(l.focusNode)){let e=l.focusNode.childNodes[l.focusOffset];e&&e.contentEditable==`false`&&(r=!0)}if(!(r||u&&iC)&&FS(o.node,o.offset,l.anchorNode,l.anchorOffset)&&FS(s.node,s.offset,l.focusNode,l.focusOffset))return;let d=!1;if((c.extend||e==t)&&!(u&&eC)){c.collapse(o.node,o.offset);try{e!=t&&c.extend(s.node,s.offset),d=!0}catch{}}if(!d){if(e>t){let e=o;o=s,s=e}let n=document.createRange();n.setEnd(s.node,s.offset),n.setStart(o.node,o.offset),c.removeAllRanges(),c.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&e.type!=`selection`}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r<this.children.length;r++){let i=this.children[r],a=n+i.size;if(n==a?e<=a&&t>=n:e<a&&t>n){let r=n+i.border,o=a-i.border;if(e>=r&&t<=o){this.dirty=e==n||t==a?GC:WC,e==r&&t==o&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=KC:i.markDirty(e-r,t-r);return}i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?GC:KC}n=a}this.dirty=GC}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=e==1?GC:WC;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}},JC=class extends qC{constructor(e,t,n,r){let i,a=t.type.toDOM;if(typeof a==`function`&&(a=a(n,()=>{if(!i)return r;if(i.parent)return i.parent.posBeforeChild(i)})),!t.type.spec.raw){let e=RS(a)?a:document.createElement(`span`);e!=a&&(e.appendChild(a),a=e),e.hasAttribute(`contenteditable`)||(e.contentEditable=`false`),e.classList.add(`ProseMirror-widget`)}super(e,[],a,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return this.dirty==UC&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return t?t(e):!1}ignoreMutation(e){return e.type!=`selection`||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}},YC=class extends qC{constructor(e,t,n,r){super(e,[],t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e==this.textDOM?this.posAtStart+t:this.posAtStart+(t?this.size:0)}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type===`characterData`&&e.target.nodeValue==e.oldValue}},XC=class e extends qC{constructor(e,t,n,r,i){super(e,[],n,r),this.mark=t,this.spec=i}static create(t,n,r,i){let a=i.nodeViews[n.type.name],o=a&&a(n,i,r);return o&&o.dom||(o=db.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new e(t,n,o.dom,o.contentDOM||o.dom,o)}parseRule(){return this.dirty&KC||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=KC&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=UC){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=UC}}slice(t,n,r){let i=e.create(this.parent,this.mark,!0,r),a=this.children,o=this.size;n<o&&(a=_w(a,n,o,r)),t>0&&(a=_w(a,0,t,r));for(let e=0;e<a.length;e++)a[e].parent=i;return i.children=a,i}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}},ZC=class e extends qC{constructor(e,t,n,r,i,a,o){super(e,[],i,a),this.node=t,this.outerDeco=n,this.innerDeco=r,this.nodeDOM=o}static create(t,n,r,i,a,o){let s=a.nodeViews[n.type.name],c,l=s&&s(n,a,()=>{if(!c)return o;if(c.parent)return c.parent.posBeforeChild(c)},r,i),u=l&&l.dom,d=l&&l.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(!zS(u))throw RangeError(`Text must be rendered as a DOM text node`)}else if(!u){let e=db.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs);({dom:u,contentDOM:d}=e)}!d&&!n.isText&&u.nodeName!=`BR`&&(u.hasAttribute(`contenteditable`)||(u.contentEditable=`false`),n.type.spec.draggable&&(u.draggable=!0));let f=u;return u=cw(u,r,n),l?c=new tw(t,n,r,i,u,d||null,f,l):n.isText?new $C(t,n,r,i,u,f):new e(t,n,r,i,u,d||null,f)}parseRule(e){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace==`pre`&&(t.preserveWhitespace=`full`),!this.contentDOM)t.getContent=()=>this.node.content;else if(!this.contentLost)t.contentElement=this.contentDOM;else{for(let e=this.children.length-1;e>=0;e--){let n=this.children[e];if(this.dom.contains(n.dom.parentNode)){t.contentElement=n.dom.parentNode;break}}if(!t.contentElement){let n=e&&e.find(t=>RS(t)&&e.indexOf(t.parentNode)<0&&this.dom.contains(t));n?t.contentElement=n:t.getContent=()=>K.empty}}return t}matchesNode(e,t,n){return this.dirty==UC&&e.eq(this.node)&&lw(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return+!this.node.isLeaf}updateChildren(e,t){let n=this.node.inlineContent,r=t,i=e.composing?this.localCompositionInfo(e,t):null,a=i&&i.pos>-1?i:null,o=i&&i.pos<0,s=new dw(this,a&&a.node,e),c=this.node.inlineContent,l=c&&this.node.isBlock;mw(this.node,this.innerDeco,(t,i,a)=>{t.spec.marks?s.syncToMarks(t.spec.marks,n,e,i):t.type.side>=0&&!a&&s.syncToMarks(i==this.node.childCount?sy.none:this.node.child(i).marks,n,e,i),s.placeWidget(t,e,r)},(t,a,u,d)=>{s.syncToMarks(t.marks,n,e,d),l&&t.isAtom&&!t.isText&&s.addHackNode(`IMG`,s.top);let f;s.findNodeMatch(t,a,u,d)||o&&e.state.selection.from>r&&e.state.selection.to<r+t.nodeSize&&(f=s.findIndexWithChild(i.node))>-1&&s.updateNodeAt(t,a,u,f,e)||s.updateNextNode(t,a,u,e,d,r)||s.addNode(t,a,u,e,r),r+=t.nodeSize,c&&(l=t.isAtom&&!t.isText)}),s.syncToMarks([],n,e,0),this.node.isTextblock&&s.addTextblockHacks(),s.destroyRest(),(s.changed||this.dirty==GC)&&(a&&this.protectLocalComposition(e,a),nw(this.contentDOM,this.children,e),aC&&hw(this.dom))}localCompositionInfo(e,t){let{from:n,to:r}=e.state.selection;if(!(e.state.selection instanceof zx)||n<t||r>t+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let e=i.nodeValue,a=gw(this.node.content,e,n-t,r-t);return a<0?null:{node:i,pos:a,text:e}}return{node:i,pos:-1,text:``}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let a=new YC(this,i,t,r);e.input.compositionNodes.push(a),this.children=_w(this.children,n,n+r.length,e,a)}update(e,t,n,r){return this.dirty==KC||!e.sameMarkup(this.node)?!1:(this.updateInner(e,t,n,r),!0)}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=UC}updateOuterDeco(e){if(lw(e,this.outerDeco))return;let t=!RS(this.nodeDOM),n=this.dom;this.dom=ow(this.dom,this.nodeDOM,aw(this.outerDeco,this.node,t),aw(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){RS(this.nodeDOM)&&(this.nodeDOM.classList.add(`ProseMirror-selectednode`),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){RS(this.nodeDOM)&&(this.nodeDOM.classList.remove(`ProseMirror-selectednode`),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute(`draggable`))}get domAtom(){return this.node.isAtom}};function QC(e,t,n,r,i){cw(r,t,e);let a=new ZC(void 0,e,t,n,r,r,r);return a.contentDOM&&a.updateChildren(i,0),a}var $C=class e extends ZC{constructor(e,t,n,r,i,a){super(e,t,n,r,i,null,a)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return this.dirty==KC||this.dirty!=UC&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=UC||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=UC,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return e.type!=`characterData`&&e.type!=`selection`}slice(t,n,r){let i=this.node.cut(t,n),a=document.createTextNode(i.text);return new e(this.parent,i,this.outerDeco,this.innerDeco,a,a)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=KC)}get domAtom(){return!1}isText(e){return this.node.text==e}},ew=class extends qC{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==UC&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName==`IMG`}},tw=class extends ZC{constructor(e,t,n,r,i,a,o,s){super(e,t,n,r,i,a,o),this.spec=s}update(e,t,n,r){if(this.dirty==KC)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,r),i}return!this.contentDOM&&!e.isLeaf?!1:super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n.root):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}};function nw(e,t,n){let r=e.firstChild,i=!1;for(let a=0;a<t.length;a++){let o=t[a],s=o.dom;if(s.parentNode==e){for(;s!=r;)r=uw(r),i=!0;r=r.nextSibling}else i=!0,e.insertBefore(s,r);if(o instanceof XC){let t=r?r.previousSibling:e.lastChild;nw(o.contentDOM,o.children,n),r=t?t.nextSibling:e.firstChild}}for(;r;)r=uw(r),i=!0;i&&n.trackWrites==e&&(n.trackWrites=null)}var rw=function(e){e&&(this.nodeName=e)};rw.prototype=Object.create(null);var iw=[new rw];function aw(e,t,n){if(e.length==0)return iw;let r=n?iw[0]:new rw,i=[r];for(let a=0;a<e.length;a++){let o=e[a].type.attrs;if(o){o.nodeName&&i.push(r=new rw(o.nodeName));for(let e in o){let a=o[e];a!=null&&(n&&i.length==1&&i.push(r=new rw(t.isInline?`span`:`div`)),e==`class`?r.class=(r.class?r.class+` `:``)+a:e==`style`?r.style=(r.style?r.style+`;`:``)+a:e!=`nodeName`&&(r[e]=a))}}}return i}function ow(e,t,n,r){if(n==iw&&r==iw)return t;let i=t;for(let t=0;t<r.length;t++){let a=r[t],o=n[t];if(t){let t;o&&o.nodeName==a.nodeName&&i!=e&&(t=i.parentNode)&&t.nodeName.toLowerCase()==a.nodeName||(t=document.createElement(a.nodeName),t.pmIsDeco=!0,t.appendChild(i),o=iw[0]),i=t}sw(i,o||iw[0],a)}return i}function sw(e,t,n){for(let r in t)r!=`class`&&r!=`style`&&r!=`nodeName`&&!(r in n)&&e.removeAttribute(r);for(let r in n)r!=`class`&&r!=`style`&&r!=`nodeName`&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){let r=t.class?t.class.split(` `).filter(Boolean):[],i=n.class?n.class.split(` `).filter(Boolean):[];for(let t=0;t<r.length;t++)i.indexOf(r[t])==-1&&e.classList.remove(r[t]);for(let t=0;t<i.length;t++)r.indexOf(i[t])==-1&&e.classList.add(i[t]);e.classList.length==0&&e.removeAttribute(`class`)}if(t.style!=n.style){if(t.style){let n=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,r;for(;r=n.exec(t.style);)e.style.removeProperty(r[1])}n.style&&(e.style.cssText+=n.style)}}function cw(e,t,n){return ow(e,e,iw,aw(t,n,!RS(e)))}function lw(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function uw(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}var dw=class{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=fw(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,n,r){let i=0,a=this.stack.length>>1,o=Math.min(a,e.length);for(;i<o&&(i==a-1?this.top:this.stack[i+1<<1]).matchesMark(e[i])&&e[i].type.spec.spanning!==!1;)i++;for(;i<a;)this.destroyRest(),this.top.dirty=UC,this.index=this.stack.pop(),this.top=this.stack.pop(),a--;for(;a<e.length;){this.stack.push(this.top,this.index+1);let i=-1,o=this.top.children.length;r<this.preMatch.index&&(o=Math.min(this.index+3,o));for(let t=this.index;t<o;t++){let n=this.top.children[t];if(n.matchesMark(e[a])&&!this.isLocked(n.dom)){i=t;break}}if(i<0&&this.index<this.top.children.length){let t=this.top.children[this.index];t instanceof XC&&t.dirty!=KC&&t.mark.type==e[a].type&&t.spec.update&&!this.isLocked(t.dom)&&t.spec.update(e[a])&&(t.mark=e[a],i=this.index,this.changed=!0)}if(i>-1)i>this.index&&(this.changed=!0,this.destroyBetween(this.index,i)),this.top=this.top.children[this.index];else{let r=XC.create(this.top,e[a],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,a++}}findNodeMatch(e,t,n,r){let i=-1,a;if(r>=this.preMatch.index&&(a=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&a.matchesNode(e,t,n))i=this.top.children.indexOf(a,this.index);else for(let r=this.index,a=Math.min(this.top.children.length,r+5);r<a;r++){let a=this.top.children[r];if(a.matchesNode(e,t,n)&&!this.preMatch.matched.has(a)){i=r;break}}return i<0?!1:(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(e,t,n,r,i){let a=this.top.children[r];return a.dirty==KC&&a.dom==a.contentDOM&&(a.dirty=GC),a.update(e,t,n,i)?(this.destroyBetween(this.index,r),this.index++,!0):!1}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t){for(let e=this.index;e<this.top.children.length;e++)if(this.top.children[e]==t)return e}return-1}e=t}}updateNextNode(e,t,n,r,i,a){for(let o=this.index;o<this.top.children.length;o++){let s=this.top.children[o];if(s instanceof ZC){let c=this.preMatch.matched.get(s);if(c!=null&&c!=i)return!1;let l=s.dom,u,d=this.isLocked(l)&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&s.dirty!=KC&&lw(t,s.outerDeco));if(!d&&s.update(e,t,n,r))return this.destroyBetween(this.index,o),s.dom!=l&&(this.changed=!0),this.index++,!0;if(!d&&(u=this.recreateWrapper(s,e,t,n,r,a)))return this.destroyBetween(this.index,o),this.top.children[this.index]=u,u.contentDOM&&(u.dirty=GC,u.updateChildren(r,a+1),u.dirty=UC),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,r,i,a){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!lw(n,e.outerDeco)||!r.eq(e.innerDeco))return null;let o=ZC.create(this.top,t,n,r,i,a);if(o.contentDOM){o.children=e.children,e.children=[];for(let e of o.children)e.parent=o}return e.destroy(),o}addNode(e,t,n,r,i){let a=ZC.create(this.top,e,t,n,r,i);a.contentDOM&&a.updateChildren(r,i+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(e,t,n){let r=this.index<this.top.children.length?this.top.children[this.index]:null;if(r&&r.matchesWidget(e)&&(e==r.widget||!r.widget.type.toDOM.parentNode))this.index++;else{let r=new JC(this.top,e,t,n);this.top.children.splice(this.index++,0,r),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof XC;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof $C)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((iC||nC)&&e&&e.dom.contentEditable==`false`&&this.addHackNode(`IMG`,t),this.addHackNode(`BR`,this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);e==`IMG`&&(n.className=`ProseMirror-separator`,n.alt=``),e==`BR`&&(n.className=`ProseMirror-trailingBreak`);let r=new ew(this.top,[],n,null);t==this.top?t.children.splice(this.index++,0,r):t.children.push(r),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||RS(e)&&e.contains(this.lock.parentNode))}};function fw(e,t){let n=t,r=n.children.length,i=e.childCount,a=new Map,o=[];outer:for(;i>0;){let s;for(;;)if(r){let e=n.children[r-1];if(e instanceof XC)n=e,r=e.children.length;else{s=e,r--;break}}else if(n==t)break outer;else r=n.parent.children.indexOf(n),n=n.parent;let c=s.node;if(c){if(c!=e.child(i-1))break;--i,a.set(s,i),o.push(s)}}return{index:i,matched:a,matches:o.reverse()}}function pw(e,t){return e.type.side-t.type.side}function mw(e,t,n,r){let i=t.locals(e),a=0;if(i.length==0){for(let n=0;n<e.childCount;n++){let o=e.child(n);r(o,i,t.forChild(a,o),n),a+=o.nodeSize}return}let o=0,s=[],c=null;for(let l=0;;){let u,d;for(;o<i.length&&i[o].to==a;){let e=i[o++];e.widget&&(u?(d||=[u]).push(e):u=e)}if(u){if(d){d.sort(pw);for(let e=0;e<d.length;e++)n(d[e],l,!!c)}else n(u,l,!!c)}let f,p;if(c)p=-1,f=c,c=null;else if(l<e.childCount)p=l,f=e.child(l++);else break;for(let e=0;e<s.length;e++)s[e].to<=a&&s.splice(e--,1);for(;o<i.length&&i[o].from<=a&&i[o].to>a;)s.push(i[o++]);let m=a+f.nodeSize;if(f.isText){let e=m;o<i.length&&i[o].from<e&&(e=i[o].from);for(let t=0;t<s.length;t++)s[t].to<e&&(e=s[t].to);e<m&&(c=f.cut(e-a),f=f.cut(0,e-a),m=e,p=-1)}else for(;o<i.length&&i[o].to<m;)o++;let h=f.isInline&&!f.isLeaf?s.filter(e=>!e.inline):s.slice();r(f,h,t.forChild(a,f),p),a=m}}function hw(e){if(e.nodeName==`UL`||e.nodeName==`OL`){let t=e.style.cssText;e.style.cssText=t+`; list-style: square !important`,window.getComputedStyle(e).listStyle,e.style.cssText=t}}function gw(e,t,n,r){for(let i=0,a=0;i<e.childCount&&a<=r;){let o=e.child(i++),s=a;if(a+=o.nodeSize,!o.isText)continue;let c=o.text;for(;i<e.childCount;){let t=e.child(i++);if(a+=t.nodeSize,!t.isText)break;c+=t.text}if(a>=n){if(a>=r&&c.slice(r-t.length-s,r-s)==t)return r-t.length;let e=s<r?c.lastIndexOf(t,r-s-1):-1;if(e>=0&&e+t.length+s>=n)return s+e;if(n==r&&c.length>=r+t.length-s&&c.slice(r-s,r-s+t.length)==t)return r}}return-1}function _w(e,t,n,r,i){let a=[];for(let o=0,s=0;o<e.length;o++){let c=e[o],l=s,u=s+=c.size;l>=n||u<=t?a.push(c):(l<t&&a.push(c.slice(0,t-l,r)),i&&=(a.push(i),void 0),u>n&&a.push(c.slice(n-l,c.size,r)))}return a}function vw(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),a=i&&i.size==0,o=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let s=r.resolve(o),c,l;if(HS(n)){for(c=o;i&&!i.node;)i=i.parent;if(i&&i.node.isAtom&&Vx.isSelectable(i.node)&&i.parent&&!(i.node.isInline&&cte(n.focusNode,n.focusOffset,i.dom))){let e=i.posBefore;l=new Vx(o==e?s:r.resolve(e))}else if(eC&&t==`key`&&o>e.state.selection.to&&RS(n.focusNode)&&n.focusOffset==n.focusNode.childNodes.length&&i&&i.posAtStart>e.state.selection.to)for(let e=n.focusNode;;e=e.parentNode){if(getComputedStyle(e).overflow!=`visible`){l=Fx.findFrom(r.resolve(i.posAtStart),1);break}if(e==i.dom||e.nextSibling||!e.parentNode||!RS(e.parentNode))break}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let t=o,i=o;for(let r=0;r<n.rangeCount;r++){let a=n.getRangeAt(r);t=Math.min(t,e.docView.posFromDOM(a.startContainer,a.startOffset,1)),i=Math.max(i,e.docView.posFromDOM(a.endContainer,a.endOffset,-1))}if(t<0)return null;[c,o]=i==e.state.selection.anchor?[i,t]:[t,i],s=r.resolve(o)}else c=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(c<0)return null}let u=r.resolve(c);if(!l){let n=t==`pointer`||e.state.selection.head<s.pos&&!a?1:-1;l=kw(e,u,s,n)}return l}function yw(e){return e.editable?e.hasFocus():jw(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function bw(e,t=!1){let n=e.state.selection;if(Dw(e,n),!yw(e))return;let r=e.input.mouseDown;if(!t&&nC&&r){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&FS(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset)&&r.delaySelUpdate()){e.domObserver.setCurSelection();return}}if(e.domObserver.disconnectSelection(),e.cursorWrapper)Ew(e);else{let{anchor:r,head:i}=n,a,o;xw&&!(n instanceof zx)&&(n.$from.parent.inlineContent||(a=Sw(e,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(o=Sw(e,n.to))),e.docView.setSelection(r,i,e,t),xw&&(a&&ww(a),o&&ww(o)),n.visible?e.dom.classList.remove(`ProseMirror-hideselection`):(e.dom.classList.add(`ProseMirror-hideselection`),`onselectionchange`in document&&Tw(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}var xw=iC||nC&&rC<63;function Sw(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),i=r<n.childNodes.length?n.childNodes[r]:null,a=r?n.childNodes[r-1]:null;if(iC&&i&&i.contentEditable==`false`)return Cw(i);if((!i||i.contentEditable==`false`)&&(!a||a.contentEditable==`false`)){if(i)return Cw(i);if(a)return Cw(a)}}function Cw(e){return e.contentEditable=`true`,iC&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function ww(e){e.contentEditable=`false`,e.wasDraggable&&=(e.draggable=!0,null)}function Tw(e){let t=e.dom.ownerDocument;t.removeEventListener(`selectionchange`,e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,i=n.anchorOffset;t.addEventListener(`selectionchange`,e.input.hideSelectionGuard=()=>{(n.anchorNode!=r||n.anchorOffset!=i)&&(t.removeEventListener(`selectionchange`,e.input.hideSelectionGuard),setTimeout(()=>{(!yw(e)||e.state.selection.visible)&&e.dom.classList.remove(`ProseMirror-hideselection`)},20))})}function Ew(e){let t=e.domSelection();if(!t)return;let n=e.cursorWrapper.dom,r=n.nodeName==`IMG`;r?t.collapse(n.parentNode,jS(n)+1):t.collapse(n,0),!r&&!e.state.selection.visible&&QS&&$S<=11&&(n.disabled=!0,n.disabled=!1)}function Dw(e,t){if(t instanceof Vx){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Ow(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Ow(e)}function Ow(e){e.lastSelectedViewDesc&&=(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),void 0)}function kw(e,t,n,r){return e.someProp(`createSelectionBetween`,r=>r(e,t,n))||zx.between(t,n,r)}function Aw(e){return e.editable&&!e.hasFocus()?!1:jw(e)}function jw(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return BS(e.dom,t.anchorNode)&&(e.editable||BS(e.dom,t.focusNode))}catch{return!1}}function Mw(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return FS(t.node,t.offset,n.anchorNode,n.anchorOffset)}function Nw(e,t){let{$anchor:n,$head:r}=e.selection,i=t>0?n.max(r):n.min(r),a=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return a&&Fx.findFrom(a,t)}function Pw(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Fw(e,t,n){let r=e.state.selection;if(r instanceof zx){if(n.indexOf(`s`)>-1){let{$head:n}=r,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let a=e.state.doc.resolve(n.pos+i.nodeSize*(t<0?-1:1));return Pw(e,new zx(r.$anchor,a))}if(!r.empty)return!1;if(e.endOfTextblock(t>0?`forward`:`backward`)){let n=Nw(e.state,t);return n&&n instanceof Vx?Pw(e,n):!1}if(!oC||n.indexOf(`m`)<0){let n=r.$head,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter,a;if(!i||i.isText)return!1;let o=t<0?n.pos-i.nodeSize:n.pos;return i.isAtom||(a=e.docView.descAt(o))&&!a.contentDOM?Vx.isSelectable(i)?Pw(e,new Vx(t<0?e.state.doc.resolve(n.pos-i.nodeSize):n)):Pw(e,new zx(e.state.doc.resolve(t<0?o:o+i.nodeSize))):!1}}else if(r instanceof Vx&&r.node.isInline)return Pw(e,new zx(t>0?r.$to:r.$from));else{let n=Nw(e.state,t);return n?Pw(e,n):!1}}function Iw(e,t){let n=e.pmViewDesc;return n?n.size==0&&(t<0||e.nextSibling||e.nodeName!=`BR`):RS(e)&&e.contentEditable==`false`}function Lw(e,t){return t<0?Rw(e):zw(e)}function Rw(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,a,o=!1;for(eC&&RS(n)&&r<LS(n)&&Iw(n.childNodes[r],-1)&&(o=!0);;)if(r>0){if(!RS(n))break;let e=n.childNodes[r-1];if(Iw(e,-1))i=n,a=--r;else if(zS(e))n=e,r=n.nodeValue.length;else break}else if(Bw(n))break;else{let t=n.previousSibling;for(;t&&Iw(t,-1);)i=n.parentNode,a=jS(t),t=t.previousSibling;if(t)n=t,r=LS(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}o?Uw(e,n,r):i&&Uw(e,i,a)}function zw(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i=LS(n),a,o;for(;;)if(r<i){if(!RS(n))break;let e=n.childNodes[r];if(Iw(e,1))a=n,o=++r;else break}else if(Bw(n))break;else{let t=n.nextSibling;for(;t&&Iw(t,1);)a=t.parentNode,o=jS(t)+1,t=t.nextSibling;if(t)n=t,r=0,i=LS(n);else{if(n=n.parentNode,n==e.dom)break;r=i=0}}a&&Uw(e,a,o)}function Bw(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function Vw(e,t){for(;e&&t==e.childNodes.length&&!VS(e);)t=jS(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(zS(n))return n;if(RS(n)&&n.contentEditable==`false`)break;e=n,t=0}}function Hw(e,t){for(;e&&!t&&!VS(e);)t=jS(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(zS(n))return n;if(RS(n)&&n.contentEditable==`false`)break;e=n,t=e.childNodes.length}}function Uw(e,t,n){if(!zS(t)){let e,r;(r=Vw(t,n))?(t=r,n=0):(e=Hw(t,n))&&(t=e,n=e.nodeValue.length)}let r=e.domSelection(),i=e.domSelectionRange();if(!r)return;HS(i)?r.collapse(t,n):r.extend&&(r.collapse(i.anchorNode,i.anchorOffset),r.extend(t,n)),e.domObserver.setCurSelection();let{state:a}=e;setTimeout(()=>{e.state==a&&bw(e)},50)}function Ww(e,t){let n=e.state.doc.resolve(t);if(!(nC||sC)&&n.parent.inlineContent){let r=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left<r.left?`ltr`:`rtl`}if(t<n.end()){let n=e.coordsAtPos(t+1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left>r.left?`ltr`:`rtl`}}let r=e.dom;for(let t=n.depth;t>0;t--)if(n.node(t).isBlock){r=e.nodeDOM(n.before(t))||r;break}return getComputedStyle(r).direction==`rtl`?`rtl`:`ltr`}function Gw(e,t,n){let r=e.state.selection;if(r instanceof zx&&!r.empty||n.indexOf(`s`)>-1||oC&&n.indexOf(`m`)>-1)return!1;let{$from:i,$to:a}=r;if(!i.parent.inlineContent||e.endOfTextblock(t<0?`up`:`down`)){let n=Nw(e.state,t);if(n&&n instanceof Vx)return Pw(e,n)}if(!i.parent.inlineContent){let n=t<0?i:a,o=r instanceof Hx?Fx.near(n,t):Fx.findFrom(n,t);return o?Pw(e,o):!1}return!1}function Kw(e,t){if(!(e.state.selection instanceof zx))return!0;let{$head:n,$anchor:r,empty:i}=e.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?`forward`:`backward`))return!0;let a=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(a&&!a.isText){let r=e.state.tr;return t<0?r.delete(n.pos-a.nodeSize,n.pos):r.delete(n.pos,n.pos+a.nodeSize),e.dispatch(r),!0}return!1}function qw(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Jw(e){if(!iC||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&RS(t)&&n==0&&t.firstChild&&RS(t.firstChild)&&t.firstChild.contentEditable==`false`){let n=t.firstChild;qw(e,n,`true`),setTimeout(()=>qw(e,n,`false`),20)}return!1}function Yw(e){let t=``;return e.ctrlKey&&(t+=`c`),e.metaKey&&(t+=`m`),e.altKey&&(t+=`a`),e.shiftKey&&(t+=`s`),t}function Xw(e,t){let n=t.keyCode,r=Yw(t);if(n==8||oC&&n==72&&r==`c`)return Kw(e,-1)||Lw(e,-1);if(n==46&&!t.shiftKey||oC&&n==68&&r==`c`)return Kw(e,1)||Lw(e,1);if(n==13||n==27)return!0;if(n==37||oC&&n==66&&r==`c`){let t=n==37?Ww(e,e.state.selection.from)==`ltr`?-1:1:-1;return Fw(e,t,r)||Lw(e,t)}if(n==39||oC&&n==70&&r==`c`){let t=n==39?Ww(e,e.state.selection.from)==`ltr`?1:-1:1;return Fw(e,t,r)||Lw(e,t)}return n==38||oC&&n==80&&r==`c`?Gw(e,-1,r)||Lw(e,-1):n==40||oC&&n==78&&r==`c`?Jw(e)||Gw(e,1,r)||Lw(e,1):!(r!=(oC?`m`:`c`)||n!=66&&n!=73&&n!=89&&n!=90)}function Zw(e,t){e.someProp(`transformCopied`,n=>{t=n(t,e)});let n=[],{content:r,openStart:i,openEnd:a}=t;for(;i>1&&a>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,a--;let e=r.firstChild;n.push(e.type.name,e.attrs==e.type.defaultAttrs?null:e.attrs),r=e.content}let o=e.someProp(`clipboardSerializer`)||db.fromSchema(e.state.schema),s=sT(),c=s.createElement(`div`);c.appendChild(o.serializeFragment(r,{document:s}));let l=c.firstChild,u,d=0;for(;l&&RS(l)&&(u=oT[l.nodeName.toLowerCase()]);){for(let e=u.length-1;e>=0;e--){let t=s.createElement(u[e]);for(;c.firstChild;)t.appendChild(c.firstChild);c.appendChild(t),d++}l=c.firstChild}return l&&RS(l)&&l.setAttribute(`data-pm-slice`,`${i} ${a}${d?` -${d}`:``} ${JSON.stringify(n)}`),{dom:c,text:e.someProp(`clipboardTextSerializer`,n=>n(t,e))||t.content.textBetween(0,t.content.size,`--`),slice:t}}function Qw(e,t,n,r,i){let a=i.parent.type.spec.code,o,s;if(!n&&!t)return null;let c=!!t&&(r||a||!n);if(c){if(e.someProp(`transformPastedText`,n=>{t=n(t,a||r,e)}),a)return s=new q(K.from(e.state.schema.text(t.replace(/\r\n?/g,`-`))),0,0),e.someProp(`transformPasted`,t=>{s=t(s,e,!0)}),s;let n=e.someProp(`clipboardTextParser`,n=>n(t,i,r,e));if(n)s=n;else{let n=i.marks(),{schema:r}=e.state,a=db.fromSchema(r);o=document.createElement(`div`),t.split(/(?:\r\n?|\n)+/).forEach(e=>{let t=o.appendChild(document.createElement(`p`));e&&t.appendChild(a.serializeNode(r.text(e,n)))})}}else e.someProp(`transformPastedHTML`,t=>{n=t(n,e)}),o=uT(n),lC&&dT(o);let l=o&&o.querySelector(`[data-pm-slice]`),u=l&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(l.getAttribute(`data-pm-slice`)||``);if(u&&u[3])for(let e=+u[3];e>0;e--){let e=o.firstChild;for(;e&&!RS(e);)e=e.nextSibling;if(!e)break;o=e}if(s||=(e.someProp(`clipboardParser`)||e.someProp(`domParser`)||Zy.fromSchema(e.state.schema)).parseSlice(o,{preserveWhitespace:!!(c||u),context:i,ruleFromNode(e){return e.nodeName==`BR`&&!e.nextSibling&&e.parentNode&&!$w.test(e.parentNode.nodeName)?{ignore:!0}:null}}),u)s=fT(aT(s,+u[1],+u[2]),u[4]);else if(s=q.maxOpen(eT(s.content,i),!0),s.openStart||s.openEnd){let e=0,t=0;for(let t=s.content.firstChild;e<s.openStart&&!t.type.spec.isolating;e++,t=t.firstChild);for(let e=s.content.lastChild;t<s.openEnd&&!e.type.spec.isolating;t++,e=e.lastChild);s=aT(s,e,t)}return e.someProp(`transformPasted`,t=>{s=t(s,e,c)}),s}var $w=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function eT(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let r=t.node(n).contentMatchAt(t.index(n)),i,a=[];if(e.forEach(e=>{if(!a)return;let t=r.findWrapping(e.type),n;if(!t)return a=null;if(n=a.length&&i.length&&nT(t,i,e,a[a.length-1],0))a[a.length-1]=n;else{a.length&&(a[a.length-1]=rT(a[a.length-1],i.length));let n=tT(e,t);a.push(n),r=r.matchType(n.type),i=t}}),a)return K.from(a)}return e}function tT(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,K.from(e));return e}function nT(e,t,n,r,i){if(i<e.length&&i<t.length&&e[i]==t[i]){let a=nT(e,t,n,r.lastChild,i+1);if(a)return r.copy(r.content.replaceChild(r.childCount-1,a));if(r.contentMatchAt(r.childCount).matchType(i==e.length-1?n.type:e[i+1]))return r.copy(r.content.append(K.from(tT(n,e,i+1))))}}function rT(e,t){if(t==0)return e;let n=e.content.replaceChild(e.childCount-1,rT(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(K.empty,!0);return e.copy(n.append(r))}function iT(e,t,n,r,i,a){let o=t<0?e.firstChild:e.lastChild,s=o.content;return e.childCount>1&&(a=0),i<r-1&&(s=iT(s,t,n,r,i+1,a)),i>=n&&(s=t<0?o.contentMatchAt(0).fillBefore(s,a<=i).append(s):s.append(o.contentMatchAt(o.childCount).fillBefore(K.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,o.copy(s))}function aT(e,t,n){return t<e.openStart&&(e=new q(iT(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new q(iT(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}var oT={thead:[`table`],tbody:[`table`],tfoot:[`table`],caption:[`table`],colgroup:[`table`],col:[`table`,`colgroup`],tr:[`table`,`tbody`],td:[`table`,`tbody`,`tr`],th:[`table`,`tbody`,`tr`]};function sT(){return document.implementation.createHTMLDocument(`title`)}var cT=null;function lT(e){let t=window.trustedTypes;if(!t)return e;if(!cT){if(cT=t.defaultPolicy)try{return cT.createHTML(e)}catch{}cT=t.createPolicy(`ProseMirrorClipboard`,{createHTML:e=>e})}return cT.createHTML(e)}function uT(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=sT(),r=n.body,i=/<([a-z][^>\s]+)/i.exec(e),a;if((a=i&&oT[i[1].toLowerCase()])&&(e=a.map(e=>`<`+e+`>`).join(``)+e+a.map(e=>`</`+e+`>`).reverse().join(``)),r.innerHTML=lT(e),a)for(let e=0;e<a.length;e++)r=r.querySelector(a[e])||r;for(let e=0;e<n.styleSheets.length;e++){let t=n.styleSheets[e];for(let e=0;e<t.rules.length;e++){let n=t.rules[e];if(n instanceof CSSStyleRule){let e=r.querySelectorAll(n.selectorText);for(let t=0;t<e.length;t++)e[t].style.cssText+=n.style.cssText}}}return r}function dT(e){let t=e.querySelectorAll(nC?`span:not([class]):not([style])`:`span.Apple-converted-space`);for(let n=0;n<t.length;n++){let r=t[n];r.childNodes.length==1&&r.textContent==`\xA0`&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(` `),r)}}function fT(e,t){if(!e.size)return e;let n=e.content.firstChild.type.schema,r;try{r=JSON.parse(t)}catch{return e}let{content:i,openStart:a,openEnd:o}=e;for(let e=r.length-2;e>=0;e-=2){let t=n.nodes[r[e]];if(!t||t.hasRequiredAttrs())break;try{i=K.from(t.create(r[e+1],i))}catch{break}a++,o++}return new q(i,a,o)}var pT={},mT={},hT={touchstart:!0,touchmove:!0},gT=class{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:``,button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}};function _T(e){for(let t in pT){let n=pT[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{ST(e,t)&&!xT(e,t)&&(e.editable||!(t.type in mT))&&n(e,t)},hT[t]?{passive:!0}:void 0)}iC&&e.dom.addEventListener(`input`,()=>null),bT(e)}function vT(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function yT(e){e.input.mouseDown&&e.input.mouseDown.done(),e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}function bT(e){e.someProp(`handleDOMEvents`,t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>xT(e,t))})}function xT(e,t){return e.someProp(`handleDOMEvents`,n=>{let r=n[t.type];return r?r(e,t)||t.defaultPrevented:!1})}function ST(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function CT(e,t){!xT(e,t)&&pT[t.type]&&(e.editable||!(t.type in mT))&&pT[t.type](e,t)}mT.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=n.keyCode==16||n.shiftKey,!BT(e)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!(cC&&nC&&n.keyCode==13))){if(n.keyCode!=229&&e.domObserver.forceFlush(),aC&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==t&&(e.someProp(`handleKeyDown`,t=>t(e,US(13,`Enter`))),e.input.lastIOSEnter=0)},200)}else e.someProp(`handleKeyDown`,t=>t(e,n))||Xw(e,n)?n.preventDefault():vT(e,`key`)}},mT.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)},mT.keypress=(e,t)=>{let n=t;if(BT(e)||!n.charCode||n.ctrlKey&&!n.altKey||oC&&n.metaKey)return;if(e.someProp(`handleKeyPress`,t=>t(e,n))){n.preventDefault();return}let r=e.state.selection;if(!(r instanceof zx)||!r.$from.sameParent(r.$to)){let t=String.fromCharCode(n.charCode),i=()=>e.state.tr.insertText(t).scrollIntoView();!/[\r\n]/.test(t)&&!e.someProp(`handleTextInput`,n=>n(e,r.$from.pos,r.$to.pos,t,i))&&e.dispatch(i()),n.preventDefault()}};function wT(e){return{left:e.clientX,top:e.clientY}}function TT(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function ET(e,t,n,r,i){if(r==-1)return!1;let a=e.state.doc.resolve(r);for(let r=a.depth+1;r>0;r--)if(e.someProp(t,t=>r>a.depth?t(e,n,a.nodeAfter,a.before(r),i,!0):t(e,n,a.node(r),a.before(r),i,!1)))return!0;return!1}function DT(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let r=e.state.tr.setSelection(t);r.setMeta(`pointer`,!0),e.dispatch(r)}function OT(e,t){if(t==-1)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return r&&r.isAtom&&Vx.isSelectable(r)?(DT(e,new Vx(n)),!0):!1}function kT(e,t){if(t==-1)return!1;let n=e.state.selection,r,i;n instanceof Vx&&(r=n.node);let a=e.state.doc.resolve(t);for(let e=a.depth+1;e>0;e--){let t=e>a.depth?a.nodeAfter:a.node(e);if(Vx.isSelectable(t)){i=r&&n.$from.depth>0&&e>=n.$from.depth&&a.before(n.$from.depth+1)==n.$from.pos?a.before(n.$from.depth):a.before(e);break}}return i!=null&&(DT(e,Vx.create(e.state.doc,i)),!0)}function AT(e,t,n,r,i){return ET(e,`handleClickOn`,t,n,r)||e.someProp(`handleClick`,n=>n(e,t,r))||(i?kT(e,n):OT(e,n))}function jT(e,t,n,r){return ET(e,`handleDoubleClickOn`,t,n,r)||e.someProp(`handleDoubleClick`,n=>n(e,t,r))}function MT(e,t,n,r){return ET(e,`handleTripleClickOn`,t,n,r)||e.someProp(`handleTripleClick`,n=>n(e,t,r))||NT(e,n,r)}function NT(e,t,n){if(n.button!=0)return!1;let r=PT(e,t,!0),i=e.state.doc;return r?(DT(e,r),r instanceof zx&&i.eq(e.state.doc)&&(e.input.mouseDown=new zT(e,r)),!0):!1}function PT(e,t,n){let r=e.state.doc;if(t==-1)return r.inlineContent?zx.create(r,0,r.content.size):null;let i=r.resolve(t);for(let e=i.depth+1;e>0;e--){let t=e>i.depth?i.nodeAfter:i.node(e),a=i.before(e);if(t.inlineContent)return zx.create(r,a+1,a+1+t.content.size);if(n&&Vx.isSelectable(t))return Vx.create(r,a)}return null}function FT(e){return KT(e)}var IT=oC?`metaKey`:`ctrlKey`;pT.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=FT(e),i=Date.now(),a=`singleClick`;i-e.input.lastClick.time<500&&TT(n,e.input.lastClick)&&!n[IT]&&e.input.lastClick.button==n.button&&(e.input.lastClick.type==`singleClick`?a=`doubleClick`:e.input.lastClick.type==`doubleClick`&&(a=`tripleClick`)),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:a,button:n.button},e.input.mouseDown&&e.input.mouseDown.done();let o=e.posAtCoords(wT(n));o&&(a==`singleClick`?e.input.mouseDown=new RT(e,o,n,!!r):(a==`doubleClick`?jT:MT)(e,o.pos,o.inside,n)?n.preventDefault():vT(e,`pointer`))};var LT=class{constructor(e){this.view=e,this.mightDrag=null,e.root.addEventListener(`mouseup`,this.up=this.up.bind(this)),e.root.addEventListener(`mousemove`,this.move=this.move.bind(this))}up(e){this.done()}move(e){e.buttons==0&&this.done()}done(){this.view.root.removeEventListener(`mouseup`,this.up),this.view.root.removeEventListener(`mousemove`,this.move),this.view.input.mouseDown==this&&(this.view.input.mouseDown=null)}delaySelUpdate(){return!1}},RT=class extends LT{constructor(e,t,n,r){super(e),this.pos=t,this.event=n,this.flushed=r,this.delayedSelectionSync=!1,this.startDoc=e.state.doc,this.selectNode=!!n[IT],this.allowDefault=n.shiftKey;let i,a;if(t.inside>-1)i=e.state.doc.nodeAt(t.inside),a=t.inside;else{let n=e.state.doc.resolve(t.pos);i=n.parent,a=n.depth?n.before():0}let o=r?null:n.target,s=o?e.docView.nearestDesc(o,!0):null;this.target=s&&RS(s.nodeDOM)?s.nodeDOM:null;let{selection:c}=e.state;n.button==0&&(i.type.spec.draggable&&i.type.spec.selectable!==!1||c instanceof Vx&&c.from<=a&&c.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!(!this.target||this.target.draggable),setUneditable:!!(this.target&&eC&&!this.target.hasAttribute(`contentEditable`))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute(`contentEditable`,`false`)},20),this.view.domObserver.start()),vT(e,`pointer`)}done(){super.done(),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute(`draggable`),this.mightDrag.setUneditable&&this.target.removeAttribute(`contentEditable`),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>{this.view.isDestroyed||bw(this.view)})}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(wT(e))),this.updateAllowDefault(e),this.allowDefault||!t?vT(this.view,`pointer`):AT(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||iC&&this.mightDrag&&!this.mightDrag.node.isAtom||nC&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(DT(this.view,Fx.near(this.view.state.doc.resolve(t.pos))),e.preventDefault()):vT(this.view,`pointer`)}move(e){this.updateAllowDefault(e),vT(this.view,`pointer`),super.move(e)}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}delaySelUpdate(){return this.allowDefault?(this.delayedSelectionSync=!0,!0):!1}},zT=class extends LT{constructor(e,t){super(e),this.startSelection=t,this.startDoc=e.state.doc}move(e){if(e.buttons==0||this.view.isDestroyed||!this.view.state.doc.eq(this.startDoc)){this.done();return}e.preventDefault(),vT(this.view,`pointer`);let t=this.view.posAtCoords(wT(e)),n=t&&PT(this.view,t.inside,!1);if(!n)return;let{doc:r}=this.view.state,i=this.startSelection,[a,o]=n.from<i.from?[i.to,n.from]:[i.from,n.to];DT(this.view,zx.create(r,a,o))}};pT.touchstart=e=>{e.input.lastTouch=Date.now(),FT(e),vT(e,`pointer`)},pT.touchmove=e=>{e.input.lastTouch=Date.now(),vT(e,`pointer`)},pT.contextmenu=e=>FT(e);function BT(e,t){return e.composing?!0:iC&&Math.abs(Date.now()-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}var VT=cC?5e3:-1;mT.compositionstart=mT.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof zx&&t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(e=>e.type.spec.inclusive===!1)||nC&&sC&&HT(e)))e.markCursor=e.state.storedMarks||n.marks(),KT(e,!0),e.markCursor=null;else if(KT(e,!t.selection.empty),eC&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,r=t.focusOffset;n&&RS(n)&&r!=0;){let t=r<0?n.lastChild:n.childNodes[r-1];if(!t)break;if(zS(t)){let n=e.domSelection();n&&n.collapse(t,t.nodeValue.length);break}n=t,r=-1}}e.input.composing=!0}UT(e,VT)};function HT(e){let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(!t||!RS(t)||n>=t.childNodes.length)return!1;let r=t.childNodes[n];return RS(r)&&r.contentEditable==`false`}mT.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Date.now(),e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.badSafariComposition?e.domObserver.forceFlush():e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,UT(e,20))};function UT(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>KT(e),t))}function WT(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Date.now());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function GT(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=ote(t.focusNode,t.focusOffset),r=ste(t.focusNode,t.focusOffset);if(n&&r&&n!=r){let t=r.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(n==i||r==i)return i;if(!t||!t.isText(r.nodeValue))return r;if(e.input.compositionNode==r){let e=n.pmViewDesc;if(e&&e.isText(n.nodeValue))return r}}return n||r}function KT(e,t=!1){if(!(cC&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),WT(e),t||e.docView&&e.docView.dirty){let n=vw(e),r=e.state.selection;return n&&!n.eq(r)?e.dispatch(e.state.tr.setSelection(n)):(e.markCursor||t)&&!r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?e.dispatch(e.state.tr.deleteSelection()):e.updateState(e.state),!0}return!1}}function qT(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement(`div`));n.appendChild(t),n.style.cssText=`position: fixed; left: -10000px; top: 10px`;let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}var JT=QS&&$S<15||aC&&uC<604;pT.copy=mT.cut=(e,t)=>{let n=t,r=e.state.selection,i=n.type==`cut`;if(r.empty)return;let a=JT?null:n.clipboardData,{dom:o,text:s}=Zw(e,r.content());a?(n.preventDefault(),a.clearData(),a.setData(`text/html`,o.innerHTML),a.setData(`text/plain`,s)):qT(e,o),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta(`uiEvent`,`cut`))};function YT(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function XT(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?`textarea`:`div`));n||(r.contentEditable=`true`),r.style.cssText=`position: fixed; left: -10000px; top: 10px`,r.focus();let i=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?ZT(e,r.value,null,i,t):ZT(e,r.textContent,r.innerHTML,i,t)},50)}function ZT(e,t,n,r,i){let a=Qw(e,t,n,r,e.state.selection.$from);if(e.someProp(`handlePaste`,t=>t(e,i,a||q.empty)))return!0;if(!a)return!1;let o=YT(a),s=o?e.state.tr.replaceSelectionWith(o,r):e.state.tr.replaceSelection(a);return e.dispatch(s.scrollIntoView().setMeta(`paste`,!0).setMeta(`uiEvent`,`paste`)),!0}function QT(e){let t=e.getData(`text/plain`)||e.getData(`Text`);if(t)return t;let n=e.getData(`text/uri-list`);return n?n.replace(/\r?\n/g,` `):``}mT.paste=(e,t)=>{let n=t;if(e.composing&&!cC)return;let r=JT?null:n.clipboardData,i=e.input.shiftKey&&e.input.lastKeyCode!=45;r&&ZT(e,QT(r),r.getData(`text/html`),i,n)?n.preventDefault():XT(e,n)};var $T=class{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}},eE=oC?`altKey`:`ctrlKey`;function tE(e,t){let n;return e.someProp(`dragCopies`,e=>{n||=e(t)}),n==null?!t[eE]:!n}pT.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=e.state.selection,a=i.empty?null:e.posAtCoords(wT(n)),o;if(!(a&&a.pos>=i.from&&a.pos<=(i instanceof Vx?i.to-1:i.to))){if(r&&r.mightDrag)o=Vx.create(e.state.doc,r.mightDrag.pos);else if(n.target&&RS(n.target)){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&(o=Vx.create(e.state.doc,t.posBefore))}}let{dom:s,text:c,slice:l}=Zw(e,(o||e.state.selection).content());(!n.dataTransfer.files.length||!nC||rC>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(JT?`Text`:`text/html`,s.innerHTML),n.dataTransfer.effectAllowed=`copyMove`,JT||n.dataTransfer.setData(`text/plain`,c),e.dragging=new $T(l,tE(e,n),o)},pT.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)},mT.dragover=mT.dragenter=(e,t)=>t.preventDefault(),mT.drop=(e,t)=>{try{nE(e,t,e.dragging)}finally{e.dragging=null}};function nE(e,t,n){if(!t.dataTransfer)return;let r=e.posAtCoords(wT(t));if(!r)return;let i=e.state.doc.resolve(r.pos),a=n&&n.slice;a?e.someProp(`transformPasted`,t=>{a=t(a,e,!1)}):a=Qw(e,QT(t.dataTransfer),JT?null:t.dataTransfer.getData(`text/html`),!1,i);let o=!!(n&&tE(e,t));if(e.someProp(`handleDrop`,n=>n(e,t,a||q.empty,o))){t.preventDefault();return}if(!a)return;t.preventDefault();let s=a?px(e.state.doc,i.pos,a):i.pos;s??=i.pos;let c=e.state.tr;if(o){let{node:e}=n;e?e.replace(c):c.deleteSelection()}let l=c.mapping.map(s),u=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=c.doc;if(u?c.replaceRangeWith(l,l,a.content.firstChild):c.replaceRange(l,l,a),c.doc.eq(d))return;let f=c.doc.resolve(l);if(u&&Vx.isSelectable(a.content.firstChild)&&f.nodeAfter&&f.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new Vx(f));else{let t=c.mapping.map(s);c.mapping.maps[c.mapping.maps.length-1].forEach((e,n,r,i)=>t=i),c.setSelection(kw(e,f,c.doc.resolve(t)))}e.focus(),e.dispatch(c.setMeta(`uiEvent`,`drop`))}pT.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add(`ProseMirror-focused`),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&bw(e)},20))},pT.blur=(e,t)=>{let n=t;e.focused&&=(e.domObserver.stop(),e.dom.classList.remove(`ProseMirror-focused`),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),!1)},pT.beforeinput=(e,t)=>{if(cC&&t.inputType==`deleteContentBackward`){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=t||(e.dom.blur(),e.focus(),e.someProp(`handleKeyDown`,t=>t(e,US(8,`Backspace`)))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let e in mT)pT[e]=mT[e];function rE(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}var iE=class{constructor(e){this.frag=e,this.index=0,this.off=0}nodeAt(e){for(;this.off<=e&&this.index<this.frag.childCount;){let t=this.frag.child(this.index);if(this.off==e)return t;this.off+=t.nodeSize,this.index++}return null}},aE=class e{constructor(e,t){this.toDOM=e,this.spec=t||uE,this.side=this.spec.side||0}map(e,t,n,r){let{pos:i,deleted:a}=e.mapResult(t.from+r,this.side<0?-1:1);return a?null:new cE(i-n,i-n,this)}valid(){return!0}eq(t){return this==t||t instanceof e&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&rE(this.spec,t.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}},oE=class e{constructor(e,t){this.attrs=e,this.spec=t||uE}map(e,t,n,r){let i=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,a=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=a?null:new cE(i,a,this)}valid(e,t){return t.from<t.to}eq(t){return this==t||t instanceof e&&rE(this.attrs,t.attrs)&&rE(this.spec,t.spec)}static is(t){return t.type instanceof e}destroy(){}},sE=class e{constructor(e,t){this.attrs=e,this.spec=t||uE}map(e,t,n,r){let i=e.mapResult(t.from+r,1);if(i.deleted)return null;let a=e.mapResult(t.to+r,-1);return a.deleted||a.pos<=i.pos?null:new cE(i.pos-n,a.pos-n,this)}valid(e,t,n){let r=n.nodeAt(t.from);return!!r&&!r.isText&&t.from+r.nodeSize==t.to}eq(t){return this==t||t instanceof e&&rE(this.attrs,t.attrs)&&rE(this.spec,t.spec)}destroy(){}},cE=class e{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(t,n){return new e(t,n,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(t,n,r){return new e(t,t,new aE(n,r))}static inline(t,n,r,i){return new e(t,n,new oE(r,i))}static node(t,n,r,i){return new e(t,n,new sE(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof oE}get widget(){return this.type instanceof aE}},lE=[],uE={},dE=class e{constructor(e,t){this.local=e.length?e:lE,this.children=t.length?t:lE}static create(e,t){return t.length?yE(t,e,0,uE):fE}find(e,t,n){let r=[];return this.findInner(e??0,t??1e9,r,0,n),r}findInner(e,t,n,r,i){for(let a=0;a<this.local.length;a++){let o=this.local[a];o.from<=t&&o.to>=e&&(!i||i(o.spec))&&n.push(o.copy(o.from+r,o.to+r))}for(let a=0;a<this.children.length;a+=3)if(this.children[a]<t&&this.children[a+1]>e){let o=this.children[a]+1;this.children[a+2].findInner(e-o,t-o,n,r+o,i)}}map(e,t,n){return this==fE||e.maps.length==0?this:this.mapInner(e,t,0,0,n||uE)}mapInner(t,n,r,i,a){let o;if(this.local.length){let e=new iE(n.content);for(let s=0;s<this.local.length;s++){let c=this.local[s].map(t,r,i);c&&c.type.valid(n,c,e)?(o||=[]).push(c):a.onRemove&&a.onRemove(this.local[s].spec)}}return this.children.length?mE(this.children,o||[],t,n,r,i,a):o?new e(o.sort(bE),lE):fE}add(t,n){return n.length?this==fE?e.create(t,n):this.addInner(t,n,0):this}addInner(t,n,r){let i,a=0;t.forEach((e,t)=>{let o=t+r,s;if(s=_E(n,e,o)){for(i||=this.children.slice();a<i.length&&i[a]<t;)a+=3;i[a]==t?i[a+2]=i[a+2].addInner(e,s,o+1):i.splice(a,0,t,t+e.nodeSize,yE(s,e,o+1,uE)),a+=3}});let o=hE(a?vE(n):n,-r);if(o.length){let e=new iE(t.content);for(let n=0;n<o.length;n++)o[n].type.valid(t,o[n],e)||o.splice(n--,1)}return new e(o.length?this.local.concat(o).sort(bE):this.local,i||this.children)}remove(e){return e.length==0||this==fE?this:this.removeInner(e,0)}removeInner(t,n){let r=this.children,i=this.local;for(let e=0;e<r.length;e+=3){let i,a=r[e]+n,o=r[e+1]+n;for(let e=0,n;e<t.length;e++)(n=t[e])&&n.from>a&&n.to<o&&(t[e]=null,(i||=[]).push(n));if(!i)continue;r==this.children&&(r=this.children.slice());let s=r[e+2].removeInner(i,a+1);s==fE?(r.splice(e,3),e-=3):r[e+2]=s}if(i.length){for(let e=0,r;e<t.length;e++)if(r=t[e])for(let e=0;e<i.length;e++)i[e].eq(r,n)&&(i==this.local&&(i=this.local.slice()),i.splice(e--,1))}return r==this.children&&i==this.local?this:i.length||r.length?new e(i,r):fE}forChild(t,n){if(this==fE)return this;if(n.isLeaf)return e.empty;let r,i;for(let e=0;e<this.children.length;e+=3)if(this.children[e]>=t){this.children[e]==t&&(r=this.children[e+2]);break}let a=t+1,o=a+n.content.size;for(let e=0;e<this.local.length;e++){let t=this.local[e];if(t.from<o&&t.to>a&&t.type instanceof oE){let e=Math.max(a,t.from)-a,n=Math.min(o,t.to)-a;e<n&&(i||=[]).push(t.copy(e,n))}}if(i){let t=new e(i.sort(bE),lE);return r?new pE([t,r]):t}return r||fE}eq(t){if(this==t)return!0;if(!(t instanceof e)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1;for(let e=0;e<this.local.length;e++)if(!this.local[e].eq(t.local[e]))return!1;for(let e=0;e<this.children.length;e+=3)if(this.children[e]!=t.children[e]||this.children[e+1]!=t.children[e+1]||!this.children[e+2].eq(t.children[e+2]))return!1;return!0}locals(e){return xE(this.localsInner(e))}localsInner(e){if(this==fE)return lE;if(e.inlineContent||!this.local.some(oE.is))return this.local;let t=[];for(let e=0;e<this.local.length;e++)this.local[e].type instanceof oE||t.push(this.local[e]);return t}forEachSet(e){e(this)}};dE.empty=new dE([],[]),dE.removeOverlap=xE;var fE=dE.empty,pE=class e{constructor(e){this.members=e}map(t,n){let r=this.members.map(e=>e.map(t,n,uE));return e.from(r)}forChild(t,n){if(n.isLeaf)return dE.empty;let r=[];for(let i=0;i<this.members.length;i++){let a=this.members[i].forChild(t,n);a!=fE&&(a instanceof e?r=r.concat(a.members):r.push(a))}return e.from(r)}eq(t){if(!(t instanceof e)||t.members.length!=this.members.length)return!1;for(let e=0;e<this.members.length;e++)if(!this.members[e].eq(t.members[e]))return!1;return!0}locals(e){let t,n=!0;for(let r=0;r<this.members.length;r++){let i=this.members[r].localsInner(e);if(i.length){if(!t)t=i;else{n&&=(t=t.slice(),!1);for(let e=0;e<i.length;e++)t.push(i[e])}}}return t?xE(n?t:t.sort(bE)):lE}static from(t){switch(t.length){case 0:return fE;case 1:return t[0];default:return new e(t.every(e=>e instanceof dE)?t:t.reduce((e,t)=>e.concat(t instanceof dE?t:t.members),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}};function mE(e,t,n,r,i,a,o){let s=e.slice();for(let e=0,t=a;e<n.maps.length;e++){let r=0;n.maps[e].forEach((e,n,i,a)=>{let o=a-i-(n-e);for(let i=0;i<s.length;i+=3){let a=s[i+1];if(a<0||e>a+t-r)continue;let c=s[i]+t-r;n>=c?s[i+1]=e<=c?-2:-1:e>=t&&o&&(s[i]+=o,s[i+1]+=o)}r+=o}),t=n.maps[e].map(t,-1)}let c=!1;for(let t=0;t<s.length;t+=3)if(s[t+1]<0){if(s[t+1]==-2){c=!0,s[t+1]=-1;continue}let l=n.map(e[t]+a),u=l-i;if(u<0||u>=r.content.size){c=!0;continue}let d=n.map(e[t+1]+a,-1)-i,{index:f,offset:p}=r.content.findIndex(u),m=r.maybeChild(f);if(m&&p==u&&p+m.nodeSize==d){let r=s[t+2].mapInner(n,m,l+1,e[t]+a+1,o);r==fE?(s[t+1]=-2,c=!0):(s[t]=u,s[t+1]=d,s[t+2]=r)}else c=!0}if(c){let c=yE(gE(s,e,t,n,i,a,o),r,0,o);t=c.local;for(let e=0;e<s.length;e+=3)s[e+1]<0&&(s.splice(e,3),e-=3);for(let e=0,t=0;e<c.children.length;e+=3){let n=c.children[e];for(;t<s.length&&s[t]<n;)t+=3;s.splice(t,0,c.children[e],c.children[e+1],c.children[e+2])}}return new dE(t.sort(bE),s)}function hE(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r<e.length;r++){let i=e[r];n.push(new cE(i.from+t,i.to+t,i.type))}return n}function gE(e,t,n,r,i,a,o){function s(e,t){for(let a=0;a<e.local.length;a++){let s=e.local[a].map(r,i,t);s?n.push(s):o.onRemove&&o.onRemove(e.local[a].spec)}for(let n=0;n<e.children.length;n+=3)s(e.children[n+2],e.children[n]+t+1)}for(let n=0;n<e.length;n+=3)e[n+1]==-1&&s(e[n+2],t[n]+a+1);return n}function _E(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,i=null;for(let t=0,a;t<e.length;t++)(a=e[t])&&a.from>n&&a.to<r&&((i||=[]).push(a),e[t]=null);return i}function vE(e){let t=[];for(let n=0;n<e.length;n++)e[n]!=null&&t.push(e[n]);return t}function yE(e,t,n,r){let i=[],a=!1;t.forEach((t,o)=>{let s=_E(e,t,o+n);if(s){a=!0;let e=yE(s,t,n+o+1,r);e!=fE&&i.push(o,o+t.nodeSize,e)}});let o=hE(a?vE(e):e,-n).sort(bE);if(o.length){let e=new iE(t.content);for(let n=0;n<o.length;n++)o[n].type.valid(t,o[n],e)||(r.onRemove&&r.onRemove(o[n].spec),o.splice(n--,1))}return o.length||i.length?new dE(o,i):fE}function bE(e,t){return e.from-t.from||e.to-t.to}function xE(e){let t=e;for(let n=0;n<t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let i=n+1;i<t.length;i++){let a=t[i];if(a.from==r.from)a.to!=r.to&&(t==e&&(t=e.slice()),t[i]=a.copy(a.from,r.to),SE(t,i+1,a.copy(r.to,a.to)));else{a.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,a.from),SE(t,i,r.copy(a.from,r.to)));break}}}return t}function SE(e,t,n){for(;t<e.length&&bE(n,e[t])>0;)t++;e.splice(t,0,n)}function CE(e){let t=[];return e.someProp(`decorations`,n=>{let r=n(e.state);r&&r!=fE&&t.push(r)}),e.cursorWrapper&&t.push(dE.create(e.state.doc,[e.cursorWrapper.deco])),pE.from(t)}var wE={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},TE=QS&&$S<=11,EE=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}},lte=class{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new EE,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(t=>{for(let e=0;e<t.length;e++)this.queue.push(t[e]);QS&&$S<=11&&t.some(e=>e.type==`childList`&&e.removedNodes.length||e.type==`characterData`&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():iC&&e.composing&&t.some(e=>e.type==`childList`&&e.target.nodeName==`TR`)?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),TE&&(this.onCharData=e=>{this.queue.push({target:e.target,type:`characterData`,oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,wE)),this.onCharData&&this.view.dom.addEventListener(`DOMCharacterDataModified`,this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener(`DOMCharacterDataModified`,this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener(`selectionchange`,this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener(`selectionchange`,this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Aw(this.view)){if(this.suppressingSelectionUpdates)return bw(this.view);if(QS&&$S<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&FS(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,n;for(let n=e.focusNode;n;n=MS(n))t.add(n);for(let r=e.anchorNode;r;r=MS(r))if(t.has(r)){n=r;break}let r=n&&this.view.docView.nearestDesc(n);if(r&&r.ignoreMutation({type:`selection`,target:zS(n)?n.parentNode:n}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let n,r=!1;!this.suppressingSelectionUpdates&&Aw(e)&&(n=e.domSelectionRange(),r=!this.currentSelection.eq(n)&&!this.ignoreSelectionChange(n));let i=-1,a=-1,o=!1,s=[];if(e.editable)for(let e=0;e<t.length;e++){let n=this.registerMutation(t[e],s);n&&(i=i<0?n.from:Math.min(n.from,i),a=a<0?n.to:Math.max(n.to,a),n.typeOver&&(o=!0))}if(s.some(e=>e.nodeName==`BR`)&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46||nC&&(e.composing||e.input.compositionEndedAt>Date.now()-50)&&t.some(e=>e.type==`childList`&&e.removedNodes.length))){for(let e of s)if(e.nodeName==`BR`&&e.parentNode){let t=e.nextSibling;for(;t&&RS(t);){if(t.contentEditable==`false`){e.parentNode.removeChild(e);break}t=t.firstChild}}}else if(eC&&s.length){let t=s.filter(e=>e.nodeName==`BR`);if(t.length==2){let[e,n]=t;e.parentNode&&e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}else{let{focusNode:n}=this.currentSelection;for(let r of t){let t=r.parentNode;t&&t.nodeName==`LI`&&(!n||fte(e,n)!=t)&&r.remove()}}}let c=null;i<0&&r&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&HS(n)&&(c=vw(e))&&c.eq(Fx.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,bw(e),this.currentSelection.set(n),e.scrollToSelection()):(i>-1||r)&&(i>-1&&(e.docView.markDirty(i,a),ute(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,pte(e,s)),this.handleDOMChange(i,a,o,s),e.docView&&e.docView.dirty?e.updateState(e.state):n&&!this.currentSelection.eq(n)&&bw(e),n&&this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if(e.type==`attributes`&&(n==this.view.docView||e.attributeName==`contenteditable`||e.attributeName==`style`&&!e.oldValue&&!e.target.getAttribute(`style`))||!n||n.ignoreMutation(e))return null;if(e.type==`childList`){for(let n=0;n<e.addedNodes.length;n++){let r=e.addedNodes[n];t.push(r),zS(r)&&(this.lastChangedTextNode=r)}if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let r=e.previousSibling,i=e.nextSibling;if(QS&&$S<=11&&e.addedNodes.length)for(let t=0;t<e.addedNodes.length;t++){let{previousSibling:n,nextSibling:a}=e.addedNodes[t];(!n||Array.prototype.indexOf.call(e.addedNodes,n)<0)&&(r=n),(!a||Array.prototype.indexOf.call(e.addedNodes,a)<0)&&(i=a)}let a=r&&r.parentNode==e.target?jS(r)+1:0,o=n.localPosFromDOM(e.target,a,-1),s=i&&i.parentNode==e.target?jS(i):e.target.childNodes.length;return{from:o,to:n.localPosFromDOM(e.target,s,1)}}return e.type==`attributes`?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}},DE=new WeakMap,OE=!1;function ute(e){if(!DE.has(e)&&(DE.set(e,null),[`normal`,`nowrap`,`pre-line`].indexOf(getComputedStyle(e.dom).whiteSpace)!==-1)){if(e.requiresGeckoHackNode=eC,OE)return;console.warn(`ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package.`),OE=!0}}function kE(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,a=t.endOffset,o=e.domAtPos(e.state.selection.anchor);return FS(o.node,o.offset,i,a)&&([n,r,i,a]=[i,a,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:a}}function dte(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return kE(e,n)}let n;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener(`beforeinput`,r,!0),document.execCommand(`indent`),e.dom.removeEventListener(`beforeinput`,r,!0),n?kE(e,n):null}function fte(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let t=e.docView.nearestDesc(n,!0);if(t&&t.node.isBlock)return n}return null}function pte(e,t){let{focusNode:n,focusOffset:r}=e.domSelectionRange();for(let i of t)if(i.parentNode?.nodeName==`TR`){let t=i.nextSibling;for(;t&&t.nodeName!=`TD`&&t.nodeName!=`TH`;)t=t.nextSibling;if(t){let a=t;for(;;){let e=a.firstChild;if(!e||!RS(e)||e.contentEditable==`false`||/^(BR|IMG)$/.test(e.nodeName))break;a=e}a.insertBefore(i,a.firstChild),n==i&&e.domSelection().collapse(i,r)}else i.parentNode.removeChild(i)}}function mte(e,t,n,r){let{node:i,fromOffset:a,toOffset:o,from:s,to:c}=e.docView.parseRange(t,n),l=e.domSelectionRange(),u,d=l.anchorNode;if(d&&BS(e.dom,d)&&(u=[{node:d,offset:l.anchorOffset}],HS(l)||u.push({node:l.focusNode,offset:l.focusOffset})),nC&&e.input.lastKeyCode===8)for(let e=o;e>a;e--){let t=i.childNodes[e-1],n=t.pmViewDesc;if(t.nodeName==`BR`&&!n){o=e;break}if(!n||n.size)break}let f=e.state.doc,p=e.someProp(`domParser`)||Zy.fromSchema(e.state.schema),m=f.resolve(s),h=null,g=p.parse(i,{topNode:m.parent,topMatch:m.parent.contentMatchAt(m.index()),topOpen:!0,from:a,to:o,preserveWhitespace:m.parent.type.whitespace!=`pre`||`full`,findPositions:u,ruleFromNode:hte(r),context:m});if(u&&u[0].pos!=null){let e=u[0].pos,t=u[1]&&u[1].pos;t??=e,h={anchor:e+s,head:t+s}}return{doc:g,sel:h,from:s,to:c}}var hte=e=>t=>{let n=t.pmViewDesc;if(n)return n.parseRule(e);if(t.nodeName==`BR`&&t.parentNode){if(iC&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let e=document.createElement(`div`);return e.appendChild(document.createElement(`li`)),{skip:e}}if(t.parentNode.lastChild==t||iC&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName==`IMG`&&t.getAttribute(`mark-placeholder`))return{ignore:!0};return null},gte=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function _te(e,t,n,r,i){let a=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=vw(e,t);if(n&&!e.state.selection.eq(n)){if(nC&&cC&&e.input.lastKeyCode===13&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp(`handleKeyDown`,t=>t(e,US(13,`Enter`))))return;let r=e.state.tr.setSelection(n);t==`pointer`?r.setMeta(`pointer`,!0):t==`key`&&r.scrollIntoView(),a&&r.setMeta(`composition`,a),e.dispatch(r)}return}let o=e.state.doc.resolve(t),s=o.sharedDepth(n);t=o.before(s+1),n=e.state.doc.resolve(n).after(s+1);let c=e.state.selection,l=mte(e,t,n,i),u=e.state.doc,d=u.slice(l.from,l.to),f,p;e.input.lastKeyCode===8&&Date.now()-100<e.input.lastKeyCodeTime?(f=e.state.selection.to,p=`end`):(f=e.state.selection.from,p=`start`),e.input.lastKeyCode=null;let m=xte(d.content,l.doc.content,l.from,f,p);if(m&&e.input.domChangeCount++,(aC&&e.input.lastIOSEnter>Date.now()-225||cC)&&i.some(e=>RS(e)&&!gte.test(e.nodeName))&&(!m||m.endA>=m.endB)&&e.someProp(`handleKeyDown`,t=>t(e,US(13,`Enter`)))){e.input.lastIOSEnter=0;return}if(!m){if(r&&c instanceof zx&&!c.empty&&c.$head.sameParent(c.$anchor)&&!e.composing&&!(l.sel&&l.sel.anchor!=l.sel.head))m={start:c.from,endA:c.to,endB:c.to};else{if(l.sel){let t=AE(e,e.state.doc,l.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);a&&n.setMeta(`composition`,a),e.dispatch(n)}}return}}e.state.selection.from<e.state.selection.to&&m.start==m.endB&&e.state.selection instanceof zx&&(m.start>e.state.selection.from&&m.start<=e.state.selection.from+2&&e.state.selection.from>=l.from?m.start=e.state.selection.from:m.endA<e.state.selection.to&&m.endA>=e.state.selection.to-2&&e.state.selection.to<=l.to&&(m.endB+=e.state.selection.to-m.endA,m.endA=e.state.selection.to)),QS&&$S<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>l.from&&l.doc.textBetween(m.start-l.from-1,m.start-l.from+1)==` \xA0`&&(m.start--,m.endA--,m.endB--);let h=l.doc.resolveNoCache(m.start-l.from),g=l.doc.resolveNoCache(m.endB-l.from),_=u.resolve(m.start),v=h.sameParent(g)&&h.parent.inlineContent&&_.end()>=m.endA;if((aC&&e.input.lastIOSEnter>Date.now()-225&&(!v||i.some(e=>e.nodeName==`DIV`||e.nodeName==`P`))||!v&&bte(l.doc,h.pos,g.pos))&&e.someProp(`handleKeyDown`,t=>t(e,US(13,`Enter`)))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>m.start&&(v?m.endA>m.start&&m.endB==m.start:yte(u,m.start,m.endA,h,g))&&e.someProp(`handleKeyDown`,t=>t(e,US(8,`Backspace`)))){cC&&nC&&e.domObserver.suppressSelectionUpdates();return}nC&&m.endB==m.start&&(e.input.lastChromeDelete=Date.now()),cC&&!v&&h.start()!=g.start()&&g.parentOffset==0&&h.depth==g.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==m.endA&&(m.endB-=2,g=l.doc.resolveNoCache(m.endB-l.from),setTimeout(()=>{e.someProp(`handleKeyDown`,function(t){return t(e,US(13,`Enter`))})},20));let y=m.start,b=m.endA,x=t=>{let n=t||e.state.tr.replace(y,b,l.doc.slice(m.start-l.from,m.endB-l.from));if(l.sel){let t=AE(e,n.doc,l.sel);t&&!(nC&&e.composing&&t.empty&&(m.start!=m.endB||e.input.lastChromeDelete<Date.now()-100)&&(t.head==y||t.head==n.mapping.map(b)-1)||QS&&t.empty&&t.head==y)&&n.setSelection(t)}return a&&n.setMeta(`composition`,a),n.scrollIntoView()},S;if(v){if(h.pos==g.pos){QS&&$S<=11&&h.parentOffset==0&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>bw(e),20));let t=x(e.state.tr.delete(y,b)),n=u.resolve(m.start).marksAcross(u.resolve(m.endA));n&&t.ensureMarks(n),e.dispatch(t)}else if(m.endA==m.endB&&(S=vte(h.parent.content.cut(h.parentOffset,g.parentOffset),_.parent.content.cut(_.parentOffset,m.endA-_.start())))){let t=x(e.state.tr);S.type==`add`?t.addMark(y,b,S.mark):t.removeMark(y,b,S.mark),e.dispatch(t)}else if(h.parent.child(h.index()).isText&&h.index()==g.index()-+!g.textOffset){let t=h.parent.textBetween(h.parentOffset,g.parentOffset),n=()=>x(e.state.tr.insertText(t,y,b));e.someProp(`handleTextInput`,r=>r(e,y,b,t,n))||e.dispatch(n())}else e.dispatch(x())}else e.dispatch(x())}function AE(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:kw(e,t.resolve(n.anchor),t.resolve(n.head))}function vte(e,t){let n=e.firstChild.marks,r=t.firstChild.marks,i=n,a=r,o,s,c;for(let e=0;e<r.length;e++)i=r[e].removeFromSet(i);for(let e=0;e<n.length;e++)a=n[e].removeFromSet(a);if(i.length==1&&a.length==0)s=i[0],o=`add`,c=e=>e.mark(s.addToSet(e.marks));else if(i.length==0&&a.length==1)s=a[0],o=`remove`,c=e=>e.mark(s.removeFromSet(e.marks));else return null;let l=[];for(let e=0;e<t.childCount;e++)l.push(c(t.child(e)));if(K.from(l).eq(e))return{mark:s,type:o}}function yte(e,t,n,r,i){if(n-t<=i.pos-r.pos||jE(r,!0,!1)<i.pos)return!1;let a=e.resolve(t);if(!r.parent.inlineContent){let e=a.nodeAfter;return e!=null&&n==t+e.nodeSize}if(a.parentOffset<a.parent.content.size||!a.parent.isTextblock)return!1;let o=e.resolve(jE(a,!0,!0));return!o.parent.isTextblock||o.pos>n||jE(o,!0,!1)<n?!1:r.parent.content.cut(r.parentOffset).eq(o.parent.content)}function bte(e,t,n){let r=0,i=0;return e.nodesBetween(t,n,(e,a)=>{e.isTextblock&&a>=t&&a<n?r++:(e.isText?/\S/.test(e.text.slice(Math.max(0,t-a),Math.min(e.nodeSize,n-a))):e.isLeaf)&&i++}),i==0&&r==1}function jE(e,t,n){let r=e.depth,i=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,i++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));for(;t&&!t.isLeaf;)t=t.firstChild,i++}return i}function xte(e,t,n,r,i){let a=e.findDiffStart(t,n),o=n+e.size,s=n+t.size;if(a==null)return null;let{a:c,b:l}=e.findDiffEnd(t,o,s);if(i==`end`){let e=Math.max(0,a-Math.min(c,l));r-=c+e-a}if(c<a&&o<s){let e=r<=a&&r>=c?a-r:0;a-=e,l=a+(l-c),c=a}else if(l<a){let e=r<=a&&r>=l?a-r:0;a-=e,c=a+(c-l),l=a}return{start:a,endA:c,endB:l}}var ME=class{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new gT,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(LE),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement(`div`),e&&(e.appendChild?e.appendChild(this.dom):typeof e==`function`?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=FE(this),PE(this),this.nodeViews=IE(this),this.docView=QC(this.state.doc,NE(this),CE(this),this.dom,this),this.domObserver=new lte(this,(e,t,n,r)=>_te(this,e,t,n,r)),this.domObserver.start(),_T(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&bT(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(LE),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let e in this._props)t[e]=this._props[e];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){let n=this.state,r=!1,i=!1;e.storedMarks&&this.composing&&(WT(this),i=!0),this.state=e;let a=n.plugins!=e.plugins||this._props.plugins!=t.plugins;if(a||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=IE(this);Cte(e,this.nodeViews)&&(this.nodeViews=e,r=!0)}(a||t.handleDOMEvents!=this._props.handleDOMEvents)&&bT(this),this.editable=FE(this),PE(this);let o=CE(this),s=NE(this),c=n.plugins!=e.plugins&&!n.doc.eq(e.doc)?`reset`:e.scrollToSelection>n.scrollToSelection?`to selection`:`preserve`,l=r||!this.docView.matchesNode(e.doc,s,o);(l||!e.selection.eq(n.selection))&&(i=!0);let u=c==`preserve`&&i&&this.dom.style.overflowAnchor==null&&hC(this);if(i){this.domObserver.stop();let t=l&&(QS||nC)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&Ste(n.selection,e.selection);if(l){let n=nC?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=GT(this)),(r||!this.docView.update(e.doc,s,o,this))&&(this.docView.updateOuterDeco(s),this.docView.destroy(),this.docView=QC(e.doc,s,o,this.dom,this)),!n||this.trackWrites&&this.dom.contains(this.trackWrites)||(t=!0)}let i=this.input.mouseDown;t||!(i&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Mw(this)&&i.delaySelUpdate())?bw(this,t):(Dw(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(n),this.dragging?.node&&!n.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,n),c==`reset`?this.dom.scrollTop=0:c==`to selection`?this.scrollToSelection():u&&_C(u)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(e&&BS(this.dom,e)&&!this.someProp(`handleScrollToSelection`,e=>e(this))){if(this.state.selection instanceof Vx){let t=this.docView.domAfterPos(this.state.selection.from);RS(t)&&mC(this,t.getBoundingClientRect(),e)}else mC(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}}else for(let t=0;t<this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&&n.update(this,e)}}updateDraggedNode(e,t){let n=e.node,r=-1;if(n.from<this.state.doc.content.size&&this.state.doc.nodeAt(n.from)==n.node)r=n.from;else{let e=n.from+(this.state.doc.content.size-t.doc.content.size);(e>0&&e<this.state.doc.content.size&&this.state.doc.nodeAt(e))==n.node&&(r=e)}this.dragging=new $T(e.slice,e.move,r<0?void 0:Vx.create(this.state.doc,r))}someProp(e,t){let n=this._props&&this._props[e],r;if(n!=null&&(r=t?t(n):n))return r;for(let n=0;n<this.directPlugins.length;n++){let i=this.directPlugins[n].props[e];if(i!=null&&(r=t?t(i):i))return r}let i=this.state.plugins;if(i)for(let n=0;n<i.length;n++){let a=i[n].props[e];if(a!=null&&(r=t?t(a):a))return r}}hasFocus(){if(QS){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable==`false`)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&bC(this.dom),bw(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let e=this.dom.parentNode;e;e=e.parentNode)if(e.nodeType==9||e.nodeType==11&&e.host)return e.getSelection||(Object.getPrototypeOf(e).getSelection=()=>e.ownerDocument.getSelection()),this._root=e}return e||document}updateRoot(){this._root=null}posAtCoords(e){return OC(this,e)}coordsAtPos(e,t=1){return MC(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(r==null)throw RangeError(`DOM position not inside the editor`);return r}endOfTextblock(e,t){return HC(this,t||this.state,e)}pasteHTML(e,t){return ZT(this,``,e,!1,t||new ClipboardEvent(`paste`))}pasteText(e,t){return ZT(this,e,null,!0,t||new ClipboardEvent(`paste`))}serializeForClipboard(e){return Zw(this,e)}destroy(){this.docView&&(yT(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],CE(this),this),this.dom.textContent=``):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,ite())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return CT(this,e)}domSelectionRange(){let e=this.dom.isConnected!==!1&&this.domSelection();return e?iC&&this.root.nodeType===11&&WS(this.dom.ownerDocument)==this.dom&&dte(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}};ME.prototype.dispatch=function(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))};function NE(e){let t=Object.create(null);return t.class=`ProseMirror`,t.contenteditable=String(e.editable),e.someProp(`attributes`,n=>{if(typeof n==`function`&&(n=n(e.state)),n)for(let e in n)e==`class`?t.class+=` `+n[e]:e==`style`?t.style=(t.style?t.style+`;`:``)+n[e]:!t[e]&&e!=`contenteditable`&&e!=`nodeName`&&(t[e]=String(n[e]))}),t.translate||=`no`,[cE.node(0,e.state.doc.content.size,t)]}function PE(e){if(e.markCursor){let t=document.createElement(`img`);t.className=`ProseMirror-separator`,t.setAttribute(`mark-placeholder`,`true`),t.setAttribute(`alt`,``),e.cursorWrapper={dom:t,deco:cE.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function FE(e){return!e.someProp(`editable`,t=>t(e.state)===!1)}function Ste(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}function IE(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp(`nodeViews`,n),e.someProp(`markViews`,n),t}function Cte(e,t){let n=0,r=0;for(let r in e){if(e[r]!=t[r])return!0;n++}for(let e in t)r++;return n!=r}function LE(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw RangeError(`Plugins passed directly to the view must not have a state component`)}for(var RE={8:`Backspace`,9:`Tab`,10:`Enter`,12:`NumLock`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,44:`PrintScreen`,45:`Insert`,46:`Delete`,59:`;`,61:`=`,91:`Meta`,92:`Meta`,106:`*`,107:`+`,108:`,`,109:`-`,110:`.`,111:`/`,144:`NumLock`,145:`ScrollLock`,160:`Shift`,161:`Shift`,162:`Control`,163:`Control`,164:`Alt`,165:`Alt`,173:`-`,186:`;`,187:`=`,188:`,`,189:`-`,190:`.`,191:`/`,192:"`",219:`[`,220:`\\`,221:`]`,222:`'`},zE={48:`)`,49:`!`,50:`@`,51:`#`,52:`$`,53:`%`,54:`^`,55:`&`,56:`*`,57:`(`,59:`:`,61:`+`,173:`_`,186:`:`,187:`+`,188:`<`,189:`_`,190:`>`,191:`?`,192:`~`,219:`{`,220:`|`,221:`}`,222:`"`},wte=typeof navigator<`u`&&/Mac/.test(navigator.platform),Tte=typeof navigator<`u`&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),BE=0;BE<10;BE++)RE[48+BE]=RE[96+BE]=String(BE);for(var BE=1;BE<=24;BE++)RE[BE+111]=`F`+BE;for(var BE=65;BE<=90;BE++)RE[BE]=String.fromCharCode(BE+32),zE[BE]=String.fromCharCode(BE);for(var VE in RE)zE.hasOwnProperty(VE)||(zE[VE]=RE[VE]);function Ete(e){var t=!(wte&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Tte&&e.shiftKey&&e.key&&e.key.length==1||e.key==`Unidentified`)&&e.key||(e.shiftKey?zE:RE)[e.keyCode]||e.key||`Unidentified`;return t==`Esc`&&(t=`Escape`),t==`Del`&&(t=`Delete`),t==`Left`&&(t=`ArrowLeft`),t==`Up`&&(t=`ArrowUp`),t==`Right`&&(t=`ArrowRight`),t==`Down`&&(t=`ArrowDown`),t}var Dte=typeof navigator<`u`&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),Ote=typeof navigator<`u`&&/Win/.test(navigator.platform);function kte(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n==`Space`&&(n=` `);let r,i,a,o;for(let e=0;e<t.length-1;e++){let n=t[e];if(/^(cmd|meta|m)$/i.test(n))o=!0;else if(/^a(lt)?$/i.test(n))r=!0;else if(/^(c|ctrl|control)$/i.test(n))i=!0;else if(/^s(hift)?$/i.test(n))a=!0;else if(/^mod$/i.test(n))Dte?o=!0:i=!0;else throw Error(`Unrecognized modifier name: `+n)}return r&&(n=`Alt-`+n),i&&(n=`Ctrl-`+n),o&&(n=`Meta-`+n),a&&(n=`Shift-`+n),n}function Ate(e){let t=Object.create(null);for(let n in e)t[kte(n)]=e[n];return t}function HE(e,t,n=!0){return t.altKey&&(e=`Alt-`+e),t.ctrlKey&&(e=`Ctrl-`+e),t.metaKey&&(e=`Meta-`+e),n&&t.shiftKey&&(e=`Shift-`+e),e}function jte(e){return new $x({props:{handleKeyDown:UE(e)}})}function UE(e){let t=Ate(e);return function(e,n){let r=Ete(n),i,a=t[HE(r,n)];if(a&&a(e.state,e.dispatch,e))return!0;if(r.length==1&&r!=` `){if(n.shiftKey){let i=t[HE(r,n,!1)];if(i&&i(e.state,e.dispatch,e))return!0}if((n.altKey||n.metaKey||n.ctrlKey)&&!(Ote&&n.ctrlKey&&n.altKey)&&(i=RE[n.keyCode])&&i!=r){let r=t[HE(i,n)];if(r&&r(e.state,e.dispatch,e))return!0}}return!1}}var WE=200,GE=function(){};GE.prototype.append=function(e){return e.length?(e=GE.from(e),!this.length&&e||e.length<WE&&this.leafAppend(e)||this.length<WE&&e.leafPrepend(this)||this.appendInner(e)):this},GE.prototype.prepend=function(e){return e.length?GE.from(e).append(this):this},GE.prototype.appendInner=function(e){return new Mte(this,e)},GE.prototype.slice=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=this.length),e>=t?GE.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},GE.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},GE.prototype.forEach=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},GE.prototype.map=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length);var r=[];return this.forEach(function(t,n){return r.push(e(t,n))},t,n),r},GE.from=function(e){return e instanceof GE?e:e&&e.length?new KE(e):GE.empty};var KE=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return e==0&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var i=t;i<n;i++)if(e(this.values[i],r+i)===!1)return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){for(var i=t-1;i>=n;i--)if(e(this.values[i],r+i)===!1)return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=WE)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=WE)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(GE);GE.empty=new KE([]);var Mte=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,r){var i=this.left.length;if(t<i&&this.left.forEachInner(e,t,Math.min(n,i),r)===!1||n>i&&this.right.forEachInner(e,Math.max(t-i,0),Math.min(this.length,n)-i,r+i)===!1)return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){var i=this.left.length;if(t>i&&this.right.forEachInvertedInner(e,t-i,Math.max(n,i)-i,r+i)===!1||n<i&&this.left.forEachInvertedInner(e,Math.min(t,i),n,r)===!1)return!1},t.prototype.sliceInner=function(e,t){if(e==0&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(GE),Nte=500,qE=class e{constructor(e,t){this.items=e,this.eventCount=t}popEvent(t,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,a;n&&(i=this.remapping(r,this.items.length),a=i.maps.length);let o=t.tr,s,c,l=[],u=[];return this.items.forEach((t,n)=>{if(!t.step)i||(i=this.remapping(r,n+1),a=i.maps.length),a--,u.push(t);else{if(i){u.push(new JE(t.map));let e=t.step.map(i.slice(a)),n;e&&o.maybeStep(e).doc&&(n=o.mapping.maps[o.mapping.maps.length-1],l.push(new JE(n,void 0,void 0,l.length+u.length))),a--,n&&i.appendMap(n,a)}else o.maybeStep(t.step);if(t.selection)return s=i?t.selection.map(i.slice(a)):t.selection,c=new e(this.items.slice(0,r).append(u.reverse().concat(l)),this.eventCount-1),!1}},this.items.length,0),{remaining:c,transform:o,selection:s}}addTransform(t,n,r,i){let a=[],o=this.eventCount,s=this.items,c=!i&&s.length?s.get(s.length-1):null;for(let e=0;e<t.steps.length;e++){let r=t.steps[e].invert(t.docs[e]),l=new JE(t.mapping.maps[e],r,n),u;(u=c&&c.merge(l))&&(l=u,e?a.pop():s=s.slice(0,s.length-1)),a.push(l),n&&=(o++,void 0),i||(c=l)}let l=o-r.depth;return l>Fte&&(s=Pte(s,l),o-=l),new e(s.append(a),o)}remapping(e,t){let n=new kb;return this.items.forEach((t,r)=>{let i=t.mirrorOffset!=null&&r-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,i)},e,t),n}addMaps(t){return this.eventCount==0?this:new e(this.items.append(t.map(e=>new JE(e))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;n=Math.min(this.items.length,n);let r=[],i=this.items.length-n,a=t.mapping,o=t.steps.length,s=this.eventCount;this.items.forEach(e=>{e.selection&&s--},i);let c=n;this.items.forEach(e=>{let n=a.getMirror(--c);if(n==null)return;o=Math.min(o,n);let i=a.maps[n];if(e.step){let o=t.steps[n].invert(t.docs[n]),l=e.selection&&e.selection.map(a.slice(c+1,n));l&&s++,r.push(new JE(i,o,l))}else r.push(new JE(i))},i);let l=[];for(let e=n;e<o;e++)l.push(new JE(a.maps[e]));let u=this.items.slice(0,i).append(l).append(r),d=new e(u,s);return d.emptyItemCount()>Nte&&(d=d.compress(this.items.length-r.length)),d}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,i=[],a=0;return this.items.forEach((e,o)=>{if(o>=t)i.push(e),e.selection&&a++;else if(e.step){let t=e.step.map(n.slice(r)),o=t&&t.getMap();if(r--,o&&n.appendMap(o,r),t){let s=e.selection&&e.selection.map(n.slice(r));s&&a++;let c=new JE(o.invert(),t,s),l,u=i.length-1;(l=i.length&&i[u].merge(c))?i[u]=l:i.push(c)}}else e.map&&r--},this.items.length,0),new e(GE.from(i.reverse()),a)}};qE.empty=new qE(GE.empty,0);function Pte(e,t){let n;return e.forEach((e,r)=>{if(e.selection&&t--==0)return n=r,!1}),e.slice(n)}var JE=class e{constructor(e,t,n,r){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new e(n.getMap().invert(),n,this.selection)}}},YE=class{constructor(e,t,n,r,i){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=r,this.prevComposition=i}},Fte=20;function Ite(e,t,n,r){let i=n.getMeta(nD),a;if(i)return i.historyState;n.getMeta(rD)&&(e=new YE(e.done,e.undone,null,0,-1));let o=n.getMeta(`appendedTransaction`);if(n.steps.length==0)return e;if(o&&o.getMeta(nD))return o.getMeta(nD).redo?new YE(e.done.addTransform(n,void 0,r,eD(t)),e.undone,XE(n.mapping.maps),e.prevTime,e.prevComposition):new YE(e.done,e.undone.addTransform(n,void 0,r,eD(t)),null,e.prevTime,e.prevComposition);if(n.getMeta(`addToHistory`)!==!1&&!(o&&o.getMeta(`addToHistory`)===!1)){let i=n.getMeta(`composition`),a=e.prevTime==0||!o&&e.prevComposition!=i&&(e.prevTime<(n.time||0)-r.newGroupDelay||!Lte(n,e.prevRanges)),s=o?ZE(e.prevRanges,n.mapping):XE(n.mapping.maps);return new YE(e.done.addTransform(n,a?t.selection.getBookmark():void 0,r,eD(t)),qE.empty,s,n.time,i??e.prevComposition)}return(a=n.getMeta(`rebased`))?new YE(e.done.rebased(n,a),e.undone.rebased(n,a),ZE(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new YE(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),ZE(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function Lte(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((e,r)=>{for(let i=0;i<t.length;i+=2)e<=t[i+1]&&r>=t[i]&&(n=!0)}),n}function XE(e){let t=[];for(let n=e.length-1;n>=0&&t.length==0;n--)e[n].forEach((e,n,r,i)=>t.push(r,i));return t}function ZE(e,t){if(!e)return null;let n=[];for(let r=0;r<e.length;r+=2){let i=t.map(e[r],1),a=t.map(e[r+1],-1);i<=a&&n.push(i,a)}return n}function Rte(e,t,n){let r=eD(t),i=nD.get(t).spec.config,a=(n?e.undone:e.done).popEvent(t,r);if(!a)return null;let o=a.selection.resolve(a.transform.doc),s=(n?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),i,r),c=new YE(n?s:a.remaining,n?a.remaining:s,null,0,-1);return a.transform.setSelection(o).setMeta(nD,{redo:n,historyState:c})}var QE=!1,$E=null;function eD(e){let t=e.plugins;if($E!=t){QE=!1,$E=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){QE=!0;break}}return QE}function tD(e){return e.setMeta(rD,!0)}var nD=new nS(`history`),rD=new nS(`closeHistory`);function zte(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new $x({key:nD,state:{init(){return new YE(qE.empty,qE.empty,null,0,-1)},apply(t,n,r){return Ite(n,r,t,e)}},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,r=n==`historyUndo`?aD:n==`historyRedo`?oD:null;return!r||!e.editable?!1:(t.preventDefault(),r(e.state,e.dispatch))}}}})}function iD(e,t){return(n,r)=>{let i=nD.getState(n);if(!i||(e?i.undone:i.done).eventCount==0)return!1;if(r){let a=Rte(i,n,e);a&&r(t?a.scrollIntoView():a)}return!0}}var aD=iD(!1,!0),oD=iD(!0,!0);function Bte(e){return e.getMeta(nD)!=null}function sD(e){let{state:t,transaction:n}=e,{selection:r}=n,{doc:i}=n,{storedMarks:a}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return a},get selection(){return r},get doc(){return i},get tr(){return r=n.selection,i=n.doc,a=n.storedMarks,n}}}var cD=class e{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){let{rawCommands:e,editor:t,state:n}=this,{view:r}=t,{tr:i}=n,a=this.buildProps(i);return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,(...e)=>{let n=t(...e)(a);return!i.getMeta(`preventDispatch`)&&!this.hasCustomState&&r.dispatch(i),n}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){let{rawCommands:n,editor:r,state:i}=this,{view:a}=r,o=[],s=!!e,c=e||i.tr,l=()=>(!s&&t&&!c.getMeta(`preventDispatch`)&&!this.hasCustomState&&a.dispatch(c),o.every(e=>e===!0)),u={...Object.fromEntries(Object.entries(n).map(([e,n])=>[e,(...e)=>{let r=this.buildProps(c,t),i=n(...e)(r);return o.push(i),u}])),run:l};return u}static createFakeChain(){let e=new Proxy({},{get:(t,n)=>{if(n!==`then`)return n===`run`?()=>!1:()=>e}});return e}createCan(e){let{rawCommands:t,state:n}=this,r=e||n.tr,i=this.buildProps(r,!1);return{...Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(...e)=>t(...e)({...i,dispatch:void 0})])),chain:()=>this.createChain(r,!1)}}static createFallbackCan(){let t=e.createFakeChain();return new Proxy({chain:()=>t},{get:(e,t)=>{if(t!==`then`)return t===`chain`?e.chain:()=>!1}})}buildProps(e,t=!0){let{rawCommands:n,editor:r,state:i}=this,{view:a}=r,o={tr:e,editor:r,view:a,state:sD({state:i,transaction:e}),dispatch:t?()=>void 0:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map(([e,t])=>[e,(...e)=>t(...e)(o)]))}};return o}},Vte=()=>({editor:e,view:t})=>(requestAnimationFrame(()=>{if(!e.isDestroyed){var n;t.dom.blur(),(n=window)==null||(n=n.getSelection())==null||n.removeAllRanges()}}),!0),Hte=(e=!0)=>({commands:t})=>t.setContent(``,{emitUpdate:e}),Ute=()=>({state:e,tr:t,dispatch:n})=>{let{selection:r}=t,{ranges:i}=r;return n&&i.forEach(({$from:n,$to:r})=>{e.doc.nodesBetween(n.pos,r.pos,(e,n)=>{if(e.type.isText)return;let{doc:r,mapping:i}=t,a=r.resolve(i.map(n)),o=r.resolve(i.map(n+e.nodeSize)),s=a.blockRange(o);if(!s)return;let c=qb(s);if(e.type.isTextblock){let{defaultType:e}=a.parent.contentMatchAt(a.index());t.setNodeMarkup(s.start,e)}(c||c===0)&&t.lift(s,c)})}),!0},Wte=e=>t=>e(t),Gte=()=>({state:e,dispatch:t})=>bS(e,t),Kte=(e,t)=>({editor:n,tr:r})=>{let{state:i}=n,a=i.doc.slice(e.from,e.to);r.deleteRange(e.from,e.to);let o=r.mapping.map(t);return r.insert(o,a.content),r.setSelection(new zx(r.doc.resolve(Math.max(o-1,0)))),!0},qte=()=>({tr:e,dispatch:t})=>{let{selection:n}=e,r=n.$anchor.node();if(r.content.size>0)return!1;let i=e.selection.$anchor;for(let n=i.depth;n>0;--n)if(i.node(n).type===r.type){if(t){let t=i.before(n),r=i.after(n);e.delete(t,r).scrollIntoView()}return!0}return!1};function lD(e,t){if(typeof e==`string`){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}var Jte=e=>({tr:t,state:n,dispatch:r})=>{let i=lD(e,n.schema),a=t.selection.$anchor;for(let e=a.depth;e>0;--e)if(a.node(e).type===i){if(r){let n=a.before(e),r=a.after(e);t.delete(n,r).scrollIntoView()}return!0}return!1},Yte=e=>({tr:t,dispatch:n})=>{let{from:r,to:i}=e;return n&&t.delete(r,i),!0},Xte=e=>e.content?/^text(\*|\+)/.test(e.content):!1,uD=(e,t,n)=>{if(!e.parent.isInline||n===`left`&&e.pos>e.start()||n===`right`&&e.pos<e.end())return e.pos;let r=t.nodes[e.parent.type.name].spec;return Xte(r)?n===`left`?e.start()-1:e.end()+1:e.pos},Zte=(e,t,n)=>({from:uD(e,n,`left`),to:uD(t,n,`right`)}),Qte=()=>({state:e,dispatch:t})=>{if(e.selection.empty)return!1;if(t){let n=e.tr,{ranges:r}=e.selection,i=n.steps.length;r.forEach(t=>{let r=n.mapping.slice(i),{from:a,to:o}=Zte(n.doc.resolve(r.map(t.$from.pos)),n.doc.resolve(r.map(t.$to.pos)),e.schema);n.deleteRange(a,o)}),n.selection.empty||n.setSelection(zx.near(n.doc.resolve(n.selection.from))),n.scrollIntoView(),t(n)}return!0},$te=()=>({commands:e})=>e.keyboardShortcut(`Enter`),ene=()=>({state:e,dispatch:t})=>yS(e,t);function dD(e){return Object.prototype.toString.call(e)===`[object RegExp]`}function fD(e,t,n={strict:!0}){let r=Object.keys(t);return!r.length||r.every(r=>n.strict?t[r]===e[r]:dD(t[r])?t[r].test(e[r]):t[r]===e[r])}function pD(e,t,n={}){return e.find(e=>e.type===t&&fD(Object.fromEntries(Object.keys(n).map(t=>[t,e.attrs[t]])),n))}function mD(e,t,n={}){return!!pD(e,t,n)}function hD(e,t,n){if(!e||!t)return;let r=e.parent.childAfter(e.parentOffset);if(r.node&&r.node.marks.some(e=>e.type===t)||(r=e.parent.childBefore(e.parentOffset)),!r.node||!r.node.marks.some(e=>e.type===t))return;if(!n){let e=r.node.marks.find(e=>e.type===t);e&&(n=e.attrs)}if(!pD([...r.node.marks],t,n))return;let i=r.index,a=e.start()+r.offset,o=i+1,s=a+r.node.nodeSize;for(;i>0&&mD([...e.parent.child(i-1).marks],t,n);)--i,a-=e.parent.child(i).nodeSize;for(;o<e.parent.childCount&&mD([...e.parent.child(o).marks],t,n);)s+=e.parent.child(o).nodeSize,o+=1;return{from:a,to:s}}function gD(e,t){if(typeof e==`string`){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}var tne=(e,t)=>({tr:n,state:r,dispatch:i})=>{let a=gD(e,r.schema),{doc:o,selection:s}=n,{$from:c,from:l,to:u}=s;if(i){let e=hD(c,a,t);if(e&&e.from<=l&&e.to>=u){let t=zx.create(o,e.from,e.to);n.setSelection(t)}}return!0},nne=e=>t=>{let n=typeof e==`function`?e(t):e;for(let e=0;e<n.length;e+=1)if(n[e](t))return!0;return!1};function _D(e){return e instanceof zx}function vD(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function yD(e,t=null){if(!t)return null;let n=Fx.atStart(e),r=Fx.atEnd(e);if(t===`start`||t===!0)return n;if(t===`end`)return r;let i=n.from,a=r.to;return t===`all`?zx.create(e,vD(0,i,a),vD(e.content.size,i,a)):zx.create(e,vD(t,i,a),vD(t,i,a))}function bD(){return[`Android`].includes(navigator.platform)||/android/i.test(navigator.userAgent)}function xD(){return[`iPad Simulator`,`iPhone Simulator`,`iPod Simulator`,`iPad`,`iPhone`,`iPod`].includes(navigator.platform)||navigator.userAgent.includes(`Mac`)&&`ontouchend`in document}function rne(){return typeof navigator<`u`&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}var ine=(e=null,t={})=>({editor:n,view:r,tr:i,dispatch:a})=>{t={scrollIntoView:!0,...t};let o=()=>{(xD()||bD())&&r.dom.focus(),rne()&&!xD()&&!bD()&&r.dom.focus({preventScroll:!0}),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),t?.scrollIntoView&&n.commands.scrollIntoView())})};try{if(r.hasFocus()&&e===null||e===!1)return!0}catch{return!1}if(a&&e===null&&!_D(n.state.selection))return o(),!0;let s=yD(i.doc,e)||n.state.selection,c=n.state.selection.eq(s);return a&&(c||i.setSelection(s),c&&i.storedMarks&&i.setStoredMarks(i.storedMarks),o()),!0},ane=(e,t)=>n=>e.every((e,r)=>t(e,{...n,index:r})),one=(e,t)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),SD=e=>{let t=e.childNodes;for(let n=t.length-1;n>=0;--n){let r=t[n];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?e.removeChild(r):r.nodeType===1&&SD(r)}return e};function CD(e){if(typeof window>`u`)throw Error(`[tiptap error]: there is no window object available, so this function cannot be used`);let t=`<body>${e}</body>`,n=new window.DOMParser().parseFromString(t,`text/html`).body;return SD(n)}function wD(e){return typeof e?.nodesBetween==`function`}function TD(e,t,n){if(wD(e))return e;let r=typeof e==`object`&&!!e;n={slice:!0,parseOptions:{},...n};let i=typeof e==`string`;if(r)try{if(Array.isArray(e)&&e.length>0)return K.fromArray(e.map(e=>t.nodeFromJSON(e)));let r=t.nodeFromJSON(e);return n.errorOnInvalidContent&&r.check(),r}catch(r){if(n.errorOnInvalidContent)throw Error(`[tiptap error]: Invalid JSON content`,{cause:r});return console.warn(`[tiptap warn]: Invalid content.`,`Passed value:`,e,`Error:`,r),TD(``,t,n)}if(i){if(n.errorOnInvalidContent){let r=!1,i=``,a=new qy({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:`inline*`,group:`block`,parseDOM:[{tag:`*`,getAttrs:e=>(r=!0,i=typeof e==`string`?e:e.outerHTML,null)}]}})});if(n.slice?Zy.fromSchema(a).parseSlice(CD(e),n.parseOptions):Zy.fromSchema(a).parse(CD(e),n.parseOptions),n.errorOnInvalidContent&&r)throw Error(`[tiptap error]: Invalid HTML content`,{cause:Error(`Invalid element found: ${i}`)})}let r=Zy.fromSchema(t);return n.slice?r.parseSlice(CD(e),n.parseOptions).content:r.parse(CD(e),n.parseOptions)}return TD(``,t,n)}function ED(e){return!(`type`in e)}function DD(e,t,n){let r=e.steps.length-1;if(r<t)return;let i=e.steps[r];if(!(i instanceof Bb||i instanceof Vb))return;let a=e.mapping.maps[r],o=0;a.forEach((e,t,n,r)=>{o===0&&(o=r)}),e.setSelection(Fx.near(e.doc.resolve(o),n))}var sne=(e,t,n)=>({tr:r,dispatch:i,editor:a})=>{if(i){n={parseOptions:a.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let i,o=e=>{a.emit(`contentError`,{editor:a,error:e,disableCollaboration:()=>{`collaboration`in a.storage&&typeof a.storage.collaboration==`object`&&a.storage.collaboration&&(a.storage.collaboration.isDisabled=!0)}})},s={preserveWhitespace:`full`,...n.parseOptions};if(!n.errorOnInvalidContent&&!a.options.enableContentCheck&&a.options.emitContentError)try{TD(t,a.schema,{parseOptions:s,errorOnInvalidContent:!0})}catch(e){o(e)}try{i=TD(t,a.schema,{parseOptions:s,errorOnInvalidContent:n.errorOnInvalidContent??a.options.enableContentCheck})}catch(e){return o(e),!1}let{from:c,to:l}=typeof e==`number`?{from:e,to:e}:{from:e.from,to:e.to},u=!0,d=!0,f=ED(i)?i.content:[i];if(f.forEach(e=>{e.check(),u=u?e.isText&&e.marks.length===0:!1,d=d?e.isBlock:!1}),c===l&&d){let{parent:e}=r.doc.resolve(c);e.isTextblock&&!e.type.spec.code&&!e.childCount&&(--c,l+=1)}let p;if(u)p=Array.isArray(t)?t.map(e=>e.text||``).join(``):wD(t)?f.map(e=>e.text??``).join(``):typeof t==`object`&&t&&t.text?t.text:t,r.insertText(p,c,l);else{p=K.from(f);let e=r.doc.resolve(c),t=e.node(),n=e.parentOffset===0,i=t.isText||t.isTextblock,a=t.content.size>0;n&&i&&a&&d&&(c=Math.max(0,c-1)),r.replaceWith(c,l,f)}n.updateSelection&&DD(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta(`applyInputRules`,{from:c,text:p}),n.applyPasteRules&&r.setMeta(`applyPasteRules`,{from:c,text:p})}return!0};function OD(e){for(let t=0;t<e.edgeCount;t+=1){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}var cne=(e={})=>({tr:t,dispatch:n,editor:r})=>{let{pos:i,attrs:a,content:o,updateSelection:s=!0}=e,c;c=typeof i==`number`?t.doc.resolve(i):i||t.selection.$from;let l=OD(c.parent.contentMatchAt(c.index()));if(!l)return!1;let u=Object.keys(l.spec.attrs||{}),d=a?Object.fromEntries(Object.entries(a).filter(([e])=>u.includes(e))):{},f;if(o){let e=TD(o,r.schema);f=l.createAndFill(d,e)}else f=l.createAndFill(d);return f?(n&&(t.insert(c.pos,f),s&&DD(t,t.steps.length-1,-1)),!0):!1},lne=()=>({state:e,dispatch:t})=>Vee(e,t),une=()=>({state:e,dispatch:t})=>Hee(e,t),dne=()=>({state:e,dispatch:t})=>cS(e,t),fne=()=>({state:e,dispatch:t})=>mS(e,t),kD=(e,t)=>{let n=e.resolve(t),r=n.nodeBefore,i=n.nodeAfter;return!r||!i?!1:!r.type.spec.isolating&&!i.type.spec.isolating},pne=()=>({state:e,dispatch:t,tr:n})=>{try{let r=ux(e.doc,e.selection.$from.pos,-1);return r==null||!kD(e.doc,r)?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},mne=()=>({state:e,dispatch:t,tr:n})=>{try{let r=ux(e.doc,e.selection.$from.pos,1);return r==null||!kD(e.doc,r)?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},hne=()=>({state:e,dispatch:t})=>zee(e,t),gne=()=>({state:e,dispatch:t})=>Bee(e,t);function AD(){return typeof navigator<`u`&&/Mac/.test(navigator.platform)}function _ne(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n===`Space`&&(n=` `);let r,i,a,o;for(let e=0;e<t.length-1;e+=1){let n=t[e];if(/^(cmd|meta|m)$/i.test(n))o=!0;else if(/^a(lt)?$/i.test(n))r=!0;else if(/^(c|ctrl|control)$/i.test(n))i=!0;else if(/^s(hift)?$/i.test(n))a=!0;else if(/^mod$/i.test(n))xD()||AD()?o=!0:i=!0;else throw Error(`Unrecognized modifier name: ${n}`)}return r&&(n=`Alt-${n}`),i&&(n=`Ctrl-${n}`),o&&(n=`Meta-${n}`),a&&(n=`Shift-${n}`),n}var vne=e=>({editor:t,view:n,tr:r,dispatch:i})=>{let a=_ne(e).split(/-(?!$)/),o=a.find(e=>![`Alt`,`Ctrl`,`Meta`,`Shift`].includes(e)),s=new KeyboardEvent(`keydown`,{key:o===`Space`?` `:o,altKey:a.includes(`Alt`),ctrlKey:a.includes(`Ctrl`),metaKey:a.includes(`Meta`),shiftKey:a.includes(`Shift`),bubbles:!0,cancelable:!0});return t.captureTransaction(()=>{n.someProp(`handleKeyDown`,e=>e(n,s))})?.steps.forEach(e=>{let t=e.map(r.mapping);t&&i&&r.maybeStep(t)}),!0};function jD(e,t,n={}){let{from:r,to:i,empty:a}=e.selection,o=t?lD(t,e.schema):null,s=[];e.doc.nodesBetween(r,i,(e,t)=>{if(e.isText)return;let n=Math.max(r,t),a=Math.min(i,t+e.nodeSize);s.push({node:e,from:n,to:a})});let c=i-r,l=s.filter(e=>!o||o.name===e.node.type.name).filter(e=>fD(e.node.attrs,n,{strict:!1}));return a?!!l.length:l.reduce((e,t)=>e+t.to-t.from,0)>=c}var MD=(e,t={})=>({state:n,dispatch:r})=>jD(n,lD(e,n.schema),t)?Uee(n,r):!1,ND=()=>({state:e,dispatch:t})=>xS(e,t),PD=e=>({state:t,dispatch:n})=>ete(lD(e,t.schema))(t,n),yne=()=>({state:e,dispatch:t})=>_S(e,t);function FD(e,t){return t.nodes[e]?`node`:t.marks[e]?`mark`:null}function ID(e,t){let n=typeof t==`string`?[t]:t;return Object.keys(e).reduce((t,r)=>(n.includes(r)||(t[r]=e[r]),t),{})}var bne=(e,t)=>({tr:n,state:r,dispatch:i})=>{let a=null,o=null,s=FD(typeof e==`string`?e:e.name,r.schema);if(!s)return!1;s===`node`&&(a=lD(e,r.schema)),s===`mark`&&(o=gD(e,r.schema));let c=!1;return n.selection.ranges.forEach(e=>{r.doc.nodesBetween(e.$from.pos,e.$to.pos,(e,r)=>{a&&a===e.type&&(c=!0,i&&n.setNodeMarkup(r,void 0,ID(e.attrs,t))),o&&e.marks.length&&e.marks.forEach(a=>{o===a.type&&(c=!0,i&&n.addMark(r,r+e.nodeSize,o.create(ID(a.attrs,t))))})})}),c},xne=()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),LD=()=>({tr:e,dispatch:t})=>{if(t){let t=new Hx(e.doc);e.setSelection(t)}return!0},RD=()=>({state:e,dispatch:t})=>dS(e,t),zD=()=>({state:e,dispatch:t})=>hS(e,t),BD=()=>({state:e,dispatch:t})=>Kee(e,t),VD=()=>({state:e,dispatch:t})=>TS(e,t),HD=()=>({state:e,dispatch:t})=>wS(e,t);function UD(e,t,n={},r={}){return TD(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}var WD=(e,{errorOnInvalidContent:t,emitUpdate:n=!0,parseOptions:r={}}={})=>({editor:i,tr:a,dispatch:o,commands:s})=>{let{doc:c}=a;if(r.preserveWhitespace!==`full`){let s=UD(e,i.schema,r,{errorOnInvalidContent:t??i.options.enableContentCheck});if(o){let e=ED(s)?s.content:[s];a.replaceWith(0,c.content.size,e).setMeta(`preventUpdate`,!n)}return!0}return o&&a.setMeta(`preventUpdate`,!n),s.insertContentAt({from:0,to:c.content.size},e,{parseOptions:r,errorOnInvalidContent:t??i.options.enableContentCheck})};function GD(e,t){let n=gD(t,e.schema),{from:r,to:i,empty:a}=e.selection,o=[];a?(e.storedMarks&&o.push(...e.storedMarks),o.push(...e.selection.$head.marks())):e.doc.nodesBetween(r,i,e=>{o.push(...e.marks)});let s=o.find(e=>e.type.name===n.name);return s?{...s.attrs}:{}}function KD(e,t){let n=new Nx(e);return t.forEach(e=>{e.steps.forEach(e=>{n.step(e)})}),n}function qD(e,t,n){let r=[];return e.nodesBetween(t.from,t.to,(e,t)=>{n(e)&&r.push({node:e,pos:t})}),r}function JD(e,t){for(let n=e.depth;n>0;--n){let r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}}function YD(e){return t=>JD(t.$from,e)}function XD(e,t,n){return e.config[t]===void 0&&e.parent?XD(e.parent,t,n):typeof e.config[t]==`function`?e.config[t].bind({...n,parent:e.parent?XD(e.parent,t,n):null}):e.config[t]}function ZD(e){return e.map(e=>{let t=XD(e,`addExtensions`,{name:e.name,options:e.options,storage:e.storage});return t?[e,...ZD(t())]:e}).flat(10)}function QD(e,t){let n=db.fromSchema(t).serializeFragment(e),r=document.implementation.createHTMLDocument().createElement(`div`);return r.appendChild(n),r.innerHTML}function $D(e,t){let n=new Map;for(let t of e){let e=n.get(t.type)??new Map;e.set(t.name,t),n.set(t.type,e)}return[...Object.values(t.nodes),...Object.values(t.marks)].flatMap(e=>Object.entries(e.spec.attrs??{}).map(([t,r])=>{let i=n.get(e.name)?.get(t),a=Object.hasOwn(r,`default`);return{type:e.name,name:t,attribute:{rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,...i?.attribute,default:r.default,isRequired:!a,validate:r.validate}}}))}var Sne={content:`string`,marks:`string`,group:`string`,inline:`boolean`,atom:`boolean`,selectable:`boolean`,draggable:`boolean`,code:`boolean`,whitespace:[`pre`,`normal`],definingAsContext:`boolean`,definingForContent:`boolean`,defining:`boolean`,isolating:`boolean`,linebreakReplacement:`boolean`},Cne={inclusive:`boolean`,excludes:`string`,group:`string`,spanning:`boolean`,code:`boolean`};function wne(e,t,n){return Object.fromEntries(Object.entries(t).flatMap(([t,r])=>{let i=e[t];if(i===void 0)return[];if(!(typeof r==`string`?typeof i===r:typeof i==`string`&&r.includes(i)))throw RangeError(`Invalid schemaSpec field '${n}.${t}'`);return[[t,i]]}))}function eO(e,t,n,r){return{...Object.fromEntries(Object.entries(t).filter(([e])=>e!==`attrs`&&!Object.hasOwn(r,e))),...wne(n,r,e),attrs:n.attrs}}function tO(e,t,n){for(let r of Object.keys(t))if(!Object.hasOwn(e,r))throw RangeError(`schemaSpec requires a local ${n} extension named '${r}'`);for(let r of Object.keys(e))if(!Object.hasOwn(t,r))throw RangeError(`Local ${n} extension '${r}' is not in schemaSpec`)}function Tne(e,t){tO(e.nodes,t.nodes,`node`),tO(e.marks,t.marks,`mark`);let n=t.spec.nodes,r=t.spec.marks;return t.spec.nodes.forEach((t,r)=>{n=n.update(t,eO(t,e.nodes[t],r,Sne))}),t.spec.marks.forEach((t,n)=>{r=r.update(t,eO(t,e.marks[t],n,Cne))}),{topNode:t.topNodeType.name,nodes:n,marks:r}}function nO(e){let t=e.filter((t,n)=>e.indexOf(t)!==n);return Array.from(new Set(t))}function rO(e){return{baseExtensions:e.filter(e=>e.type===`extension`),nodeExtensions:e.filter(e=>e.type===`node`),markExtensions:e.filter(e=>e.type===`mark`)}}function iO(e){let t=[],{nodeExtensions:n,markExtensions:r}=rO(e),i=[...n,...r],a={default:null,validate:void 0,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1},o=n.filter(e=>e.name!==`text`).map(e=>e.name),s=r.map(e=>e.name),c=[...o,...s];return e.forEach(e=>{let n=XD(e,`addGlobalAttributes`,{name:e.name,options:e.options,storage:e.storage,extensions:i});n&&n().forEach(e=>{let n;n=Array.isArray(e.types)?e.types:e.types===`*`?c:e.types===`nodes`?o:e.types===`marks`?s:[],n.forEach(n=>{Object.entries(e.attributes).forEach(([e,r])=>{t.push({type:n,name:e,attribute:{...a,...r}})})})})}),i.forEach(e=>{let n=XD(e,`addAttributes`,{name:e.name,options:e.options,storage:e.storage});if(!n)return;let r=n();Object.entries(r).forEach(([n,r])=>{let i={...a,...r};typeof i?.default==`function`&&(i.default=i.default()),i?.isRequired&&i?.default===void 0&&delete i.default,t.push({type:e.name,name:n,attribute:i})})}),t}function aO(e){return typeof e==`function`}function oO(e,t=void 0,...n){return aO(e)?t?e.bind(t)(...n):e(...n):e}function sO(e={}){return Object.keys(e).length===0&&e.constructor===Object}function cO(e){let t=[],n=``,r=!1,i=!1,a=0,o=e.length;for(let s=0;s<o;s+=1){let o=e[s];if(o===`'`&&!i)r=!r,n+=o;else if(o===`"`&&!r)i=!i,n+=o;else{if(!r&&!i){if(o===`(`){a+=1,n+=o;continue}if(o===`)`&&a>0){--a,n+=o;continue}if(o===`;`&&a===0){t.push(n),n=``;continue}}n+=o}}return n&&t.push(n),t}function lO(e){let t=[],n=cO(e||``),r=n.length;for(let e=0;e<r;e+=1){let r=n[e],i=r.indexOf(`:`);if(i===-1)continue;let a=r.slice(0,i).trim(),o=r.slice(i+1).trim();a&&o&&t.push([a,o])}return t}function uO(...e){return e.filter(e=>!!e).reduce((e,t)=>{let n={...e};return Object.entries(t).forEach(([e,t])=>{if(e===`__proto__`)Object.defineProperty(n,e,{configurable:!0,enumerable:!0,value:t,writable:!0});else if(!n[e])n[e]=t;else if(e===`class`){let r=t?String(t).split(` `):[],i=n[e]?n[e].split(` `):[],a=r.filter(e=>!i.includes(e));n[e]=[...i,...a].join(` `)}else if(e===`style`){let r=new Map([...lO(n[e]),...lO(t)]);n[e]=Array.from(r.entries()).map(([e,t])=>`${e}: ${t}`).join(`; `)}else n[e]=t}),n},{})}function dO(e,t){return t.filter(t=>t.type===e.type.name).filter(e=>e.attribute.rendered).map(t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]}).reduce((e,t)=>uO(e,t),{})}function fO(e){return typeof e==`string`?e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):e===`true`||e!==`false`&&e:e}function pO(e,t){return`style`in e?e:{...e,getAttrs:n=>{let r=e.getAttrs?e.getAttrs(n):e.attrs;if(r===!1)return!1;let i=t.reduce((e,t)=>{let r=t.attribute.parseHTML?t.attribute.parseHTML(n):fO(n.getAttribute(t.name));return r==null?e:{...e,[t.name]:r}},{});return{...r,...i}}}}function mO(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>e===`attrs`&&sO(t)?!1:t!=null))}function hO(e){var t,n;let r={};return!(e!=null&&(t=e.attribute)!=null&&t.isRequired)&&`default`in(e?.attribute||{})&&(r.default=e.attribute.default),(e==null||(n=e.attribute)==null?void 0:n.validate)!==void 0&&(r.validate=e.attribute.validate),[e.name,r]}function gO(e,t,n=iO(e)){let{nodeExtensions:r,markExtensions:i}=rO(e);return{topNode:r.find(e=>XD(e,`topNode`))?.name,nodes:Object.fromEntries(r.map(r=>{let i=n.filter(e=>e.type===r.name),a={name:r.name,options:r.options,storage:r.storage,editor:t},o=mO({...e.reduce((e,t)=>{let n=XD(t,`extendNodeSchema`,a);return{...e,...n?n(r):{}}},{}),content:oO(XD(r,`content`,a)),marks:oO(XD(r,`marks`,a)),group:oO(XD(r,`group`,a)),inline:oO(XD(r,`inline`,a)),atom:oO(XD(r,`atom`,a)),selectable:oO(XD(r,`selectable`,a)),draggable:oO(XD(r,`draggable`,a)),code:oO(XD(r,`code`,a)),whitespace:oO(XD(r,`whitespace`,a)),linebreakReplacement:oO(XD(r,`linebreakReplacement`,a)),defining:oO(XD(r,`defining`,a)),isolating:oO(XD(r,`isolating`,a)),attrs:Object.fromEntries(i.map(hO))}),s=oO(XD(r,`parseHTML`,a));s&&(o.parseDOM=s.map(e=>pO(e,i)));let c=XD(r,`renderHTML`,a);c&&(o.toDOM=e=>c({node:e,HTMLAttributes:dO(e,i)}));let l=XD(r,`renderText`,a);return l&&(o.toText=l),[r.name,o]})),marks:Object.fromEntries(i.map(r=>{let i=n.filter(e=>e.type===r.name),a={name:r.name,options:r.options,storage:r.storage,editor:t},o=mO({...e.reduce((e,t)=>{let n=XD(t,`extendMarkSchema`,a);return{...e,...n?n(r):{}}},{}),inclusive:oO(XD(r,`inclusive`,a)),excludes:oO(XD(r,`excludes`,a)),group:oO(XD(r,`group`,a)),spanning:oO(XD(r,`spanning`,a)),code:oO(XD(r,`code`,a)),attrs:Object.fromEntries(i.map(hO))}),s=oO(XD(r,`parseHTML`,a));s&&(o.parseDOM=s.map(e=>pO(e,i)));let c=XD(r,`renderHTML`,a);return c&&(o.toDOM=e=>c({mark:e,HTMLAttributes:dO(e,i)})),[r.name,o]}))}}function _O(e,t,n){if(n===void 0)return new qy(gO(e,t));let r=nO(e.filter(e=>e.type!==`extension`).map(e=>e.name));if(r.length)throw RangeError(`Duplicate local schema types: ${r.join(`, `)}`);let i=new qy(n);return new qy(Tne(gO(e,t,$D(iO(e),i)),i))}function vO(e){return e.sort((e,t)=>{let n=XD(e,`priority`)||100,r=XD(t,`priority`)||100;return n>r?-1:+(n<r)})}function yO(e){let t=vO(ZD(e)),n=nO(t.map(e=>e.name));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map(e=>`'${e}'`).join(`, `)}]. This can lead to issues.`),t}function bO(e,t,n){let{from:r,to:i}=t,{blockSeparator:a=`--`,textSerializers:o={}}=n||{},s=``;return e.nodesBetween(r,i,(e,n,c,l)=>{e.isBlock&&n>r&&(s+=a);let u=o?.[e.type.name];if(u)return c&&(s+=u({node:e,pos:n,parent:c,index:l,range:t})),!1;if(e.isText){var d;s+=e==null||(d=e.text)==null?void 0:d.slice(Math.max(r,n)-n,i-n)}}),s}function xO(e,t){return bO(e,{from:0,to:e.content.size},t)}function SO(e){return Object.fromEntries(Object.entries(e.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}function CO(e,t){let n=lD(t,e.schema),{from:r,to:i}=e.selection,a=[];e.doc.nodesBetween(r,i,e=>{a.push(e)});let o=a.reverse().find(e=>e.type.name===n.name);return o?{...o.attrs}:{}}function wO(e,t){let n=FD(typeof t==`string`?t:t.name,e.schema);return n===`node`?CO(e,t):n===`mark`?GD(e,t):{}}function TO(e,t=JSON.stringify){let n={};return e.filter(e=>{let r=t(e);return Object.prototype.hasOwnProperty.call(n,r)?!1:n[r]=!0})}function EO(e){let t=TO(e);return t.length===1?t:t.filter((e,n)=>!t.filter((e,t)=>t!==n).some(t=>e.oldRange.from>=t.oldRange.from&&e.oldRange.to<=t.oldRange.to&&e.newRange.from>=t.newRange.from&&e.newRange.to<=t.newRange.to))}function DO(e){let{mapping:t,steps:n}=e,r=[];return t.maps.forEach((e,i)=>{let a=[];if(e.ranges.length)e.forEach((e,t)=>{a.push({from:e,to:t})});else{let{from:e,to:t}=n[i];if(e===void 0||t===void 0)return;a.push({from:e,to:t})}a.forEach(({from:e,to:n})=>{let a=t.slice(i).map(e,-1),o=t.slice(i).map(n),s=t.invert().map(a,-1),c=t.invert().map(o);r.push({oldRange:{from:s,to:c},newRange:{from:a,to:o}})})}),EO(r)}function OO(e,t,n){let r=[];return e===t?n.resolve(e).marks().forEach(t=>{let i=hD(n.resolve(e),t.type);i&&r.push({mark:t,...i})}):n.nodesBetween(e,t,(e,t)=>{e&&e?.nodeSize!==void 0&&r.push(...e.marks.map(n=>({from:t,to:t+e.nodeSize,mark:n})))}),r}var kO=(e,t,n,r=20)=>{let i=e.doc.resolve(n),a=r,o=null;for(;a>0&&o===null;){let e=i.node(a);e?.type.name===t?o=e:--a}return[o,a]},AO=e=>{let t=e.depth-1;if(t<0)return null;let n=e.index(t);return n===0?null:e.node(t).child(n-1)};function jO(e,t){return t.nodes[e]||t.marks[e]||null}function MO(e,t,n){return Object.fromEntries(Object.entries(n).filter(([n])=>{let r=e.find(e=>e.type===t&&e.name===n);return r?r.attribute.keepOnSplit:!1}))}var Ene=(e,t=500)=>{let n=``,r=e.parentOffset;return e.parent.nodesBetween(Math.max(0,r-t),r,(e,t,i,a)=>{var o;let s=(o=e.type.spec).toText?.call(o,{node:e,pos:t,parent:i,index:a})||e.textContent||`%leaf%`;n+=e.isAtom&&!e.isText?s:s.slice(0,Math.max(0,r-t))}),n};function NO(e,t,n={}){let{empty:r,ranges:i}=e.selection,a=t?gD(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter(e=>!a||a.name===e.type.name).find(e=>fD(e.attrs,n,{strict:!1}));let o=0,s=[];if(i.forEach(({$from:t,$to:n})=>{let r=t.pos,i=n.pos;e.doc.nodesBetween(r,i,(e,t)=>{if(a&&e.inlineContent&&!e.type.allowsMarkType(a))return!1;if(!e.isText&&!e.marks.length)return;let n=Math.max(r,t),c=Math.min(i,t+e.nodeSize),l=c-n;o+=l,s.push(...e.marks.map(e=>({mark:e,from:n,to:c})))})}),o===0)return!1;let c=s.filter(e=>!a||a.name===e.mark.type.name).filter(e=>fD(e.mark.attrs,n,{strict:!1})).reduce((e,t)=>e+t.to-t.from,0),l=s.filter(e=>!a||e.mark.type!==a&&e.mark.type.excludes(a)).reduce((e,t)=>e+t.to-t.from,0);return(c>0?c+l:c)>=o}function Dne(e,t,n={}){if(!t)return jD(e,null,n)||NO(e,null,n);let r=FD(t,e.schema);return r===`node`?jD(e,t,n):r===`mark`&&NO(e,t,n)}var One=(e,t)=>{let{$from:n,$to:r,$anchor:i}=e.selection;if(t){let n=YD(e=>e.type.name===t)(e.selection);if(!n)return!1;let r=e.doc.resolve(n.pos+1);return i.pos+1===r.end()}return!(r.parentOffset<r.parent.nodeSize-2||n.pos!==r.pos)},kne=e=>{let{$from:t,$to:n}=e.selection;return!(t.parentOffset>0||t.pos!==n.pos)};function PO(e,t){return Array.isArray(t)?t.some(t=>(typeof t==`string`?t:t.name)===e.name):t}function FO(e,t){let{nodeExtensions:n}=rO(t),r=n.find(t=>t.name===e);if(!r)return!1;let i=oO(XD(r,`group`,{name:r.name,options:r.options,storage:r.storage}));return typeof i==`string`&&i.split(` `).includes(`list`)}function IO(e,{checkChildren:t=!0,ignoreWhitespace:n=!1}={}){if(n){if(e.type.name===`hardBreak`)return!0;if(e.isText)return!/\S/.test(e.text??``)}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(e.content.childCount===0)return!0;if(t){let r=!0;return e.content.forEach(e=>{r!==!1&&(IO(e,{ignoreWhitespace:n,checkChildren:t})||(r=!1))}),r}return!1}function LO(e){return e instanceof Vx}function Ane(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.apply==`function`&&typeof t.getMap==`function`&&typeof t.invert==`function`&&typeof t.map==`function`&&typeof t.merge==`function`&&typeof t.toJSON==`function`}function jne(e){if(typeof e!=`object`||!e)return!1;let t=e;if(!Ane(t))return!1;let n=t.toJSON();return!(typeof n!=`object`||!n||n.stepType!==`replace`)}var RO=class e{constructor(e){this.position=e}static fromJSON(t){return new e(t.position)}toJSON(){return{position:this.position}}};function Mne(e,t){let n=t.mapping.mapResult(e.position);return{position:new RO(n.pos),mapResult:n}}function Nne(e){return new RO(e)}function zO(e,t,n){let r=e.state.doc.content.size,i=vD(t,0,r),a=vD(n,0,r),o=e.coordsAtPos(i),s=e.coordsAtPos(a,-1),c=Math.min(o.top,s.top),l=Math.max(o.bottom,s.bottom),u=Math.min(o.left,s.left),d=Math.max(o.right,s.right),f={top:c,bottom:l,left:u,right:d,width:d-u,height:l-c,x:u,y:c};return{...f,toJSON:()=>f}}function Pne(e,t,n){let{selection:r}=t,i=null;if(_D(r)&&(i=r.$cursor),i){let t=e.storedMarks??i.marks();return i.parent.type.allowsMarkType(n)&&(!!n.isInSet(t)||!t.some(e=>e.type.excludes(n)))}let{ranges:a}=r;return a.some(({$from:t,$to:r})=>{let i=t.depth===0&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,r.pos,(e,t,r)=>{if(i)return!1;if(e.isInline){let t=!r||r.type.allowsMarkType(n),a=!!n.isInSet(e.marks)||!e.marks.some(e=>e.type.excludes(n));i=t&&a}return!i}),i})}var Fne=(e,t={})=>({tr:n,state:r,dispatch:i})=>{let{selection:a}=n,{empty:o,ranges:s}=a,c=gD(e,r.schema);if(i){if(o){let e=GD(r,c);n.addStoredMark(c.create({...e,...t}))}else s.forEach(e=>{let i=e.$from.pos,a=e.$to.pos;r.doc.nodesBetween(i,a,(e,r)=>{let o=Math.max(r,i),s=Math.min(r+e.nodeSize,a);e.marks.find(e=>e.type===c)?e.marks.forEach(e=>{c===e.type&&n.addMark(o,s,c.create({...e.attrs,...t}))}):n.addMark(o,s,c.create(t))})})}return Pne(r,n,c)},Ine=(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),Lne=(e,t={})=>({state:n,dispatch:r,chain:i})=>{let a=lD(e,n.schema),o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),a.isTextblock?i().command(({commands:e})=>ES(a,{...o,...t})(n)?!0:e.clearNodes()).command(({state:e})=>ES(a,{...o,...t})(e,r)).run():(console.warn(`[tiptap warn]: Currently "setNode()" only supports text block nodes.`),!1)},Rne=e=>({tr:t,dispatch:n})=>{if(n){let{doc:n}=t,r=vD(e,0,n.content.size),i=Vx.create(n,r);t.setSelection(i)}return!0},zne=(e,t)=>({tr:n,state:r,dispatch:i})=>{let{selection:a}=r,o,s;return typeof t==`number`?(o=t,s=t):t&&`from`in t&&`to`in t?(o=t.from,s=t.to):(o=a.from,s=a.to),i&&n.doc.nodesBetween(o,s,(t,r)=>{t.isText||n.setNodeMarkup(r,void 0,{...t.attrs,dir:e})}),!0},Bne=e=>({tr:t,dispatch:n})=>{if(n){let{doc:n}=t,{from:r,to:i}=typeof e==`number`?{from:e,to:e}:e,a=zx.atStart(n).from,o=zx.atEnd(n).to,s=vD(r,a,o),c=vD(i,a,o),l=zx.create(n,s,c);t.setSelection(l)}return!0},Vne=e=>({state:t,dispatch:n})=>rte(lD(e,t.schema))(t,n);function BO(e,t){let n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){let r=n.filter(e=>t?.includes(e.type.name));e.tr.ensureMarks(r)}}var Hne=({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:r,editor:i})=>{let{selection:a,doc:o}=t,{$from:s,$to:c}=a,l=i.extensionManager.attributes,u=MO(l,s.node().type.name,s.node().attrs);if(a instanceof Vx&&a.node.isBlock)return!s.parentOffset||!ax(o,s.pos)?!1:(r&&(e&&BO(n,i.extensionManager.splittableMarks),t.split(s.pos).scrollIntoView()),!0);if(!s.parent.isBlock)return!1;let d=c.parentOffset===c.parent.content.size,f=s.depth===0?void 0:OD(s.node(-1).contentMatchAt(s.indexAfter(-1))),p=d&&f?[{type:f,attrs:u}]:void 0,m=a instanceof zx&&!a.empty?Zx.create({doc:t.doc,selection:a}).tr.deleteSelection():null,h=m?m.doc:t.doc,g=m?m.mapping.map(s.pos):s.pos,_=ax(h,g,1,p);if(!p&&!_&&ax(h,g,1,f?[{type:f}]:void 0)&&(_=!0,p=f?[{type:f,attrs:u}]:void 0),r){if(_){let e=t.steps.length;if(a instanceof zx&&t.deleteSelection(),t.split(t.mapping.slice(e).map(s.pos),1,p),f&&!d&&!s.parentOffset&&s.parent.type!==f){let n=t.mapping.slice(e).map(s.before()),r=t.doc.resolve(n);s.node(-1).canReplaceWith(r.index(),r.index()+1,f)&&t.setNodeMarkup(t.mapping.slice(e).map(s.before()),f)}}e&&BO(n,i.extensionManager.splittableMarks),t.scrollIntoView()}return _},Une=(e,t={})=>({tr:n,state:r,dispatch:i,editor:a})=>{let o=lD(e,r.schema),{$from:s,$to:c}=r.selection,l=r.selection.node;if(l&&l.isBlock||s.depth<2||!s.sameParent(c))return!1;let u=s.node(-1);if(u.type!==o)return!1;let d=a.extensionManager.attributes;if(s.parent.content.size===0&&s.node(-1).childCount===s.indexAfter(-1)){if(s.depth===2||s.node(-3).type!==o||s.index(-2)!==s.node(-2).childCount-1)return!1;if(i){let e=K.empty,r=s.index(-1)?1:s.index(-2)?2:3;for(let t=s.depth-r;t>=s.depth-3;--t)e=K.from(s.node(t).copy(e));let i=s.indexAfter(-1)<s.node(-2).childCount?1:s.indexAfter(-2)<s.node(-3).childCount?2:3,a={...MO(d,s.node().type.name,s.node().attrs),...t},c=o.contentMatch.defaultType?.createAndFill(a)||void 0;e=e.append(K.from(o.createAndFill(null,c)||void 0));let l=s.before(s.depth-(r-1));n.replace(l,s.after(-i),new q(e,4-r,0));let u=-1;n.doc.nodesBetween(l,n.doc.content.size,(e,t)=>{if(u>-1)return!1;e.isTextblock&&e.content.size===0&&(u=t+1)}),u>-1&&n.setSelection(zx.near(n.doc.resolve(u))),n.scrollIntoView()}return!0}let f=c.pos===s.end()?u.contentMatchAt(0).defaultType:null,p={...MO(d,u.type.name,u.attrs),...t},m={...MO(d,s.node().type.name,s.node().attrs),...t},h=s.parentOffset===0&&s.index(-1)===0,g=s.before(-1);n.delete(s.pos,c.pos);let _=h?u.attrs:p,v=f?[{type:o,attrs:_},{type:f,attrs:m}]:[{type:o,attrs:_}];if(!ax(n.doc,s.pos,2))return!1;if(i){let{selection:e,storedMarks:t}=r,{splittableMarks:o}=a.extensionManager,c=t||e.$to.parentOffset&&e.$from.marks();if(n.split(s.pos,2,v).scrollIntoView(),h&&n.setNodeMarkup(g,void 0,p),!c||!i)return!0;let l=c.filter(e=>o.includes(e.type.name));n.ensureMarks(l)}return!0};function VO(e,t,n){if(!e.validContent(t))return null;try{return e.create(n,t)}catch{return null}}function HO(e,t){if(e.pendingContent.length===0)return!0;let n=VO(t,K.from(e.pendingContent));return n?(e.items.push(n),e.pendingContent=[],!0):!1}function Wne(e,t,n){return n.validContent(K.from([...t.pendingContent,e]))?(t.pendingContent.push(e),!0):!HO(t,n)||!n.validContent(K.from(e))?!1:(t.pendingContent.push(e),!0)}function Gne(e,t,n,r){let i=r(e,n);if(!i)return!1;let a=VO(n.listType,K.from(i),e.attrs);return a?n.itemType.validContent(K.from([...t.pendingContent,a]))?(t.pendingContent.push(a),!0):HO(t,n.itemType)?(t.items.push(...i),!0):!1:!1}function Kne(e,t,n){let r={items:[],pendingContent:[]};for(let i=0;i<e.childCount;i+=1){let a=e.child(i);if(!(t.isListNode(a)?Gne(a,r,t,n):Wne(a,r,t.itemType)))return null}return HO(r,t.itemType)?r.items:null}function UO(e,t){let n=[];for(let r=0;r<e.childCount;r+=1){let i=Kne(e.child(r),t,UO);if(!i)return null;n.push(...i)}return n}function WO(e,t){let n=null;return e.descendants((e,r)=>e!==t||(n=r,!1)),n}function GO(e){return!e||e===`1`?null:e}function KO(e,t){return GO(e)===GO(t)}var qO=(e,t)=>{let n=YD(e=>e.type===t)(e.selection);if(!n)return!0;let r=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(r===void 0)return!0;let i=e.doc.nodeAt(r);return!(n.node.type===i?.type&&sx(e.doc,n.pos))||!KO(n.node.attrs.type,i?.attrs.type)||e.join(n.pos),!0},JO=(e,t)=>{let n=YD(e=>e.type===t)(e.selection);if(!n)return!0;let r=e.doc.resolve(n.start).after(n.depth);if(r===void 0)return!0;let i=e.doc.nodeAt(r);return!(n.node.type===i?.type&&sx(e.doc,r))||!KO(n.node.attrs.type,i?.attrs.type)||e.join(r),!0};function qne(e){let t=e.doc,n=t.firstChild;if(!n)return null;let r=t.resolve(1),i=t.resolve(n.nodeSize-1);return zx.between(r,i)}var Jne=(e,t,n,r={})=>({editor:i,tr:a,state:o,dispatch:s,chain:c,commands:l,can:u})=>{let{extensions:d,splittableMarks:f}=i.extensionManager,p=lD(e,o.schema),m=lD(t,o.schema),{selection:h,storedMarks:g}=o,{$from:_,$to:v}=h,y=_.blockRange(v),b=g||h.$to.parentOffset&&h.$from.marks();if(!y)return!1;let x=YD(e=>FO(e.type.name,d))(h),S=h.from===0&&h.to===o.doc.content.size,C=o.doc.content.content,w=C.length===1?C[0]:null,T=S&&w&&FO(w.type.name,d)?{node:w,pos:0,depth:0}:null,E=x??T,D=!!x&&y.depth>=1&&y.depth-x.depth<=1,O=!!T;if((D||O)&&E){if(E.node.type===p)return S&&O?c().command(({tr:e,dispatch:t})=>{let n=qne(e);return n?(e.setSelection(n),t&&t(e),!0):!1}).liftListItem(m).run():l.liftListItem(m);if(FO(E.node.type.name,d)&&p.validContent(E.node.content))return c().command(()=>(a.setNodeMarkup(E.pos,p),!0)).command(()=>qO(a,p)).command(()=>JO(a,p)).run();if(FO(E.node.type.name,d)){let e=E.node.firstChild?.type;if(e&&e!==m){let e=UO(E.node,{listType:p,itemType:m,isListNode:e=>FO(e.type.name,d)}),t=e?K.from(e):null;return!t||!p.validContent(t)?!1:c().command(()=>{let{$anchor:e,$head:n}=a.selection,i=e.parent,o=n.parent,s=e.parentOffset,c=n.parentOffset,l;try{l=p.create(r,t)}catch{return!1}if(a.replaceWith(E.pos,E.pos+E.node.nodeSize,l),i.inlineContent&&o.inlineContent){let e=WO(l,i),t=WO(l,o);if(e!==null&&t!==null){let n=E.pos+e+2+s,r=E.pos+t+2+c;a.setSelection(zx.create(a.doc,n,r))}}return!0}).command(()=>qO(a,p)).command(()=>JO(a,p)).run()}}}return!n||!b||!s?c().command(()=>u().wrapInList(p,r)?!0:l.clearNodes()).wrapInList(p,r).command(()=>qO(a,p)).command(()=>JO(a,p)).run():c().command(()=>{let e=u().wrapInList(p,r),t=b.filter(e=>f.includes(e.type.name));return a.ensureMarks(t),e?!0:l.clearNodes()}).wrapInList(p,r).command(()=>qO(a,p)).command(()=>JO(a,p)).run()},Yne=(e,t={},n={})=>({state:r,commands:i})=>{let{extendEmptyMarkRange:a=!1}=n,o=gD(e,r.schema);return NO(r,o,t)?i.unsetMark(o,{extendEmptyMarkRange:a}):i.setMark(o,t)},Xne=(e,t,n={})=>({state:r,commands:i})=>{let a=lD(e,r.schema),o=lD(t,r.schema),s=jD(r,a,n),c;return r.selection.$anchor.sameParent(r.selection.$head)&&(c=r.selection.$anchor.parent.attrs),s?i.setNode(o,c):i.setNode(a,{...c,...n})},Zne=(e,t={})=>({state:n,commands:r})=>{let i=lD(e,n.schema);return jD(n,i,t)?r.lift(i):r.wrapIn(i,t)},YO=()=>({state:e,dispatch:t})=>{let n=e.plugins;for(let r=0;r<n.length;r+=1){let i=n[r],a;if(i.spec.isInputRules&&(a=i.getState(e))){if(t){let t=e.tr,n=a.transform;for(let e=n.steps.length-1;e>=0;--e)t.step(n.steps[e].invert(n.docs[e]));if(a.text){let n=t.doc.resolve(a.from).marks();t.replaceWith(a.from,a.to,e.schema.text(a.text,n))}else t.delete(a.from,a.to)}return!0}}return!1},XO=(e={})=>({tr:t,dispatch:n,editor:r})=>{let{ignoreClearable:i=!1}=e,{selection:a}=t,{empty:o,ranges:s}=a;if(o)return!0;let{nonClearableMarks:c}=r.extensionManager;if(n){let e=Object.values(r.schema.marks).filter(e=>i||!c.includes(e.name));s.forEach(n=>{for(let r of e)t.removeMark(n.$from.pos,n.$to.pos,r)})}return!0},ZO=(e,t={})=>({tr:n,state:r,dispatch:i})=>{let{extendEmptyMarkRange:a=!1}=t,{selection:o}=n,s=gD(e,r.schema),{$from:c,empty:l,ranges:u}=o;if(!i)return!0;if(l&&a){let{from:e,to:t}=o,r=hD(c,s,c.marks().find(e=>e.type===s)?.attrs);r&&(e=r.from,t=r.to),n.removeMark(e,t,s)}else u.forEach(e=>{n.removeMark(e.$from.pos,e.$to.pos,s)});return n.removeStoredMark(s),!0},QO=e=>({tr:t,state:n,dispatch:r})=>{let{selection:i}=n,a,o;return typeof e==`number`?(a=e,o=e):e&&`from`in e&&`to`in e?(a=e.from,o=e.to):(a=i.from,o=i.to),r&&t.doc.nodesBetween(a,o,(e,n)=>{if(e.isText)return;let r={...e.attrs};delete r.dir,t.setNodeMarkup(n,void 0,r)}),!0},$O=(e,t={})=>({tr:n,state:r,dispatch:i})=>{let a=null,o=null,s=FD(typeof e==`string`?e:e.name,r.schema);if(!s)return!1;s===`node`&&(a=lD(e,r.schema)),s===`mark`&&(o=gD(e,r.schema));let c=!1;return n.selection.ranges.forEach(e=>{let s=e.$from.pos,l=e.$to.pos,u,d,f,p;n.selection.empty?r.doc.nodesBetween(s,l,(e,t)=>{a&&a===e.type&&(c=!0,f=Math.max(t,s),p=Math.min(t+e.nodeSize,l),u=t,d=e)}):r.doc.nodesBetween(s,l,(e,r)=>{r<s&&a&&a===e.type&&(c=!0,f=Math.max(r,s),p=Math.min(r+e.nodeSize,l),u=r,d=e),r>=s&&r<=l&&(a&&a===e.type&&(c=!0,i&&n.setNodeMarkup(r,void 0,{...e.attrs,...t})),o&&e.marks.length&&e.marks.forEach(a=>{if(o===a.type&&(c=!0,i)){let i=Math.max(r,s),c=Math.min(r+e.nodeSize,l);n.addMark(i,c,o.create({...a.attrs,...t}))}}))}),d&&(u!==void 0&&i&&n.setNodeMarkup(u,void 0,{...d.attrs,...t}),o&&d.marks.length&&d.marks.forEach(e=>{o===e.type&&i&&n.addMark(f,p,o.create({...e.attrs,...t}))}))}),c},ek=new nS(`__tiptap_decorations__`),tk=e=>({tr:t,dispatch:n})=>(n&&t.setMeta(ek,{type:`force`,name:e}),!0),nk=(e,t={})=>({state:n,dispatch:r})=>Yee(lD(e,n.schema),t)(n,r),rk=(e,t={})=>({state:n,dispatch:r})=>Zee(lD(e,n.schema),t)(n,r),ik=Ree({blur:()=>Vte,clearContent:()=>Hte,clearNodes:()=>Ute,command:()=>Wte,createParagraphNear:()=>Gte,cut:()=>Kte,deleteCurrentNode:()=>qte,deleteNode:()=>Jte,deleteRange:()=>Yte,deleteSelection:()=>Qte,enter:()=>$te,exitCode:()=>ene,extendMarkRange:()=>tne,first:()=>nne,focus:()=>ine,forEach:()=>ane,insertContent:()=>one,insertContentAt:()=>sne,insertDefaultBlock:()=>cne,joinBackward:()=>dne,joinDown:()=>une,joinForward:()=>fne,joinItemBackward:()=>pne,joinItemForward:()=>mne,joinTextblockBackward:()=>hne,joinTextblockForward:()=>gne,joinUp:()=>lne,keyboardShortcut:()=>vne,lift:()=>MD,liftEmptyBlock:()=>ND,liftListItem:()=>PD,newlineInCode:()=>yne,resetAttributes:()=>bne,scrollIntoView:()=>xne,selectAll:()=>LD,selectNodeBackward:()=>RD,selectNodeForward:()=>zD,selectParentNode:()=>BD,selectTextblockEnd:()=>VD,selectTextblockStart:()=>HD,setContent:()=>WD,setMark:()=>Fne,setMeta:()=>Ine,setNode:()=>Lne,setNodeSelection:()=>Rne,setTextDirection:()=>zne,setTextSelection:()=>Bne,sinkListItem:()=>Vne,splitBlock:()=>Hne,splitListItem:()=>Une,toggleList:()=>Jne,toggleMark:()=>Yne,toggleNode:()=>Xne,toggleWrap:()=>Zne,undoInputRule:()=>YO,unsetAllMarks:()=>XO,unsetMark:()=>ZO,unsetTextDirection:()=>QO,updateAttributes:()=>$O,updateDecorations:()=>tk,wrapIn:()=>nk,wrapInList:()=>rk}),ak=new WeakMap;function ok(e,t){ak.set(e,(ak.get(e)??0)+1);try{return t()}finally{let t=(ak.get(e)??1)-1;t>0?ak.set(e,t):ak.delete(e)}}function sk(e){return ak.has(e)}var ck=class{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){let n=this.callbacks[e];return n&&n.forEach(e=>e.apply(this,t)),this}off(e,t){let n=this.callbacks[e];return n&&(t?this.callbacks[e]=n.filter(e=>e!==t):delete this.callbacks[e]),this}once(e,t){let n=(...r)=>{this.off(e,n),t.apply(this,r)};return this.on(e,n)}removeAllListeners(){this.callbacks={}}},lk=typeof process<`u`&&!1;function uk(e){return e.kind===`widget`}function dk(e,t){let n=[],r=new Set;for(let i of e)i.kind===`widget`&&uk(i)&&r.add(i.key),n.push(i.toPMDecoration(t));return{decorations:n,widgetKeys:r}}function fk(e,t,n){let{decorations:r,widgetKeys:i}=dk(t,n);return{set:dE.create(e,r),widgetKeys:i}}function pk({position:e,from:t,to:n,docSize:r}){return e<t?!1:e<n||e===n&&n===r}function mk({decorations:e,from:t,to:n,docSize:r,extensionName:i,warnedExtensions:a}){return e.filter(e=>pk({position:e.anchor,from:t,to:n,docSize:r})?!0:(e.anchor===n||a.has(i)||(a.add(i),console.warn(`[tiptap warn]: Extension "${i}" returned a decoration outside the requested range [${t}, ${n}). It was ignored.`)),!1))}function hk(e){let t=e.spec?.key;return typeof t==`string`?t:void 0}function gk(e){let t=new Map,n=new Map;for(let r of e.find()){let e=hk(r);if(!e)continue;let i=r.spec.extensionName??`unknown`,a=t.get(e)??new Set;a.add(i),t.set(e,a),n.set(e,(n.get(e)??0)+1)}return Array.from(t,([e,t])=>({key:e,extensions:t})).filter(({key:e})=>(n.get(e)??0)>1)}function _k(e){return e.jsonID===`attr`}function vk(e){let t=!1;if(e.getMap().forEach(()=>{t=!0}),t||_k(e))return!0;let n=e;return typeof n.from==`number`&&typeof n.to==`number`}function yk(e,t){let n=null,r=0,i=0;for(let a=0;a<e.childCount&&!(i>t.to);a+=1){let o=i+e.child(a).nodeSize;o>=t.from&&(n===null&&(n=i),r=o),i=o}return n===null?null:{from:n,to:r}}function bk(e,t){if(e.steps.some(e=>!vk(e)))return{type:`full`};let n=DO(e).map(({newRange:e})=>e);e.steps.forEach((t,r)=>{if(!_k(t))return;let i=e.mapping.slice(r);n.push({from:i.map(t.pos,-1),to:i.map(t.pos+1)})});let r=[];for(let e of n){let n=yk(t,e);n&&r.push(n)}r.sort((e,t)=>e.from-t.from);let i=[];for(let e of r){let t=i[i.length-1];t&&e.from<=t.to?t.to=Math.max(t.to,e.to):i.push({...e})}return{type:`ranges`,ranges:i}}function xk(e,t,n,r){return e.map(t,n,{onRemove:e=>{let t=e?.key;typeof t==`string`&&r.delete(t)}})}function Sk(e,t,n){let r=t.decorationSetsByExtension[e]??dE.empty,i=new Set(t.widgetKeysByExtension[e]??[]);return{set:xk(r,n.mapping,n.doc,i),widgetKeys:i}}function Ck(e,t){let n=Object.values(t).flatMap(e=>e.find());return dE.create(e,n)}function wk(e){let t=new Set;for(let n of Object.values(e))for(let e of n)t.add(e);return t}function Tk(e,t){switch(t.update??`document`){case`document`:if(t.createInRange)throw Error(`[tiptap error]: Extension "${e}" provides createInRange() but does not use the "changedRanges" decoration update strategy.`);return;case`changedRanges`:if(!t.createInRange)throw Error(`[tiptap error]: Extension "${e}" uses the "changedRanges" decoration update strategy but does not provide createInRange().`);return;case`manual`:if(t.createInRange)throw Error(`[tiptap error]: Extension "${e}" uses the "manual" decoration update strategy, which is not compatible with createInRange(). createInRange() requires the "changedRanges" strategy.`);if(t.shouldUpdate)throw Error(`[tiptap error]: Extension "${e}" cannot combine the "manual" decoration update strategy with shouldUpdate().`);return;default:throw Error(`[tiptap error]: Extension "${e}" uses an unknown decoration update strategy. Expected "document", "changedRanges", or "manual".`)}}function Ek(e,t,n){return n?!0:e.update===`manual`?!1:e.shouldUpdate?e.shouldUpdate(t):t.tr.docChanged}var Dk=new Set,Ok=class{constructor(e){this.warnedWidgetKeys=new Set,this.warnedOutOfRangeExtensions=new Set,this.handleBeforeTransaction=({nextState:e})=>{let t=ek.getState(e);t&&this.warnDuplicateWidgetKeys(t)},this.editor=e.editor,this.entries=this.resolveEntries(e.entries),this.entries.forEach(({name:e,spec:t})=>Tk(e,t)),this.plugin=this.entries.length>0?this.createPlugin():null,this.editor.on(`beforeTransaction`,this.handleBeforeTransaction)}destroy(){this.editor.off(`beforeTransaction`,this.handleBeforeTransaction)}liveWidgetKeys(){return ek.getState(this.editor.state)?.widgetKeys??Dk}get mountedView(){return this.editor.isDestroyed?null:this.editor.view}resolveEntries(e){let t=[];for(let{name:n,addDecorations:r}of e){let e=r();e&&t.push({name:n,spec:e})}return t}createPlugin(){let{editor:e,entries:t}=this;return new $x({key:ek,state:{init:(e,n)=>{let r={},i={};for(let{name:e,spec:a}of t){let{set:t,widgetKeys:o}=this.buildFullSet(e,a,n);r[e]=t,i[e]=o}let a={decorationSetsByExtension:r,widgetKeysByExtension:i,mergedDecorationSet:this.buildMergedSet(n.doc,r),widgetKeys:wk(i)};return this.warnDuplicateWidgetKeys(a),a},apply:(n,r,i,a)=>{let o=n.getMeta(ek),s=o?.type===`force`&&!o.name,c=o?.type===`force`?o.name:void 0,l={},u={},d=new Set;return ok(e,()=>{for(let{name:o,spec:f}of t){let t=s||c===o;if(!Ek(f,{editor:e,tr:n,oldState:i,newState:a},t)){let e=Sk(o,r,n);l[o]=e.set,u[o]=e.widgetKeys}else if(f.update===`changedRanges`&&n.docChanged&&!t){let e=this.applyChangedRangesRecompute(o,f,r,n,a);l[o]=e.set,u[o]=e.widgetKeys,d.add(o)}else{let{set:e,widgetKeys:t}=this.buildFullSet(o,f,a);l[o]=e,u[o]=t,d.add(o)}}}),d.size===0&&!n.docChanged?r:{decorationSetsByExtension:l,widgetKeysByExtension:u,mergedDecorationSet:this.mergeAfterApply({entries:t,previous:r,tr:n,decorationSetsByExtension:l,recomputedNames:d}),widgetKeys:wk(u)}}},props:{decorations(e){return ek.getState(e)?.mergedDecorationSet??dE.empty}}})}applyChangedRangesRecompute(e,t,n,r,i){let a=bk(r,i.doc);return a.type===`full`?this.buildFullSet(e,t,i):this.rebuildRanges(e,t,n,r,i,a.ranges)}rebuildRanges(e,t,n,r,i,a){let o=n.decorationSetsByExtension[e]??dE.empty,s=new Set(n.widgetKeysByExtension[e]??[]),c=xk(o,r.mapping,r.doc,s),l=i.doc.content.size;for(let{from:n,to:r}of a){let a=c.find(n,r).filter(e=>pk({position:e.from,from:n,to:r,docSize:l}));for(let e of a){let t=hk(e);t&&s.delete(t)}c=c.remove(a);let{decorations:o,widgetKeys:u}=dk(mk({decorations:this.runCreate(e,`createInRange`,()=>t.createInRange({editor:this.editor,state:i,view:this.mountedView,from:n,to:r})),from:n,to:r,docSize:l,extensionName:e,warnedExtensions:this.warnedOutOfRangeExtensions}),e);c=c.add(i.doc,o);for(let e of u)s.add(e)}return{set:c,widgetKeys:s}}buildFullSet(e,t,n){let r=this.runCreate(e,`create`,()=>t.create({editor:this.editor,state:n,view:this.mountedView}));return fk(n.doc,r,e)}runCreate(e,t,n){try{return n()}catch(n){return console.error(`[tiptap error]: Extension "${e}" threw in \`addDecorations().${t}()\`. Its decorations were dropped for this update.`,n),[]}}warnDuplicateWidgetKeys(e){if(!lk)return;if(e.widgetKeys.size===0){this.warnedWidgetKeys.clear();return}let t=gk(e.mergedDecorationSet),n=new Set(t.map(({key:e})=>e));for(let{key:e,extensions:n}of t){if(this.warnedWidgetKeys.has(e))continue;let t=Array.from(n).map(e=>`"${e}"`).join(`, `);console.warn(`[tiptap warn]: Duplicate widget decoration key "${e}" in extension${n.size===1?``:`s`} ${t}. Widget decoration keys must be globally unique, otherwise ProseMirror misplaces the widget DOM. Use a stable, unique key (e.g. \`comment-\${id}\`).`)}this.warnedWidgetKeys=n}buildMergedSet(e,t){let n=Object.keys(t);return n.length===1?t[n[0]]:Ck(e,t)}mergeAfterApply({entries:e,previous:t,tr:n,decorationSetsByExtension:r,recomputedNames:i}){return e.length===1?r[e[0].name]:i.size===0?t.mergedDecorationSet.map(n.mapping,n.doc):Ck(n.doc,r)}};function kk(e,t){let{selection:n}=e,{$from:r}=n;if(n instanceof Vx){let e=r.index();return r.parent.canReplaceWith(e,e+1,t)}let i=r.depth;for(;i>=0;){let e=r.index(i);if(r.node(i).contentMatchAt(e).matchType(t))return!0;--i}return!1}function Ak(e,t,n){let r=document.querySelector(`style[data-tiptap-style${n?`-${n}`:``}]`);if(r!==null)return r;let i=document.createElement(`style`);return t&&i.setAttribute(`nonce`,t),i.setAttribute(`data-tiptap-style${n?`-${n}`:``}`,``),i.innerHTML=e,document.getElementsByTagName(`head`)[0].appendChild(i),i}function jk(e){return typeof e==`number`}function Mk(e){return Object.prototype.toString.call(e).slice(8,-1)}function Nk(e){return Mk(e)===`Object`&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function Pk(e,t,n){let r=e.split(`-`),i=[],a=``,o=0,s=t.baseIndentSize||2;for(;o<r.length;){let e=r[o],u=e.match(t.itemPattern);if(!u){if(i.length>0)break;if(e.trim()===``){o+=1,a=`${a}${e}\n`;continue}return}let d=t.extractItemData(u),{indentLevel:f,mainContent:p}=d;a=`${a}${e}\n`;let m=[p];for(o+=1;o<r.length;){var c;let e=r[o];if(e.trim()===``){var l;let t=r.slice(o+1).findIndex(e=>e.trim()!==``);if(t===-1)break;if((((l=r[o+1+t].match(/^(\s*)/))==null||(l=l[1])==null?void 0:l.length)||0)>f){m.push(e),a=`${a}${e}\n`,o+=1;continue}break}if((((c=e.match(/^(\s*)/))==null||(c=c[1])==null?void 0:c.length)||0)>f)m.push(e),a=`${a}${e}\n`,o+=1;else break}let h,g=m.slice(1);if(g.length>0){let e=g.map(e=>e.slice(f+s)).join(`-`);e.trim()&&(h=t.customNestedParser?t.customNestedParser(e):n.blockTokens(e))}let _=t.createToken(d,h);i.push(_)}if(i.length!==0)return{items:i,raw:a}}var Fk=4;function Ik(e){let t=0;for(let n of e)t=n===` `?t+Fk-t%Fk:t+1;return t}function Lk(e,t,n,r,i){if(!e||!Array.isArray(e.content))return``;let a=typeof n==`function`?n(r):n,[o,...s]=e.content,c=`${a}${t.renderChildren([o])}`;return s&&s.length>0&&s.forEach((e,n)=>{let r=t.renderChild?.call(t,e,n+1)??t.renderChildren([e]);if(r!=null){let n=e=>{if(!i?.alignNestedToPrefix)return t.indent(e);let n=t.indent(``),r=Ik(a);return(Ik(n)>=r?n:` `.repeat(r))+e},o=r.split(`-`).map(e=>n(e||``)).join(`-`);c+=e.type===`paragraph`?`\n\n${o}`:`\n${o}`}}),c}function Rk(e,t){let n={...e};return Nk(e)&&Nk(t)&&Object.keys(t).forEach(r=>{Nk(t[r])&&Nk(e[r])?n[r]=Rk(e[r],t[r]):n[r]=t[r]}),n}function zk(e,t,n={}){let{state:r}=t,{doc:i,tr:a}=r,o=e;i.descendants((t,r)=>{let i=a.mapping.map(r),s=a.mapping.map(r)+t.nodeSize,c=null;if(t.marks.forEach(e=>{if(e!==o)return!1;c=e}),!c)return;let l=!1;if(Object.keys(n).forEach(e=>{n[e]!==c.attrs[e]&&(l=!0)}),l){let t=e.type.create({...e.attrs,...n});a.removeMark(i,s,e.type),a.addMark(i,s,t)}}),a.docChanged&&t.view.dispatch(a)}var Bk=class{constructor(e){this.find=e.find,this.handler=e.handler,this.undoable=e.undoable??!0}},Vk=(e,t)=>{if(dD(t))return t.exec(e);let n=t(e);if(!n)return null;let r=[n.text];return r.index=n.index,r.input=e,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn(`[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".`),r.push(n.replaceWith)),r};function Hk(e){let{editor:t,from:n,to:r,text:i,insertText:a}=e;if(!a)return{inputTransaction:null,tr:t.view.state.tr};let o=t.view.state.tr.insertText(i,n,r);return{inputTransaction:o,tr:Zx.create({doc:o.doc,selection:o.selection,storedMarks:o.storedMarks}).tr}}function Uk(e){let{editor:t,from:n,to:r,text:i,rule:a,match:o,plugin:s,insertText:c}=e,{view:l}=t,{inputTransaction:u,tr:d}=Hk({editor:t,from:n,to:r,text:i,insertText:c}),f=u?n+i.length:r,p=sD({state:l.state,transaction:d}),m={from:n-(o[0].length-i.length),to:f},{commands:h,chain:g,can:_}=new cD({editor:t,state:p});return a.handler({state:p,range:m,match:o,commands:h,chain:g,can:_})===null||!d.steps.length?!1:(u&&(l.dispatch(u),!l.state.doc.eq(u.doc))||(tD(d),d.setMeta(`inputRule`,!0),a.undoable&&d.setMeta(s,{transform:d,from:n,to:f,text:i}),l.dispatch(d)),!0)}function Wk(e,t,n){let r=t[0].length-n.length;if(r<=0)return!0;let i=e.parentOffset-r;return i>=0&&e.parent.textBetween(i,e.parentOffset)===t[0].slice(0,r)}function Gk(e){let{editor:t,from:n,to:r,text:i,rules:a,plugin:o,insertText:s}=e,{view:c}=t;if(c.composing)return!1;let l=c.state.doc.resolve(n);if(l.parent.type.spec.code||(l.nodeBefore||l.nodeAfter)?.marks.find(e=>e.type.spec.code))return!1;let u=Ene(l)+i;for(let e of a){let a=Vk(u,e.find);if(a&&Wk(l,a,i)&&Uk({editor:t,from:n,to:r,text:i,rule:e,match:a,plugin:o,insertText:s}))return!0}return!1}function Kk(e){let{editor:t,rules:n}=e,r=new $x({state:{init(){return null},apply(e,i,a){let o=e.getMeta(r);if(o)return o;let s=e.getMeta(`applyInputRules`);return s&&setTimeout(()=>{let{text:e}=s;e=typeof e==`string`?e:QD(K.from(e),a.schema);let{from:i}=s,o=i+e.length;Gk({editor:t,from:i,to:o,text:e,rules:n,plugin:r})}),e.selectionSet||e.docChanged?null:i}},props:{handleTextInput(e,i,a,o){return Gk({editor:t,from:i,to:a,text:o,rules:n,plugin:r,insertText:!0})},handleDOMEvents:{compositionend:e=>(setTimeout(()=>{let{$cursor:i}=e.state.selection;i&&Gk({editor:t,from:i.pos,to:i.pos,text:``,rules:n,plugin:r})}),!1)},handleKeyDown(e,i){if(i.key!==`Enter`)return!1;let{$cursor:a}=e.state.selection;return a?Gk({editor:t,from:a.pos,to:a.pos,text:`-`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}var qk=class{constructor(e={}){this.type=`extendable`,this.parent=null,this.child=null,this.name=``,this.config={name:this.name},this.config={...this.config,...e},this.name=this.config.name}get options(){return{...oO(XD(this,`addOptions`,{name:this.name}))}}get storage(){return{...oO(XD(this,`addStorage`,{name:this.name,options:this.options}))}}configure(e={}){let t=this.extend({...this.config,addOptions:()=>Rk(this.options,e)});return t.name=this.name,t.parent=this.parent,this.child=null,t}extend(e={}){let t=new this.constructor({...this.config,...e});return t.parent=this,this.child=t,t.name=`name`in e?e.name:t.parent.name,t}},Jk=class e extends qk{constructor(...e){super(...e),this.type=`mark`}static create(t={}){let n=typeof t==`function`?t():t;return new e(n)}static handleExit({editor:e,mark:t}){let{tr:n}=e.state,r=e.state.selection.$from;if(r.pos===r.end()){let i=r.marks();if(!i.find(e=>e?.type.name===t.name))return!1;let a=i.find(e=>e?.type.name===t.name);return a&&n.removeStoredMark(a),n.insertText(` `,r.pos),e.view.dispatch(n),!0}return!1}configure(e){return super.configure(e)}extend(e){let t=typeof e==`function`?e():e;return super.extend(t)}},Yk=class{constructor(e){this.find=e.find,this.handler=e.handler}},Xk=(e,t,n)=>{if(dD(t))return[...e.matchAll(t)];let r=t(e,n);return r?r.map(t=>{let n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn(`[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".`),n.push(t.replaceWith)),n}):[]};function Zk(e){let{editor:t,state:n,from:r,to:i,rule:a,pasteEvent:o,dropEvent:s}=e,{commands:c,chain:l,can:u}=new cD({editor:t,state:n}),d=[];return n.doc.nodesBetween(r,i,(e,t)=>{var f;if((f=e.type)!=null&&(f=f.spec)!=null&&f.code||!(e.isText||e.isTextblock||e.isInline))return;let p=e.content?.size??e.nodeSize??0,m=Math.max(r,t),h=Math.min(i,t+p);m>=h||Xk(e.isText?e.text||``:e.textBetween(m-t,h-t,void 0,``),a.find,o).forEach(e=>{if(e.index===void 0)return;let t=m+e.index+1,r=t+e[0].length,i={from:n.tr.mapping.map(t),to:n.tr.mapping.map(r)},f=a.handler({state:n,range:i,match:e,commands:c,chain:l,can:u,pasteEvent:o,dropEvent:s});d.push(f)})}),d.every(e=>e!==null)}var Qk=null,$k=e=>{var t;let n=new ClipboardEvent(`paste`,{clipboardData:new DataTransfer});return(t=n.clipboardData)==null||t.setData(`text/html`,e),n};function eA(e){let{editor:t,rules:n}=e,r=null,i=!1,a=!1,o=typeof ClipboardEvent<`u`?new ClipboardEvent(`paste`):null,s;try{s=typeof DragEvent<`u`?new DragEvent(`drop`):null}catch{s=null}let c=({state:e,from:n,to:r,rule:i,pasteEvt:a})=>{let c=e.tr,l=sD({state:e,transaction:c});if(Zk({editor:t,state:l,from:Math.max(n-1,0),to:r.b-1,rule:i,pasteEvent:a,dropEvent:s})&&c.steps.length){try{s=typeof DragEvent<`u`?new DragEvent(`drop`):null}catch{s=null}return o=typeof ClipboardEvent<`u`?new ClipboardEvent(`paste`):null,c}};return t.on(`destroy`,()=>{Qk===t&&(Qk=null)}),n.map(e=>new $x({view(e){let n=n=>{r=e.dom.parentElement?.contains(n.target)?e.dom.parentElement:null,r&&(Qk=t)},i=()=>{Qk&&=null};return window.addEventListener(`dragstart`,n),window.addEventListener(`dragend`,i),{destroy(){window.removeEventListener(`dragstart`,n),window.removeEventListener(`dragend`,i)}}},props:{handleDOMEvents:{drop:(e,t)=>{if(a=r===e.dom.parentElement,s=t,!a){let e=Qk;e?.isEditable&&setTimeout(()=>{if(e.isDestroyed)return;let t=e.state.selection;t&&e.commands.deleteRange({from:t.from,to:t.to})},10)}return!1},paste:(e,t)=>{let n=t.clipboardData?.getData(`text/html`);return o=t,i=!!n?.includes(`data-pm-slice`),!1}}},appendTransaction:(t,n,r)=>{let s=t[0],l=s.getMeta(`uiEvent`)===`paste`&&!i,u=s.getMeta(`uiEvent`)===`drop`&&!a,d=s.getMeta(`applyPasteRules`),f=!!d;if(!l&&!u&&!f)return;if(f){let{text:t}=d;t=typeof t==`string`?t:QD(K.from(t),r.schema);let{from:n}=d,i=n+t.length,a=$k(t);return c({rule:e,state:r,from:n,to:{b:i},pasteEvt:a})}let p=n.doc.content.findDiffStart(r.doc.content),m=n.doc.content.findDiffEnd(r.doc.content);if(jk(p)&&m&&p!==m.b)return c({rule:e,state:r,from:p,to:m,pasteEvt:o})}}))}var tA=class{constructor(e,t){this.splittableMarks=[],this.nonClearableMarks=[],this.decorationManager=null,this.editor=t,this.baseExtensions=e,this.extensions=yO(e),this.hasSchemaSpec=t.options.schemaSpec!==void 0,this.schema=_O(this.extensions,t,t.options.schemaSpec),this.setupExtensions()}get commands(){return this.extensions.reduce((e,t)=>{let n=XD(t,`addCommands`,{name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:this.editor,type:jO(t.name,this.schema)});return n?{...e,...n()}:e},{})}get plugins(){let{editor:e}=this,t=vO([...this.extensions].reverse()).flatMap(t=>{let n={name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:jO(t.name,this.schema)},r=[],i=XD(t,`addKeyboardShortcuts`,n),a={};if(t.type===`mark`&&XD(t,`exitable`,n)&&(a.ArrowRight=()=>Jk.handleExit({editor:e,mark:t})),i){let t=Object.fromEntries(Object.entries(i()).map(([t,n])=>[t,()=>n({editor:e})]));a={...a,...t}}let o=jte(a);r.push(o);let s=XD(t,`addInputRules`,n);if(PO(t,e.options.enableInputRules)&&s){let t=s();if(t&&t.length){let n=Kk({editor:e,rules:t}),i=Array.isArray(n)?n:[n];r.push(...i)}}let c=XD(t,`addPasteRules`,n);if(PO(t,e.options.enablePasteRules)&&c){let t=c();if(t&&t.length){let n=eA({editor:e,rules:t});r.push(...n)}}let l=XD(t,`addProseMirrorPlugins`,n);if(l){let e=l();r.push(...e)}return r}),n=this.createDecorationPlugin();return n&&t.push(n),t}createDecorationPlugin(){var e;let{editor:t}=this;(e=this.decorationManager)==null||e.destroy();let n=[];return this.extensions.forEach(e=>{let r=XD(e,`addDecorations`,{name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:t,type:jO(e.name,this.schema)});r&&n.push({name:e.name,addDecorations:r})}),this.decorationManager=new Ok({editor:t,entries:n}),this.decorationManager.plugin}get attributes(){let e=iO(this.extensions);return this.hasSchemaSpec?$D(e,this.schema):e}get nodeViews(){let{editor:e}=this,{nodeExtensions:t}=rO(this.extensions);return Object.fromEntries(t.filter(e=>!!XD(e,`addNodeView`)).map(t=>{let n=this.attributes.filter(e=>e.type===t.name),r=XD(t,`addNodeView`,{name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:lD(t.name,this.schema)});if(!r)return[];let i=r();return i?[t.name,(r,a,o,s,c)=>{let l=dO(r,n);return i({node:r,view:a,getPos:o,decorations:s,innerDecorations:c,editor:e,extension:t,HTMLAttributes:l})}]:[]}))}dispatchTransaction(e){let{editor:t}=this;return vO([...this.extensions].reverse()).reduceRight((e,n)=>{let r={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:jO(n.name,this.schema)},i=XD(n,`dispatchTransaction`,r);return i?t=>{i.call(r,{transaction:t,next:e})}:e},e)}transformPastedHTML(e){let{editor:t}=this;return vO([...this.extensions]).reduce((e,n)=>{let r={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:jO(n.name,this.schema)},i=XD(n,`transformPastedHTML`,r);return i?(t,n)=>{let a=e(t,n);return i.call(r,a)}:e},e||(e=>e))}get markViews(){let{editor:e}=this,{markExtensions:t}=rO(this.extensions);return Object.fromEntries(t.filter(e=>!!XD(e,`addMarkView`)).map(t=>{let n=this.attributes.filter(e=>e.type===t.name),r=XD(t,`addMarkView`,{name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:gD(t.name,this.schema)});return r?[t.name,(i,a,o)=>{let s=dO(i,n);return r()({mark:i,view:a,inline:o,editor:e,extension:t,HTMLAttributes:s,updateAttributes:t=>{zk(i,e,t)}})}]:[]}))}destroy(){var e;(e=this.decorationManager)==null||e.destroy(),this.extensions.forEach(e=>{let t=e;for(;t.parent;){let e=t.parent;e.child===t&&(e.child=null),t=e}}),this.extensions=[],this.baseExtensions=[],this.decorationManager=null,this.schema=null,this.editor=null}setupExtensions(){let e=this.extensions;this.editor.extensionStorage=Object.fromEntries(e.map(e=>[e.name,e.storage])),e.forEach(e=>{let t={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:jO(e.name,this.schema)};e.type===`mark`&&((oO(XD(e,`keepOnSplit`,t))??!0)&&this.splittableMarks.push(e.name),(oO(XD(e,`clearable`,t))??!0)||this.nonClearableMarks.push(e.name));let n=XD(e,`onBeforeCreate`,t),r=XD(e,`onCreate`,t),i=XD(e,`onUpdate`,t),a=XD(e,`onSelectionUpdate`,t),o=XD(e,`onTransaction`,t),s=XD(e,`onFocus`,t),c=XD(e,`onBlur`,t),l=XD(e,`onDestroy`,t);n&&this.editor.on(`beforeCreate`,n),r&&this.editor.on(`create`,r),i&&this.editor.on(`update`,i),a&&this.editor.on(`selectionUpdate`,a),o&&this.editor.on(`transaction`,o),s&&this.editor.on(`focus`,s),c&&this.editor.on(`blur`,c),l&&this.editor.on(`destroy`,l)})}};tA.resolve=yO,tA.sort=vO,tA.flatten=ZD;var nA=class e extends qk{constructor(...e){super(...e),this.type=`extension`}static create(t={}){let n=typeof t==`function`?t():t;return new e(n)}configure(e){return super.configure(e)}extend(e){let t=typeof e==`function`?e():e;return super.extend(t)}},rA=nA.create({name:`clipboardTextSerializer`,addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new $x({key:new nS(`clipboardTextSerializer`),props:{clipboardTextSerializer:()=>{let{editor:e}=this,{state:t,schema:n}=e,{doc:r,selection:i}=t,a=SO(n),{blockSeparator:o}=this.options,s={...o===void 0?{}:{blockSeparator:o},textSerializers:a};return[...i.ranges].sort((e,t)=>e.$from.pos-t.$from.pos).map(({$from:e,$to:t})=>bO(r,{from:e.pos,to:t.pos},s)).join(o??`--`)}}})]}}),iA=nA.create({name:`commands`,addCommands(){return{...ik}}}),aA=nA.create({name:`delete`,onUpdate({transaction:e,appendedTransactions:t}){var n;let r=()=>{var n,r;if(((n=this.editor.options.coreExtensionOptions)==null||(n=n.delete)==null||(r=n.filterTransaction)==null?void 0:r.call(n,e))??e.getMeta(`y-sync$`))return;let i=KD(e.before,[e,...t]);DO(i).forEach(t=>{i.mapping.mapResult(t.oldRange.from).deletedAfter&&i.mapping.mapResult(t.oldRange.to).deletedBefore&&i.before.nodesBetween(t.oldRange.from,t.oldRange.to,(n,r)=>{let a=r+n.nodeSize-2,o=t.oldRange.from<=r&&a<=t.oldRange.to;this.editor.emit(`delete`,{type:`node`,node:n,from:r,to:a,newFrom:i.mapping.map(r),newTo:i.mapping.map(a),deletedRange:t.oldRange,newRange:t.newRange,partial:!o,editor:this.editor,transaction:e,combinedTransform:i})})});let a=i.mapping;i.steps.forEach((t,n)=>{if(t instanceof Fb){let r=a.slice(n).map(t.from,-1),o=a.slice(n).map(t.to),s=a.invert().map(r,-1),c=a.invert().map(o),l=r>0&&i.doc.nodeAt(r-1)?.marks.some(e=>e.eq(t.mark)),u=i.doc.nodeAt(o)?.marks.some(e=>e.eq(t.mark));this.editor.emit(`delete`,{type:`mark`,mark:t.mark,from:t.from,to:t.to,deletedRange:{from:s,to:c},newRange:{from:r,to:o},partial:!!(u||l),editor:this.editor,transaction:e,combinedTransform:i})}})};((n=this.editor.options.coreExtensionOptions)==null||(n=n.delete)==null?void 0:n.async)??!0?setTimeout(r,0):r()}}),oA=nA.create({name:`drop`,addProseMirrorPlugins(){return[new $x({key:new nS(`tiptapDrop`),props:{handleDrop:(e,t,n,r)=>{this.editor.emit(`drop`,{editor:this.editor,event:t,slice:n,moved:r})}}})]}}),sA=nA.create({name:`editable`,addProseMirrorPlugins(){return[new $x({key:new nS(`editable`),props:{editable:()=>this.editor.options.editable}})]}}),cA=new nS(`focusEvents`),lA=nA.create({name:`focusEvents`,addProseMirrorPlugins(){let{editor:e}=this;return[new $x({key:cA,props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;let r=e.state.tr.setMeta(`focus`,{event:n}).setMeta(`addToHistory`,!1);return t.dispatch(r),!1},blur:(t,n)=>{e.isFocused=!1;let r=e.state.tr.setMeta(`blur`,{event:n}).setMeta(`addToHistory`,!1);return t.dispatch(r),!1}}}})]}}),uA=nA.create({name:`keymap`,addKeyboardShortcuts(){let e=()=>this.editor.commands.first(({commands:e})=>[()=>e.undoInputRule(),()=>e.command(({tr:t})=>{let{selection:n,doc:r}=t,{empty:i,$anchor:a}=n,{pos:o,parent:s}=a,c=a.parent.isTextblock&&o>0?t.doc.resolve(o-1):a,l=c.parent.type.spec.isolating,u=a.pos-a.parentOffset,d=l&&c.parent.childCount===1?u===a.pos:Fx.atStart(r).from===o;return!i||!s.type.isTextblock||s.textContent.length||!d||d&&a.parent.type.name===`paragraph`?!1:e.clearNodes()}),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()]),t=()=>this.editor.commands.first(({commands:e})=>[()=>e.deleteSelection(),()=>e.deleteCurrentNode(),()=>e.joinForward(),()=>e.selectNodeForward()]),n={Enter:()=>this.editor.commands.first(({commands:e})=>[()=>e.newlineInCode(),()=>e.createParagraphNear(),()=>e.liftEmptyBlock(),()=>e.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},r={...n},i={...n,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return xD()||AD()?i:r},addProseMirrorPlugins(){return[new $x({key:new nS(`clearDocument`),appendTransaction:(e,t,n)=>{if(e.some(e=>e.getMeta(`composition`)))return;let r=e.some(e=>e.docChanged)&&!t.doc.eq(n.doc),i=e.some(e=>e.getMeta(`preventClearDocument`));if(!r||i)return;let{empty:a,from:o,to:s}=t.selection,c=Fx.atStart(t.doc).from,l=Fx.atEnd(t.doc).to;if(a||o!==c||s!==l||!IO(n.doc))return;let u=n.tr,d=sD({state:n,transaction:u}),{commands:f}=new cD({editor:this.editor,state:d});if(f.clearNodes(),u.steps.length)return u}})]}}),dA=nA.create({name:`paste`,addProseMirrorPlugins(){return[new $x({key:new nS(`tiptapPaste`),props:{handlePaste:(e,t,n)=>{this.editor.emit(`paste`,{editor:this.editor,event:t,slice:n})}}})]}}),fA=nA.create({name:`tabindex`,addOptions(){return{value:void 0}},addProseMirrorPlugins(){return[new $x({key:new nS(`tabindex`),props:{attributes:()=>!this.editor.isEditable&&this.options.value===void 0?{}:{tabindex:this.options.value??`0`}}})]}}),pA=nA.create({name:`textDirection`,addOptions(){return{direction:void 0}},addGlobalAttributes(){if(!this.options.direction)return[];let{nodeExtensions:e}=rO(this.extensions);return[{types:e.filter(e=>e.name!==`text`).map(e=>e.name),attributes:{dir:{default:this.options.direction,parseHTML:e=>{let t=e.getAttribute(`dir`);return t&&(t===`ltr`||t===`rtl`||t===`auto`)?t:this.options.direction},renderHTML:e=>e.dir?{dir:e.dir}:{}}}}]},addProseMirrorPlugins(){return[new $x({key:new nS(`textDirection`),props:{attributes:()=>{let e=this.options.direction;return e?{dir:e}:{}}}})]}}),mA=!1;function hA(e){if(mA)return;mA=!0;let t;try{let n=Bb.fromJSON(e,{from:0,to:0});if(!jne(n))return;t=n.slice.content}catch{return}t instanceof K||console.warn(`[tiptap warn]: prosemirror-model is loaded more than once. Wrapping and splitting nodes will fail. Deduplicate it in your lock file, or alias it to a single copy in your bundler.`)}var gA=class e{get name(){return this.node.type.name}constructor(e,t,n=!1,r=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=e,this.editor=t,this.currentNode=r}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){return this.actualDepth??this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,n=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}t=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:t,to:n},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+ +!this.node.isText}get parent(){if(this.depth===0)return null;let t=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(t);return new e(n,this.editor)}get before(){let t=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.from-3)),new e(t,this.editor)}get after(){let t=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.to+3)),new e(t,this.editor)}get children(){let t=[];return this.node.content.forEach((n,r)=>{let i=n.isBlock&&!n.isTextblock,a=n.isAtom&&!n.isText,o=n.isInline,s=this.pos+r+ +!a;if(s<0||s>this.resolvedPos.doc.nodeSize-2)return;let c=this.resolvedPos.doc.resolve(s);if(!i&&!o&&c.depth<=this.depth)return;let l=new e(c,this.editor,i,i||o?n:null);i&&(l.actualDepth=this.depth+1),t.push(l)}),t}get firstChild(){return this.children[0]||null}get lastChild(){let e=this.children;return e[e.length-1]||null}closest(e,t={}){let n=null,r=this.parent;for(;r&&!n;){if(r.node.type.name===e){if(Object.keys(t).length>0){let e=r.node.attrs,n=Object.keys(t);for(let r=0;r<n.length;r+=1){let i=n[r];if(e[i]!==t[i])break}}else n=r}r=r.parent}return n}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},n=!1){let r=[];if(!this.children||this.children.length===0)return r;let i=Object.keys(t);return this.children.forEach(a=>{n&&r.length>0||(a.node.type.name===e&&i.every(e=>t[e]===a.node.attrs[e])&&r.push(a),n&&r.length>0||(r=r.concat(a.querySelectorAll(e,t,n))))}),r}setAttribute(e){let{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}},_A=`.ProseMirror {- position: relative;-}--.ProseMirror {- word-wrap: break-word;- white-space: pre-wrap;- white-space: break-spaces;- -webkit-font-variant-ligatures: none;- font-variant-ligatures: none;- font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */-}--.ProseMirror [contenteditable="false"] {- white-space: normal;-}--.ProseMirror [contenteditable="false"] [contenteditable="true"] {- white-space: pre-wrap;-}--.ProseMirror pre {- white-space: pre-wrap;-}--img.ProseMirror-separator {- display: inline !important;- border: none !important;- margin: 0 !important;- width: 0 !important;- height: 0 !important;-}--.ProseMirror-gapcursor {- display: none;- pointer-events: none;- position: absolute;- margin: 0;-}--.ProseMirror-gapcursor:after {- content: "";- display: block;- position: absolute;- top: -2px;- width: 20px;- border-top: 1px solid black;- animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;-}--@keyframes ProseMirror-cursor-blink {- to {- visibility: hidden;- }-}--.ProseMirror-hideselection *::selection {- background: transparent;-}--.ProseMirror-hideselection *::-moz-selection {- background: transparent;-}--.ProseMirror-hideselection * {- caret-color: transparent;-}--.ProseMirror-focused .ProseMirror-gapcursor {- display: block;-}`,vA=class extends ck{constructor(e={}){super(),this.css=null,this.className=`tiptap`,this.editorView=null,this.isFocused=!1,this.destroyed=!1,this.isInitialized=!1,this.extensionStorage={},this.instanceId=Math.random().toString(36).slice(2,9),this.hasWarnedStaleDecorationRead=!1,this.options={element:typeof document<`u`?document.createElement(`div`):null,content:``,injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,textDirection:void 0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onMount:()=>null,onUnmount:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:e})=>{throw e},onPaste:()=>null,onDrop:()=>null,onDelete:()=>null,enableExtensionDispatchTransaction:!0},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.utils={getUpdatedPosition:Mne,createMappablePosition:Nne},this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on(`beforeCreate`,this.options.onBeforeCreate),this.emit(`beforeCreate`,{editor:this}),this.on(`mount`,this.options.onMount),this.on(`unmount`,this.options.onUnmount),this.on(`contentError`,this.options.onContentError),this.on(`create`,this.options.onCreate),this.on(`update`,this.options.onUpdate),this.on(`selectionUpdate`,this.options.onSelectionUpdate),this.on(`transaction`,this.options.onTransaction),this.on(`focus`,this.options.onFocus),this.on(`blur`,this.options.onBlur),this.on(`destroy`,this.options.onDestroy),this.on(`drop`,({event:e,slice:t,moved:n})=>this.options.onDrop(e,t,n)),this.on(`paste`,({event:e,slice:t})=>this.options.onPaste(e,t)),this.on(`delete`,this.options.onDelete);let t=this.createDoc();if(!this.editorState){let e=yD(t,this.options.autofocus);this.editorState=Zx.create({doc:t,schema:this.schema,selection:e||void 0})}hA(this.schema),this.options.element&&this.mount(this.options.element)}mount(e){if(typeof document>`u`)throw Error(`[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.`);this.createView(e),this.emit(`mount`,{editor:this}),this.css&&!document.head.contains(this.css)&&document.head.appendChild(this.css),window.setTimeout(()=>{this.isDestroyed||(this.options.autofocus!==!1&&this.options.autofocus!==null&&this.commands.focus(this.options.autofocus),this.emit(`create`,{editor:this}),this.isInitialized=!0)},0)}unmount(){if(this.editorView){this.editorState=this.editorView.state;let e=this.editorView.dom;e?.editor&&delete e.editor,this.editorView.destroy()}if(this.editorView=null,this.isInitialized=!1,this.css&&!document.querySelectorAll(`.${this.className}`).length)try{typeof this.css.remove==`function`?this.css.remove():this.css.parentNode&&this.css.parentNode.removeChild(this.css)}catch(e){console.warn(`Failed to remove CSS element:`,e)}this.css=null,this.emit(`unmount`,{editor:this})}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager?this.commandManager.chain():cD.createFakeChain()}can(){return this.commandManager?this.commandManager.can():cD.createFallbackCan()}injectCSS(){this.options.injectCSS&&typeof document<`u`&&(this.css=Ak(_A,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},this.editorView&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps({...this.options.editorProps,attributes:this.getEditorViewAttributes()}),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit(`update`,{editor:this,transaction:this.state.tr,appendedTransactions:[]})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get view(){return this.editorView?this.editorView:new Proxy({state:this.editorState,updateState:e=>{this.editorState=e},dispatch:e=>{this.dispatchTransaction(e)},composing:!1,dragging:null,editable:!0,isDestroyed:!1},{get:(e,t)=>{if(this.editorView)return this.editorView[t];if(t===`state`)return this.editorState;if(t in e)return Reflect.get(e,t);throw Error(`[tiptap error]: The editor view is not available. Cannot access view['${t}']. The editor may not be mounted yet.`)}})}get state(){return lk&&!this.hasWarnedStaleDecorationRead&&sk(this)&&(this.hasWarnedStaleDecorationRead=!0,console.warn("[tiptap warn]: `editor.state` was read while decoration `create()` was running. It returns the pre-transaction document. Use the `state` argument passed to `create()` instead. Helpers like `editor.isActive()` read `editor.state` too, so pass `state` to their standalone versions instead of calling them on the editor.")),this.editorView&&(this.editorState=this.view.state),this.editorState}registerPlugin(e,t){let n=aO(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(e){if(this.isDestroyed)return;let t=this.state.plugins,n=t;if([].concat(e).forEach(e=>{let t=typeof e==`string`?`${e}$`:e.key;n=n.filter(e=>!e.key.startsWith(t))}),t.length===n.length)return;let r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var e,t;let n=[...this.options.enableCoreExtensions?[sA,rA.configure({blockSeparator:(e=this.options.coreExtensionOptions)==null||(e=e.clipboardTextSerializer)==null?void 0:e.blockSeparator}),iA,lA,uA,fA.configure({value:(t=this.options.coreExtensionOptions)==null||(t=t.tabindex)==null?void 0:t.value}),oA,dA,aA,pA.configure({direction:this.options.textDirection})].filter(e=>typeof this.options.enableCoreExtensions!=`object`||this.options.enableCoreExtensions[e.name]!==!1):[],...this.options.extensions].filter(e=>[`extension`,`node`,`mark`].includes(e?.type));this.extensionManager=new tA(n,this)}createCommandManager(){this.commandManager=new cD({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createDoc(){let e;try{e=UD(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error)||![`[tiptap error]: Invalid JSON content`,`[tiptap error]: Invalid HTML content`].includes(e.message))throw e;let t=UD(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1});return this.editorState=Zx.create({doc:t,schema:this.schema,selection:yD(t,this.options.autofocus)||void 0}),this.emit(`contentError`,{editor:this,error:e,disableCollaboration:()=>{`collaboration`in this.storage&&typeof this.storage.collaboration==`object`&&this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(e=>e.name!==`collaboration`),this.createExtensionManager()}}),this.editorState.doc}return e}getEditorViewAttributes(){let e=this.options.editorProps?.attributes;return aO(e)?t=>({role:`textbox`,...e(t)}):{role:`textbox`,...e}}createView(e){let{editorProps:t,enableExtensionDispatchTransaction:n}=this.options,r=t.dispatchTransaction||this.dispatchTransaction.bind(this),i=n?this.extensionManager.dispatchTransaction(r):r,a=t.transformPastedHTML,o=this.extensionManager.transformPastedHTML(a);this.editorView=new ME(e,{...t,attributes:this.getEditorViewAttributes(),dispatchTransaction:i,transformPastedHTML:o,state:this.editorState,markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews});let s=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(s),this.prependClass(),this.injectCSS();let c=this.view.dom;c.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`${this.className} ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;let t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(e=>this.capturedTransaction?.step(e));return}let{state:t,transactions:n}=this.state.applyTransaction(e),r=!this.state.selection.eq(t.selection),i=n.includes(e),a=this.state;if(this.emit(`beforeTransaction`,{editor:this,transaction:e,nextState:t}),!i)return;this.view.updateState(t),this.emit(`transaction`,{editor:this,transaction:e,appendedTransactions:n.slice(1)}),r&&this.emit(`selectionUpdate`,{editor:this,transaction:e});let o=n.findLast(e=>e.getMeta(`focus`)||e.getMeta(`blur`)),s=o?.getMeta(`focus`),c=o?.getMeta(`blur`);s&&this.emit(`focus`,{editor:this,event:s.event,transaction:o}),c&&this.emit(`blur`,{editor:this,event:c.event,transaction:o}),e.getMeta(`preventUpdate`)||!n.some(e=>e.docChanged)||a.doc.eq(t.doc)||this.emit(`update`,{editor:this,transaction:e,appendedTransactions:n.slice(1)})}getAttributes(e){return wO(this.state,e)}isActive(e,t){let n=typeof e==`string`?e:null,r=typeof e==`string`?t:e;return Dne(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return QD(this.state.doc.content,this.schema)}getText(e){let{blockSeparator:t=`--`,textSerializers:n={}}=e||{};return xO(this.state.doc,{blockSeparator:t,textSerializers:{...SO(this.schema),...n}})}get isEmpty(){return IO(this.state.doc)}destroy(){this.destroyed||(this.destroyed=!0,this.emit(`destroy`),this.unmount(),this.removeAllListeners(),this.extensionManager.destroy(),this.extensionManager=null,this.schema=null,this.commandManager=null,this.extensionStorage={})}get isDestroyed(){return this.editorView?.isDestroyed??!0}$node(e,t){return this.$doc?.querySelector(e,t)||null}$nodes(e,t){return this.$doc?.querySelectorAll(e,t)||null}$pos(e){let t=this.state.doc.resolve(e),n=e>0&&t.nodeAfter&&!t.nodeAfter.isText&&t.nodeAfter.isAtom?t.nodeAfter:null;return new gA(t,this,!1,n)}get $doc(){return this.$pos(0)}};function yA(e){return new Bk({find:e.find,handler:({state:t,range:n,match:r})=>{let i=oO(e.getAttributes,void 0,r);if(i===!1||i===null)return null;let{tr:a}=t,o=r[r.length-1],s=r[0];if(o){let r=s.search(/\S/),c=n.from+s.indexOf(o),l=c+o.length;if(OO(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>c).length)return null;l<n.to&&a.delete(l,n.to),c>n.from&&a.delete(n.from+r,c);let u=n.from+r+o.length;a.addMark(n.from+r,u,e.type.create(i||{})),a.removeStoredMark(e.type)}},undoable:e.undoable})}function bA(e){return new Bk({find:e.find,handler:({state:t,range:n,match:r})=>{let i=oO(e.getAttributes,void 0,r)||{},{tr:a}=t,o=n.from,s=n.to,c=e.type.create(i);if(r[1]){let e=o+r[0].lastIndexOf(r[1]);e>s?e=s:s=e+r[1].length;let t=r[0][r[0].length-1];a.insertText(t,o+r[0].length-1),a.replaceWith(e,s,c)}else if(r[0]){let t=e.type.isInline?o:o-1;a.insert(t,e.type.create(i)).delete(a.mapping.map(o),a.mapping.map(s))}a.scrollIntoView()},undoable:e.undoable})}function xA(e){return new Bk({find:e.find,handler:({state:t,range:n,match:r})=>{let i=t.doc.resolve(n.from),a=oO(e.getAttributes,void 0,r)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,a)},undoable:e.undoable})}function SA(e){return new Bk({find:e.find,handler:({state:t,range:n,match:r,chain:i})=>{let a=oO(e.getAttributes,void 0,r)||{},o=t.tr.delete(n.from,n.to),s=o.doc.resolve(n.from).blockRange(),c=s&&Yb(s,e.type,a);if(!c)return null;if(o.wrap(s,c),e.keepMarks&&e.editor){let{selection:n,storedMarks:r}=t,{splittableMarks:i}=e.editor.extensionManager,a=r||n.$to.parentOffset&&n.$from.marks();if(a){let e=a.filter(e=>i.includes(e.type.name));o.ensureMarks(e)}}if(e.keepAttributes){let t=e.type.name===`bulletList`||e.type.name===`orderedList`?`listItem`:`taskList`;i().updateAttributes(t,a).run()}let l=o.doc.resolve(n.from-1).nodeBefore;l&&l.type===e.type&&sx(o.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(r,l))&&o.join(n.from-1)},undoable:e.undoable})}var CA=class e extends qk{constructor(...e){super(...e),this.type=`node`}static create(t={}){let n=typeof t==`function`?t():t;return new e(n)}configure(e){return super.configure(e)}extend(e){let t=typeof e==`function`?e():e;return super.extend(t)}};function wA(e){return new Yk({find:e.find,handler:({state:t,range:n,match:r,pasteEvent:i})=>{let a=oO(e.getAttributes,void 0,r,i);if(a===!1||a===null)return null;let{tr:o}=t,s=r[r.length-1],c=r[0],l=n.to;if(s){let i=c.search(/\S/),u=n.from+c.indexOf(s),d=u+s.length;if(OO(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>u).length)return null;d<n.to&&o.delete(d,n.to),u>n.from&&o.delete(n.from+i,u),l=n.from+i+s.length,o.addMark(n.from+i,l,e.type.create(a||{})),r.index!==void 0&&r.input!==void 0&&r.index+r[0].length>=r.input.length||o.removeStoredMark(e.type)}}})}var{getOwnPropertyNames:TA,getOwnPropertySymbols:EA}=Object,{hasOwnProperty:DA}=Object.prototype;function OA(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function kA(e){return function(t,n,r){if(!t||!n||typeof t!=`object`||typeof n!=`object`)return e(t,n,r);let{cache:i}=r,a=i.get(t),o=i.get(n);if(a&&o)return a===n&&o===t;i.set(t,n),i.set(n,t);let s=e(t,n,r);return i.delete(t),i.delete(n),s}}function AA(e){return e?.[Symbol.toStringTag]}function jA(e){return TA(e).concat(EA(e))}var MA=Object.hasOwn||((e,t)=>DA.call(e,t));function NA(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var PA=`__v`,FA=`__o`,IA=`_owner`,LA=64,{getOwnPropertyDescriptor:RA,keys:zA}=Object,{propertyIsEnumerable:BA}=Object.prototype,VA=RA(Object.getPrototypeOf(Int8Array.prototype),Symbol.toStringTag).get;function HA(e,t){return e.byteLength===t.byteLength&&nj(new Uint8Array(e),new Uint8Array(t))}function UA(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-->0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function WA(e,t){return e.byteLength===t.byteLength&&nj(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function GA(e,t){return NA(e.getTime(),t.getTime())}function KA(e,t,n){if(e.name!==t.name||e.message!==t.message||e.stack!==t.stack)return!1;let r=e.cause,i=t.cause;if(r!==i&&!n.equals(r,i,`cause`,`cause`,e,t,n))return!1;let a=e.errors,o=t.errors;if(a!==o&&!n.equals(a,o,`errors`,`errors`,e,t,n))return!1;let s=zA(e),c=zA(t),l=s.length;if(!l&&!c.length)return!0;let u=0,d;for(;l-->0;)if(d=s[l],d!==`cause`&&d!==`errors`){if(d!==c[l]&&!BA.call(t,d)||!n.equals(e[d],t[d],d,d,e,t,n))return!1;++u}let f=c.length-u;return!f||f===+!!BA.call(t,`cause`)+ +!!BA.call(t,`errors`)}function qA(e,t){return e===t}function JA(e,t,n){return e.name===t.name&&e.message===t.message&&e.stack===t.stack&&QA(e,t,n)}function YA(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.entries(),o,s,c=0;for(;(o=a.next())&&!o.done;){let r=t.entries(),a=!1,l=0;for(;(s=r.next())&&!s.done;){if(i[l]){l++;continue}let r=o.value,u=s.value;if(n.equals(r[0],u[0],c,l,e,t,n)&&n.equals(r[1],u[1],r[0],u[0],e,t,n)){a=i[l]=!0;break}l++}if(!a)return!1;c++}return!0}var XA=NA;function ZA(e,t,n){let r=zA(e),i=zA(t),a=r.length;if(i.length!==a)return!1;let o=a<=LA,s;for(;a-->0;)if(s=r[a],!oj(e,t,s)&&(s!==i[a]&&!(o?i.includes(s):BA.call(t,s))||!n.equals(e[s],t[s],s,s,e,t,n)))return!1;return!0}function QA(e,t,n){let r=jA(e),i=r.length;if(jA(t).length!==i)return!1;let a,o,s;for(;i-->0;)if(a=r[i],!oj(e,t,a)&&(!MA(t,a)||!n.equals(e[a],t[a],a,a,e,t,n))||(o=RA(e,a),s=RA(t,a),(o||s)&&(!o||!s||o.configurable!==s.configurable||o.enumerable!==s.enumerable||o.writable!==s.writable)))return!1;return!0}function $A(e,t){return NA(e.valueOf(),t.valueOf())}function ej(e,t){return e.source===t.source&&e.flags===t.flags}function tj(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.values(),o,s;for(;(o=a.next())&&!o.done;){let r=t.values(),a=!1,c=0;for(;(s=r.next())&&!s.done;){if(!i[c]&&n.equals(o.value,s.value,o.value,s.value,e,t,n)){a=i[c]=!0;break}c++}if(!a)return!1}return!0}function nj(e,t){let n=e.length;if(t.length!==n||e.byteOffset!==t.byteOffset)return!1;let r=VA.call(e);if(r===`Float64Array`||r===`Float32Array`||r===`Float16Array`){for(;n-->0;)if(e[n]!==t[n]&&(e[n]===e[n]||t[n]===t[n]))return!1;return!0}for(;n-->0;)if(e[n]!==t[n])return!1;return!0}function rj(e,t){return e.href===t.href||e.protocol===t.protocol&&e.username===t.username&&e.password===t.password&&e.host===t.host&&e.pathname===t.pathname&&e.hash===t.hash&&ij(e.searchParams,t.searchParams)}function ij(e,t){let n=e.toString(),r=t.toString();return n===r||aj(n)===aj(r)}function aj(e){return e.split(`&`).sort().join(`&`)}function oj(e,t,n){return(n===IA||n===FA||n===PA)&&!!(e.$$typeof||t.$$typeof)}var sj=`[object ArrayBuffer]`,cj=`[object Arguments]`,lj=`[object Boolean]`,uj=`[object DataView]`,dj=`[object Date]`,fj=`[object Error]`,pj=`[object Map]`,mj=`[object Number]`,hj=`[object Object]`,gj=`[object RegExp]`,_j=`[object Set]`,vj=`[object String]`,yj={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},bj=`[object URL]`,xj=Object.prototype.toString;function Sj({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:s,areObjectsEqual:c,arePrimitiveWrappersEqual:l,areRegExpsEqual:u,areSetsEqual:d,areTypedArraysEqual:f,areUrlsEqual:p,unknownTagComparators:m}){return function(h,g,_){if(h===g)return!0;if(h==null||g==null)return!1;let v=typeof h;if(v!==typeof g)return!1;if(v!==`object`)return v===`number`?s(h,g,_):v===`function`&&a(h,g,_);let y=h.constructor;if(y!==g.constructor)return!1;if(y===Object)return c(h,g,_);if(Array.isArray(h))return t(h,g,_);if(y===Date)return r(h,g,_);if(y===RegExp)return u(h,g,_);if(y===Map)return o(h,g,_);if(y===Set)return d(h,g,_);if(y==null)return c(h,g,_);let b=xj.call(h);if(b===dj)return r(h,g,_);if(b===gj)return u(h,g,_);if(b===pj)return o(h,g,_);if(b===_j)return d(h,g,_);if(b===hj)return typeof h.then!=`function`&&typeof g.then!=`function`&&c(h,g,_);if(b===bj)return p(h,g,_);if(b===fj)return i(h,g,_);if(b===cj)return c(h,g,_);if(yj[b])return f(h,g,_);if(b===sj)return e(h,g,_);if(b===uj)return n(h,g,_);if(b===lj||b===mj||b===vj)return l(h,g,_);if(m){let e=m[b];if(!e){let t=AA(h);t&&(e=m[t])}if(e)return e(h,g,_)}return!1}}function Cj({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:HA,areArraysEqual:n?QA:UA,areDataViewsEqual:WA,areDatesEqual:GA,areErrorsEqual:n?JA:KA,areFunctionsEqual:qA,areMapsEqual:n?OA(YA,QA):YA,areNumbersEqual:XA,areObjectsEqual:n?QA:ZA,arePrimitiveWrappersEqual:$A,areRegExpsEqual:ej,areSetsEqual:n?OA(tj,QA):tj,areTypedArraysEqual:n?OA(nj,QA):nj,areUrlsEqual:rj,unknownTagComparators:void 0};if(t&&(r=Object.assign({},r,t(r))),e){let e=kA(r.areArraysEqual),t=kA(r.areErrorsEqual),n=kA(r.areMapsEqual),i=kA(r.areObjectsEqual),a=kA(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:e,areErrorsEqual:t,areMapsEqual:n,areObjectsEqual:i,areSetsEqual:a})}return r}function wj(e){return function(t,n,r,i,a,o,s){return e(t,n,s)}}function Tj({circular:e,comparator:t,createState:n,equals:r,strict:i}){if(n)return function(a,o){let{cache:s=e?new WeakMap:void 0,meta:c}=n();return t(a,o,{cache:s,equals:r,meta:c,strict:i})};if(e)return function(e,n){return t(e,n,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};let a={cache:void 0,equals:r,meta:void 0,strict:i};return function(e,n){return t(e,n,a)}}Dj(),Dj({strict:!0});var Ej=Dj({circular:!0});Dj({circular:!0,strict:!0}),Dj({createInternalComparator:()=>NA}),Dj({strict:!0,createInternalComparator:()=>NA}),Dj({circular:!0,createInternalComparator:()=>NA}),Dj({circular:!0,createInternalComparator:()=>NA,strict:!0});function Dj(e={}){let{circular:t=!1,createInternalComparator:n,createState:r,strict:i=!1}=e,a=Sj(Cj(e));return Tj({circular:t,comparator:a,createState:r,equals:n?n(a):wj(a),strict:i})}var Qne=o((e=>{var t=we(),n=rS();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return u!==void 0&&u(t,n)?(o=e,t):(o=e,s=n)}var a=!1,o,s,c=n===void 0?null:n;return[function(){return e(t())},c===null?void 0:function(){return e(c())}]},[t,n,r,u]);var p=a(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}})),Oj=o(((e,t)=>{t.exports=Qne()}))();function $ne(e,t){if(e.isDestroyed||t.defaultPrevented||!t.cancelable||!e.isEditable||t.inputType!==`insertParagraph`&&t.inputType!==`insertLineBreak`||!xD()&&!bD())return;let n=e.view,r=n.root,i=(r.getSelection?.call(r)??n.dom.ownerDocument.getSelection())?.anchorNode,a=(i?.nodeType===1?i:i?.parentElement)?.closest(`[data-node-view-content-react]`);if(!a||!n.dom.contains(a))return;let o=n.input.lastKeyCode;o===13&&(n.input.lastKeyCode=null),n.domObserver.forceFlush(),n.domObserver.flush();let s=new KeyboardEvent(`keydown`,{key:`Enter`,code:`Enter`,keyCode:13,shiftKey:t.inputType===`insertLineBreak`,bubbles:!0,cancelable:!0});n.someProp(`handleKeyDown`,e=>e(n,s))?(t.preventDefault(),n.input.lastIOSEnter=0,clearTimeout(n.input.lastIOSEnterFallbackTimeout)):o===13&&(n.input.lastKeyCode=o)}var kj=new nS(`reactMobileEnter`),ere=(...e)=>t=>{e.forEach(e=>{typeof e==`function`?e(t):e&&(e.current=t)})},tre=({contentComponent:e})=>{let t=(0,iS.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getServerSnapshot);return(0,G.jsx)(G.Fragment,{children:Object.values(t)})};function nre(){let e=new Set,t={},n=!1,r=()=>{!n&&e.size&&(n=!0,queueMicrotask(()=>{n=!1,e.forEach(e=>e())}))};return{subscribe(t){return e.add(t),()=>{e.delete(t)}},getSnapshot(){return t},getServerSnapshot(){return t},setRenderer(e,n){t={...t,[e]:De.createPortal(n.reactElement,n.element,e)},r()},removeRenderer(e){let n={...t};delete n[e],t=n,r()}}}var rre=class extends U.Component{constructor(e){super(e),this.editorContentRef=U.createRef()}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){let e=this.props.editor;if(e&&!e.isDestroyed&&e.view.dom?.parentNode){if(e.contentComponent)return;let t=this.editorContentRef.current;t.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:t}),e.contentComponent=nre(),e.createNodeViews(),e.registerPlugin(new $x({key:kj,props:{handleDOMEvents:{beforeinput:(t,n)=>$ne(e,n)}}})),e.isEditorContentInitialized=!0,this.forceUpdate()}}componentWillUnmount(){let e=this.props.editor;if(e){e.isEditorContentInitialized=!1,e.isDestroyed||(e.unregisterPlugin(kj),e.view.setProps({nodeViews:{}})),e.contentComponent=null;try{if(!e.view.dom?.parentNode)return;let t=document.createElement(`div`);t.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:t})}catch{}}}render(){let{editor:e,innerRef:t,...n}=this.props;return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`div`,{ref:ere(t,this.editorContentRef),...n}),e?.contentComponent&&(0,G.jsx)(tre,{contentComponent:e.contentComponent})]})}},ire=(0,U.forwardRef)((e,t)=>{let n=U.useMemo(()=>Math.floor(Math.random()*4294967295).toString(),[e.editor]);return U.createElement(rre,{key:n,innerRef:t,...e})}),Aj=U.memo(ire),are=typeof window<`u`?U.useLayoutEffect:U.useEffect,ore=class{constructor(e){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=e,this.lastSnapshot={editor:e,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber||(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber}),this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}watch(e){if(this.editor=e,this.editor){let e,t=t=>{(t?.transaction===void 0||t.transaction!==e)&&(e=t?.transaction,this.transactionNumber+=1,this.subscribers.forEach(e=>e()))},n=this.editor;return n.on(`transaction`,t),n.on(`update`,t),()=>{n.off(`transaction`,t),n.off(`update`,t)}}}};function jj(e){let[t]=(0,U.useState)(()=>new ore(e.editor)),n=(0,Oj.useSyncExternalStoreWithSelector)(t.subscribe,t.getSnapshot,t.getServerSnapshot,e.selector,e.equalityFn??Ej);return are(()=>t.watch(e.editor),[e.editor,t]),(0,U.useDebugValue)(n),n}var Mj=typeof window>`u`,sre=Mj||!!(typeof window<`u`&&window.next),cre=class e{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId=``,this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(e=>e())}getInitialEditor(){let e=this.options.current.immediatelyRender,t=e??!0;return(Mj||sre&&e===void 0)&&(t=!1),t?this.createEditor():null}createEditor(){return new vA({...this.options.current,onBeforeCreate:(...e)=>{var t;return(t=this.options.current).onBeforeCreate?.call(t,...e)},onBlur:(...e)=>{var t;return(t=this.options.current).onBlur?.call(t,...e)},onCreate:(...e)=>{var t;return(t=this.options.current).onCreate?.call(t,...e)},onDestroy:(...e)=>{var t;return(t=this.options.current).onDestroy?.call(t,...e)},onFocus:(...e)=>{var t;return(t=this.options.current).onFocus?.call(t,...e)},onSelectionUpdate:(...e)=>{var t;return(t=this.options.current).onSelectionUpdate?.call(t,...e)},onTransaction:(...e)=>{var t;return(t=this.options.current).onTransaction?.call(t,...e)},onUpdate:(...e)=>{var t;return(t=this.options.current).onUpdate?.call(t,...e)},onContentError:(...e)=>{var t;return(t=this.options.current).onContentError?.call(t,...e)},onDrop:(...e)=>{var t;return(t=this.options.current).onDrop?.call(t,...e)},onPaste:(...e)=>{var t;return(t=this.options.current).onPaste?.call(t,...e)},onDelete:(...e)=>{var t;return(t=this.options.current).onDelete?.call(t,...e)},onMount:(...e)=>{var t;return(t=this.options.current).onMount?.call(t,...e)},onUnmount:(...e)=>{var t;return(t=this.options.current).onUnmount?.call(t,...e)}})}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,t){return Object.keys(e).every(n=>[`onCreate`,`onBeforeCreate`,`onDestroy`,`onUpdate`,`onTransaction`,`onFocus`,`onBlur`,`onSelectionUpdate`,`onContentError`,`onDrop`,`onPaste`].includes(n)?!0:n===`extensions`&&e.extensions&&t.extensions?e.extensions.length===t.extensions.length&&e.extensions.every((e,n)=>e===t.extensions?.[n]):e[n]===t[n])}onRender(t){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&t.length===0?e.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(t),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(this.previousDeps===null){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((t,n)=>t===e[n]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){let e=this.instanceId,t=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{this.isComponentMounted&&this.instanceId===e?t&&t.setOptions(this.options.current):t&&!t.isDestroyed&&(t.destroy(),this.instanceId===e&&this.setEditor(null))},1)}};function lre(e={},t=[]){let n=(0,U.useRef)(e);n.current=e;let[r]=(0,U.useState)(()=>new cre(n)),i=(0,iS.useSyncExternalStore)(r.subscribe,r.getEditor,r.getServerSnapshot);return(0,U.useDebugValue)(i),(0,U.useEffect)(r.onRender(t)),jj({editor:i,selector:({transactionNumber:t})=>e.shouldRerenderOnTransaction===!1||e.shouldRerenderOnTransaction===void 0?null:e.immediatelyRender&&t===0?0:t+1}),i}var Nj=(0,U.createContext)({editor:null});Nj.Consumer;var Pj=()=>(0,U.useContext)(Nj),ure=(0,U.createContext)({onDragStart:()=>{},nodeViewContentChildren:void 0,nodeViewContentRef:()=>{}}),dre=()=>(0,U.useContext)(ure);U.forwardRef((e,t)=>{let{onDragStart:n}=dre(),r=e.as||`div`;return(0,G.jsx)(r,{...e,ref:t,"data-node-view-wrapper":``,onDragStart:n,style:{whiteSpace:`normal`,...e.style}})}),U.createContext({markViewContentRef:()=>{}});var Fj=(0,U.createContext)({get editor(){throw Error(`useTiptap must be used within a <Tiptap> provider`)}});Fj.displayName=`TiptapContext`;var fre=()=>(0,U.useContext)(Fj);function Ij({children:e,...t}){let n=`editor`in t?t.editor:t.instance;if(!n)throw Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");let r=(0,U.useMemo)(()=>({editor:n}),[n]),i=(0,U.useMemo)(()=>({editor:n}),[n]);return(0,G.jsx)(Nj.Provider,{value:i,children:(0,G.jsx)(Fj.Provider,{value:r,children:e})})}Ij.displayName=`Tiptap`;function Lj({...e}){let{editor:t}=fre();return(0,G.jsx)(Aj,{editor:t,...e})}Lj.displayName=`Tiptap.Content`,Object.assign(Ij,{Content:Lj});var Rj=new WeakSet,zj=new WeakSet;function Bj(e){let t=e;return Rj.add(t),t}function Vj(e){return Array.isArray(e)&&Rj.has(e)}function Hj(e){return e.flatMap(e=>e==null?[]:Array.isArray(e)&&zj.has(e)&&!Vj(e)?Hj(e):[e])}function pre(e,t){if(e===`slot`)return 0;if(e instanceof Function){let n=e(t);return Array.isArray(n)&&!Vj(n)&&!zj.has(n)?Bj(n):n}let{children:n,...r}=t??{};if(e===`svg`)throw Error(`SVG elements are not supported in the JSX syntax, use the array syntax instead`);if(Array.isArray(n)){if(Vj(n))return Bj([e,r,n]);if(n.length===0)return Bj([e,r]);let t=Hj(n);return t.length===0?Bj([e,r]):Bj([e,r,...t])}return Bj(n==null?[e,r]:[e,r,n])}var Uj=(e,t)=>pre(e,t),mre=(e,t)=>{let{state:n}=e,{selection:r}=n;if(!r.empty)return!1;let{$from:i}=r;if(i.parentOffset!==0)return!1;let a=i.depth-1;if(a<0)return!1;let o=i.node(a),s=i.index(a);if(s===0)return!1;if(o.type===t)return e.commands.lift(t.name);let c=o.child(s-1);if(c.type!==t||!c.lastChild?.isTextblock)return!1;let l=i.before()-1-1;return e.commands.command(({tr:e,dispatch:t})=>{if(!t)return!0;let n=i.parent.content,r=new q(n,0,0);return e.replace(l,i.after(),r),e.setSelection(zx.create(e.doc,l+n.size)),e.scrollIntoView(),t(e),!0})},hre=/^\s*>\s$/,gre=CA.create({name:`blockquote`,addOptions(){return{HTMLAttributes:{}}},content:`block+`,group:`block`,defining:!0,parseHTML(){return[{tag:`blockquote`}]},renderHTML({HTMLAttributes:e}){return Uj(`blockquote`,{...uO(this.options.HTMLAttributes,e),children:Uj(`slot`,{})})},parseMarkdown:(e,t)=>{let n=t.parseBlockChildren??t.parseChildren;return t.createNode(`blockquote`,void 0,n(e.tokens||[]))},renderMarkdown:(e,t)=>{if(!e.content)return``;let n=[];return e.content.forEach((e,r)=>{let i=(t.renderChild?.call(t,e,r)??t.renderChildren([e])).split(`-`).map(e=>e.trim()===``?`>`:`> ${e}`);n.push(i.join(`-`))}),n.join(`->-`)},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote(),Backspace:()=>mre(this.editor,this.type)}},addInputRules(){return[SA({find:hre,type:this.type})]}}),_re=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,vre=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,yre=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,bre=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,xre=Jk.create({name:`bold`,addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:`strong`},{tag:`b`,getAttrs:e=>e.style.fontWeight!==`normal`&&null},{style:`font-weight=400`,clearMark:e=>e.type.name===this.name},{style:`font-weight`,getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}]},renderHTML({HTMLAttributes:e}){return Uj(`strong`,{...uO(this.options.HTMLAttributes,e),children:Uj(`slot`,{})})},markdownTokenName:`strong`,parseMarkdown:(e,t)=>t.applyMark(`bold`,t.parseInline(e.tokens||[])),markdownOptions:{htmlReopen:{open:`<strong>`,close:`</strong>`}},renderMarkdown:(e,t)=>`**${t.renderChildren(e)}**`,addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[yA({find:_re,type:this.type}),yA({find:yre,type:this.type})]},addPasteRules(){return[wA({find:vre,type:this.type}),wA({find:bre,type:this.type})]}}),Sre=e=>{let t=/`([^`]+)`(?!`)$/.exec(e);return!t||t.index>0&&e[t.index-1]==="`"?null:{index:t.index,text:t[0],replaceWith:t[1]}},Cre=e=>{let t=/`([^`]+)`(?!`)/g,n=[],r;for(;(r=t.exec(e))!==null;)r.index>0&&e[r.index-1]==="`"||n.push({index:r.index,text:r[0],replaceWith:r[1]});return n};function wre(e){let t=new Set((e.match(/`+/g)||[]).map(e=>e.length)),n=1;for(;t.has(n);)n+=1;return n}var Tre=Jk.create({name:`code`,addOptions(){return{HTMLAttributes:{}}},excludes:`_`,code:!0,exitable:!0,parseHTML(){return[{tag:`code`}]},renderHTML({HTMLAttributes:e}){return[`code`,uO(this.options.HTMLAttributes,e),0]},markdownTokenName:`codespan`,parseMarkdown:(e,t)=>t.applyMark(`code`,[{type:`text`,text:e.text||``}]),renderMarkdown:(e,t,n)=>{var r;if(!e.content)return``;let i=typeof(n==null||(r=n.meta)==null?void 0:r.markText)==`string`?n.meta.markText:``,a="`".repeat(wre(i)),o=i.startsWith("`")||i.endsWith("`")?` `:``;return`${a}${o}${t.renderChildren(e.content)}${o}${a}`},addCommands(){return{setCode:()=>({commands:e})=>e.setMark(this.name),toggleCode:()=>({commands:e})=>e.toggleMark(this.name),unsetCode:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[yA({find:Sre,type:this.type})]},addPasteRules(){return[wA({find:Cre,type:this.type})]}}),Wj=4,Ere=/^```([a-z]+)?[\s\n]$/,Dre=/^~~~([a-z]+)?[\s\n]$/,Ore=CA.create({name:`codeBlock`,addOptions(){return{languageClassPrefix:`language-`,exitOnTripleEnter:!0,exitOnArrowDown:!0,exitOnArrowUp:!0,defaultLanguage:null,enableTabIndentation:!1,tabSize:Wj,HTMLAttributes:{}}},content:`text*`,marks:``,group:`block`,code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:e=>{let{languageClassPrefix:t}=this.options;return t&&[...e.firstElementChild?.classList||[]].filter(e=>e.startsWith(t)).map(e=>e.replace(t,``))[0]||null},rendered:!1}}},parseHTML(){return[{tag:`pre`,preserveWhitespace:`full`}]},renderHTML({node:e,HTMLAttributes:t}){return[`pre`,uO(this.options.HTMLAttributes,t),[`code`,{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},markdownTokenName:`code`,parseMarkdown:(e,t)=>e.raw?.startsWith("```")===!1&&e.raw?.startsWith(`~~~`)===!1&&e.codeBlockStyle!==`indented`?[]:t.createNode(`codeBlock`,{language:e.lang||null},e.text?[t.createTextNode(e.text)]:[]),renderMarkdown:(e,t)=>{let n=``,r=e.attrs?.language||``;return n=e.content?[`\`\`\`${r}`,t.renderChildren(e.content),"```"].join(`-`):`\`\`\`${r}\n\n\`\`\``,n},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,`paragraph`,e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{let{empty:e,$anchor:t}=this.editor.state.selection,n=t.pos===1;return!e||t.parent.type.name!==this.name?!1:n||!t.parent.textContent.length?this.editor.commands.clearNodes():!1},Tab:({editor:e})=>{if(!this.options.enableTabIndentation)return!1;let t=this.options.tabSize??Wj,{state:n}=e,{selection:r}=n,{$from:i,empty:a}=r;if(i.parent.type!==this.type)return!1;let o=` `.repeat(t);return a?e.commands.insertContent(o):e.commands.command(({tr:e})=>{let{from:t,to:i}=r,a=n.doc.textBetween(t,i,`-`,`-`).split(`-`).map(e=>o+e).join(`-`);return e.replaceWith(t,i,n.schema.text(a)),!0})},"Shift-Tab":({editor:e})=>{if(!this.options.enableTabIndentation)return!1;let t=this.options.tabSize??Wj,{state:n}=e,{selection:r}=n,{$from:i,empty:a}=r;return i.parent.type===this.type?a?e.commands.command(({tr:e})=>{let{pos:r}=i,a=i.start(),o=i.end(),s=n.doc.textBetween(a,o,`-`,`-`).split(`-`),c=0,l=0,u=r-a;for(let e=0;e<s.length;e+=1){if(l+s[e].length>=u){c=e;break}l+=s[e].length+1}let d=s[c].match(/^ */)?.[0]||``,f=Math.min(d.length,t);if(f===0)return!0;let p=a;for(let e=0;e<c;e+=1)p+=s[e].length+1;return e.delete(p,p+f),r-p<=f&&e.setSelection(zx.create(e.doc,p)),!0}):e.commands.command(({tr:e})=>{let{from:i,to:a}=r,o=n.doc.textBetween(i,a,`-`,`-`).split(`-`).map(e=>{let n=e.match(/^ */)?.[0]||``,r=Math.min(n.length,t);return e.slice(r)}).join(`-`);return e.replaceWith(i,a,n.schema.text(o)),!0}):!1},Enter:({editor:e})=>{if(!this.options.exitOnTripleEnter)return!1;let{state:t}=e,{selection:n}=t,{$from:r,empty:i}=n;if(!i||r.parent.type!==this.type)return!1;let a=r.parentOffset===r.parent.nodeSize-2,o=r.parent.textContent.endsWith(`--`);return!a||!o?!1:e.chain().command(({tr:e})=>(e.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowUp:({editor:e})=>{if(!this.options.exitOnArrowUp)return!1;let{state:t}=e,{selection:n}=t,{$from:r,empty:i}=n;if(!i||r.parent.type!==this.type||r.parentOffset!==0)return!1;let a=r.before();return a>0?!1:e.commands.insertDefaultBlock({pos:a})},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;let{state:t}=e,{selection:n,doc:r}=t,{$from:i,empty:a}=n;if(!a||i.parent.type!==this.type||i.parentOffset!==i.parent.nodeSize-2)return!1;let o=i.after();return o===void 0?!1:r.nodeAt(o)?e.commands.command(({tr:e})=>(e.setSelection(Fx.near(r.resolve(o))),!0)):e.commands.exitCode()}}},addInputRules(){return[xA({find:Ere,type:this.type,getAttributes:e=>({language:e[1]})}),xA({find:Dre,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new $x({key:new nS(`codeBlockVSCodeHandler`),props:{handlePaste:(e,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;let n=t.clipboardData.getData(`text/plain`),r=t.clipboardData.getData(`vscode-editor-data`),i=(r?JSON.parse(r):void 0)?.mode;if(!n||!i)return!1;let{tr:a,schema:o}=e.state,s=o.text(n.replace(/\r\n?/g,`-`));return a.replaceSelectionWith(this.type.create({language:i},s)),a.selection.$from.parent.type!==this.type&&a.setSelection(zx.near(a.doc.resolve(Math.max(0,a.selection.from-2)))),a.setMeta(`paste`,!0),e.dispatch(a),!0}}})]}}),kre=CA.create({name:`doc`,topNode:!0,content:`block+`,renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,`--`):``}),Are=CA.create({name:`hardBreak`,markdownTokenName:`br`,addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:`inline`,selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:`br`}]},renderHTML({HTMLAttributes:e}){return[`br`,uO(this.options.HTMLAttributes,e)]},renderText(){return`-`},renderMarkdown:()=>`-`,parseMarkdown:()=>({type:`hardBreak`}),addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:n,editor:r})=>e.first([()=>e.exitCode(),()=>e.command(()=>{let{selection:e,storedMarks:i}=n;if(e.$from.parent.type.spec.isolating)return!1;let{keepMarks:a}=this.options,{splittableMarks:o}=r.extensionManager,s=i||e.$to.parentOffset&&e.$from.marks();return t().insertContent({type:this.name}).command(({tr:e,dispatch:t})=>{if(t&&s&&a){let t=s.filter(e=>o.includes(e.type.name));e.ensureMarks(t)}return!0}).scrollIntoView().run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),jre=CA.create({name:`heading`,addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:`inline*`,group:`block`,defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(e=>({tag:`h${e}`,attrs:{level:e}}))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,uO(this.options.HTMLAttributes,t),0]},parseMarkdown:(e,t)=>t.createNode(`heading`,{level:e.depth||1},t.parseInline(e.tokens||[])),renderMarkdown:(e,t)=>{let n=e.attrs?.level?parseInt(e.attrs.level,10):1,r=`#`.repeat(n);return e.content?`${r} ${t.renderChildren(e.content)}`:``},addCommands(){return{setHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.setNode(this.name,e):!1,toggleHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.toggleNode(this.name,`paragraph`,e):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}),{})},addInputRules(){return this.options.levels.map(e=>xA({find:RegExp(`^(#{${Math.min(...this.options.levels)},${e}})\\s$`),type:this.type,getAttributes:{level:e}}))}}),Mre=CA.create({name:`horizontalRule`,addOptions(){return{HTMLAttributes:{},nextNodeType:`paragraph`}},group:`block`,parseHTML(){return[{tag:`hr`}]},renderHTML({HTMLAttributes:e}){return[`hr`,uO(this.options.HTMLAttributes,e)]},markdownTokenName:`hr`,parseMarkdown:(e,t)=>t.createNode(`horizontalRule`),renderMarkdown:()=>`---`,addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{if(!kk(t,t.schema.nodes[this.name]))return!1;let{selection:n}=t,{$to:r}=n,i=e();return LO(n)?i.insertContentAt(r.pos,{type:this.name}):i.insertContent({type:this.name}),i.command(({state:e,tr:t,dispatch:n})=>{if(n){let{$to:n}=t.selection,r=n.end();if(n.nodeAfter)n.nodeAfter.isTextblock?t.setSelection(zx.create(t.doc,n.pos+1)):n.nodeAfter.isBlock?t.setSelection(Vx.create(t.doc,n.pos)):t.setSelection(zx.create(t.doc,n.pos));else{let i=(e.schema.nodes[this.options.nextNodeType]||n.parent.type.contentMatch.defaultType)?.create();i&&(t.insert(r,i),t.setSelection(zx.create(t.doc,r+1)))}t.scrollIntoView()}return!0}).run()}}},addInputRules(){return[bA({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),Nre=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,Pre=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,Fre=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,Ire=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,Lre=Jk.create({name:`italic`,addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:`em`},{tag:`i`,getAttrs:e=>e.style.fontStyle!==`normal`&&null},{style:`font-style=normal`,clearMark:e=>e.type.name===this.name},{style:`font-style=italic`}]},renderHTML({HTMLAttributes:e}){return[`em`,uO(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},markdownTokenName:`em`,parseMarkdown:(e,t)=>t.applyMark(`italic`,t.parseInline(e.tokens||[])),markdownOptions:{htmlReopen:{open:`<em>`,close:`</em>`}},renderMarkdown:(e,t)=>`*${t.renderChildren(e)}*`,addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[yA({find:Nre,type:this.type}),yA({find:Fre,type:this.type})]},addPasteRules(){return[wA({find:Pre,type:this.type}),wA({find:Ire,type:this.type})]}}),Rre=`aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos6kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12b0cam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2`,zre=`ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2`,Gj=`numeric`,Kj=`ascii`,qj=`alpha`,Jj=`asciinumeric`,Yj=`alphanumeric`,Xj=`domain`,Zj=`emoji`,Bre=`scheme`,Vre=`slashscheme`,Qj=`whitespace`;function Hre(e,t){return e in t||(t[e]=[]),t[e]}function $j(e,t,n){t[Gj]&&(t[Jj]=!0,t[Yj]=!0),t[Kj]&&(t[Jj]=!0,t[qj]=!0),t[Jj]&&(t[Yj]=!0),t[qj]&&(t[Yj]=!0),t[Yj]&&(t[Xj]=!0),t[Zj]&&(t[Xj]=!0);for(let r in t){let t=Hre(r,n);t.indexOf(e)<0&&t.push(e)}}function Ure(e,t){let n={};for(let r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}function eM(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}eM.groups={},eM.prototype={accepts(){return!!this.t},go(e){let t=this,n=t.j[e];if(n)return n;for(let n=0;n<t.jr.length;n++){let r=t.jr[n][0],i=t.jr[n][1];if(i&&r.test(e))return i}return t.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let i=0;i<e.length;i++)this.tt(e[i],t,n,r)},tr(e,t,n,r){r||=eM.groups;let i;return t&&t.j?i=t:(i=new eM(t),n&&r&&$j(t,n,r)),this.jr.push([e,i]),i},ts(e,t,n,r){let i=this,a=e.length;if(!a)return i;for(let t=0;t<a-1;t++)i=i.tt(e[t]);return i.tt(e[a-1],t,n,r)},tt(e,t,n,r){r||=eM.groups;let i=this;if(t&&t.j)return i.j[e]=t,t;let a=t,o,s=i.go(e);return s?(o=new eM,Object.assign(o.j,s.j),o.jr.push.apply(o.jr,s.jr),o.jd=s.jd,o.t=s.t):o=new eM,a&&(r&&(o.t&&typeof o.t==`string`?$j(a,Object.assign(Ure(o.t,r),n),r):n&&$j(a,n,r)),o.t=a),i.j[e]=o,o}};var tM=(e,t,n,r,i)=>e.ta(t,n,r,i),nM=(e,t,n,r,i)=>e.tr(t,n,r,i),rM=(e,t,n,r,i)=>e.ts(t,n,r,i),J=(e,t,n,r,i)=>e.tt(t,n,r,i),iM=`WORD`,aM=`UWORD`,oM=`ASCIINUMERICAL`,sM=`ALPHANUMERICAL`,cM=`LOCALHOST`,lM=`TLD`,uM=`UTLD`,dM=`SCHEME`,fM=`SLASH_SCHEME`,pM=`NUM`,mM=`WS`,hM=`NL`,gM=`OPENBRACE`,_M=`CLOSEBRACE`,vM=`OPENBRACKET`,yM=`CLOSEBRACKET`,bM=`OPENPAREN`,xM=`CLOSEPAREN`,SM=`OPENANGLEBRACKET`,CM=`CLOSEANGLEBRACKET`,wM=`FULLWIDTHLEFTPAREN`,TM=`FULLWIDTHRIGHTPAREN`,EM=`LEFTCORNERBRACKET`,DM=`RIGHTCORNERBRACKET`,OM=`LEFTWHITECORNERBRACKET`,kM=`RIGHTWHITECORNERBRACKET`,AM=`FULLWIDTHLESSTHAN`,jM=`FULLWIDTHGREATERTHAN`,MM=`AMPERSAND`,NM=`APOSTROPHE`,PM=`ASTERISK`,FM=`AT`,IM=`BACKSLASH`,LM=`BACKTICK`,RM=`CARET`,zM=`COLON`,BM=`COMMA`,VM=`DOLLAR`,HM=`DOT`,UM=`EQUALS`,WM=`EXCLAMATION`,GM=`HYPHEN`,KM=`PERCENT`,qM=`PIPE`,JM=`PLUS`,YM=`POUND`,XM=`QUERY`,ZM=`QUOTE`,QM=`FULLWIDTHMIDDLEDOT`,$M=`SEMI`,eN=`SLASH`,tN=`TILDE`,nN=`UNDERSCORE`,rN=`EMOJI`,iN=`SYM`,aN=Object.freeze({__proto__:null,ALPHANUMERICAL:sM,AMPERSAND:MM,APOSTROPHE:NM,ASCIINUMERICAL:oM,ASTERISK:PM,AT:FM,BACKSLASH:IM,BACKTICK:LM,CARET:RM,CLOSEANGLEBRACKET:CM,CLOSEBRACE:_M,CLOSEBRACKET:yM,CLOSEPAREN:xM,COLON:zM,COMMA:BM,DOLLAR:VM,DOT:HM,EMOJI:rN,EQUALS:UM,EXCLAMATION:WM,FULLWIDTHGREATERTHAN:jM,FULLWIDTHLEFTPAREN:wM,FULLWIDTHLESSTHAN:AM,FULLWIDTHMIDDLEDOT:QM,FULLWIDTHRIGHTPAREN:TM,HYPHEN:GM,LEFTCORNERBRACKET:EM,LEFTWHITECORNERBRACKET:OM,LOCALHOST:cM,NL:hM,NUM:pM,OPENANGLEBRACKET:SM,OPENBRACE:gM,OPENBRACKET:vM,OPENPAREN:bM,PERCENT:KM,PIPE:qM,PLUS:JM,POUND:YM,QUERY:XM,QUOTE:ZM,RIGHTCORNERBRACKET:DM,RIGHTWHITECORNERBRACKET:kM,SCHEME:dM,SEMI:$M,SLASH:eN,SLASH_SCHEME:fM,SYM:iN,TILDE:tN,TLD:lM,UNDERSCORE:nN,UTLD:uM,UWORD:aM,WORD:iM,WS:mM}),oN=/[a-z]/,sN=/[a-z]/i,cN=/[\u{1F000}-\u{1FAFF}\u{2600}-\u{27BF}]|\u{FE0F}/u;try{sN=RegExp(`\\p{L}`,`u`),cN=RegExp(`\\p{Emoji}`,`u`)}catch{}var lN=/\d/,uN=/\s/,dN=`\r`,fN=`-`,pN=`️`,mN=``,hN=``,gN=null,_N=null;function vN(e=[]){let t={};eM.groups=t;let n=new eM;gN??=SN(Rre),_N??=SN(zre),J(n,`'`,NM),J(n,`{`,gM),J(n,`}`,_M),J(n,`[`,vM),J(n,`]`,yM),J(n,`(`,bM),J(n,`)`,xM),J(n,`<`,SM),J(n,`>`,CM),J(n,`(`,wM),J(n,`)`,TM),J(n,`「`,EM),J(n,`」`,DM),J(n,`『`,OM),J(n,`』`,kM),J(n,`<`,AM),J(n,`>`,jM),J(n,`&`,MM),J(n,`*`,PM),J(n,`@`,FM),J(n,"`",LM),J(n,`^`,RM),J(n,`:`,zM),J(n,`,`,BM),J(n,`$`,VM),J(n,`.`,HM),J(n,`=`,UM),J(n,`!`,WM),J(n,`-`,GM),J(n,`%`,KM),J(n,`|`,qM),J(n,`+`,JM),J(n,`#`,YM),J(n,`?`,XM),J(n,`"`,ZM),J(n,`/`,eN),J(n,`;`,$M),J(n,`~`,tN),J(n,`_`,nN),J(n,`\\`,IM),J(n,`・`,QM);let r=nM(n,lN,pM,{[Gj]:!0});nM(r,lN,r);let i=nM(r,oN,oM,{[Jj]:!0}),a=nM(r,sN,sM,{[Yj]:!0}),o=nM(n,oN,iM,{[Kj]:!0});nM(o,lN,i),nM(o,oN,o),nM(i,lN,i),nM(i,oN,i);let s=nM(n,sN,aM,{[qj]:!0});nM(s,oN),nM(s,lN,a),nM(s,sN,s),nM(a,lN,a),nM(a,oN),nM(a,sN,a);let c=J(n,fN,hM,{[Qj]:!0}),l=J(n,dN,mM,{[Qj]:!0}),u=nM(n,uN,mM,{[Qj]:!0});J(n,hN,u),J(l,fN,c),J(l,hN,u),nM(l,uN,u),J(u,dN),J(u,fN),nM(u,uN,u),J(u,hN,u);let d=nM(n,cN,rN,{[Zj]:!0});J(d,`#`),nM(d,cN,d),J(d,pN,d);let f=J(d,mN);J(f,`#`),nM(f,cN,d);let p=[[oN,o],[lN,i]],m=[[oN,null],[sN,s],[lN,a]];for(let e=0;e<gN.length;e++)xN(n,gN[e],lM,iM,p);for(let e=0;e<_N.length;e++)xN(n,_N[e],uM,aM,m);$j(lM,{tld:!0,ascii:!0},t),$j(uM,{utld:!0,alpha:!0},t),xN(n,`file`,dM,iM,p),xN(n,`mailto`,dM,iM,p),xN(n,`http`,fM,iM,p),xN(n,`https`,fM,iM,p),xN(n,`ftp`,fM,iM,p),xN(n,`ftps`,fM,iM,p),$j(dM,{scheme:!0,ascii:!0},t),$j(fM,{slashscheme:!0,ascii:!0},t),e=e.sort((e,t)=>e[0]>t[0]?1:-1);for(let t=0;t<e.length;t++){let r=e[t][0],i=e[t][1]?{[Bre]:!0}:{[Vre]:!0};r.indexOf(`-`)>=0?i[Xj]=!0:oN.test(r)?lN.test(r)?i[Jj]=!0:i[Kj]=!0:i[Gj]=!0,rM(n,r,r,i)}return rM(n,`localhost`,cM,{ascii:!0}),n.jd=new eM(iN),{start:n,tokens:Object.assign({groups:t},aN)}}function yN(e,t){let n=bN(t.replace(/[A-Z]/g,e=>e.toLowerCase())),r=n.length,i=[],a=0,o=0;for(;o<r;){let s=e,c=null,l=0,u=null,d=-1,f=-1;for(;o<r&&(c=s.go(n[o]));)s=c,s.accepts()?(d=0,f=0,u=s):d>=0&&(d+=n[o].length,f++),l+=n[o].length,a+=n[o].length,o++;a-=d,o-=f,l-=d,i.push({t:u.t,v:t.slice(a-l,a),s:a-l,e:a})}return i}function bN(e){let t=[],n=e.length,r=0;for(;r<n;){let i=e.charCodeAt(r),a,o=i<55296||i>56319||r+1===n||(a=e.charCodeAt(r+1))<56320||a>57343?e[r]:e.slice(r,r+2);t.push(o),r+=o.length}return t}function xN(e,t,n,r,i){let a,o=t.length;for(let n=0;n<o-1;n++){let o=t[n];e.j[o]?a=e.j[o]:(a=new eM(r),a.jr=i.slice(),e.j[o]=a),e=a}return a=new eM(n),a.jr=i.slice(),e.j[t[o-1]]=a,a}function SN(e){let t=[],n=[],r=0;for(;r<e.length;){let i=0;for(;`0123456789`.indexOf(e[r+i])>=0;)i++;if(i>0){t.push(n.join(``));for(let t=parseInt(e.substring(r,r+i),10);t>0;t--)n.pop();r+=i}else n.push(e[r]),r++}return t}var CN={defaultProtocol:`http`,events:null,format:TN,formatHref:TN,nl2br:!1,tagName:`a`,target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],ignoreClasses:[],render:null};function wN(e,t=null){let n=Object.assign({},CN);e&&(n=Object.assign(n,e instanceof wN?e.o:e));let r=n.ignoreTags,i=[];for(let e=0;e<r.length;e++)i.push(r[e].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=i,this.ignoreClasses=n.ignoreClasses.slice()}wN.prototype={o:CN,ignoreTags:[],ignoreClasses:[],isIgnoredClass(e){if(typeof e!=`string`||this.ignoreClasses.length===0)return!1;let t=e.split(/\s+/);for(let e=0;e<t.length;e++)if(this.ignoreClasses.indexOf(t[e])>=0)return!0;return!1},defaultRender(e){return e},check(e){return this.get(`validate`,e.toString(),e)},get(e,t,n){let r=t!=null,i=this.o[e];return i&&(typeof i==`object`?(i=n.t in i?i[n.t]:CN[e],typeof i==`function`&&r&&(i=i(t,n))):typeof i==`function`&&r&&(i=i(t,n.t,n)),i)},getObj(e,t,n){let r=this.o[e];return typeof r==`function`&&t!=null&&(r=r(t,n.t,n)),r},render(e){let t=e.render(this);return(this.get(`render`,null,e)||this.defaultRender)(t,e.t,e)}};function TN(e){return e}function EN(e,t){this.t=`token`,this.v=e,this.tk=t}EN.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){let t=this.toString(),n=e.get(`truncate`,t,this),r=e.get(`format`,t,this);return n&&r.length>n?r.substring(0,n)+`…`:r},toFormattedHref(e){return e.get(`formatHref`,this.toHref(e.get(`defaultProtocol`)),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=CN.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get(`validate`,this.toString(),this)},render(e){let t=this,n=this.toHref(e.get(`defaultProtocol`)),r=e.get(`formatHref`,n,this),i=e.get(`tagName`,n,t),a=this.toFormattedString(e),o={},s=e.get(`className`,n,t),c=e.get(`target`,n,t),l=e.get(`rel`,n,t),u=e.getObj(`attributes`,n,t),d=e.getObj(`events`,n,t);return o.href=r,s&&(o.class=s),c&&(o.target=c),l&&(o.rel=l),u&&Object.assign(o,u),{tagName:i,attributes:o,content:a,eventListeners:d}}};function DN(e,t){class n extends EN{constructor(t,n){super(t,n),this.t=e}}for(let e in t)n.prototype[e]=t[e];return n.t=e,n}var ON=DN(`email`,{isLink:!0,toHref(){return`mailto:`+this.toString()}}),kN=DN(`text`),AN=DN(`nl`),jN=DN(`url`,{isLink:!0,toHref(e=CN.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){let e=this.tk;return e.length>=2&&e[0].t!==cM&&e[1].t===zM}}),MN=e=>new eM(e);function NN({groups:e}){let t=e.domain.concat([MM,PM,FM,IM,LM,RM,VM,UM,GM,pM,KM,qM,JM,YM,eN,iN,tN,nN]),n=[NM,zM,BM,HM,WM,KM,XM,ZM,$M,SM,CM,gM,_M,yM,vM,bM,xM,wM,TM,EM,DM,OM,kM,AM,jM],r=[MM,NM,PM,IM,LM,RM,VM,UM,GM,gM,_M,KM,qM,JM,YM,XM,eN,iN,tN,nN],i=MN(),a=J(i,tN);tM(a,r,a),tM(a,e.domain,a);let o=MN(),s=MN(),c=MN();tM(i,e.domain,o),tM(i,e.scheme,s),tM(i,e.slashscheme,c),tM(o,r,a),tM(o,e.domain,o);let l=J(o,FM);J(a,FM,l),J(s,FM,l),J(c,FM,l);let u=J(a,HM);tM(u,r,a),tM(u,e.domain,a);let d=MN();tM(l,e.domain,d),tM(d,e.domain,d);let f=J(d,HM);tM(f,e.domain,d);let p=MN(ON);tM(f,e.tld,p),tM(f,e.utld,p),J(l,cM,p);let m=J(d,GM);J(m,GM,m),tM(m,e.domain,d),tM(p,e.domain,d),J(p,HM,f),J(p,GM,m);let h=J(o,GM),g=J(o,HM);J(h,GM,h),tM(h,e.domain,o),tM(g,r,a),tM(g,e.domain,o);let _=MN(jN);tM(g,e.tld,_),tM(g,e.utld,_),tM(_,e.domain,o),tM(_,r,a),J(_,HM,g),J(_,GM,h),J(_,FM,l);let v=J(_,zM),y=MN(jN);tM(v,e.numeric,y);let b=MN(jN),x=MN();tM(b,t,b),tM(b,n,x),tM(x,t,b),tM(x,n,x),J(_,eN,b),J(y,eN,b),J(_,XM,x),J(_,YM,b),J(y,XM,x),J(y,YM,b);let S=J(s,zM),C=J(J(J(c,zM),eN),eN);tM(s,e.domain,o),J(s,HM,g),J(s,GM,h),tM(c,e.domain,o),J(c,HM,g),J(c,GM,h),tM(S,e.domain,b),J(S,eN,b),J(S,XM,b),tM(C,e.domain,b),tM(C,t,b),J(C,eN,b);let w=[[gM,_M],[vM,yM],[bM,xM],[SM,CM],[wM,TM],[EM,DM],[OM,kM],[AM,jM]];for(let e=0;e<w.length;e++){let[r,i]=w[e],a=J(b,r);J(x,r,a);let o=MN(jN);tM(a,t,o);let s=MN();tM(a,n,s),J(a,i,b),tM(o,t,o),tM(o,n,s),tM(s,t,o),tM(s,n,s),J(o,i,b),J(s,i,b)}return J(i,cM,_),J(i,hM,AN),{start:i,tokens:aN}}function PN(e,t,n){let r=n.length,i=0,a=[],o=[],s=[];for(;i<r;){let c=e,l=null,u=null,d=0,f=null,p=-1,m=[];for(;i<r&&!(l=c.go(n[i].t));)o.push(n[i++]);for(;i<r&&(u=l||c.go(n[i].t));)if(l=null,c=u,i++,d++,c.accepts())p=0,f=c,m=[];else if(p>=0&&p++,m.push(c),s[i]&&s[i].has(c))break;for(let e=0,t=i-m.length+1;e<m.length;e++,t++)(s[t]||(s[t]=new Set)).add(m[e]);if(p<0)i-=d,i<r&&(o.push(n[i]),i++);else{o.length>0&&(a.push(FN(kN,t,o)),o=[]),i-=p,d-=p;let e=f.t,r=n.slice(i-d,i);a.push(FN(e,t,r))}}return o.length>0&&a.push(FN(kN,t,o)),a}function FN(e,t,n){let r=n[0].s,i=n[n.length-1].e;return new e(t.slice(r,i),n)}var IN=typeof console<`u`&&console&&console.warn||(()=>{}),LN=`until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`,RN={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function zN(){return eM.groups={},RN.scanner=null,RN.parser=null,RN.tokenQueue=[],RN.pluginQueue=[],RN.customSchemes=[],RN.initialized=!1,RN}function BN(e,t=!1){if(RN.initialized&&IN(`linkifyjs: already initialized - will not register custom scheme "${e}" ${LN}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw Error(`linkifyjs: incorrect scheme format.-1. Must only contain digits, lowercase ASCII letters or "-"-2. Cannot start or end with "-"-3. "-" cannot repeat`);RN.customSchemes.push([e,t])}function VN(){RN.scanner=vN(RN.customSchemes);for(let e=0;e<RN.tokenQueue.length;e++)RN.tokenQueue[e][1]({scanner:RN.scanner});RN.parser=NN(RN.scanner.tokens);for(let e=0;e<RN.pluginQueue.length;e++)RN.pluginQueue[e][1]({scanner:RN.scanner,parser:RN.parser});return RN.initialized=!0,RN}function HN(e){return RN.initialized||VN(),PN(RN.parser.start,e,yN(RN.scanner.start,e))}HN.scan=yN;function UN(e,t=null,n=null){if(t&&typeof t==`object`){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}let r=new wN(n),i=HN(e),a=[];for(let e=0;e<i.length;e++){let n=i[e];n.isLink&&(!t||n.t===t)&&r.check(n)&&a.push(n.toFormattedObject(r))}return a}var WN=`[\0- \xA0 -\u2029 ]`,GN=new RegExp(WN),KN=RegExp(`${WN}$`),qN=RegExp(`${WN}+$`),JN=new RegExp(WN,`g`);function YN(e,t,n){let r=e.doc.resolve(t.to);if(!r.nodeBefore?.isText)return;let i=e.doc.textBetween(t.from,t.to,``,``).match(qN)?.[0];if(!i)return;let a=t.to-i.length,o=OO(a,t.to,e.doc).filter(e=>e.mark.type===n);if(!o.length)return;let{nodeAfter:s}=r;if(s&&o.some(e=>e.mark.isInSet(s.marks)))return;let c=e.storedMarks;e.removeMark(a,t.to,n),e.setStoredMarks(c),e.selection.empty&&e.selection.from===t.to&&e.removeStoredMark(n)}function XN(e){return e.length===1?e[0].isLink:e.length===3&&e[1].isLink?[`()`,`[]`].includes(e[0].value+e[2].value):!1}function ZN(e){return new $x({key:new nS(`autolink`),appendTransaction:(t,n,r)=>{let i=t.some(e=>e.docChanged)&&!n.doc.eq(r.doc),a=t.some(e=>e.getMeta(`preventAutolink`));if(!i||a)return;let{tr:o}=r,s=KD(n.doc,[...t]);if(!t.some(Bte)){let t=[];s.steps.forEach((e,n)=>{if(!(e instanceof Bb)||!e.slice.size)return;let r=s.mapping.slice(n+1),i=r.map(e.from,1),a=r.map(e.from+e.slice.size,-1);i<a&&t.push({from:i,to:a})}),t.sort((e,t)=>t.to-e.to),t.forEach(t=>YN(o,t,e.type))}if(DO(s).forEach(({newRange:t})=>{let n=qD(r.doc,t,e=>e.isTextblock),i,a;if(n.length>1)i=n[0],a=r.doc.textBetween(i.pos,i.pos+i.node.nodeSize,void 0,` `);else if(n.length){let e=r.doc.textBetween(t.from,t.to,` `,` `);if(!KN.test(e))return;i=n[0],a=r.doc.textBetween(i.pos,t.to,void 0,` `)}if(i&&a){let t=a.split(GN).filter(Boolean);if(t.length<=0)return!1;let n=t[t.length-1],s=i.pos+a.lastIndexOf(n);if(!n)return!1;let c=HN(n).map(t=>t.toObject(e.defaultProtocol));if(!XN(c))return!1;c.filter(e=>e.isLink).map(e=>({...e,from:s+e.start+1,to:s+e.end+1})).filter(e=>!r.schema.marks.code||!r.doc.rangeHasMark(e.from,e.to,r.schema.marks.code)).filter(t=>e.validate(t.value)).filter(t=>e.shouldAutoLink(t.value)).forEach(t=>{OO(t.from,t.to,r.doc).some(t=>t.mark.type===e.type)||o.addMark(t.from,t.to,e.type.create({href:t.href}))})}}),o.steps.length)return o}})}function QN(e){return new $x({key:new nS(`handleClickLink`),props:{handleClick:(t,n,r)=>{if(r.button!==0||!t.editable)return!1;let i=null;if(r.target instanceof HTMLAnchorElement)i=r.target;else{let t=r.target;if(!t)return!1;let n=e.editor.view.dom;i=t.closest(`a`),i&&!n.contains(i)&&(i=null)}if(!i)return!1;let a=!1;if(e.enableClickSelection&&(a=e.editor.commands.extendMarkRange(e.type.name)),e.openOnClick){let n=wO(t.state,e.type.name),r=i.href??n.href,o=i.target??n.target;r&&(window.open(r,o),a=!0)}return a}}})}var $N=/\[([^[\]]+)\]\(((?:[^\s()]|\([^\s()]*\))+)(?:\s+(?:(["'])(.*?)\3|“(.*?)”|‘(.*?)’))?\)$/,eP=/\[([^[\]]+)\]\(((?:[^\s()]|\([^\s()]*\))+)(?:\s+(?:(["'])(.*?)\3|“(.*?)”|‘(.*?)’))?\)/g;function tP(e,t){let n=0;for(let r=t-1;r>=0&&e[r]===`\\`;--r)n+=1;return n%2==1}function nP(e,t){let n=0,r=0;for(;r<t;){if(e[r]!=="`"||n===0&&tP(e,r)){r+=1;continue}let i=0;for(;r<t&&e[r]==="`";)i+=1,r+=1;n===0?n=i:i===n&&(n=0)}return n>0}function rP(e,t,n){let[,r,i]=t;return(t.index?e[t.index-1]:void 0)===`!`||tP(e,t.index??0)||nP(e,t.index??0)?!1:!!r.trim()&&n(i)}function iP(e){let[t,n,r,,i,a,o]=e,s=i??a??o;return{index:e.index??0,text:t,replaceWith:n,data:{href:r,title:s||null,markdown:!0}}}function aP(e,t){return e.index<t.index+t.text.length&&t.index<e.index+e.text.length}function oP(e){return{href:e.data?.href,title:e.data?.title??null}}function sP(e){let t=yA({find:t=>{let n=$N.exec(t);return!n||!rP(t,n,e.isAllowedHref)?null:iP(n)},type:e.type,getAttributes:oP});return new Bk({find:t.find,handler:e=>{let n=t.handler(e);return n!==null&&e.state.tr.steps.length&&e.state.tr.setMeta(`preventAutolink`,!0),n}})}function cP(e){let t=wA({find:t=>{let n=[];for(let r of t.matchAll(eP))rP(t,r,e.isAllowedHref)&&n.push(iP(r));let r=(e.findPlainUrls?.call(e,t)??[]).filter(e=>!n.some(t=>aP(t,e)));return[...n,...r]},type:e.type,getAttributes:oP});return new Yk({find:t.find,handler:e=>{let n=t.handler(e);return n!==null&&e.state.tr.steps.length&&e.match.data?.markdown&&e.state.tr.setMeta(`preventAutolink`,!0),n}})}function lP(e){return new $x({key:new nS(`handlePasteLink`),props:{handlePaste:(t,n,r)=>{let{shouldAutoLink:i}=e,{state:a}=t,{selection:o}=a,{empty:s}=o;if(s)return!1;let c=``;r.content.forEach(e=>{c+=e.textContent});let l=UN(c,{defaultProtocol:e.defaultProtocol}).find(e=>e.isLink&&e.value===c);return!c||!l||i!==void 0&&!i(l.value)?!1:e.editor.commands.setMark(e.type,{href:l.href})}}})}function uP(e,t){let n=[`http`,`https`,`ftp`,`ftps`,`mailto`,`tel`,`callto`,`sms`,`cid`,`xmpp`];return t&&t.forEach(e=>{let t=typeof e==`string`?e:e.scheme;t&&n.push(t)}),!e||e.replace(JN,``).match(RegExp(`^(?:(?:${n.map(e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,`\\$&`)).join(`|`)}):|[^a-z]|[a-z0-9+.\\-]+(?:[^a-z+.\\-:]|$))`,`i`))}var dP=Jk.create({name:`link`,priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(e=>{typeof e==`string`?BN(e):BN(e.scheme,e.optionalSlashes)})},onDestroy(){zN()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,markdownLinks:!1,autolink:!0,protocols:[],defaultProtocol:`http`,HTMLAttributes:{target:`_blank`,rel:`noopener noreferrer nofollow`,class:null},isAllowedUri:(e,t)=>!!uP(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>{let t=/^[a-z][a-z0-9+.-]*:\/\//i.test(e),n=/^[a-z][a-z0-9+.-]*:/i.test(e);if(t||n&&!e.includes(`@`))return!0;let r=(e.includes(`@`)?e.split(`@`).pop():e).split(/[/?#:]/)[0];return!(/^\d{1,3}(\.\d{1,3}){3}$/.test(r)||!/\./.test(r))}}},addAttributes(){return{href:{default:null,parseHTML(e){return e.getAttribute(`href`)}},target:{default:this.options.HTMLAttributes.target??null},rel:{default:this.options.HTMLAttributes.rel??null},class:{default:this.options.HTMLAttributes.class??null},title:{default:null}}},parseHTML(){return[{tag:`a[href]`,getAttrs:e=>{let t=e.getAttribute(`href`);return!t||!this.options.isAllowedUri(t,{defaultValidate:e=>!!uP(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:e=>!!uP(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?[`a`,uO(this.options.HTMLAttributes,e),0]:[`a`,uO(this.options.HTMLAttributes,{...e,href:``}),0]},markdownTokenName:`link`,parseMarkdown:(e,t)=>t.applyMark(`link`,t.parseInline(e.tokens||[]),{href:e.href,title:e.title||null}),renderMarkdown:(e,t)=>{let n=e.attrs?.href??``,r=e.attrs?.title??``,i=t.renderChildren(e);return r?`[${i}](${n} "${r}")`:`[${i}](${n})`},addCommands(){return{setLink:e=>({chain:t})=>{let{href:n}=e;return this.options.isAllowedUri(n,{defaultValidate:e=>!!uP(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?t().setMark(this.name,e).setMeta(`preventAutolink`,!0).run():!1},toggleLink:e=>({chain:t})=>{let{href:n}=e||{};return n&&!this.options.isAllowedUri(n,{defaultValidate:e=>!!uP(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta(`preventAutolink`,!0).run()},unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta(`preventAutolink`,!0).run()}},addInputRules(){return this.options.markdownLinks?[sP({type:this.type,isAllowedHref:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!uP(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})})]:[]},addPasteRules(){let e=e=>{let t=[];if(e){let{protocols:n,defaultProtocol:r}=this.options;UN(e).filter(e=>e.isLink&&this.options.isAllowedUri(e.value,{defaultValidate:e=>!!uP(e,n),protocols:n,defaultProtocol:r})).forEach(e=>{this.options.shouldAutoLink(e.value)&&t.push({text:e.value,data:{href:e.href},index:e.start})})}return t};return this.options.markdownLinks?[cP({type:this.type,isAllowedHref:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!uP(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol}),findPlainUrls:e})]:[wA({find:e,type:this.type,getAttributes:e=>({href:e.data?.href})})]},addProseMirrorPlugins(){let e=[],{protocols:t,defaultProtocol:n}=this.options;return this.options.autolink&&e.push(ZN({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!uP(e,t),protocols:t,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),e.push(QN({type:this.type,editor:this.editor,openOnClick:this.options.openOnClick===`whenNotEditable`||this.options.openOnClick,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&e.push(lP({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type,shouldAutoLink:this.options.shouldAutoLink})),e}}),fP=`listItem`,pP=`textStyle`,mP=/^\s*([-+*])\s$/,hP=CA.create({name:`bulletList`,addOptions(){return{itemTypeName:`listItem`,HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:`block list`,content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul`}]},renderHTML({HTMLAttributes:e}){return[`ul`,uO(this.options.HTMLAttributes,e),0]},markdownTokenName:`list`,parseMarkdown:(e,t)=>e.type!==`list`||e.ordered?[]:{type:`bulletList`,content:e.items?t.parseChildren(e.items):[]},renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,`-`):``,markdownOptions:{indentsContent:!0},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(fP,this.editor.getAttributes(pP)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=SA({find:mP,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=SA({find:mP,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(pP),editor:this.editor})),[e]}}),gP=(e,t,n)=>{let{selection:r}=e;if(!r.empty)return null;let{$from:i}=r;if(!i.parent.isTextblock||i.parentOffset!==i.parent.content.size)return null;let a=-1;for(let e=i.depth;e>0;--e)if(i.node(e).type.name===t){a=e;break}if(a<0)return null;let o=i.node(a),s=i.index(a);if(s+1>=o.childCount)return null;let c=o.child(s+1);if(!n.includes(c.type.name))return null;let l=e.schema.nodes[t],u=!1;if(c.forEach(e=>{e.type===l&&e.childCount>1&&(u=!0)}),!u)return null;let d=e.doc.resolve(i.after()).nodeAfter;if(!d||!n.includes(d.type.name))return null;let f=[];return d.forEach(e=>{f.push(e)}),f.length===0?null:{listItemDepth:a,nestedList:d,nestedListPos:i.after(),insertPos:i.after(a),items:f}},_P=(e,t,n,r)=>{let i=gP(e,n,r);if(!i)return!1;let{selection:a}=e,{nestedList:o,nestedListPos:s,insertPos:c,items:l}=i,u=e.tr;u.delete(s,s+o.nodeSize);let d=u.mapping.map(c);return u.insert(d,K.from(l)),u.setSelection(a.map(u.doc,u.mapping)),t&&t(u),!0},vP=(e,t,n)=>_P(e.state,e.view.dispatch,t,n),yP=(e,t)=>nA.create({name:`${e}BranchingDeleteKeymap`,priority:101,addKeyboardShortcuts(){let n=()=>vP(this.editor,e,t);return{Delete:n,"Mod-Delete":n}}}),bP=[[1e3,`m`],[900,`cm`],[500,`d`],[400,`cd`],[100,`c`],[90,`xc`],[50,`l`],[40,`xl`],[10,`x`],[9,`ix`],[5,`v`],[4,`iv`],[1,`i`]],xP=`abcdefghijklmnopqrstuvwxyz`,SP=String.raw`\d+|[ivxlcdmIVXLCDM]+|${`[a-zA-Z]{1,2}`}`;function CP(e){let t=e,n=``;for(let[e,r]of bP)for(;t>=e;)n+=r,t-=e;return n}function wP(e){return CP(e).toUpperCase()}function TP(e){let t=e.toLowerCase(),n=0,r=0;for(;n<t.length;){let e=!1;for(let[i,a]of bP)if(t.startsWith(a,n)){r+=i,n+=a.length,e=!0;break}if(!e)return 0}return r}function EP(e){if(!/^[ivxlcdmIVXLCDM]+$/.test(e))return!1;let t=TP(e);return t<=0?!1:(e===e.toLowerCase()?CP(t):wP(t))===e}function DP(e){let t=e.toLowerCase();if(t.length===1)return t.charCodeAt(0)-97+1;if(t.length===2){let e=t.charCodeAt(0)-97,n=t.charCodeAt(1)-97;return(e+1)*26+n+1}return 0}function OP(e){if(e<=26)return xP[e-1];let t=Math.floor((e-1)/26)-1,n=(e-1)%26;return t<0?xP[n]:xP[t]+xP[n]}function kP(e){if(e&&!/^\d+$/.test(e)){if(EP(e))return e===e.toLowerCase()?`i`:`I`;if(/^[a-z]{1,2}$/.test(e))return`a`;if(/^[A-Z]{1,2}$/.test(e))return`A`}}function AP(e){if(/^\d+$/.test(e))return parseInt(e,10);let t=kP(e);if(t===`i`||t===`I`)return TP(e);if(t===`a`||t===`A`){let t=DP(e);return t>0?t:1}let n=parseInt(e,10);return Number.isNaN(n)?1:n}function jP(e,t){if(e===`numeric`)return String(t);switch(e){case`a`:return OP(t);case`A`:return OP(t).toUpperCase();case`i`:return CP(t);case`I`:return wP(t);default:return String(t)}}function MP(e){if(e.length===0)return!1;let t=kP(e[0])??`numeric`,n=AP(e[0]);if(n<1)return!1;for(let r=0;r<e.length;r++){let i=jP(t,n+r);if(e[r]!==i)return!1}return!0}function NP(e){return{type:kP(e),start:AP(e)}}function PP(e){let{type:t,start:n}=NP(e),r={};return t&&(r.type=t),n!==1&&(r.start=n),r}function FP(e,t,n=`. `){let r=t+1;if(!e||e===`1`)return`${r}${n}`;switch(e){case`a`:return`${OP(r)}${n}`;case`A`:return`${OP(r).toUpperCase()}${n}`;case`i`:return`${CP(r)}${n}`;case`I`:return`${wP(r)}${n}`;default:return`${r}${n}`}}function IP(e){let t=e.tokens?.[0];return!!(e.text&&e.tokens?.length===1&&t?.type===`list`&&t.ordered&&t.raw===e.text)}function LP(e,t){return t.tokenizeInline?t.parseInline(t.tokenizeInline(e)):t.parseInline([{type:`text`,raw:e,text:e}])}var RP=CA.create({name:`listItem`,addOptions(){return{HTMLAttributes:{},bulletListTypeName:`bulletList`,orderedListTypeName:`orderedList`}},content:`paragraph block*`,defining:!0,parseHTML(){return[{tag:`li`}]},renderHTML({HTMLAttributes:e}){return[`li`,uO(this.options.HTMLAttributes,e),0]},markdownTokenName:`list_item`,parseMarkdown:(e,t)=>{if(e.type!==`list_item`)return[];let n=t.parseBlockChildren??t.parseChildren,r=[];if(e.tokens&&e.tokens.length>0){if(IP(e))return{type:`listItem`,content:[{type:`paragraph`,content:LP(e.text||``,t)}]};if(e.tokens.some(e=>e.type===`paragraph`))r=n(e.tokens);else{let i=e.tokens[0];if(i&&i.type===`text`&&i.tokens&&i.tokens.length>0){if(r=[{type:`paragraph`,content:t.parseInline(i.tokens)}],e.tokens.length>1){let t=n(e.tokens.slice(1));r.push(...t)}}else r=n(e.tokens)}}return r.length===0&&(r=[{type:`paragraph`,content:[]}]),{type:`listItem`,content:r}},renderMarkdown:(e,t,n)=>Lk(e,t,e=>{if(e.parentType===`bulletList`)return`- `;if(e.parentType===`orderedList`){var t,n;let r=((t=e.meta)==null||(t=t.parentAttrs)==null?void 0:t.start)||1;return FP((n=e.meta)==null||(n=n.parentAttrs)==null?void 0:n.type,r-1+(e.index||0),`. `)}return`- `},n,{alignNestedToPrefix:n?.parentType===`orderedList`}),addExtensions(){return[yP(this.name,[this.options.bulletListTypeName,this.options.orderedListTypeName])]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),zP=(e,t)=>{let{$from:n}=t.selection,r=lD(e,t.schema),i=null,a=n.depth,o=n.pos,s=null;for(;a>0&&s===null;)i=n.node(a),i.type===r?s=a:(--a,--o);return s===null?null:{$pos:t.doc.resolve(o),depth:s}},BP=(e,t)=>{let n=zP(e,t);if(!n)return!1;let[,r]=kO(t,e,n.$pos.pos+4);return r},VP=(e,t,n)=>{let{$anchor:r}=e.selection,i=Math.max(0,r.pos-2),a=e.doc.resolve(i).node();return!(!a||!n.includes(a.type.name))},HP=(e,t,n)=>{if(e.commands.undoInputRule())return!0;if(e.state.selection.from!==e.state.selection.to)return!1;if(!jD(e.state,t)&&VP(e.state,t,n)){let{$anchor:n}=e.state.selection,r=e.state.doc.resolve(n.before()-1),i=[];r.node().descendants((e,n)=>{e.type.name===t&&i.push({node:e,pos:n})});let a=i.at(-1);if(!a)return!1;let o=e.state.doc.resolve(r.start()+a.pos+1);return e.chain().cut({from:n.start()-1,to:n.end()+1},o.end()).joinForward().run()}if(!jD(e.state,t)||!kne(e.state))return!1;let{$from:r}=e.state.selection,i=r.depth-1;return r.node(i).type!==e.schema.nodes[t]||r.index(i)!==0?!1:e.chain().liftListItem(t).run()},UP=(e,t)=>{let n=BP(e,t),r=zP(e,t);return!r||!n?!1:n>r.depth},WP=(e,t)=>{let n=BP(e,t),r=zP(e,t);return!r||!n?!1:n<r.depth},GP=(e,t)=>{if(!jD(e.state,t)||!One(e.state,t))return!1;let{selection:n}=e.state,{$from:r,$to:i}=n;return!n.empty&&r.sameParent(i)?!1:UP(t,e.state)?e.chain().focus(e.state.selection.from+4).lift(t).joinBackward().run():WP(t,e.state)?e.chain().joinForward().joinBackward().run():e.commands.joinItemForward()},KP=(e,t,n)=>{let{state:r}=e,{selection:i}=r;if(!i.empty)return!1;let{$from:a}=i;if(a.parentOffset!==0||!a.parent.isTextblock||jD(r,t))return!1;let o=AO(a);if(!o||!n.includes(o.type.name))return!1;let s=o.lastChild;if(!s||s.type.name!==t)return!1;let c=a.parent;if(!s.canReplace(s.childCount,s.childCount,K.from(c)))return!1;let l=a.before(),u=a.after(),d=l-2;return e.commands.command(({tr:e,dispatch:t})=>(t&&(e.delete(l,u).insert(d,K.from(c)),e.setSelection(zx.create(e.doc,d+1)),e.scrollIntoView()),!0))},qP=nA.create({name:`listKeymap`,addOptions(){return{listTypes:[{itemName:`listItem`,wrapperNames:[`bulletList`,`orderedList`]},{itemName:`taskItem`,wrapperNames:[`taskList`]}]}},addKeyboardShortcuts(){return{Delete:({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n})=>{e.state.schema.nodes[n]!==void 0&&GP(e,n)&&(t=!0)}),t},"Mod-Delete":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n})=>{e.state.schema.nodes[n]!==void 0&&GP(e,n)&&(t=!0)}),t},Backspace:({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{e.state.schema.nodes[n]!==void 0&&HP(e,n,r)&&(t=!0)}),t},"Mod-Backspace":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{e.state.schema.nodes[n]!==void 0&&HP(e,n,r)&&(t=!0)}),t},Tab:({editor:e})=>{for(let{itemName:t,wrapperNames:n}of this.options.listTypes)if(e.state.schema.nodes[t]!==void 0&&KP(e,t,n))return!0;return!1}}}}),JP=RegExp(`^(\\s*)(${SP})([.)])\\s+(.*)$`),YP=/^\s/,XP={heading:/^#{1,6}(?:\s|$)/,bulletItem:/^[-+*]\s+/,codeFence:/^(?:```|~~~)/,blockMath:/^\$\$/,thematicBreak:/^(?:(?:-[ \t]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})$/};function ZP(e){return JP.test(e.trimStart())}function QP(e){let t=e.trimStart();return XP.bulletItem.test(t)||ZP(t)||XP.heading.test(t)||XP.thematicBreak.test(t)&&!t.startsWith(`-`)||/^>\s?/.test(t)||XP.codeFence.test(t)||XP.blockMath.test(t)}function $P(e){return Object.values(XP).some(t=>t.test(e))}function eF(e){let t=[],n=[],r=!1;return e.forEach(e=>{r?n.push(e):e.trim()===``||t.length>0&&QP(e)?(r=!0,n.push(e)):t.push(e)}),{paragraphLines:t,blockLines:n}}function tF(e){let t=[],n=0,r=0;for(;n<e.length;){let i=e[n],a=i.match(JP);if(!a)break;let[,o,s,c,l]=a,u=o.length,d=parseInt(s,10),f=isNaN(d)?kP(s):void 0,p=isNaN(d)?AP(s):d,m=[l],h=n+1,g=[i],_=!1;for(;h<e.length;){let t=e[h];if(t.match(JP))break;if(t.trim()===``)g.push(t),m.push(``),_=!0,h+=1;else if(t.match(YP)){let e=t.length-t.trimStart().length,n=u+s.length+1;g.push(t),m.push(t.slice(Math.min(e,n))),h+=1}else{if(_||$P(t))break;g.push(t),m.push(t),h+=1}}t.push({indent:u,number:p,type:f,content:m.join(`-`).trim(),contentLines:m,raw:g.join(`-`)}),r=h,n=h}return[t,r]}var nF=RegExp(`^(${SP})([.)])\\s+(.+)$`);function rF(e){let t=e.split(`-`).filter(e=>e.trim().length>0);if(t.length===0)return null;let n=[];for(let e of t){let t=e.trim().match(nF);if(!t)return null;n.push({marker:t[1],content:t[3]})}return MP(n.map(e=>e.marker))?{type:`orderedList`,attrs:PP(n[0].marker),content:n.map(e=>({type:`listItem`,content:[{type:`paragraph`,content:[{type:`text`,text:e.content}]}]}))}:null}function iF(e,t,n){let r=[],i=0;for(;i<e.length;){let a=e[i];if(a.indent===t){let{paragraphLines:o,blockLines:s}=eF(a.contentLines),c=o.join(`-`).trim(),l=[];c&&l.push({type:`paragraph`,raw:c,tokens:n.inlineTokens(c)});let u=s.join(`-`).trim();if(u){let e=n.blockTokens(u);l.push(...e)}let d=i+1,f=[];for(;d<e.length&&e[d].indent>t;)f.push(e[d]),d+=1;if(f.length>0){let e=iF(f,Math.min(...f.map(e=>e.indent)),n);l.push({type:`list`,ordered:!0,start:f[0].number,typeMarker:f[0].type,items:e,raw:f.map(e=>e.raw).join(`-`)})}r.push({type:`list_item`,raw:a.raw,tokens:l}),i=d}else i+=1}return r}function aF(e,t){return e.map(e=>{if(e.type!==`list_item`)return t.parseChildren([e])[0];let n=[];return e.tokens&&e.tokens.length>0&&e.tokens.forEach(e=>{if(e.type===`paragraph`||e.type===`list`||e.type===`blockquote`||e.type===`code`)n.push(...t.parseChildren([e]));else if(e.type===`text`&&e.tokens){let r=t.parseChildren([e]);n.push({type:`paragraph`,content:r})}else{let r=t.parseChildren([e]);r.length>0&&n.push(...r)}}),{type:`listItem`,content:n}})}var oF=64;function sF(e,t){let n=[],r=0;for(;n.length<t;){let t=e.indexOf(`-`,r);if(t===-1)return n.push(e.slice(r)),n;n.push(e.slice(r,t)),r=t+1}return n}function cF(e){let t=e.indexOf(`-`),n=t===-1?e:e.slice(0,t);if(!JP.test(n))return[[],0,[]];let r=oF,i=sF(e,r),a=tF(i);for(;a[1]===i.length&&i.length===r;)r*=2,i=sF(e,r),a=tF(i);return[a[0],a[1],i]}var lF=`listItem`,uF=`textStyle`,dF=/^(\d+)\.\s$/;function fF(e){let t=e.match(/list-style-type\s*:\s*([^;]+)/i);if(!t)return null;switch(t[1].trim().toLowerCase()){case`upper-roman`:return`I`;case`lower-roman`:return`i`;case`upper-alpha`:case`upper-latin`:return`A`;case`lower-alpha`:case`lower-latin`:return`a`;default:return null}}var pF=CA.create({name:`orderedList`,addOptions(){return{itemTypeName:`listItem`,HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:`block list`,content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:e=>e.hasAttribute(`start`)?parseInt(e.getAttribute(`start`)||``,10):1},type:{default:null,parseHTML:e=>{let t=e.getAttribute(`type`);if(t)return t;let n=e.getAttribute(`style`);if(n){let e=fF(n);if(e)return e}let r=e.querySelector(`li`);if(r){let e=r.getAttribute(`style`);if(e){let t=fF(e);if(t)return t}}return null}}}},parseHTML(){return[{tag:`ol`}]},renderHTML({HTMLAttributes:e}){let{start:t,type:n,...r}=e,i=uO(this.options.HTMLAttributes,r);return t!==1&&(i.start=t),n&&n!==`1`&&(i.type=n),[`ol`,i,0]},markdownTokenName:`list`,parseMarkdown:(e,t)=>{if(e.type!==`list`||!e.ordered)return[];let n=e.start||1,r=e.typeMarker,i=e.items?aF(e.items,t):[],a={};return n!==1&&(a.start=n),r&&(a.type=r),Object.keys(a).length>0?{type:`orderedList`,attrs:a,content:i}:{type:`orderedList`,content:i}},renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,`-`):``,markdownTokenizer:{name:`orderedList`,level:`block`,start:()=>-1,tokenize:(e,t,n)=>{let[r,i,a]=cF(e);if(r.length===0)return;let o=iF(r,r[0].indent,n);if(o.length!==0)return{type:`list`,ordered:!0,start:r[0]?.number||1,typeMarker:r[0]?.type,items:o,raw:a.slice(0,i).join(`-`)}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(lF,this.editor.getAttributes(uF)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addProseMirrorPlugins(){return[new $x({props:{handlePaste:(e,t)=>{if((t.clipboardData?.getData(`text/html`))?.trim())return!1;let n=t.clipboardData?.getData(`text/plain`);if(!n)return!1;let r=rF(n);if(!r)return!1;try{let t=e.state.schema.nodeFromJSON(r),n=e.state.tr.replaceSelectionWith(t);return e.dispatch(n),!0}catch{return!1}}}})]},addInputRules(){let e=(e,t)=>(!t.attrs.type||t.attrs.type===`1`)&&t.childCount+t.attrs.start===+e[1],t=SA({find:dF,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:e});return(this.options.keepMarks||this.options.keepAttributes)&&(t=SA({find:dF,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(uF)}),joinPredicate:e,editor:this.editor})),[t]}}),mF=/^\s*(\[([( |x])?\])\s$/,hF=`position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0`,gF=(e,t,n)=>{var r;return(n==null||(r=n.checkboxLabel)==null?void 0:r.call(n,e,t))||`Task item checkbox for ${e.textContent||`empty task item`}`},_F=CA.create({name:`taskItem`,addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:`taskList`,a11y:void 0}},content(){return this.options.nested?`paragraph block*`:`paragraph+`},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:e=>{let t=e.getAttribute(`data-checked`);return t===``||t===`true`},renderHTML:e=>({"data-checked":e.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51,contentElement:e=>e.querySelector(`div`)??e}]},renderHTML({node:e,HTMLAttributes:t}){return[`li`,uO(this.options.HTMLAttributes,t,{"data-type":this.name}),[`label`,[`input`,{type:`checkbox`,checked:e.attrs.checked?`checked`:null}],[`span`]],[`div`,0]]},parseMarkdown:(e,t)=>{let n=[];if(e.tokens&&e.tokens.length>0?n.push(t.createNode(`paragraph`,{},t.parseInline(e.tokens))):e.text?n.push(t.createNode(`paragraph`,{},[t.createNode(`text`,{text:e.text})])):n.push(t.createNode(`paragraph`,{},[])),e.nestedTokens&&e.nestedTokens.length>0){let r=t.parseChildren(e.nestedTokens);n.push(...r)}return t.createNode(`taskItem`,{checked:e.checked||!1},n)},renderMarkdown:(e,t)=>Lk(e,t,`- [${e.attrs?.checked?`x`:` `}] `),addExtensions(){return this.options.nested?[yP(this.name,[this.options.taskListTypeName])]:[]},addKeyboardShortcuts(){let e={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...e,Tab:()=>this.editor.commands.sinkListItem(this.name)}:e},addNodeView(){return({node:e,HTMLAttributes:t,getPos:n,editor:r})=>{let i=document.createElement(`li`),a=document.createElement(`label`),o=document.createElement(`span`),s=document.createElement(`input`),c=document.createElement(`div`);o.style.cssText=hF;let l=e=>{let t=gF(e,e.attrs.checked,this.options.a11y);s.setAttribute(`aria-label`,t),o.textContent=t};l(e),a.contentEditable=`false`,s.type=`checkbox`,s.addEventListener(`mousedown`,e=>e.preventDefault()),s.addEventListener(`change`,t=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){s.checked=!s.checked;return}let{checked:i}=t.target;r.isEditable&&typeof n==`function`&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:e})=>{let t=n();if(typeof t!=`number`)return!1;let r=e.doc.nodeAt(t);return e.setNodeMarkup(t,void 0,{...r?.attrs,checked:i}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(e,i)||(s.checked=!s.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([e,t])=>{i.setAttribute(e,t)}),i.dataset.checked=e.attrs.checked,s.checked=e.attrs.checked,a.append(s,o),i.append(a,c),Object.entries(t).forEach(([e,t])=>{i.setAttribute(e,t)});let u=new Set(Object.keys(t));return{dom:i,contentDOM:c,update:e=>{if(e.type!==this.type)return!1;i.dataset.checked=e.attrs.checked,s.checked=e.attrs.checked,l(e);let t=r.extensionManager.attributes,n=dO(e,t),a=new Set(Object.keys(n)),o=this.options.HTMLAttributes;return u.forEach(e=>{a.has(e)||(e in o?i.setAttribute(e,o[e]):i.removeAttribute(e))}),Object.entries(n).forEach(([e,t])=>{t==null?e in o?i.setAttribute(e,o[e]):i.removeAttribute(e):i.setAttribute(e,t)}),u=a,!0}}}},addInputRules(){return[SA({find:mF,type:this.type,getAttributes:e=>({checked:e[e.length-1]===`x`})})]}}),vF=CA.create({name:`taskList`,addOptions(){return{itemTypeName:`taskItem`,HTMLAttributes:{}}},group:`block list`,content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:e}){return[`ul`,uO(this.options.HTMLAttributes,e,{"data-type":this.name}),0]},parseMarkdown:(e,t)=>t.createNode(`taskList`,{},t.parseChildren(e.items||[])),renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,`-`):``,markdownTokenizer:{name:`taskList`,level:`block`,start(e){let t=e.match(/^\s*[-+*]\s+\[([ xX])\]\s+/)?.index;return t===void 0?-1:t},tokenize(e,t,n){let r=e=>{let t=Pk(e,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:e=>({indentLevel:e[1].length,mainContent:e[4],checked:e[3].toLowerCase()===`x`}),createToken:(e,t)=>({type:`taskItem`,raw:``,mainContent:e.mainContent,indentLevel:e.indentLevel,checked:e.checked,text:e.mainContent,tokens:n.inlineTokens(e.mainContent),nestedTokens:t}),customNestedParser:r},n);if(t){let r={type:`taskList`,raw:t.raw,items:t.items},i=e.slice(t.raw.length);return i.trim()?[r,...n.blockTokens(i)]:[r]}return n.blockTokens(e)},i=Pk(e,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:e=>({indentLevel:e[1].length,mainContent:e[4],checked:e[3].toLowerCase()===`x`}),createToken:(e,t)=>({type:`taskItem`,raw:``,mainContent:e.mainContent,indentLevel:e.indentLevel,checked:e.checked,text:e.mainContent,tokens:n.inlineTokens(e.mainContent),nestedTokens:t}),customNestedParser:r},n);if(i)return{type:`taskList`,raw:i.raw,items:i.items}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleTaskList:()=>({commands:e})=>e.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});nA.create({name:`listKit`,addExtensions(){let e=[];return this.options.bulletList!==!1&&e.push(hP.configure(this.options.bulletList)),this.options.listItem!==!1&&e.push(RP.configure(this.options.listItem)),this.options.listKeymap!==!1&&e.push(qP.configure(this.options.listKeymap)),this.options.orderedList!==!1&&e.push(pF.configure(this.options.orderedList)),this.options.taskItem!==!1&&e.push(_F.configure(this.options.taskItem)),this.options.taskList!==!1&&e.push(vF.configure(this.options.taskList)),e}});var yF=` `,bF=`\xA0`,xF=CA.create({name:`paragraph`,priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:`block`,content:`inline*`,parseHTML(){return[{tag:`p`}]},renderHTML({HTMLAttributes:e}){return[`p`,uO(this.options.HTMLAttributes,e),0]},parseMarkdown:(e,t)=>{let n=e.tokens||[];if(n.length===1&&n[0].type===`image`)return t.parseChildren([n[0]]);let r=t.parseInline(n);return n.length===1&&n[0].type===`text`&&(n[0].raw===yF||n[0].text===yF||n[0].raw===bF||n[0].text===bF)&&r.length===1&&r[0].type===`text`&&(r[0].text===yF||r[0].text===bF)?t.createNode(`paragraph`,void 0,[]):t.createNode(`paragraph`,void 0,r)},renderMarkdown:(e,t,n)=>{if(!e)return``;let r=Array.isArray(e.content)?e.content:[];if(r.length===0){var i,a;let e=Array.isArray(n==null||(i=n.previousNode)==null?void 0:i.content)?n.previousNode.content:[];return(n==null||(a=n.previousNode)==null?void 0:a.type)===`paragraph`&&e.length===0?yF:``}return t.renderChildren(r)},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),SF=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,CF=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,wF=Jk.create({name:`strike`,addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:`s`},{tag:`del`},{tag:`strike`},{style:`text-decoration`,consuming:!1,getAttrs:e=>e.includes(`line-through`)?{}:!1}]},renderHTML({HTMLAttributes:e}){return[`s`,uO(this.options.HTMLAttributes,e),0]},markdownTokenName:`del`,parseMarkdown:(e,t)=>t.applyMark(`strike`,t.parseInline(e.tokens||[])),renderMarkdown:(e,t)=>`~~${t.renderChildren(e)}~~`,addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[yA({find:SF,type:this.type})]},addPasteRules(){return[wA({find:CF,type:this.type})]}}),TF=CA.create({name:`text`,group:`inline`,parseMarkdown:e=>({type:`text`,text:e.text||``}),renderMarkdown:e=>e.text||``}),EF=Jk.create({name:`underline`,addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:`u`},{style:`text-decoration`,consuming:!1,getAttrs:e=>e.includes(`underline`)?{}:!1}]},renderHTML({HTMLAttributes:e}){return[`u`,uO(this.options.HTMLAttributes,e),0]},parseMarkdown(e,t){return t.applyMark(this.name||`underline`,t.parseInline(e.tokens||[]))},renderMarkdown(e,t){return`++${t.renderChildren(e)}++`},markdownTokenizer:{name:`underline`,level:`inline`,start(e){return e.indexOf(`++`)},tokenize(e,t,n){let r=/^(\+\+)([\s\S]+?)(\+\+)/.exec(e);if(!r)return;let i=r[2].trim();return{type:`underline`,raw:r[0],text:i,tokens:n.inlineTokens(i)}}},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});function DF(e={}){return new $x({view(t){return new OF(t,e)}})}var OF=class{constructor(e,t){this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.lastDragEvent=null,this.width=t.width??1,this.color=t.color===!1?void 0:t.color||`black`,this.class=t.class,this.handlers=[`dragover`,`dragend`,`drop`,`dragleave`].map(t=>{let n=e=>{this[t](e)};return e.dom.addEventListener(t,n),{name:t,handler:n}})}destroy(){this.setCursor(null),this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){if(this.cursorPos!=null&&t.doc!=e.state.doc){if(this.lastDragEvent){let e=this.computeTarget(this.lastDragEvent);e==this.cursorPos?this.updateOverlay():this.setCursor(e)}else this.updateOverlay()}}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),t=!e.parent.inlineContent,n,r=this.editorView.dom,i=r.getBoundingClientRect(),a=i.width/r.offsetWidth,o=i.height/r.offsetHeight;if(t){let t=e.nodeBefore,r=e.nodeAfter;if(t||r){let e=this.editorView.nodeDOM(this.cursorPos-(t?t.nodeSize:0));if(e){let i=e.getBoundingClientRect(),a=t?i.bottom:i.top;t&&r&&(a=(a+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let s=this.width/2*o;n={left:i.left,right:i.right,top:a-s,bottom:a+s}}}}if(!n){let e=this.editorView.coordsAtPos(this.cursorPos),t=this.width/2*a;n={left:e.left-t,right:e.left+t,top:e.top,bottom:e.bottom}}let s=this.editorView.dom.offsetParent;this.element||(this.element=s.appendChild(document.createElement(`div`)),this.class&&(this.element.className=this.class),this.element.style.cssText=`position: absolute; z-index: 50; pointer-events: none;`,this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle(`prosemirror-dropcursor-block`,t),this.element.classList.toggle(`prosemirror-dropcursor-inline`,!t);let c,l;if(!s||s==document.body&&getComputedStyle(s).position==`static`)c=-pageXOffset,l=-pageYOffset;else{let e=s.getBoundingClientRect(),t=e.width/s.offsetWidth,n=e.height/s.offsetHeight;c=e.left-s.scrollLeft*t,l=e.top-s.scrollTop*n}this.element.style.left=(n.left-c)/a+`px`,this.element.style.top=(n.top-l)/o+`px`,this.element.style.width=(n.right-n.left)/a+`px`,this.element.style.height=(n.bottom-n.top)/o+`px`}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}computeTarget(e){let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),n=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),r=n&&n.type.spec.disableDropCursor,i=typeof r==`function`?r(this.editorView,t,e):r;if(!t||i)return null;let a=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let e=px(this.editorView.state.doc,a,this.editorView.dragging.slice);e!=null&&(a=e)}return a}dragover(e){if(!this.editorView.editable)return;this.lastDragEvent=e;let t=this.computeTarget(e);t!=null&&(this.setCursor(t),this.scheduleRemoval(5e3))}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}},kF=class e extends Fx{constructor(e){super(e,e)}map(t,n){let r=t.resolve(n.map(this.head));return e.valid(r)?new e(r):Fx.near(r)}content(){return q.empty}eq(t){return t instanceof e&&t.head==this.head}toJSON(){return{type:`gapcursor`,pos:this.head}}static fromJSON(t,n){if(typeof n.pos!=`number`)throw RangeError(`Invalid input for GapCursor.fromJSON`);return new e(t.resolve(n.pos))}getBookmark(){return new AF(this.anchor)}static valid(e){let t=e.parent;if(t.inlineContent||!MF(e)||!NF(e))return!1;let n=t.type.spec.allowGapCursor;if(n!=null)return n;let r=t.contentMatchAt(e.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(t,n,r=!1){search:for(;;){if(!r&&e.valid(t))return t;let i=t.pos,a=null;for(let r=t.depth;;r--){let o=t.node(r);if(n>0?t.indexAfter(r)<o.childCount:t.index(r)>0){a=o.child(n>0?t.indexAfter(r):t.index(r)-1);break}if(r==0)return null;i+=n;let s=t.doc.resolve(i);if(e.valid(s))return s}for(;;){let o=n>0?a.firstChild:a.lastChild;if(!o){if(a.isAtom&&!a.isText&&!Vx.isSelectable(a)){t=t.doc.resolve(i+a.nodeSize*n),r=!1;continue search}break}a=o,i+=n;let s=t.doc.resolve(i);if(e.valid(s))return s}return null}}};kF.prototype.visible=!1,kF.findFrom=kF.findGapCursorFrom,Fx.jsonID(`gapcursor`,kF);var AF=class e{constructor(e){this.pos=e}map(t){return new e(t.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return kF.valid(t)?new kF(t):Fx.near(t)}};function jF(e){return e.isAtom||e.spec.isolating||e.spec.createGapCursor}function MF(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),r=e.node(t);if(n==0){if(r.type.spec.isolating)return!0}else for(let e=r.child(n-1);;e=e.lastChild){if(e.childCount==0&&!e.inlineContent||jF(e.type))return!0;if(e.inlineContent)return!1}}return!0}function NF(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n==r.childCount){if(r.type.spec.isolating)return!0}else for(let e=r.child(n);;e=e.firstChild){if(e.childCount==0&&!e.inlineContent||jF(e.type))return!0;if(e.inlineContent)return!1}}return!0}function PF(){return new $x({props:{decorations:zF,createSelectionBetween(e,t,n){return t.pos==n.pos&&kF.valid(n)?new kF(n):null},handleClick:LF,handleKeyDown:FF,handleDOMEvents:{beforeinput:RF}}})}var FF=UE({ArrowLeft:IF(`horiz`,-1),ArrowRight:IF(`horiz`,1),ArrowUp:IF(`vert`,-1),ArrowDown:IF(`vert`,1)});function IF(e,t){let n=e==`vert`?t>0?`down`:`up`:t>0?`right`:`left`;return function(e,r,i){let a=e.selection,o=t>0?a.$to:a.$from,s=a.empty;if(a instanceof zx){if(!i.endOfTextblock(n)||o.depth==0)return!1;s=!1,o=e.doc.resolve(t>0?o.after():o.before())}let c=kF.findGapCursorFrom(o,t,s);return c?(r&&r(e.tr.setSelection(new kF(c))),!0):!1}}function LF(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!kF.valid(r))return!1;let i=e.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&Vx.isSelectable(e.state.doc.nodeAt(i.inside))?!1:(e.dispatch(e.state.tr.setSelection(new kF(r))),!0)}function RF(e,t){if(t.inputType!=`insertCompositionText`||!(e.state.selection instanceof kF))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let i=K.empty;for(let e=r.length-1;e>=0;e--)i=K.from(r[e].createAndFill(null,i));let a=e.state.tr.replace(n.pos,n.pos,new q(i,0,0));return a.setSelection(zx.near(a.doc.resolve(n.pos+1))),e.dispatch(a),!1}function zF(e){if(!(e.selection instanceof kF))return null;let t=document.createElement(`div`);return t.className=`ProseMirror-gapcursor`,dE.create(e.doc,[cE.widget(e.selection.head,t,{key:`gapcursor`})])}nA.create({name:`characterCount`,addOptions(){return{limit:null,autoTrim:!0,mode:`textSize`,textCounter:e=>e.length,wordCounter:e=>e.split(` `).filter(e=>e!==``).length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=e=>{let t=e?.node||this.editor.state.doc;if((e?.mode||this.options.mode)===`textSize`){let e=t.textBetween(0,t.content.size,void 0,` `);return this.options.textCounter(e)}return t.nodeSize},this.storage.words=e=>{let t=e?.node||this.editor.state.doc,n=t.textBetween(0,t.content.size,` `,` `);return this.options.wordCounter(n)}},addProseMirrorPlugins(){let e=!1;return[new $x({key:new nS(`characterCount`),appendTransaction:(t,n,r)=>{if(e)return;let i=this.options.limit,a=this.options.autoTrim;if(i==null||i===0||a===!1){e=!0;return}let o=this.storage.characters({node:r.doc});if(o>i){let t=o-i;console.warn(`[CharacterCount] Initial content exceeded limit of ${i} characters. Content was automatically trimmed.`);let n=r.tr.deleteRange(0,t);return e=!0,n}e=!0},filterTransaction:(e,t)=>{let n=this.options.limit;if(!e.docChanged||n===0||n==null)return!0;let r=this.storage.characters({node:t.doc}),i=this.storage.characters({node:e.doc});if(i<=n||r>n&&i>n&&i<=r)return!0;if(r>n&&i>n&&i>r||!e.getMeta(`paste`))return!1;let a=e.selection.$head.pos,o=a-(i-n),s=a;return e.deleteRange(o,s),!(this.storage.characters({node:e.doc})>n)}})]}});var BF=nA.create({name:`dropCursor`,addOptions(){return{color:`currentColor`,width:1,class:void 0}},addProseMirrorPlugins(){return[DF(this.options)]}});nA.create({name:`focus`,addOptions(){return{className:`has-focus`,mode:`all`}},addProseMirrorPlugins(){return[new $x({key:new nS(`focus`),props:{decorations:({doc:e,selection:t})=>{let{isEditable:n,isFocused:r}=this.editor,{anchor:i}=t,a=[];if(!n||!r)return dE.create(e,[]);let o=0;this.options.mode===`deepest`&&e.descendants((e,t)=>{if(!e.isText){if(!(i>=t&&i<=t+e.nodeSize-1))return!1;o+=1}});let s=0;return e.descendants((e,t)=>{if(e.isText||!(i>=t&&i<=t+e.nodeSize-1))return!1;if(s+=1,this.options.mode===`deepest`&&o-s>0||this.options.mode===`shallowest`&&s>1)return this.options.mode===`deepest`;a.push(cE.node(t,t+e.nodeSize,{class:this.options.className}))}),dE.create(e,a)}}})]}});var VF=nA.create({name:`gapCursor`,addProseMirrorPlugins(){return[PF()]},extendNodeSchema(e){return{allowGapCursor:oO(XD(e,`allowGapCursor`,{name:e.name,options:e.options,storage:e.storage}))??null}}}),HF=`placeholder`,UF=new nS(`tiptap__placeholder`);function WF(e){let{editor:t,placeholder:n,dataAttribute:r,pos:i,node:a,isEmptyDoc:o,hasAnchor:s,classes:{emptyNode:c,emptyEditor:l}}=e,u=[c];return o&&u.push(l),cE.node(i,i+a.nodeSize,{class:u.join(` `),[r]:typeof n==`function`?n({editor:t,node:a,pos:i,hasAnchor:s}):n})}function GF(e,t){return typeof e==`function`?e(t):e}function KF({editor:e,options:t,dataAttribute:n,doc:r,selection:i,from:a,to:o}){let{anchor:s}=i,c=[],l=e.isEmpty;return r.nodesBetween(a,o,(r,i)=>{let a=s>=i&&s<=i+r.nodeSize,o=!r.isLeaf&&IO(r);return r.type.isTextblock&&(a||!t.showOnlyCurrent)&&o&&c.push(WF({editor:e,isEmptyDoc:l,dataAttribute:n,hasAnchor:a,placeholder:t.placeholder,classes:{emptyEditor:t.emptyEditorClass,emptyNode:GF(t.emptyNodeClass,{editor:e,node:r,pos:i,hasAnchor:a})},node:r,pos:i})),t.includeChildren}),c}function qF({editor:e,options:t,dataAttribute:n,doc:r,selection:i}){if(!e.isEditable&&t.showOnlyWhenEditable)return null;let{anchor:a}=i,o=[],s=e.isEmpty;if(t.showOnlyCurrent&&!t.includeChildren){let i=r.resolve(a),c=i.depth>0?i.node(1):i.nodeAfter,l=i.depth>0?i.before(1):a;if(c&&c.type.isTextblock&&IO(c)){let r=a>=l&&a<=l+c.nodeSize;o.push(WF({editor:e,isEmptyDoc:s,dataAttribute:n,hasAnchor:r,placeholder:t.placeholder,classes:{emptyEditor:t.emptyEditorClass,emptyNode:GF(t.emptyNodeClass,{editor:e,node:c,pos:l,hasAnchor:r})},node:c,pos:l}))}}else o.push(...KF({editor:e,options:t,dataAttribute:n,doc:r,selection:i,from:0,to:r.content.size}));return dE.create(r,o)}function JF(e,t){let n=e.resolve(t);if(n.depth===0){let e=n.nodeAfter??n.nodeBefore;if(!e)return{from:t,to:t};let r=n.nodeAfter?t:t-e.nodeSize;return{from:r,to:r+e.nodeSize}}let r=n.before(1);return{from:r,to:r+n.node(1).nodeSize}}function YF(e,t){return{from:Math.max(0,t.from-1),to:Math.min(e.content.size,t.to-1)}}function XF(e,t,n){let r=[];return e.forEach((e,i)=>{let a=i,o=a+e.nodeSize,s=a+1,c=o+1;s<n&&c>t&&r.push({from:a,to:o})}),r}function ZF(e){if(e.length===0)return[];let t=[...e].sort((e,t)=>e.from-t.from),n=[{...t[0]}];for(let e=1;e<t.length;e+=1){let r=n[n.length-1],i=t[e];i.from<=r.to?r.to=Math.max(r.to,i.to):n.push({...i})}return n}function QF(e,t){let n=XF(e,t.from,t.to);return n.push(YF(e,JF(e,t.from))),t.to>t.from?n.push(YF(e,JF(e,Math.min(t.to,e.content.size+1)-1))):t.from<e.content.size+1&&n.push(YF(e,JF(e,Math.min(t.from+1,e.content.size)))),n}function $F(e,t,n){let r=[];if(e.docChanged){let t=DO(e);for(let e of t)r.push(...QF(n.doc,e.newRange))}return e.selectionSet&&(r.push(YF(n.doc,JF(n.doc,e.mapping.map(t.selection.anchor)))),r.push(YF(n.doc,JF(n.doc,n.selection.anchor)))),ZF(r)}function eI(e,t,n){let r=Math.max(0,Math.min(e,n.content.size));return{from:r,to:Math.max(r,Math.min(t,n.content.size))}}function tI({decorations:e,ranges:t,editor:n,options:r,dataAttribute:i,doc:a,selection:o}){let s=e;for(let e of t){let{from:t,to:c}=eI(e.from,e.to,a),l=s.find(t,c).filter(e=>e.from>=t&&e.to<=c);l.length&&(s=s.remove(l));let u=KF({editor:n,options:r,dataAttribute:i,doc:a,selection:o,from:t,to:c});u.length&&(s=s.add(a,u))}return s}function nI({editor:e,options:t,dataAttribute:n}){return{init(r,i){return qF({editor:e,options:t,dataAttribute:n,doc:i.doc,selection:i.selection})??dE.empty},apply(r,i,a,o){return!r.docChanged&&!r.selectionSet?i:tI({decorations:i.map(r.mapping,r.doc),ranges:$F(r,a,o),editor:e,options:t,dataAttribute:n,doc:o.doc,selection:o.selection})}}}function rI(e){return e.replace(/\s+/g,`-`).replace(/[^a-zA-Z0-9-]/g,``).replace(/^[0-9-]+/,``).replace(/^-+/,``).toLowerCase()}function iI({editor:e,options:t}){let n=t.dataAttribute?`data-${rI(t.dataAttribute)}`:`data-${HF}`,r=t.showOnlyCurrent&&!t.includeChildren;return new $x({key:UF,...r?{}:{state:nI({editor:e,options:t,dataAttribute:n})},props:{decorations:r?({doc:r,selection:i})=>qF({editor:e,options:t,dataAttribute:n,doc:r,selection:i}):n=>t.showOnlyWhenEditable&&!e.isEditable?dE.empty:UF.getState(n)??dE.empty}})}var aI=nA.create({name:`placeholder`,addOptions(){return{emptyEditorClass:`is-editor-empty`,emptyNodeClass:`is-empty`,dataAttribute:HF,placeholder:`Write something …`,showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[iI({editor:this.editor,options:this.options})]}});function oI(e,t){return!e.selection.empty&&!LO(e.selection)&&t.isEditable}function sI(e,t){return oI(e,t)&&!t.isFocused&&!t.view.dragging}function cI(){var e;(e=window.getSelection())==null||e.removeAllRanges()}function lI(e){e.focus()}nA.create({name:`selection`,addOptions(){return{className:`selection`}},addProseMirrorPlugins(){let{editor:e,options:t}=this;return[new $x({key:new nS(`selection`),props:{decorations(n){return sI(n,e)?dE.create(n.doc,[cE.inline(n.selection.from,n.selection.to,{class:t.className})]):null},handleDOMEvents:{blur(t){return oI(t.state,e)&&cI(),!1},focus(t){return oI(t.state,e)&&requestAnimationFrame(()=>{!e.isDestroyed&&t.hasFocus()&&lI(t)}),!1}}}})]}});function uI({types:e,node:t}){return t&&Array.isArray(e)&&e.includes(t.type)||t?.type===e}var dI=nA.create({name:`trailingNode`,addOptions(){return{node:void 0,notAfter:[]}},addProseMirrorPlugins(){let e=new nS(this.name),t=this.options.node||this.editor.schema.topNodeType.contentMatch.defaultType?.name||`paragraph`,n=Object.entries(this.editor.schema.nodes).map(([,e])=>e).filter(e=>(this.options.notAfter||[]).concat(t).includes(e.name));return[new $x({key:e,appendTransaction:(n,r,i)=>{let{doc:a,tr:o,schema:s}=i,c=e.getState(i),l=a.content.size,u=s.nodes[t];if(!n.some(e=>e.getMeta(`skipTrailingNode`))&&c)return o.insert(l,u.create())},state:{init:(e,t)=>{let r=t.tr.doc.lastChild;return!uI({node:r,types:n})},apply:(e,t)=>{if(!e.docChanged||e.getMeta(`__uniqueIDTransaction`))return t;let r=e.doc.lastChild;return!uI({node:r,types:n})}}})]}}),fI=nA.create({name:`undoRedo`,addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:e,dispatch:t})=>aD(e,t),redo:()=>({state:e,dispatch:t})=>oD(e,t)}},addProseMirrorPlugins(){return[zte(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),pI=nA.create({name:`starterKit`,addExtensions(){let e=[];return this.options.bold!==!1&&e.push(xre.configure(this.options.bold)),this.options.blockquote!==!1&&e.push(gre.configure(this.options.blockquote)),this.options.bulletList!==!1&&e.push(hP.configure(this.options.bulletList)),this.options.code!==!1&&e.push(Tre.configure(this.options.code)),this.options.codeBlock!==!1&&e.push(Ore.configure(this.options.codeBlock)),this.options.document!==!1&&e.push(kre.configure(this.options.document)),this.options.dropcursor!==!1&&e.push(BF.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&e.push(VF.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&e.push(Are.configure(this.options.hardBreak)),this.options.heading!==!1&&e.push(jre.configure(this.options.heading)),this.options.undoRedo!==!1&&e.push(fI.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&e.push(Mre.configure(this.options.horizontalRule)),this.options.italic!==!1&&e.push(Lre.configure(this.options.italic)),this.options.listItem!==!1&&e.push(RP.configure(this.options.listItem)),this.options.listKeymap!==!1&&e.push(qP.configure(this.options?.listKeymap)),this.options.link!==!1&&e.push(dP.configure(this.options?.link)),this.options.orderedList!==!1&&e.push(pF.configure(this.options.orderedList)),this.options.paragraph!==!1&&e.push(xF.configure(this.options.paragraph)),this.options.strike!==!1&&e.push(wF.configure(this.options.strike)),this.options.text!==!1&&e.push(TF.configure(this.options.text)),this.options.underline!==!1&&e.push(EF.configure(this.options?.underline)),this.options.trailingNode!==!1&&e.push(dI.configure(this.options?.trailingNode)),e}}),mI=aI,hI=[`top`,`right`,`bottom`,`left`],gI=[`start`,`end`],_I=hI.reduce((e,t)=>e.concat(t,t+`-`+gI[0],t+`-`+gI[1]),[]),vI=Math.min,yI=Math.max,bI=Math.round,xI=Math.floor,SI=e=>({x:e,y:e}),CI={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function wI(e,t,n){return yI(e,vI(t,n))}function TI(e,t){return typeof e==`function`?e(t):e}function EI(e){return e.split(`-`)[0]}function DI(e){return e.split(`-`)[1]}function OI(e){return e===`x`?`y`:`x`}function kI(e){return e===`y`?`height`:`width`}function AI(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function jI(e){return OI(AI(e))}function MI(e,t,n){n===void 0&&(n=!1);let r=DI(e),i=jI(e),a=kI(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=VI(o)),[o,VI(o)]}function NI(e){let t=VI(e);return[PI(e),t,PI(t)]}function PI(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var FI=[`left`,`right`],II=[`right`,`left`],LI=[`top`,`bottom`],RI=[`bottom`,`top`];function zI(e,t,n){switch(e){case`top`:case`bottom`:return n?t?II:FI:t?FI:II;case`left`:case`right`:return t?LI:RI;default:return[]}}function BI(e,t,n,r){let i=DI(e),a=zI(EI(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(PI)))),a}function VI(e){let t=EI(e);return CI[t]+e.slice(t.length)}function HI(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function UI(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:HI(e)}function WI(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function GI(e,t,n){let{reference:r,floating:i}=e,a=AI(t),o=jI(t),s=kI(o),c=EI(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=DI(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function KI(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=TI(t,e),p=UI(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=WI(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=WI(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var qI=50,JI=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:KI},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=GI(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<qI&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=GI(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},YI=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=TI(e,t)||{};if(l==null)return{};let d=UI(u),f={x:n,y:r},p=jI(i),m=kI(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;C&&await(o.isElement==null?void 0:o.isElement(S))||(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=vI(d[_],T),D=vI(d[v],T),O=C-h[m]-D,k=C/2-h[m]/2+w,A=wI(E,k,O),j=!c.arrow&&DI(i)!=null&&k!==A&&a.reference[m]/2-(k<E?E:D)-h[m]/2<0,M=j?k<E?k-E:k-O:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:k-A-M,...j&&{alignmentOffset:M}},reset:j}}});function XI(e,t,n){return(e?[...n.filter(t=>DI(t)===e),...n.filter(t=>DI(t)!==e)]:n.filter(e=>EI(e)===e)).filter(n=>!e||DI(n)===e||(t?PI(n)!==n:!1))}var ZI=function(e){return e===void 0&&(e={}),{name:`autoPlacement`,options:e,async fn(t){let{rects:n,middlewareData:r,placement:i,platform:a,elements:o}=t,{crossAxis:s=!1,alignment:c,allowedPlacements:l=_I,autoAlignment:u=!0,...d}=TI(e,t),f=c!==void 0||l===_I?XI(c||null,u,l):l,p=r.autoPlacement?.index||0,m=f[p];if(m==null)return{};if(i!==m)return{reset:{placement:f[0]}};let h=await a.detectOverflow(t,d),g=MI(m,n,await(a.isRTL==null?void 0:a.isRTL(o.floating))),_=[h[EI(m)],h[g[0]],h[g[1]]],v=[...r.autoPlacement?.overflows||[],{placement:m,overflows:_}],y=f[p+1];if(y)return{data:{index:p+1,overflows:v},reset:{placement:y}};let b=v.map(e=>{let t=DI(e.placement);return[e.placement,t&&s?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),x=b.filter(e=>e[2].slice(0,DI(e[0])?2:3).every(e=>e<=0))[0]?.[0]||b[0][0];return x===i?{}:{data:{index:p+1,overflows:v},reset:{placement:x}}}}},QI=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=TI(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=EI(r),_=AI(o),v=EI(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[VI(o)]:NI(o)),x=p!==`none`;!d&&x&&b.push(...BI(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=MI(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===AI(t)||T.every(e=>AI(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=AI(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}};function $I(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function eL(e){return hI.some(t=>e[t]>=0)}var tL=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=TI(e,t);switch(i){case`referenceHidden`:{let e=$I(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:eL(e)}}}case`escaped`:{let e=$I(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:eL(e)}}}default:return{}}}}};function nL(e){let t=vI(...e.map(e=>e.left)),n=vI(...e.map(e=>e.top)),r=yI(...e.map(e=>e.right)),i=yI(...e.map(e=>e.bottom));return{x:t,y:n,width:r-t,height:i-n}}function rL(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>WI(nL(e)))}var iL=function(e){return e===void 0&&(e={}),{name:`inline`,options:e,async fn(t){let{placement:n,elements:r,rects:i,platform:a,strategy:o}=t,{padding:s=2,x:c,y:l}=TI(e,t),u=Array.from(await(a.getClientRects==null?void 0:a.getClientRects(r.reference))||[]);if(!u.length)return{};let d=rL(u),f=WI(nL(u)),p=UI(s);function m(){if(d.length===2&&(d[0].left>d[1].right||d[1].left>d[0].right)&&c!=null&&l!=null)return d.find(e=>c>e.left-p.left&&c<e.right+p.right&&l>e.top-p.top&&l<e.bottom+p.bottom)||f;if(d.length>=2){if(AI(n)===`y`){let e=d[0],t=d[d.length-1],r=EI(n)===`top`,i=e.top,a=t.bottom,o=r?e.left:t.left;return WI({x:o,y:i,width:(r?e.right:t.right)-o,height:a-i})}let e=EI(n)===`left`,t=yI(...d.map(e=>e.right)),r=vI(...d.map(e=>e.left)),i=d.filter(n=>e?n.left===r:n.right===t),a=i[0].top,o=i[i.length-1].bottom;return WI({x:r,y:a,width:t-r,height:o-a})}return f}let h=await a.getElementRects({reference:{getBoundingClientRect:m},floating:r.floating,strategy:o});return i.reference.x!==h.reference.x||i.reference.y!==h.reference.y||i.reference.width!==h.reference.width||i.reference.height!==h.reference.height?{reset:{rects:h}}:{}}}},aL=new Set([`left`,`top`]);async function oL(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=EI(n),s=DI(n),c=AI(n)===`y`,l=aL.has(o)?-1:1,u=a&&c?-1:1,d=TI(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var sL=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await oL(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},cL=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=TI(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=AI(i),p=OI(f),m=u[p],h=u[f],g=(e,t)=>wI(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},lL=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=TI(e,t),u={x:n,y:r},d=AI(i),f=OI(d),p=u[f],m=u[d],h=TI(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=aL.has(EI(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},uL=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=TI(e,t),c=await i.detectOverflow(t,s),l=EI(n),u=DI(n),d=AI(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=vI(p-c[m],g),y=vI(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*yI(c.left,c.right):S=p-2*yI(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function dL(){return typeof window<`u`}function fL(e){return hL(e)?(e.nodeName||``).toLowerCase():`#document`}function pL(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function mL(e){return((hL(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function hL(e){return dL()?e instanceof Node||e instanceof pL(e).Node:!1}function gL(e){return dL()?e instanceof Element||e instanceof pL(e).Element:!1}function _L(e){return dL()?e instanceof HTMLElement||e instanceof pL(e).HTMLElement:!1}function vL(e){return!dL()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof pL(e).ShadowRoot}function yL(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=AL(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function bL(e){return/^(table|td|th)$/.test(fL(e))}function xL(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var SL=/transform|translate|scale|rotate|perspective|filter/,CL=/paint|layout|strict|content/,wL=e=>!!e&&e!==`none`,TL;function EL(e){let t=gL(e)?AL(e):e;return wL(t.transform)||wL(t.translate)||wL(t.scale)||wL(t.rotate)||wL(t.perspective)||!OL()&&(wL(t.backdropFilter)||wL(t.filter))||SL.test(t.willChange||``)||CL.test(t.contain||``)}function DL(e){let t=ML(e);for(;_L(t)&&!kL(t);){if(EL(t))return t;if(xL(t))return null;t=ML(t)}return null}function OL(){return TL??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),TL}function kL(e){return/^(html|body|#document)$/.test(fL(e))}function AL(e){return pL(e).getComputedStyle(e)}function jL(e){return gL(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ML(e){if(fL(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||vL(e)&&e.host||mL(e);return vL(t)?t.host:t}function NL(e){let t=ML(e);return kL(t)?(e.ownerDocument||e).body:_L(t)&&yL(t)?t:NL(t)}function PL(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=NL(e),i=r===e.ownerDocument?.body,a=pL(r);if(i){let e=FL(a);return t.concat(a,a.visualViewport||[],yL(r)?r:[],e&&n?PL(e):[])}return t.concat(r,PL(r,[],n))}function FL(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function IL(e){let t=AL(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=_L(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=bI(n)!==a||bI(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function LL(e){return gL(e)?e:e.contextElement}function RL(e){let t=LL(e);if(!_L(t))return SI(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=IL(t),o=(a?bI(n.width):n.width)/r,s=(a?bI(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var zL=SI(0);function BL(e){let t=pL(e);return!OL()||!t.visualViewport?zL:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function VL(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===pL(e)}function HL(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=LL(e),o=SI(1);t&&(r?gL(r)&&(o=RL(r)):o=RL(e));let s=VL(a,n,r)?BL(a):SI(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=pL(a),t=gL(r)?pL(r):r,n=e,i=FL(n);for(;i&&t!==n;){let e=RL(i),t=i.getBoundingClientRect(),r=AL(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=pL(i),i=FL(n)}}return WI({width:u,height:d,x:c,y:l})}function UL(e,t){let n=jL(e).scrollLeft;return t?t.left+n:HL(mL(e)).left+n}function WL(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-UL(e,n),y:n.top+t.scrollTop}}function GL(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=mL(r),s=t?xL(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=SI(1),u=SI(0),d=_L(r);if((d||!a)&&((fL(r)!==`body`||yL(o))&&(c=jL(r)),d)){let e=HL(r);l=RL(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?WL(o,c):SI(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function KL(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function qL(e){let t=jL(e),n=e.ownerDocument.body,r=yI(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=yI(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+UL(e),o=-t.scrollTop;return AL(n).direction===`rtl`&&(a+=yI(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var JL=25;function YL(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=pL(e),a=mL(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!OL()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(UL(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=JL&&(s-=o)}return{width:s,height:c,x:l,y:u}}function XL(e,t){let n=HL(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=RL(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function ZL(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=YL(e,n,t);else if(t===`document`)r=qL(mL(e));else if(gL(t))r=XL(t,n);else{let n=BL(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return WI(r)}function QL(e,t){let n=t.get(e);if(n)return n;let r=PL(e,[],!1).filter(e=>gL(e)&&fL(e)!==`body`),i=null,a=AL(e).position===`fixed`,o=a?ML(e):e;for(;gL(o)&&!kL(o);){let e=AL(o),t=EL(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=ML(o)}return t.set(e,r),r}function $L(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?xL(t)?[]:QL(t,this._c):[].concat(n),r],o=ZL(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=ZL(t,a[e],i);s=yI(n.top,s),c=vI(n.right,c),l=vI(n.bottom,l),u=yI(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function eR(e){let{width:t,height:n}=IL(e);return{width:t,height:n}}function tR(e,t,n){let r=_L(t),i=mL(t),a=n===`fixed`,o=HL(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=SI(0);if((r||!a)&&((fL(t)!==`body`||yL(i))&&(s=jL(t)),r)){let e=HL(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=UL(i));let l=i&&!r&&!a?WL(i,s):SI(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function nR(e){return AL(e).position===`static`}function rR(e,t){if(!_L(e)||AL(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return mL(e)===n&&(n=n.ownerDocument.body),n}function iR(e,t){let n=pL(e);if(xL(e))return n;if(!_L(e)){let t=ML(e);for(;t&&!kL(t);){if(gL(t)&&!nR(t))return t;t=ML(t)}return n}let r=rR(e,t);for(;r&&bL(r)&&nR(r);)r=rR(r,t);return r&&kL(r)&&nR(r)&&!EL(r)?n:r||DL(e)||n}var aR=async function(e){let t=this.getOffsetParent||iR,n=this.getDimensions,r=await n(e.floating);return{reference:tR(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function oR(e){return AL(e).direction===`rtl`}var sR={convertOffsetParentRelativeRectToViewportRelativeRect:GL,getDocumentElement:mL,getClippingRect:$L,getOffsetParent:iR,getElementRects:aR,getClientRects:KL,getDimensions:eR,getScale:RL,isElement:gL,isRTL:oR};function cR(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function lR(e,t,n){let r=null,i,a=mL(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=xI(d),h=xI(a.clientWidth-(u+f)),g=xI(a.clientHeight-(d+p)),_=xI(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:yI(0,vI(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!cR(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=pL(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function uR(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=LL(e),u=i||a?[...l?PL(l):[],...t?PL(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?lR(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?HL(e):null;c&&g();function g(){let t=HL(e);h&&!cR(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var dR=sL,fR=ZI,pR=cL,mR=QI,hR=uL,gR=tL,_R=YI,vR=iL,yR=lL,bR=(e,t,n)=>{let r=new Map,i=n??{},a={...sR,...i.platform,_c:r};return JI(e,t,{...i,platform:a})},xR,SR;if(typeof WeakMap<`u`){let e=new WeakMap;xR=t=>e.get(t),SR=(t,n)=>(e.set(t,n),n)}else{let e=[],t=0;xR=t=>{for(let n=0;n<e.length;n+=2)if(e[n]==t)return e[n+1]},SR=(n,r)=>(t==10&&(t=0),e[t++]=n,e[t++]=r)}var CR=class{constructor(e,t,n,r){this.width=e,this.height=t,this.map=n,this.problems=r}findCell(e){for(let t=0;t<this.map.length;t++){let n=this.map[t];if(n!=e)continue;let r=t%this.width,i=t/this.width|0,a=r+1,o=i+1;for(let e=1;a<this.width&&this.map[t+e]==n;e++)a++;for(let e=1;o<this.height&&this.map[t+this.width*e]==n;e++)o++;return{left:r,top:i,right:a,bottom:o}}throw RangeError(`No cell with offset ${e} found`)}colCount(e){for(let t=0;t<this.map.length;t++)if(this.map[t]==e)return t%this.width;throw RangeError(`No cell with offset ${e} found`)}nextCell(e,t,n){let{left:r,right:i,top:a,bottom:o}=this.findCell(e);return t==`horiz`?(n<0?r==0:i==this.width)?null:this.map[a*this.width+(n<0?r-1:i)]:(n<0?a==0:o==this.height)?null:this.map[r+this.width*(n<0?a-1:o)]}rectBetween(e,t){let{left:n,right:r,top:i,bottom:a}=this.findCell(e),{left:o,right:s,top:c,bottom:l}=this.findCell(t);return{left:Math.min(n,o),top:Math.min(i,c),right:Math.max(r,s),bottom:Math.max(a,l)}}cellsInRect(e){let t=[],n={};for(let r=e.top;r<e.bottom;r++)for(let i=e.left;i<e.right;i++){let a=r*this.width+i,o=this.map[a];n[o]||(n[o]=!0,i==e.left&&i&&this.map[a-1]==o||r==e.top&&r&&this.map[a-this.width]==o||t.push(o))}return t}positionAt(e,t,n){for(let r=0,i=0;;r++){let a=i+n.child(r).nodeSize;if(r==e){let n=t+e*this.width,r=(e+1)*this.width;for(;n<r&&this.map[n]<i;)n++;return n==r?a-1:this.map[n]}i=a}}static get(e){return xR(e)||SR(e,wR(e))}};function wR(e){if(e.type.spec.tableRole!=`table`)throw RangeError(`Not a table node: `+e.type.name);let t=TR(e),n=e.childCount,r=[],i=0,a=null,o=[];for(let e=0,i=t*n;e<i;e++)r[e]=0;for(let s=0,c=0;s<n;s++){let l=e.child(s);c++;for(let e=0;;e++){for(;i<r.length&&r[i]!=0;)i++;if(e==l.childCount)break;let u=l.child(e),{colspan:d,rowspan:f,colwidth:p}=u.attrs;for(let e=0;e<f;e++){if(e+s>=n){(a||=[]).push({type:`overlong_rowspan`,pos:c,n:f-e});break}let l=i+e*t;for(let e=0;e<d;e++){r[l+e]==0?r[l+e]=c:(a||=[]).push({type:`collision`,row:s,pos:c,n:d-e});let n=p&&p[e];if(n){let r=(l+e)%t*2,i=o[r];i==null||i!=n&&o[r+1]==1?(o[r]=n,o[r+1]=1):i==n&&o[r+1]++}}}i+=d,c+=u.nodeSize}let u=(s+1)*t,d=0;for(;i<u;)r[i++]==0&&d++;d&&(a||=[]).push({type:`missing`,row:s,n:d}),c++}(t===0||n===0)&&(a||=[]).push({type:`zero_sized`});let s=new CR(t,n,r,a),c=!1;for(let e=0;!c&&e<o.length;e+=2)o[e]!=null&&o[e+1]<n&&(c=!0);return c&&ER(s,o,e),s}function TR(e){let t=-1,n=!1;for(let r=0;r<e.childCount;r++){let i=e.child(r),a=0;if(n)for(let t=0;t<r;t++){let n=e.child(t);for(let e=0;e<n.childCount;e++){let i=n.child(e);t+i.attrs.rowspan>r&&(a+=i.attrs.colspan)}}for(let e=0;e<i.childCount;e++){let t=i.child(e);a+=t.attrs.colspan,t.attrs.rowspan>1&&(n=!0)}t==-1?t=a:t!=a&&(t=Math.max(t,a))}return t}function ER(e,t,n){e.problems||=[];let r={};for(let i=0;i<e.map.length;i++){let a=e.map[i];if(r[a])continue;r[a]=!0;let o=n.nodeAt(a);if(!o)throw RangeError(`No cell with offset ${a} found`);let s=null,c=o.attrs;for(let n=0;n<c.colspan;n++){let r=t[(i+n)%e.width*2];r==null||c.colwidth&&c.colwidth[n]==r||((s||=Wre(c))[n]=r)}s&&e.problems.unshift({type:`colwidth mismatch`,pos:a,colwidth:s})}}function Wre(e){if(e.colwidth)return e.colwidth.slice();let t=[];for(let n=0;n<e.colspan;n++)t.push(0);return t}function DR(e){let t=e.cached.tableNodeTypes;if(!t){t=e.cached.tableNodeTypes={};for(let n in e.nodes){let r=e.nodes[n],i=r.spec.tableRole;i&&(t[i]=r)}}return t}new nS(`selectingCells`);function Gre(e){for(let t=e.depth-1;t>0;t--)if(e.node(t).type.spec.tableRole==`row`)return e.node(0).resolve(e.before(t+1));return null}function OR(e){let t=e.selection.$head;for(let e=t.depth;e>0;e--)if(t.node(e).type.spec.tableRole==`row`)return!0;return!1}function Kre(e){let t=e.selection;if(`$anchorCell`in t&&t.$anchorCell)return t.$anchorCell.pos>t.$headCell.pos?t.$anchorCell:t.$headCell;if(`node`in t&&t.node&&t.node.type.spec.tableRole==`cell`)return t.$anchor;let n=Gre(t.$head)||qre(t.$head);if(n)return n;throw RangeError(`No cell found around position ${t.head}`)}function qre(e){for(let t=e.nodeAfter,n=e.pos;t;t=t.firstChild,n++){let r=t.type.spec.tableRole;if(r==`cell`||r==`header_cell`)return e.doc.resolve(n)}for(let t=e.nodeBefore,n=e.pos;t;t=t.lastChild,n--){let r=t.type.spec.tableRole;if(r==`cell`||r==`header_cell`)return e.doc.resolve(n-t.nodeSize)}}function kR(e){return e.parent.type.spec.tableRole==`row`&&!!e.nodeAfter}function AR(e,t){return e.depth==t.depth&&e.pos>=t.start(-1)&&e.pos<=t.end(-1)}function jR(e,t,n){let r=e.node(-1),i=CR.get(r),a=e.start(-1),o=i.nextCell(e.pos-a,t,n);return o==null?null:e.node(0).resolve(a+o)}function MR(e,t,n=1){let r={...e,colspan:e.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(t,n),r.colwidth.some(e=>e>0)||(r.colwidth=null)),r}var NR=class e extends Fx{constructor(e,t=e){let n=e.node(-1),r=CR.get(n),i=e.start(-1),a=r.rectBetween(e.pos-i,t.pos-i),o=e.node(0),s=r.cellsInRect(a).filter(e=>e!=t.pos-i);s.unshift(t.pos-i);let c=s.map(e=>{let t=n.nodeAt(e);if(!t)throw RangeError(`No cell with offset ${e} found`);let r=i+e+1;return new Ix(o.resolve(r),o.resolve(r+t.content.size))});super(c[0].$from,c[0].$to,c),this.$anchorCell=e,this.$headCell=t}map(t,n){let r=t.resolve(n.map(this.$anchorCell.pos)),i=t.resolve(n.map(this.$headCell.pos));if(kR(r)&&kR(i)&&AR(r,i)){let t=this.$anchorCell.node(-1)!=r.node(-1);return t&&this.isRowSelection()?e.rowSelection(r,i):t&&this.isColSelection()?e.colSelection(r,i):new e(r,i)}return zx.between(r,i)}content(){let e=this.$anchorCell.node(-1),t=CR.get(e),n=this.$anchorCell.start(-1),r=t.rectBetween(this.$anchorCell.pos-n,this.$headCell.pos-n),i={},a=[];for(let n=r.top;n<r.bottom;n++){let o=[];for(let a=n*t.width+r.left,s=r.left;s<r.right;s++,a++){let n=t.map[a];if(i[n])continue;i[n]=!0;let s=t.findCell(n),c=e.nodeAt(n);if(!c)throw RangeError(`No cell with offset ${n} found`);let l=r.left-s.left,u=s.right-r.right;if(l>0||u>0){let e=c.attrs;if(l>0&&(e=MR(e,0,l)),u>0&&(e=MR(e,e.colspan-u,u)),s.left<r.left){if(c=c.type.createAndFill(e),!c)throw RangeError(`Could not create cell with attrs ${JSON.stringify(e)}`)}else c=c.type.create(e,c.content)}if(s.top<r.top||s.bottom>r.bottom){let e={...c.attrs,rowspan:Math.min(s.bottom,r.bottom)-Math.max(s.top,r.top)};c=s.top<r.top?c.type.createAndFill(e):c.type.create(e,c.content)}o.push(c)}a.push(e.child(n).copy(K.from(o)))}let o=this.isColSelection()&&this.isRowSelection()?e:a;return new q(K.from(o),1,1)}replace(e,t=q.empty){let n=e.steps.length,r=this.ranges;for(let i=0;i<r.length;i++){let{$from:a,$to:o}=r[i],s=e.mapping.slice(n);e.replace(s.map(a.pos),s.map(o.pos),i?q.empty:t)}let i=Fx.findFrom(e.doc.resolve(e.mapping.slice(n).map(this.to)),-1);i&&e.setSelection(i)}replaceWith(e,t){this.replace(e,new q(K.from(t),0,0))}forEachCell(e){let t=this.$anchorCell.node(-1),n=CR.get(t),r=this.$anchorCell.start(-1),i=n.cellsInRect(n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r));for(let n=0;n<i.length;n++)e(t.nodeAt(i[n]),r+i[n])}isColSelection(){let e=this.$anchorCell.index(-1),t=this.$headCell.index(-1);if(Math.min(e,t)>0)return!1;let n=e+this.$anchorCell.nodeAfter.attrs.rowspan,r=t+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(n,r)==this.$headCell.node(-1).childCount}static colSelection(t,n=t){let r=t.node(-1),i=CR.get(r),a=t.start(-1),o=i.findCell(t.pos-a),s=i.findCell(n.pos-a),c=t.node(0);return o.top<=s.top?(o.top>0&&(t=c.resolve(a+i.map[o.left])),s.bottom<i.height&&(n=c.resolve(a+i.map[i.width*(i.height-1)+s.right-1]))):(s.top>0&&(n=c.resolve(a+i.map[s.left])),o.bottom<i.height&&(t=c.resolve(a+i.map[i.width*(i.height-1)+o.right-1]))),new e(t,n)}isRowSelection(){let e=this.$anchorCell.node(-1),t=CR.get(e),n=this.$anchorCell.start(-1),r=t.colCount(this.$anchorCell.pos-n),i=t.colCount(this.$headCell.pos-n);if(Math.min(r,i)>0)return!1;let a=r+this.$anchorCell.nodeAfter.attrs.colspan,o=i+this.$headCell.nodeAfter.attrs.colspan;return Math.max(a,o)==t.width}eq(t){return t instanceof e&&t.$anchorCell.pos==this.$anchorCell.pos&&t.$headCell.pos==this.$headCell.pos}static rowSelection(t,n=t){let r=t.node(-1),i=CR.get(r),a=t.start(-1),o=i.findCell(t.pos-a),s=i.findCell(n.pos-a),c=t.node(0);return o.left<=s.left?(o.left>0&&(t=c.resolve(a+i.map[o.top*i.width])),s.right<i.width&&(n=c.resolve(a+i.map[i.width*(s.top+1)-1]))):(s.left>0&&(n=c.resolve(a+i.map[s.top*i.width])),o.right<i.width&&(t=c.resolve(a+i.map[i.width*(o.top+1)-1]))),new e(t,n)}toJSON(){return{type:`cell`,anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(t,n){return new e(t.resolve(n.anchor),t.resolve(n.head))}static create(t,n,r=n){return new e(t.resolve(n),t.resolve(r))}getBookmark(){return new Jre(this.$anchorCell.pos,this.$headCell.pos)}};NR.prototype.visible=!1,Fx.jsonID(`cell`,NR);var Jre=class e{constructor(e,t){this.anchor=e,this.head=t}map(t){return new e(t.map(this.anchor),t.map(this.head))}resolve(e){let t=e.resolve(this.anchor),n=e.resolve(this.head);return t.parent.type.spec.tableRole==`row`&&n.parent.type.spec.tableRole==`row`&&t.index()<t.parent.childCount&&n.index()<n.parent.childCount&&AR(t,n)?new NR(t,n):Fx.near(n,1)}};new nS(`fix-tables`);function PR(e){let t=e.selection,n=Kre(e),r=n.node(-1),i=n.start(-1),a=CR.get(r);return{...t instanceof NR?a.rectBetween(t.$anchorCell.pos-i,t.$headCell.pos-i):a.findCell(n.pos-i),tableStart:i,map:a,table:r}}function Yre(e){return function(t,n){if(!OR(t))return!1;if(n){let r=DR(t.schema),i=PR(t),a=t.tr,o=i.map.cellsInRect(e==`column`?{left:i.left,top:0,right:i.right,bottom:i.map.height}:e==`row`?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),s=o.map(e=>i.table.nodeAt(e));for(let e=0;e<o.length;e++)s[e].type==r.header_cell&&a.setNodeMarkup(i.tableStart+o[e],r.cell,s[e].attrs);if(a.steps.length===0)for(let e=0;e<o.length;e++)a.setNodeMarkup(i.tableStart+o[e],r.header_cell,s[e].attrs);n(a)}return!0}}function FR(e,t,n){let r=t.map.cellsInRect({left:0,top:0,right:e==`row`?t.map.width:1,bottom:e==`column`?t.map.height:1});for(let e=0;e<r.length;e++){let i=t.table.nodeAt(r[e]);if(i&&i.type!==n.header_cell)return!1}return!0}function IR(e,t){return t||={useDeprecatedLogic:!1},t.useDeprecatedLogic?Yre(e):function(t,n){if(!OR(t))return!1;if(n){let r=DR(t.schema),i=PR(t),a=t.tr,o=FR(`row`,i,r),s=FR(`column`,i,r),c=(e===`column`?o:e===`row`&&s)?1:0,l=e==`column`?{left:0,top:c,right:1,bottom:i.map.height}:e==`row`?{left:c,top:0,right:i.map.width,bottom:1}:i,u=e==`column`?s?r.cell:r.header_cell:e==`row`?o?r.cell:r.header_cell:r.cell;i.map.cellsInRect(l).forEach(e=>{let t=e+i.tableStart,n=a.doc.nodeAt(t);n&&a.setNodeMarkup(t,u,n.attrs)}),n(a)}return!0}}IR(`row`,{useDeprecatedLogic:!0}),IR(`column`,{useDeprecatedLogic:!0}),IR(`cell`,{useDeprecatedLogic:!0});function LR(e,t){let n=e.selection;if(!(n instanceof NR))return!1;if(t){let r=e.tr,i=DR(e.schema).cell.createAndFill().content;n.forEachCell((e,t)=>{e.content.eq(i)||r.replace(r.mapping.map(t+1),r.mapping.map(t+e.nodeSize-1),new q(i,0,0))}),r.docChanged&&t(r)}return!0}UE({ArrowLeft:zR(`horiz`,-1),ArrowRight:zR(`horiz`,1),ArrowUp:zR(`vert`,-1),ArrowDown:zR(`vert`,1),"Shift-ArrowLeft":BR(`horiz`,-1),"Shift-ArrowRight":BR(`horiz`,1),"Shift-ArrowUp":BR(`vert`,-1),"Shift-ArrowDown":BR(`vert`,1),Backspace:LR,"Mod-Backspace":LR,Delete:LR,"Mod-Delete":LR});function RR(e,t,n){return!n.eq(e.selection)&&(t&&t(e.tr.setSelection(n).scrollIntoView()),!0)}function zR(e,t){return(n,r,i)=>{if(!i)return!1;let a=n.selection;if(a instanceof NR)return RR(n,r,Fx.near(a.$headCell,t));if(e!=`horiz`&&!a.empty)return!1;let o=VR(i,e,t);if(o==null)return!1;if(e==`horiz`)return RR(n,r,Fx.near(n.doc.resolve(a.head+t),t));{let i=n.doc.resolve(o),a=jR(i,e,t),s;return s=a?Fx.near(a,1):t<0?Fx.near(n.doc.resolve(i.before(-1)),-1):Fx.near(n.doc.resolve(i.after(-1)),1),RR(n,r,s)}}}function BR(e,t){return(n,r,i)=>{if(!i)return!1;let a=n.selection,o;if(a instanceof NR)o=a;else{let r=VR(i,e,t);if(r==null)return!1;o=new NR(n.doc.resolve(r))}let s=jR(o.$headCell,e,t);return s?RR(n,r,new NR(o.$anchorCell,s)):!1}}function VR(e,t,n){if(!(e.state.selection instanceof zx))return null;let{$head:r}=e.state.selection;for(let i=r.depth-1;i>=0;i--){let a=r.node(i);if((n<0?r.index(i):r.indexAfter(i))!=(n<0?0:a.childCount))return null;if(a.type.spec.tableRole==`cell`||a.type.spec.tableRole==`header_cell`){let a=r.before(i),o=t==`vert`?n>0?`down`:`up`:n>0?`right`:`left`;return e.endOfTextblock(o)?a:null}}return null}new nS(`tableColumnResizing`);function Xre(e,t){let n=Math.min(e.top,t.top),r=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left),a=Math.max(e.right,t.right)-i,o=r-n;return new DOMRect(i,n,a,o)}var Zre=class{get middlewares(){let e=[];return this.floatingUIOptions.flip&&e.push(mR(typeof this.floatingUIOptions.flip==`boolean`?void 0:this.floatingUIOptions.flip)),this.floatingUIOptions.shift&&e.push(pR(typeof this.floatingUIOptions.shift==`boolean`?void 0:this.floatingUIOptions.shift)),this.floatingUIOptions.offset&&e.push(dR(typeof this.floatingUIOptions.offset==`boolean`?void 0:this.floatingUIOptions.offset)),this.floatingUIOptions.arrow&&e.push(_R(this.floatingUIOptions.arrow)),this.floatingUIOptions.size&&e.push(hR(typeof this.floatingUIOptions.size==`boolean`?void 0:this.floatingUIOptions.size)),this.floatingUIOptions.autoPlacement&&e.push(fR(typeof this.floatingUIOptions.autoPlacement==`boolean`?void 0:this.floatingUIOptions.autoPlacement)),this.floatingUIOptions.hide&&e.push(gR(typeof this.floatingUIOptions.hide==`boolean`?void 0:this.floatingUIOptions.hide)),this.floatingUIOptions.inline&&e.push(vR(typeof this.floatingUIOptions.inline==`boolean`?void 0:this.floatingUIOptions.inline)),e}get virtualElement(){var e;let{selection:t}=this.editor.state,n=this.getReferencedVirtualElement?.call(this);if(n)return n;if(!((e=this.view)!=null&&(e=e.dom)!=null&&e.parentNode))return;let r=zO(this.view,t.from,t.to),i={getBoundingClientRect:()=>r,getClientRects:()=>[r]};if(t instanceof Vx){let e=this.view.nodeDOM(t.from),n=e.dataset.nodeViewWrapper?e:e.querySelector(`[data-node-view-wrapper]`);n&&(e=n),e&&(i={getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>[e.getBoundingClientRect()]})}if(t instanceof NR){let{$anchorCell:e,$headCell:n}=t,r=e?e.pos:n.pos,a=n?n.pos:e.pos,o=this.view.nodeDOM(r),s=this.view.nodeDOM(a);if(!o||!s)return;let c=o===s?o.getBoundingClientRect():Xre(o.getBoundingClientRect(),s.getBoundingClientRect());i={getBoundingClientRect:()=>c,getClientRects:()=>[c]}}return i}constructor({editor:e,element:t,view:n,pluginKey:r=`bubbleMenu`,updateDelay:i=250,resizeDelay:a=60,shouldShow:o,appendTo:s,getReferencedVirtualElement:c,options:l}){this.preventHide=!1,this.isVisible=!1,this.scrollTarget=window,this.floatingUIOptions={strategy:`absolute`,placement:`top`,offset:8,flip:{},shift:{},arrow:!1,size:!1,autoPlacement:!1,hide:!1,inline:!1,onShow:void 0,onHide:void 0,onUpdate:void 0,onDestroy:void 0},this.shouldShow=({view:e,state:t,from:n,to:r})=>{let{doc:i,selection:a}=t,{empty:o}=a,s=!i.textBetween(n,r).length&&_D(t.selection),c=this.element.contains(document.activeElement);return!(!(e.hasFocus()||c)||o||s||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.resizeHandler=()=>{this.resizeDebounceTimer&&clearTimeout(this.resizeDebounceTimer),this.resizeDebounceTimer=window.setTimeout(()=>{this.updatePosition()},this.resizeDelay)},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:e})=>{this.editor.isDestroyed?this.destroy():this.preventHide?this.preventHide=!1:e?.relatedTarget&&this.element.parentNode?.contains(e.relatedTarget)||e?.relatedTarget!==this.editor.view.dom&&this.hide()},this.handleDebouncedUpdate=(e,t)=>{let n=!t?.selection.eq(e.state.selection),r=!t?.doc.eq(e.state.doc);(n||r)&&(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(e,n,r,t)},this.updateDelay))},this.updateHandler=(e,t,n,r)=>{let{composing:i}=e;i||!t&&!n||(this.getShouldShow(r)?(this.show(),this.updatePosition()):this.hide())},this.transactionHandler=({transaction:e})=>{let t=e.getMeta(this.pluginKey);t===`updatePosition`?this.updatePosition():t&&typeof t==`object`&&t.type===`updateOptions`?this.updateOptions(t.options):t===`hide`?this.hide():t===`show`&&(this.updatePosition(),this.show())},this.editor=e,this.element=t,this.view=n,this.pluginKey=r,this.updateDelay=i,this.resizeDelay=a,this.appendTo=s,this.scrollTarget=l?.scrollTarget??window,this.getReferencedVirtualElement=c,this.floatingUIOptions={...this.floatingUIOptions,...l},this.element.tabIndex=0,o&&(this.shouldShow=o),this.element.addEventListener(`mousedown`,this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener(`dragstart`,this.dragstartHandler),this.editor.on(`focus`,this.focusHandler),this.editor.on(`blur`,this.blurHandler),this.editor.on(`transaction`,this.transactionHandler),window.addEventListener(`resize`,this.resizeHandler),this.scrollTarget.addEventListener(`scroll`,this.resizeHandler),this.update(n,n.state),this.getShouldShow()&&(this.show(),this.updatePosition())}updatePosition(){if(!this.isVisible)return;let e=this.virtualElement;e&&bR(e,this.element,{placement:this.floatingUIOptions.placement,strategy:this.floatingUIOptions.strategy,middleware:this.middlewares}).then(({x:e,y:t,strategy:n,middlewareData:r})=>{this.isVisible&&!this.editor.isDestroyed&&this.element.isConnected&&(r.hide?.referenceHidden||r.hide?.escaped?this.element.style.visibility=`hidden`:(this.element.style.visibility=`visible`,this.element.style.width=`max-content`,this.element.style.position=n,this.element.style.left=`${e}px`,this.element.style.top=`${t}px`,this.isVisible&&this.floatingUIOptions.onUpdate&&this.floatingUIOptions.onUpdate()))})}update(e,t){let{state:n}=e,r=n.selection.from!==n.selection.to;if(this.updateDelay>0&&r){this.handleDebouncedUpdate(e,t);return}let i=!t?.selection.eq(e.state.selection),a=!t?.doc.eq(e.state.doc);this.updateHandler(e,i,a,t)}getShouldShow(e){let{state:t}=this.view,{selection:n}=t,{ranges:r}=n,i=Math.min(...r.map(e=>e.$from.pos)),a=Math.max(...r.map(e=>e.$to.pos));return this.shouldShow?.call(this,{editor:this.editor,element:this.element,view:this.view,state:t,oldState:e,from:i,to:a})||!1}show(){var e;this.isVisible||=(this.element.style.visibility=`visible`,this.element.style.opacity=`1`,(e=(typeof this.appendTo==`function`?this.appendTo():this.appendTo)??this.view.dom.parentElement)==null||e.appendChild(this.element),this.floatingUIOptions.onShow&&this.floatingUIOptions.onShow(),!0)}hide(){this.isVisible&&=(this.element.style.visibility=`hidden`,this.element.style.opacity=`0`,this.element.remove(),this.floatingUIOptions.onHide&&this.floatingUIOptions.onHide(),!1)}updateOptions(e){if(e.updateDelay!==void 0&&(this.updateDelay=e.updateDelay),e.resizeDelay!==void 0&&(this.resizeDelay=e.resizeDelay),e.appendTo!==void 0&&(this.appendTo=e.appendTo),e.getReferencedVirtualElement!==void 0&&(this.getReferencedVirtualElement=e.getReferencedVirtualElement),e.shouldShow!==void 0&&e.shouldShow&&(this.shouldShow=e.shouldShow),e.options!==void 0){let t=e.options.scrollTarget??window;t!==this.scrollTarget&&(this.scrollTarget.removeEventListener(`scroll`,this.resizeHandler),this.scrollTarget=t,this.scrollTarget.addEventListener(`scroll`,this.resizeHandler)),this.floatingUIOptions={...this.floatingUIOptions,...e.options}}}destroy(){this.hide(),this.element.removeEventListener(`mousedown`,this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener(`dragstart`,this.dragstartHandler),window.removeEventListener(`resize`,this.resizeHandler),this.scrollTarget.removeEventListener(`scroll`,this.resizeHandler),this.editor.off(`focus`,this.focusHandler),this.editor.off(`blur`,this.blurHandler),this.editor.off(`transaction`,this.transactionHandler),this.floatingUIOptions.onDestroy&&this.floatingUIOptions.onDestroy()}},HR=e=>new $x({key:typeof e.pluginKey==`string`?new nS(e.pluginKey):e.pluginKey,view:t=>new Zre({view:t,...e})});nA.create({name:`bubbleMenu`,addOptions(){return{element:null,pluginKey:`bubbleMenu`,updateDelay:void 0,appendTo:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[HR({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,updateDelay:this.options.updateDelay,options:this.options.options,appendTo:this.options.appendTo,getReferencedVirtualElement:this.options.getReferencedVirtualElement,shouldShow:this.options.shouldShow})]:[]}});var Qre=class{getTextContent(e){return xO(e,{textSerializers:SO(this.editor.schema)})}get middlewares(){let e=[];return this.floatingUIOptions.flip&&e.push(mR(typeof this.floatingUIOptions.flip==`boolean`?void 0:this.floatingUIOptions.flip)),this.floatingUIOptions.shift&&e.push(pR(typeof this.floatingUIOptions.shift==`boolean`?void 0:this.floatingUIOptions.shift)),this.floatingUIOptions.offset&&e.push(dR(typeof this.floatingUIOptions.offset==`boolean`?void 0:this.floatingUIOptions.offset)),this.floatingUIOptions.arrow&&e.push(_R(this.floatingUIOptions.arrow)),this.floatingUIOptions.size&&e.push(hR(typeof this.floatingUIOptions.size==`boolean`?void 0:this.floatingUIOptions.size)),this.floatingUIOptions.autoPlacement&&e.push(fR(typeof this.floatingUIOptions.autoPlacement==`boolean`?void 0:this.floatingUIOptions.autoPlacement)),this.floatingUIOptions.hide&&e.push(gR(typeof this.floatingUIOptions.hide==`boolean`?void 0:this.floatingUIOptions.hide)),this.floatingUIOptions.inline&&e.push(vR(typeof this.floatingUIOptions.inline==`boolean`?void 0:this.floatingUIOptions.inline)),e}constructor({editor:e,element:t,view:n,pluginKey:r=`floatingMenu`,updateDelay:i=250,resizeDelay:a=60,options:o,appendTo:s,shouldShow:c}){this.preventHide=!1,this.isVisible=!1,this.scrollTarget=window,this.shouldShow=({view:e,state:t})=>{let{selection:n}=t,{$anchor:r,empty:i}=n,a=r.depth===1,o=r.parent.isTextblock&&!r.parent.type.spec.code&&!r.parent.textContent&&r.parent.childCount===0&&!this.getTextContent(r.parent);return!(!e.hasFocus()||!i||!a||!o||!this.editor.isEditable)},this.floatingUIOptions={strategy:`absolute`,placement:`right`,offset:8,flip:{},shift:{},arrow:!1,size:!1,autoPlacement:!1,hide:!1,inline:!1},this.updateHandler=(e,t,n,r)=>{let{composing:i}=e;i||!t&&!n||(this.getShouldShow(r)?(this.updatePosition(),this.show()):this.hide())},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:e})=>{this.preventHide?this.preventHide=!1:e?.relatedTarget&&this.element.parentNode?.contains(e.relatedTarget)||e?.relatedTarget!==this.editor.view.dom&&this.hide()},this.transactionHandler=({transaction:e})=>{let t=e.getMeta(this.pluginKey);t===`updatePosition`?this.updatePosition():t&&typeof t==`object`&&t.type===`updateOptions`?this.updateOptions(t.options):t===`hide`?this.hide():t===`show`&&(this.updatePosition(),this.show())},this.resizeHandler=()=>{this.resizeDebounceTimer&&clearTimeout(this.resizeDebounceTimer),this.resizeDebounceTimer=window.setTimeout(()=>{this.updatePosition()},this.resizeDelay)},this.editor=e,this.element=t,this.view=n,this.pluginKey=r,this.updateDelay=i,this.resizeDelay=a,this.appendTo=s,this.scrollTarget=o?.scrollTarget??window,this.floatingUIOptions={...this.floatingUIOptions,...o},this.element.tabIndex=0,c&&(this.shouldShow=c),this.element.addEventListener(`mousedown`,this.mousedownHandler,{capture:!0}),this.editor.on(`focus`,this.focusHandler),this.editor.on(`blur`,this.blurHandler),this.editor.on(`transaction`,this.transactionHandler),window.addEventListener(`resize`,this.resizeHandler),this.scrollTarget.addEventListener(`scroll`,this.resizeHandler),this.update(n,n.state),this.getShouldShow()&&(this.show(),this.updatePosition())}getShouldShow(e){let{state:t}=this.view,{selection:n}=t,{ranges:r}=n,i=Math.min(...r.map(e=>e.$from.pos)),a=Math.max(...r.map(e=>e.$to.pos));return this.shouldShow?.call(this,{editor:this.editor,view:this.view,state:t,oldState:e,from:i,to:a})}updateOptions(e){if(e.updateDelay!==void 0&&(this.updateDelay=e.updateDelay),e.resizeDelay!==void 0&&(this.resizeDelay=e.resizeDelay),e.appendTo!==void 0&&(this.appendTo=e.appendTo),e.shouldShow!==void 0&&e.shouldShow&&(this.shouldShow=e.shouldShow),e.options!==void 0){let t=e.options.scrollTarget??window;t!==this.scrollTarget&&(this.scrollTarget.removeEventListener(`scroll`,this.resizeHandler),this.scrollTarget=t,this.scrollTarget.addEventListener(`scroll`,this.resizeHandler)),this.floatingUIOptions={...this.floatingUIOptions,...e.options}}}updatePosition(){var e;if(!((e=this.view)!=null&&(e=e.dom)!=null&&e.parentNode))return;let{selection:t}=this.editor.state,n=zO(this.view,t.from,t.to);bR({getBoundingClientRect:()=>n,getClientRects:()=>[n]},this.element,{placement:this.floatingUIOptions.placement,strategy:this.floatingUIOptions.strategy,middleware:this.middlewares}).then(({x:e,y:t,strategy:n,middlewareData:r})=>{r.hide?.referenceHidden||r.hide?.escaped?this.element.style.visibility=`hidden`:(this.element.style.visibility=`visible`,this.element.style.width=`max-content`,this.element.style.position=n,this.element.style.left=`${e}px`,this.element.style.top=`${t}px`,this.isVisible&&this.floatingUIOptions.onUpdate&&this.floatingUIOptions.onUpdate())})}update(e,t){let n=!t?.selection.eq(e.state.selection),r=!t?.doc.eq(e.state.doc);this.updateHandler(e,n,r,t)}show(){var e;this.isVisible||=(this.element.style.visibility=`visible`,this.element.style.opacity=`1`,(e=(typeof this.appendTo==`function`?this.appendTo():this.appendTo)??this.view.dom.parentElement)==null||e.appendChild(this.element),this.floatingUIOptions.onShow&&this.floatingUIOptions.onShow(),!0)}hide(){this.isVisible&&=(this.element.style.visibility=`hidden`,this.element.style.opacity=`0`,this.element.remove(),this.floatingUIOptions.onHide&&this.floatingUIOptions.onHide(),!1)}destroy(){this.hide(),this.element.removeEventListener(`mousedown`,this.mousedownHandler,{capture:!0}),window.removeEventListener(`resize`,this.resizeHandler),this.scrollTarget.removeEventListener(`scroll`,this.resizeHandler),this.editor.off(`focus`,this.focusHandler),this.editor.off(`blur`,this.blurHandler),this.editor.off(`transaction`,this.transactionHandler),this.floatingUIOptions.onDestroy&&this.floatingUIOptions.onDestroy()}},UR=e=>new $x({key:typeof e.pluginKey==`string`?new nS(e.pluginKey):e.pluginKey,view:t=>new Qre({view:t,...e})});nA.create({name:`floatingMenu`,addOptions(){return{element:null,options:{},pluginKey:`floatingMenu`,updateDelay:void 0,resizeDelay:void 0,appendTo:void 0,shouldShow:null}},addCommands(){return{updateFloatingMenuPosition:()=>({tr:e,dispatch:t})=>(t&&e.setMeta(this.options.pluginKey,`updatePosition`),!0)}},addProseMirrorPlugins(){return this.options.element?[UR({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,updateDelay:this.options.updateDelay,resizeDelay:this.options.resizeDelay,options:this.options.options,appendTo:this.options.appendTo,shouldShow:this.options.shouldShow})]:[]}});function WR(e,t){return e??new nS(t)}var $re=typeof window<`u`?U.useLayoutEffect:U.useEffect,GR=new Set([`left`,`opacity`,`position`,`top`,`visibility`,`width`]),eie=new Set(`animationIterationCount.aspectRatio.borderImageOutset.borderImageSlice.borderImageWidth.columnCount.columns.fillOpacity.flex.flexGrow.flexShrink.fontWeight.gridArea.gridColumn.gridColumnEnd.gridColumnStart.gridRow.gridRowEnd.gridRowStart.lineClamp.lineHeight.opacity.order.orphans.scale.stopOpacity.strokeDasharray.strokeDashoffset.strokeMiterlimit.strokeOpacity.strokeWidth.tabSize.widows.zIndex.zoom`.split(`.`)),tie=new Set([`children`,`className`,`style`]),nie=new Set([`tabIndex`]),rie=new Set([`accessKey`,`autoCapitalize`,`contentEditable`,`contextMenu`,`dir`,`draggable`,`enterKeyHint`,`hidden`,`id`,`lang`,`nonce`,`role`,`slot`,`spellCheck`,`tabIndex`,`title`,`translate`]),iie={Blur:`focusout`,DoubleClick:`dblclick`,Focus:`focusin`,MouseEnter:`mouseenter`,MouseLeave:`mouseleave`};function KR(e,t){return/^on[A-Z]/.test(e)&&typeof t==`function`}function aie(e){return e.startsWith(`aria-`)||e.startsWith(`data-`),e}function oie(e){return e.startsWith(`aria-`)||e.startsWith(`data-`)||rie.has(e)}function qR(e){return e.startsWith(`--`)?e:e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function sie(e){let t=e.endsWith(`Capture`),n=(t?e.slice(0,-7):e).slice(2);return{eventName:iie[n]??n.toLowerCase(),options:t?{capture:!0}:void 0}}function cie(e,t){let n=t.defaultPrevented,r=!1,i=Object.create(t);return Object.defineProperties(i,{nativeEvent:{value:t},currentTarget:{value:e},target:{value:t.target},persist:{value:()=>void 0},isDefaultPrevented:{value:()=>n},isPropagationStopped:{value:()=>r},preventDefault:{value:()=>{n=!0,t.preventDefault()}},stopPropagation:{value:()=>{r=!0,t.stopPropagation()}}}),i}function JR(e){return nie.has(e)}function YR(e,t,n){t===`tabIndex`?e.tabIndex=Number(n):e[t]=n}function lie(e,t){if(t===`tabIndex`){e.removeAttribute(`tabindex`);return}let n=e[t];e[t]=typeof n==`boolean`?!1:typeof n==`number`?0:``}function uie(e,t){return typeof t!=`number`||t===0||e.startsWith(`--`)||eie.has(e)?String(t):`${t}px`}function die(e,t){GR.has(t)||e.style.removeProperty(qR(t))}function fie(e,t,n){GR.has(t)||e.style.setProperty(qR(t),uie(t,n))}function pie(e,t,n){new Set([...Object.keys(t),...Object.keys(n)]).forEach(r=>{if(tie.has(r)||!oie(r)||KR(r,t[r])||KR(r,n[r]))return;let i=t[r],a=n[r];if(i===a)return;let o=aie(r);a==null||a===!1?(JR(r)&&lie(e,r),e.removeAttribute(o)):a===!0?(JR(r)&&YR(e,r,!0),e.setAttribute(o,``)):JR(r)?YR(e,r,a):e.setAttribute(o,String(a))})}function mie(e,t,n){t!==n&&(n?e.className=n:e.removeAttribute(`class`))}function hie(e,t,n){let r=t??{},i=n??{};new Set([...Object.keys(r),...Object.keys(i)]).forEach(t=>{let n=r[t],a=i[t];n!==a&&(a==null?die(e,t):fie(e,t,a))})}function gie(e,t,n){t.forEach(({eventName:t,listener:n,options:r})=>{e.removeEventListener(t,n,r)});let r=[];return Object.entries(n).forEach(([t,n])=>{if(!KR(t,n))return;let{eventName:i,options:a}=sie(t),o=t=>{n(cie(e,t))};e.addEventListener(i,o,a),r.push({eventName:i,listener:o,options:a})}),r}function XR(e,t){let n=(0,U.useRef)({}),r=(0,U.useRef)([]);$re(()=>{let i=n.current;return mie(e,i.className,t.className),hie(e,i.style,t.style),pie(e,i,t),r.current=gie(e,r.current,t),n.current=t,()=>{r.current.forEach(({eventName:t,listener:n,options:r})=>{e.removeEventListener(t,n,r)}),r.current=[]}},[e,t])}var _ie=U.forwardRef(({pluginKey:e,editor:t,updateDelay:n,resizeDelay:r,appendTo:i,shouldShow:a=null,getReferencedVirtualElement:o,options:s,children:c,...l},u)=>{let d=(0,U.useRef)(document.createElement(`div`)),f=(0,U.useRef)(WR(e,`bubbleMenu`)).current;XR(d.current,l),typeof u==`function`?u(d.current):u&&(u.current=d.current);let{editor:p}=Pj(),m=t||p,h={updateDelay:n,resizeDelay:r,appendTo:i,pluginKey:f,shouldShow:a,getReferencedVirtualElement:o,options:s},g=(0,U.useRef)(h);g.current=h;let[_,v]=(0,U.useState)(!1),y=(0,U.useRef)(!0);return(0,U.useEffect)(()=>{if(m?.isDestroyed)return;if(!m){console.warn(`BubbleMenu component is not rendered inside of an editor component or does not have editor prop.`);return}let e=d.current;e.style.visibility=`hidden`,e.style.position=`absolute`;let t=HR({...g.current,editor:m,element:e});m.registerPlugin(t);let n=g.current.pluginKey;return y.current=!0,v(!0),()=>{v(!1),m.unregisterPlugin(n),window.requestAnimationFrame(()=>{e.parentNode&&e.parentNode.removeChild(e)})}},[m]),(0,U.useEffect)(()=>{_&&m&&!m.isDestroyed&&(y.current?y.current=!1:m.view.dispatch(m.state.tr.setMeta(f,{type:`updateOptions`,options:g.current})))},[_,m,n,r,a,s,i,o,f]),(0,De.createPortal)(c,d.current)});U.forwardRef(({pluginKey:e,editor:t,updateDelay:n,resizeDelay:r,appendTo:i,shouldShow:a=null,options:o,children:s,...c},l)=>{let u=(0,U.useRef)(document.createElement(`div`)),d=(0,U.useRef)(WR(e,`floatingMenu`)).current;XR(u.current,c),typeof l==`function`?l(u.current):l&&(l.current=u.current);let{editor:f}=Pj(),p=t||f,m={updateDelay:n,resizeDelay:r,appendTo:i,pluginKey:d,shouldShow:a,options:o},h=(0,U.useRef)(m);h.current=m;let[g,_]=(0,U.useState)(!1),v=(0,U.useRef)(!0);return(0,U.useEffect)(()=>{if(p?.isDestroyed)return;if(!p){console.warn(`FloatingMenu component is not rendered inside of an editor component or does not have editor prop.`);return}let e=u.current;e.style.visibility=`hidden`,e.style.position=`absolute`;let t=UR({...h.current,editor:p,element:e});p.registerPlugin(t);let n=h.current.pluginKey;return v.current=!0,_(!0),()=>{_(!1),p.unregisterPlugin(n),window.requestAnimationFrame(()=>{e.parentNode&&e.parentNode.removeChild(e)})}},[p]),(0,U.useEffect)(()=>{g&&p&&!p.isDestroyed&&(v.current?v.current=!1:p.view.dispatch(p.state.tr.setMeta(d,{type:`updateOptions`,options:h.current})))},[g,p,n,r,a,o,i,d]),(0,De.createPortal)(s,u.current)});function vie({editor:e}){let t=lv(),n=(0,U.useRef)(null),r=(0,U.useRef)(null),[i]=(0,U.useState)(()=>document.createElement(`div`)),[a,o]=(0,U.useState)(),s=jj({editor:e,selector:({editor:e})=>({bold:e.isActive(`bold`),italic:e.isActive(`italic`),heading:e.isActive(`heading`,{level:2}),bullets:e.isActive(`bulletList`),numbers:e.isActive(`orderedList`)})}),c=(0,U.useMemo)(()=>({strategy:`fixed`,placement:`top`,offset:8,scrollTarget:a,flip:{padding:8,boundary:a},shift:{padding:8,boundary:a},hide:{boundary:a}}),[a]),l=(0,U.useCallback)(({view:t,state:n,from:i,to:a,element:o})=>(r.current!==`${i}:${a}`&&(r.current=null),!r.current&&e.isEditable&&!n.selection.empty&&!!n.doc.textBetween(i,a).trim()&&(t.hasFocus()||o.contains(document.activeElement))),[e]),u=(0,U.useCallback)(()=>{let{from:t,to:n}=e.state.selection;r.current=`${t}:${n}`,e.view.focus(),e.commands.setMeta(`editorFormatting`,`hide`)},[e]);(0,U.useEffect)(()=>{document.body.append(i),o(e.view.dom.closest(`.note-notes-pane`)??void 0);let t=t=>{t.altKey&&t.key===`F10`&&!e.state.selection.empty?(t.preventDefault(),r.current=null,e.commands.setMeta(`editorFormatting`,`show`),n.current?.querySelector(`button`)?.focus()):t.key===`Escape`&&n.current?.isConnected&&(t.preventDefault(),t.stopPropagation(),u())},a=e.view.dom,s=()=>{r.current=null};return a.addEventListener(`keydown`,t),e.on(`selectionUpdate`,s),()=>{a.removeEventListener(`keydown`,t),e.off(`selectionUpdate`,s),i.remove()}},[e,u,i]);let d=[{label:W(`Bold`),icon:aee,active:s.bold,shortcut:`Meta+B`,run:()=>e.chain().toggleBold().run()},{label:W(`Italic`),icon:l_,active:s.italic,shortcut:`Meta+I`,run:()=>e.chain().toggleItalic().run()},{label:W(`Heading`),icon:t_,active:s.heading,run:()=>e.chain().toggleHeading({level:2}).run()},{label:W(`Bulleted list`),icon:y_,active:s.bullets,run:()=>e.chain().toggleBulletList().run()},{label:W(`Numbered list`),icon:__,active:s.numbers,run:()=>e.chain().toggleOrderedList().run()}];return a&&(0,G.jsx)(_ie,{ref:n,editor:e,pluginKey:`editorFormatting`,appendTo:i,className:`editor-menu`,updateDelay:0,resizeDelay:16,options:c,shouldShow:l,children:(0,G.jsx)(`div`,{role:`toolbar`,className:`editor-toolbar`,"data-testid":`editor-toolbar`,"aria-label":W(`Text formatting`),dir:gt(t),onKeyDown:e=>{if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),u();return}if(![`ArrowLeft`,`ArrowRight`,`Home`,`End`].includes(e.key))return;e.preventDefault();let n=Array.from(e.currentTarget.querySelectorAll(`button`)),r=n.indexOf(document.activeElement),i=(e.key===`ArrowRight`?1:-1)*(gt(t)===`rtl`?-1:1);n[e.key===`Home`?0:e.key===`End`?n.length-1:(r+i+n.length)%n.length]?.focus()},onBlur:t=>{!t.currentTarget.contains(t.relatedTarget)&&t.relatedTarget!==e.view.dom&&e.commands.setMeta(`editorFormatting`,`hide`)},children:d.map(({label:t,icon:n,active:r,shortcut:i,run:a},o)=>(0,G.jsx)(`button`,{type:`button`,tabIndex:o===0?0:-1,"aria-label":t,title:t,"aria-pressed":r,"aria-keyshortcuts":i,onClick:t=>{e.view.dispatch(tD(e.state.tr)),a(),t.detail>0&&e.view.focus()},children:(0,G.jsx)(n,{size:16,"aria-hidden":`true`})},t))})})}var yie=class{text=``;times=[];update(e,t){let n=0,r=0;for(;n<this.text.length&&n<e.length&&this.text[n]===e[n];)n++;for(;r<this.text.length-n&&r<e.length-n&&this.text[this.text.length-1-r]===e[e.length-1-r];)r++;return this.times=[...this.times.slice(0,n),...Array(e.length-n-r).fill(t),...r?this.times.slice(-r):[]],this.text=e,[...e.matchAll(/\S+/g)].map(e=>({from:e.index,to:e.index+e[0].length,born:this.times[e.index]}))}},ZR=new nS(`streamingInk`),QR=e=>Math.max(0,Math.min(1,e)),$R=qt(.18,.8,.25,1),bie=nA.create({name:`streamingInk`,addProseMirrorPlugins(){let e=new yie;return[new $x({key:ZR,state:{init:()=>({live:!1,reduced:!1,decorations:dE.empty}),apply(t,n){let r=t.getMeta(ZR)??n;if(!r.live)return e.update(``,0),{...r,decorations:dE.empty};if(!t.docChanged&&r.live===n.live&&r.reduced===n.reduced)return n;let i=``,a=[];t.doc.descendants((e,t)=>{e.isTextblock&&(i+=`-`),e.isText&&(a.push({from:i.length,to:i.length+e.text.length,pos:t}),i+=e.text)});let o=performance.now(),s=[],c=0;for(let t of e.update(i,o)){for(;c<a.length&&a[c].to<=t.from;)c++;if(!(r.reduced||o-t.born>=420))for(let e=c;e<a.length&&a[e].from<t.to;e++){let n=a[e];s.push(cE.inline(n.pos+Math.max(0,t.from-n.from),n.pos+Math.min(n.to,t.to)-n.from,{class:`summary-ink`,"data-ink-born":String(t.born)}))}}return{...r,decorations:dE.create(t.doc,s)}}},props:{decorations:e=>ZR.getState(e).decorations},view(e){let t=0,n,r=142,i=a=>{cancelAnimationFrame(t);let o=e.dom.closest(`.summary-surface`);if(!o)return;let s=o.querySelector(`.summary-wash`),c=o.querySelector(`.summary-heading-bar`),{live:l,reduced:u}=ZR.getState(e.state),d=l&&!e.state.doc.textContent.trim();if(o.dataset.waiting=String(d),s.replaceChildren(),(!l||d)&&(n=void 0),l&&!d&&n===void 0&&(n=a),l&&!d&&a-n<260){let t=e.dom.querySelector(`h1,h2,h3`);if(t){let e=document.createRange();e.selectNodeContents(t),r=e.getBoundingClientRect().width}else r=142}let f=d?0:!l||u?1:QR((a-(n??a))/260),p=1-(1-f)**3;e.dom.style.opacity=String(d||!l||u?1:p),c.hidden=!l||!d&&f===1,c.style.width=`${142+(r-142)*$R(f)}px`,c.style.transform=`scaleY(${1-.72*$R(f)})`,c.style.opacity=String(d?1:1-p);let m=l&&!d&&f<1;if(l&&!u){let t=o.getBoundingClientRect(),n=o.querySelector(`filter`).id;for(let r of e.dom.querySelectorAll(`[data-ink-born]`)){let e=a-Number(r.dataset.inkBorn);if(r.style.setProperty(`--ink-fresh`,`${(1-QR(e/420))*100}%`),e>=420)continue;m=!0;let i=document.createRange();i.selectNodeContents(r);for(let r of i.getClientRects()){let i=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),a=r.width+4,o=$R(QR(e/260));i.setAttribute(`transform`,`translate(${r.left-t.left-2+a*.12*(1-o)} ${r.top-t.top}) scale(${o} 1)`),i.setAttribute(`opacity`,String(.11*(1-QR((e-160)/260))*p)),i.setAttribute(`filter`,`url(#${n})`),i.innerHTML=`<rect y="6" width="${a*.82}" height="12" rx="8"/><circle cx="${a-4}" cy="12" r="4"/>`,s.append(i)}}}m&&(t=requestAnimationFrame(i))};return{update:()=>i(performance.now()),destroy:()=>cancelAnimationFrame(t)}}})]}}),xie=Jk.create({name:`mine`,inclusive:!1,parseHTML:()=>[{tag:`span[data-mine]`}],renderHTML:()=>[`span`,{"data-mine":``,class:`mine`},0]});function ez(e){let t=(0,U.useId)(),n=Mf(),r=(0,U.useRef)(e.onChange),i=(0,U.useRef)(e.onBlur);r.current=e.onChange,i.current=e.onBlur;let a=(0,U.useRef)(e.markdown),o=lre({extensions:[pI.configure({heading:{levels:[1,2,3]},code:!1,codeBlock:!1,blockquote:!1,horizontalRule:!1,strike:!1,underline:!1,trailingNode:!1,link:{openOnClick:!1,autolink:!0,defaultProtocol:`https`}}),mI.configure({placeholder:e.placeholder??``}),xie,bie],content:Re(e.markdown,{streaming:e.streaming}),editable:e.editable??!0,shouldRerenderOnTransaction:!1,editorProps:{attributes:{dir:`auto`,"data-testid":e.testId,class:`note-prose outline-none ${e.className??``}`,spellcheck:`true`,role:`textbox`,"aria-label":e.label,"aria-multiline":`true`,"aria-readonly":String(e.editable===!1)}},onUpdate:({editor:e})=>{let t=Je(e.getJSON());t!==a.current&&(a.current=t,r.current?.(t))},onBlur:()=>i.current?.()});return(0,U.useLayoutEffect)(()=>{if(!o||o.isDestroyed)return;a.current=e.markdown;let t=o.chain().setMeta(ZR,{live:!!e.streaming,reduced:n});(Je(o.getJSON())!==e.markdown||e.streaming)&&t.setContent(Re(e.markdown,{streaming:e.streaming}),{emitUpdate:!1}),t.run()},[o,e.markdown,e.streaming,n]),(0,U.useEffect)(()=>{if(!o||o.isDestroyed||!e.focus?.match)return;let t,n=0,r=requestAnimationFrame(()=>{if(o.isDestroyed)return;let r=Array.from(o.view.dom.querySelectorAll(`p,h1,h2,h3`)),i=r[pt(r.map(e=>e.textContent??``),e.focus.match)];if(!i)return;i.scrollIntoView({block:`center`});let a=document.createRange();a.selectNodeContents(i),t=new Highlight(a),CSS.highlights.set(`citation-target`,t),n=window.setTimeout(()=>CSS.highlights.delete(`citation-target`),2400)});return()=>{cancelAnimationFrame(r),clearTimeout(n),CSS.highlights.get(`citation-target`)===t&&CSS.highlights.delete(`citation-target`)}},[o,e.focus?.seq]),(0,U.useEffect)(()=>{o&&!o.isDestroyed&&o.setEditable(e.editable??!0,!1)},[o,e.editable]),(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`div`,{className:`summary-surface`,"data-streaming":!!e.streaming,children:[(0,G.jsxs)(`svg`,{className:`summary-ink-layer`,"aria-hidden":`true`,children:[(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`filter`,{id:t,x:`-30%`,y:`-80%`,width:`160%`,height:`260%`,colorInterpolationFilters:`sRGB`,children:[(0,G.jsx)(`feGaussianBlur`,{stdDeviation:`.9`}),(0,G.jsx)(`feColorMatrix`,{values:`1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -8.5`})]})}),(0,G.jsx)(`g`,{className:`summary-wash`})]}),(0,G.jsx)(Aj,{editor:o}),(0,G.jsx)(`i`,{className:`summary-heading-bar`,"aria-hidden":`true`,hidden:!0})]}),o&&e.editable!==!1&&!e.streaming&&(0,G.jsx)(vie,{editor:o})]})}var tz={};function nz(e,t){let n=U.useRef(tz);return n.current===tz&&(n.current=e(t)),n}var rz=[],iz=void 0;function Sie(){return iz}function Cie(e){rz.push(e)}function az(e){let t=(t,n)=>{let r=nz(wie).current,i;try{iz=r;for(let e of rz)e.before(r);i=e(t,n);for(let e of rz)e.after(r);r.didInitialize=!0}finally{iz=void 0}return i};return t.displayName=e.displayName||e.name,t}function oz(e){return U.forwardRef(az(e))}function wie(){return{didInitialize:!1}}function sz(){}var cz=Object.freeze([]),lz=Object.freeze({});function uz(e){U.useEffect(e,cz)}var dz=0,fz=class e{static create(){return new e}currentId=dz;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=dz,t()},e)}isStarted(){return this.currentId!==dz}clear=()=>{this.currentId!==dz&&(clearTimeout(this.currentId),this.currentId=dz)};disposeEffect=()=>this.clear};function pz(){let e=nz(fz.create).current;return uz(e.disposeEffect),e}var Y=typeof document<`u`?U.useLayoutEffect:()=>{};function Tie(){return typeof navigator>`u`?{userAgent:``,platform:``,maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??0}}var{userAgent:Eie,platform:Die,maxTouchPoints:Oie}=Tie(),mz=Eie.toLowerCase(),hz=Die.toLowerCase(),gz=/^i(os$|p)/.test(hz)||hz===`macintel`&&Oie>1,_z=`android`,vz=hz===_z||mz.includes(_z),yz=!gz&&hz.startsWith(`mac`);hz.startsWith(`win`),!vz&&/^(linux|chrome os)/.test(hz);var kie=yz||gz,bz=typeof CSS<`u`&&!!CSS.supports?.(`-webkit-backdrop-filter:none`);!bz&&mz.includes(`firefox`),!bz&&mz.includes(`chrom`);var Aie=kie,xz=/jsdom|happydom/.test(mz);function Sz(e){e.preventDefault(),e.stopPropagation()}function jie(e){return`nativeEvent`in e}function Cz(e){return e.pointerType===``&&e.isTrusted?!0:vz&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function wz(e){return xz?!1:!vz&&e.width===0&&e.height===0||e.type===`pointerdown`&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`&&(vz||e.buttons===0)||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function Tz(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function Mie(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}function Ez(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Dz(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&vL(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function Oz(e,t){let n=e;for(;n;){if(gL(n)&&n.matches(t))return n;n=n.assignedSlot??n.parentNode??(vL(n)?n.host:null)}return null}function kz(e){return`composedPath`in e?e.composedPath()[0]??e.target:e.target}var Nie=`data-base-ui-focusable`,Pie=`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`,Az=`ArrowLeft`,jz=`ArrowRight`,Fie=`ArrowUp`,Iie=`ArrowDown`,Mz=`data-starting-style`,Lie=`data-ending-style`,Rie={[Mz]:``},zie={[Lie]:``},Nz={transitionStatus(e){return e===`starting`?Rie:e===`ending`?zie:null}},Bie=`data-open`,Vie=`data-closed`,Hie=`data-anchor-hidden`,Pz=`data-popup-open`,Uie=`data-pressed`,Wie={[Pz]:``},Gie={[Pz]:``,[Uie]:``},Kie={[Bie]:``},qie={[Vie]:``},Jie={[Hie]:``},Fz={open(e){return e?Wie:null}},Iz={open(e){return e?Gie:null}},Lz={open(e){return e?Kie:qie},anchorHidden(e){return e?Jie:null}},Rz={...Lz,...Nz},zz=`data-trigger-disabled`;function Bz(e,t){if(!gL(e))return!1;let n=e;if(t.hasElement(n))return!n.hasAttribute(zz);for(let[,e]of t.entries())if(Dz(e,n))return!e.hasAttribute(zz);return!1}function Vz(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function Yie(e){return e.matches(`html,body`)}function Hz(e){return _L(e)&&e.matches(`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`)}function Xie(e){return Oz(e,`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${Pie}`)!=null}function Uz(e){return e?e.getAttribute(`role`)===`combobox`&&Hz(e):!1}function Wz(e){if(!e||xz)return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}function Gz(e){return e?e.hasAttribute(`data-base-ui-focusable`)?e:e.querySelector(`[data-base-ui-focusable]`)||e:null}function Zie(e,t){return t!=null&&!Tz(t)?0:typeof e==`function`?e():e}function Kz(e,t,n){let r=Zie(e,n);return typeof r==`number`?r:r?.[t]}function qz(e){return typeof e==`function`?e():e}function Jz(e,t){return t||e===`click`||e===`mousedown`}function Qie(e){return e?.includes(`mouse`)&&e!==`mousedown`}function Yz(e,t,n,r){let i=!1,a=!1,o=r??lz;return{reason:e,event:t??new Event(`base-ui`),cancel(){i=!0},allowPropagation(){a=!0},get isCanceled(){return i},get isPropagationAllowed(){return a},trigger:n,...o}}function $ie(e,t,n){let r=n??lz;return{reason:e,event:t??new Event(`base-ui`),...r}}var Xz=`none`,Zz=`trigger-press`,Qz=`trigger-hover`,$z=`trigger-focus`,eae=`outside-press`,tae=`item-press`,nae=`close-press`,eB=`focus-out`,rae=`escape-key`,tB=`list-navigation`,nB=`keyboard`,iae=`pointer`,aae=`cancel-open`,rB=`sibling-open`,oae=`disabled`,iB=`imperative-action`,sae=U.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new fz,currentIdRef:{current:null},currentContextRef:{current:null}});function cae(e,t){e.current=t.current}function lae(e,t={open:!1}){let{open:n}=t,r=e.useState(`floatingId`),{currentIdRef:i,delayRef:a,timeoutMs:o,initialDelayRef:s,currentContextRef:c,hasProvider:l,timeout:u}=U.useContext(sae),[d,f]=U.useState(!1),p=U.useRef(n);return Y(()=>{p.current=n},[n]),Y(()=>{function t(){c.current?.setIsInstantPhase(!1),i.current=null,c.current=null,a.current=s.current,u.clear()}if(i.current&&!n&&i.current===r){if(f(!1),o){let n=r;return u.start(o,()=>{e.select(`open`)||i.current&&i.current!==n||t()}),()=>{(p.current||i.current!==n)&&u.clear()}}t()}},[n,r,i,a,o,s,c,u,e]),Y(()=>{if(!n)return;let t=c.current,o=i.current;u.clear(),c.current={onOpenChange:e.setOpen,setIsInstantPhase:f},i.current=r,a.current={open:0,close:Kz(s.current,`close`)},o!==null&&o!==r?(f(!0),t?.setIsInstantPhase(!0),t?.onOpenChange(!1,Yz(Xz))):(f(!1),t?.setIsInstantPhase(!1))},[n,r,e,i,a,s,c,u]),Y(()=>()=>{if(i.current===r){if(c.current=null,!p.current)return;i.current=null,cae(a,s),u.clear()}},[c,i,a,r,s,u]),U.useMemo(()=>({activeIdRef:i,hasProvider:l,delayRef:a,isInstantPhase:d}),[i,l,a,d])}function aB(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function oB(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}function sB(e,t,n,r){let i=nz(cB).current;return dae(i,e,t,n,r)&&lB(i,[e,t,n,r]),i.callback}function uae(e){let t=nz(cB).current;return fae(t,e)&&lB(t,e),t.callback}function cB(){return{callback:null,cleanup:null,refs:[]}}function dae(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}function fae(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}function lB(e,t){e.refs=t,e.callback=t.every(e=>e==null)?null:n=>{if(e.cleanup&&=(e.cleanup(),null),n!=null){let r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let i=t[e];if(i!=null)switch(typeof i){case`function`:{let t=i(n);typeof t==`function`&&(r[e]=t);break}case`object`:i.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(n!=null)switch(typeof n){case`function`:{let t=r[e];typeof t==`function`?t():n(null);break}case`object`:n.current=null}}}}}}function uB(e){let t=nz(pae,e).current;return t.next=e,Y(t.effect),t}function pae(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var dB={...U},fB=dB.useInsertionEffect,mae=fB&&fB!==dB.useLayoutEffect?fB:e=>e();function pB(e){let t=nz(hae).current;return t.next=e,mae(t.effect),t.trampoline}function hae(){let e={next:void 0,callback:gae,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function gae(){}var mB=null;globalThis.requestAnimationFrame;var hB=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||=(requestAnimationFrame(this.tick),!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||this.callbacks[t]!==null&&(this.callbacks[t]=null,--this.callbacksCount)}},gB=class e{static create(){return new e}static request(e){return hB.request(e)}static cancel(e){return hB.cancel(e)}currentId=mB;request(e){this.cancel(),this.currentId=hB.request(()=>{this.currentId=mB,e()})}cancel=()=>{this.currentId!==mB&&(hB.cancel(this.currentId),this.currentId=mB)};disposeEffect=()=>this.cancel};function _B(){let e=nz(gB.create).current;return uz(e.disposeEffect),e}function vB(e){return e?.ownerDocument||document}var yB={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},bB={...yB,position:`fixed`,margin:0,top:0,left:0};({...yB});var xB=U.forwardRef(function(e,t){let[n,r]=U.useState();Y(()=>{Aie&&bz&&r(`button`)},[]);let i={tabIndex:0,role:n};return(0,G.jsx)(`span`,{...e,ref:t,style:bB,"aria-hidden":!n||void 0,...i,"data-base-ui-focus-guard":``})});function SB(e,t){return t<0||t>=e.length}function CB(e,t){return TB(e.current,{disabledIndices:t})}function wB(e,t){return TB(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function _ae(e,t,n){let{decrement:r,loopFocus:i,allowEscape:a,disabledIndices:o,minIndex:s,maxIndex:c}=n,l=()=>TB(e,{startingIndex:t,decrement:r,disabledIndices:o}),u,d=!1;if(!i)u=r?Math.max(s,l()):Math.min(c,l());else if(r?t<=s:t>=c){let n=r?-1:e.length;a&&t!==n?u=-1:(u=r?c:s,d=!0)}else u=l();return{index:SB(e,u)?-1:u,wrapped:d}}function TB(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.length-1&&EB(e,a,r));return a}function EB(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e[t];return r?!DB(r)||r.matches(`:disabled`)?!0:!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!1}function vae(e){return e.visibility===`hidden`||e.visibility===`collapse`}function DB(e,t=e?AL(e):null){return!e||!e.isConnected||!t||vae(t)?!1:typeof e.checkVisibility==`function`?e.checkVisibility():t.display!==`none`&&t.display!==`contents`}var yae=`a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]`;function bae(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return vL(n)?n.host:null}function OB(e){for(let t of Array.from(e.children))if(fL(t)===`summary`)return t;return null}function xae(e,t){let n=OB(t);return!!n&&(e===n||Dz(n,e))}function kB(e){let t=e?fL(e):``;return e!=null&&e.matches(yae)&&(t!==`summary`||e.parentElement!=null&&fL(e.parentElement)===`details`&&OB(e.parentElement)===e)&&(t!==`details`||OB(e)==null)&&(t!==`input`||e.type!==`hidden`)}function AB(e){if(!kB(e)||!e.isConnected||e.matches(`:disabled`))return!1;for(let t=e;t;t=bae(t)){let n=t!==e,r=fL(t)===`slot`;if(t.hasAttribute(`inert`)||n&&fL(t)===`details`&&!t.open&&!xae(e,t)||t.hasAttribute(`hidden`)||!r&&!Sae(t,n))return!1}return!0}function Sae(e,t){let n=AL(e);return t?n.display!==`none`:DB(e,n)}function jB(e){let t=e.tabIndex;if(t<0){let t=fL(e);if(t===`details`||t===`audio`||t===`video`||_L(e)&&e.isContentEditable)return 0}return t}function MB(e){if(fL(e)!==`input`)return null;let t=e;return t.type===`radio`&&t.name!==``?t:null}function NB(e,t){let n=MB(e);if(!n)return!0;let r=t.find(e=>{let t=MB(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=MB(e);return t?.name===n.name&&t.form===n.form})===n}function PB(e){if(_L(e)&&fL(e)===`slot`){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return _L(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function FB(e,t){PB(e).forEach(e=>{kB(e)&&t.push(e),FB(e,t)})}function IB(e,t,n){PB(e).forEach(e=>{_L(e)&&e.matches(t)&&n.push(e),IB(e,t,n)})}function LB(e){return AB(e)&&jB(e)>=0}function RB(e){let t=[];return FB(e,t),t.filter(AB)}function zB(e){let t=RB(e);return t.filter(e=>jB(e)>=0&&NB(e,t))}function BB(e,t){let n=zB(e),r=n.length;if(r===0)return;let i=Ez(vB(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function VB(e){return BB(vB(e).body,1)||e}function HB(e){return BB(vB(e).body,-1)||e}function Cae(e,t,n){if(!e)return null;let r=[];FB(vB(e).body,r);let i=r.indexOf(e);if(i===-1)return null;let a=r.filter(AB);for(let e=1;e<r.length;e+=1){let o=r[(i+t*e+r.length)%r.length];if(!Dz(n,o)&&LB(o)&&NB(o,a))return o}return r[i]}function UB(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!Dz(n,r)}function wae(e){zB(e).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function WB(e){let t=[];IB(e,`[data-tabindex]`,t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}function GB(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...GB(e,t.id,n)])}function KB(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function qB(e){return`data-base-ui-${e}`}var JB=0;function YB(e,t={}){let{preventScroll:n=!1,sync:r=!1,shouldFocus:i}=t;cancelAnimationFrame(JB);function a(){(!i||i())&&e?.focus({preventScroll:n})}if(r)return a(),sz;let o=requestAnimationFrame(a);return JB=o,()=>{JB===o&&(cancelAnimationFrame(o),JB=0)}}var XB=`data-base-ui-inert`,ZB=new WeakMap,QB=new WeakSet,$B=new WeakMap,eV=0;function tV(e){return e?vL(e)?e.host:tV(e.parentNode):null}var nV=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=tV(t);return e.contains(n)?n:null}).filter(e=>e!=null),rV=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},iV=(e,t,n)=>{let r=[],i=e=>{e&&!n.has(e)&&Array.from(e.children).forEach(e=>{fL(e)!==`script`&&(t.has(e)?i(e):r.push(e))})};return i(e),r};function aV(e,t,n,{mark:r=!0}){let i=nV(t,e),a=r?iV(t,rV(i),new Set(i)):[],o=[],s=[];if(n){let e=nV(t,Array.from(t.querySelectorAll(`[aria-live]`))),n=i.concat(e);iV(t,rV(n),new Set(n)).forEach(e=>{let t=e.getAttribute(`aria-hidden`),n=t!==null&&t!==`false`,r=(ZB.get(e)||0)+1;ZB.set(e,r),o.push(e),r===1&&n&&QB.add(e),n||e.setAttribute(`aria-hidden`,`true`)})}return r&&a.forEach(e=>{let t=($B.get(e)||0)+1;$B.set(e,t),s.push(e),t===1&&e.setAttribute(XB,``)}),eV+=1,()=>{o.forEach(e=>{let t=(ZB.get(e)||0)-1;ZB.set(e,t),t||(QB.has(e)||e.removeAttribute(`aria-hidden`),QB.delete(e))}),r&&s.forEach(e=>{let t=($B.get(e)||0)-1;$B.set(e,t),t||e.removeAttribute(XB)}),--eV,eV||(ZB=new WeakMap,QB=new WeakSet,$B=new WeakMap)}}function oV(e,t={}){let{ariaHidden:n=!1,mark:r=!0}=t,i=vB(e[0]).body;return aV(e,i,n,{mark:r})}function sV(){let[,e]=U.useState({});return U.useCallback(()=>{e({})},[])}var cV=0;function lV(e,t=`mui`){let n=U.useRef(void 0),r=sV(),i=e??n.current;return U.useEffect(()=>{n.current??(cV+=1,n.current=`${t}-${cV}`,e??r())},[e,t,r]),i}var uV=dB.useId;function dV(e,t){if(uV!==void 0){let n=uV();return e??(t?`${t}-${n}`:n)}return lV(e,t)}var fV=19;function pV(e){return fV>=e}function mV(e){if(!U.isValidElement(e))return null;let t=e,n=t.props;return(pV(19)?n?.ref:t.ref)??null}function hV(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function gV(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);e!=null&&Object.assign(n,e)}else i===!0?n[`data-${r.toLowerCase()}`]=``:i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}function _V(e,t){return typeof e==`function`?e(t):e}function vV(e,t){return typeof e==`function`?e(t):e}var yV={};function bV(e,t,n,r,i){if(!n&&!r&&!i&&!e)return SV(t);let a=SV(e);return t&&(a=CV(a,t)),n&&(a=CV(a,n)),r&&(a=CV(a,r)),i&&(a=CV(a,i)),a}function xV(e){if(e.length===0)return yV;if(e.length===1)return SV(e[0]);let t=SV(e[0]);for(let n=1;n<e.length;n+=1)t=CV(t,e[n]);return t}function SV(e){return DV(e)?{...e(yV)}:wV(e)}function CV(e,t){return DV(t)?t(e):TV(e,t)}function wV(e){let t={...e};for(let e in t){let n=t[e];EV(e,n)&&(t[e]=kV(n))}return t}function TV(e,t){if(!t)return e;for(let n in t){let r=t[n];switch(n){case`style`:e[n]=hV(e.style,r);break;case`className`:e[n]=jV(e.className,r);break;default:e[n]=EV(n,r)?OV(e[n],r):r}}return e}function EV(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return n===111&&r===110&&i>=65&&i<=90&&(typeof t==`function`||t===void 0)}function DV(e){return typeof e==`function`}function OV(e,t){return t?e?(...n)=>{let r=n[0];if(MV(r)){let i=r;AV(i);let a=t(...n);return i.baseUIHandlerPrevented||e?.(...n),a}let i=t(...n);return e?.(...n),i}:kV(t):e}function kV(e){return e&&((...t)=>{let n=t[0];return MV(n)&&AV(n),e(...t)})}function AV(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function jV(e,t){return t?e?t+` `+e:t:e}function MV(e){return typeof e==`object`&&!!e&&`nativeEvent`in e}function NV(e,t,n={}){let r=t.render;n.enabled!==!1&&(r=LV(r));let i=PV(t,n,r);if(n.enabled===!1)return null;let a=n.state??lz;return RV(e,r,i,a)}function PV(e,t,n){let{className:r,style:i}=e,{state:a=lz,ref:o,props:s,stateAttributesMapping:c,enabled:l=!0}=t,u=l?_V(r,a):void 0,d=l?vV(i,a):void 0,f=l?gV(a,c):lz,p=l&&s?FV(s):void 0,m=l?hV(f,p)??{}:lz;return typeof document<`u`&&(l?m.ref=Array.isArray(o)?uae([m.ref,mV(n),...o]):sB(m.ref,mV(n),o):sB(null,null)),l?(u!==void 0&&(m.className=jV(m.className,u)),d!==void 0&&(m.style=hV(m.style,d)),m):lz}function FV(e){return Array.isArray(e)?xV(e):bV(void 0,e)}var IV=Symbol.for(`react.lazy`);function LV(e){if(e?.$$typeof!==IV)return e;let t=U.Children.toArray(e)[0];return U.isValidElement(t)?t:e}function RV(e,t,n,r){if(t){if(typeof t==`function`)return t(n,r);let e=bV(n,t.props);return e.ref=n.ref,U.cloneElement(t,e)}return zV(e,n)}function zV(e,t){return e===`button`?(0,U.createElement)(`button`,{type:`button`,...t,key:t.key}):e===`img`?(0,U.createElement)(`img`,{alt:``,...t,key:t.key}):U.createElement(e,t)}var BV={style:{transition:`none`}},VV=`data-base-ui-click-trigger`,HV=`data-base-ui-swipe-ignore`,UV=`data-swipe-ignore`,WV=`[${HV}]`,GV=`[${UV}]`,KV={fallbackAxisSide:`none`},qV={fallbackAxisSide:`end`},JV={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0},YV=U.createContext(null),XV=()=>U.useContext(YV),ZV=qB(`portal`);function QV(e={}){let{ref:t,container:n,componentProps:r=lz,elementProps:i}=e,a=dV(),o=XV()?.portalNode,[s,c]=U.useState(null),[l,u]=U.useState(null),d=pB(e=>{e!==null&&u(e)}),f=U.useRef(null);Y(()=>{if(n===null){f.current&&(f.current=null,u(null),c(null));return}let e=(n&&(hL(n)?n:n.current))??o??document.body;e==null?f.current&&(f.current=null,u(null),c(null)):f.current!==e&&(f.current=e,u(null),c(e))},[n,o]);let p=NV(`div`,r,{ref:[t,d],props:[{id:a,[ZV]:``},i]}),m=s&&p?De.createPortal(p,s):null;return{node:l,nodeId:U.isValidElement(p)?p.props.id:void 0,subtree:m}}var $V=U.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,container:o,portalOwnerRole:s,...c}=e,{node:l,nodeId:u,subtree:d}=QV({container:o,ref:t,componentProps:e,elementProps:c}),f=U.useRef(null),p=U.useRef(null),m=U.useRef(null),h=U.useRef(null),[g,_]=U.useState(null),v=U.useRef(!1),y=g?.modal,b=g?.open,x=!!g&&!g.modal&&g.open&&!!l;U.useEffect(()=>{if(!l||y)return;function e(e){l&&e.relatedTarget&&UB(e)&&(e.type===`focusin`?v.current&&=(WB(l),!1):(wae(l),v.current=!0))}return oB(aB(l,`focusin`,e,!0),aB(l,`focusout`,e,!0))},[l,y]),Y(()=>{l&&b===!0&&v.current&&(WB(l),v.current=!1)},[b,l]);let S=U.useMemo(()=>({beforeOutsideRef:f,afterOutsideRef:p,beforeInsideRef:m,afterInsideRef:h,portalNode:l,setFocusManagerState:_}),[l]);return(0,G.jsxs)(U.Fragment,{children:[d,(0,G.jsxs)(YV.Provider,{value:S,children:[x&&l&&(0,G.jsx)(xB,{"data-type":`outside`,ref:f,onFocus:e=>{UB(e,l)?m.current?.focus():HB(g?g.domReference:null)?.focus()}}),x&&l&&(0,G.jsx)(`span`,{role:s,"aria-owns":u,style:JV}),l&&De.createPortal(a,l),x&&l&&(0,G.jsx)(xB,{"data-type":`outside`,ref:p,onFocus:e=>{UB(e,l)?h.current?.focus():(VB(g?g.domReference:null)?.focus(),g?.closeOnFocusOut&&g?.onOpenChange(!1,Yz(`focus-out`,e.nativeEvent)))}})]})]})});function eH(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}var tH=class{nodesRef={current:[]};events=eH();addNode(e){this.nodesRef.current.push(e)}removeNode(e){let t=this.nodesRef.current.findIndex(t=>t===e);t!==-1&&this.nodesRef.current.splice(t,1)}},nH=U.createContext(null),rH=U.createContext(null),iH=()=>U.useContext(nH)?.id||null,aH=e=>{let t=U.useContext(rH);return e??t};function oH(e){let t=dV(),n=aH(e),r=iH();return Y(()=>{if(!t)return;let e={id:t,parentId:r};return n?.addNode(e),()=>{n?.removeNode(e)}},[n,t,r]),t}function sH(e){let{children:t,id:n}=e,r=iH();return(0,G.jsx)(nH.Provider,{value:U.useMemo(()=>({id:n,parentId:r}),[n,r]),children:t})}function cH(e){let{children:t,externalTree:n}=e,r=nz(()=>n??new tH).current;return(0,G.jsx)(rH.Provider,{value:r,children:t})}function lH(e){return e==null?e:`current`in e?e.current:e}function uH(e,t){let n=pL(kz(e));return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||(Cz(e)?`keyboard`:t||`mouse`):`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var dH=20,fH=[];function pH(){fH=fH.filter(e=>e.deref()?.isConnected)}function mH(e){pH(),e&&fL(e)!==`body`&&(fH.push(new WeakRef(e)),fH.length>dH&&(fH=fH.slice(-20)))}function hH(){return pH(),fH[fH.length-1]?.deref()}function gH(e){return e?LB(e)?e:zB(e)[0]||e:null}function _H(e){if(e.hasAttribute(`tabindex`)&&!e.hasAttribute(`data-tabindex`)||!e.getAttribute(`role`)?.includes(`dialog`))return;let t=RB(e).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return LB(e)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),n=e.getAttribute(`tabindex`);t.length===0?n!==`0`&&(e.setAttribute(`tabindex`,`0`),e.setAttribute(`data-tabindex`,`0`)):(n!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function vH(e){let{context:t,children:n,disabled:r=!1,initialFocus:i=!0,returnFocus:a=!0,explicitReturnFocus:o,restoreFocus:s=!1,modal:c=!0,closeOnFocusOut:l=!0,openInteractionType:u=``,nextFocusableElement:d,previousFocusableElement:f,beforeContentFocusGuardRef:p,externalTree:m,getInsideElements:h}=e,g=t.useState(`open`),_=t.useState(`domReferenceElement`),v=t.useState(`floatingElement`),{events:y,dataRef:b}=t.context,x=pB(()=>b.current.floatingContext?.nodeId),S=i===!1,C=Uz(_)&&S,w=uB(i),T=uB(a),E=uB(o),D=uB(u),O=uB(g),k=aH(m),A=XV(),j=U.useRef(!1),M=U.useRef(!1),N=U.useRef(!1),P=U.useRef(null),F=U.useRef(``),I=U.useRef(``),L=U.useRef(null),R=U.useRef(null),ee=sB(L,p,A?.beforeInsideRef),z=sB(R,A?.afterInsideRef),te=pz(),ne=pz(),re=_B(),ie=A!=null,B=Gz(v),V=pB((e=B)=>e?zB(e):[]),ae=pB(()=>h?.().filter(e=>e!=null)??[]);U.useEffect(()=>{if(r||!c)return;function e(e){e.key===`Tab`&&Dz(B,Ez(vB(B)))&&V().length===0&&!C&&Sz(e)}return aB(vB(B),`keydown`,e)},[r,B,c,C,V]),U.useEffect(()=>{if(r||!g)return;let e=vB(B);function t(){N.current=!1}function n(e){let t=kz(e),n=ae(),r=Dz(v,t)||Dz(_,t)||Dz(A?.portalNode,t)||n.some(e=>e===t||Dz(e,t));N.current=!r,I.current=e.pointerType||`keyboard`,Oz(t,`[data-base-ui-click-trigger]`)&&(M.current=!0,ne.start(0,()=>{M.current=!1}))}function i(){I.current=`keyboard`}return oB(aB(e,`pointerdown`,n,!0),aB(e,`pointerup`,t,!0),aB(e,`pointercancel`,t,!0),aB(e,`keydown`,i,!0),t)},[r,v,_,B,g,A,ne,ae]),U.useEffect(()=>{if(r||!l)return;let e=vB(B);function n(){M.current=!0,ne.start(0,()=>{M.current=!1})}function i(e){let t=kz(e);LB(t)&&(P.current=t)}function a(n){let r=n.relatedTarget,i=n.currentTarget,a=kz(n);c&&r==null&&a!=null&&Dz(v,a)&&mH(a),queueMicrotask(()=>{let o=x(),l=t.context.triggerElements,u=ae(),p=r?.hasAttribute(qB(`focus-guard`))&&[L.current,R.current,A?.beforeInsideRef.current,A?.afterInsideRef.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,lH(f),lH(d)].includes(r),m=!(Dz(_,r)||Dz(v,r)||Dz(r,v)||Dz(A?.portalNode,r)||u.some(e=>e===r||Dz(e,r))||l.hasMatchingElement(e=>Dz(e,r))||p||k&&(GB(k.nodesRef.current,o).find(e=>Dz(e.context?.elements.floating,r)||Dz(e.context?.elements.domReference,r))||KB(k.nodesRef.current,o).find(e=>[e.context?.elements.floating,Gz(e.context?.elements.floating)].includes(r)||e.context?.elements.domReference===r)));if(i===_&&B&&_H(B),s&&i!==_&&!DB(a)&&Ez(e)===e.body){if(_L(B)&&(B.focus(),s===`popup`)){re.request(()=>{B.focus()});return}let e=V(),t=P.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||B;_L(n)&&n.focus()}b.current.insideReactTree?b.current.insideReactTree=!1:(C||!c)&&r&&m&&!M.current&&(C||r!==hH())&&(j.current=!0,t.setOpen(!1,Yz(eB,n)))})}function o(){N.current||(b.current.insideReactTree=!0,te.start(0,()=>{b.current.insideReactTree=!1}))}let u=_L(_)?_:null;if(v||u)return oB(u&&aB(u,`focusout`,a),u&&aB(u,`pointerdown`,n),v&&aB(v,`focusin`,i),v&&aB(v,`focusout`,a),v&&A&&aB(v,`focusout`,o,!0))},[r,_,v,B,c,k,A,t,l,s,V,C,x,b,te,ne,re,d,f,ae]),U.useEffect(()=>{if(r||!v||!g)return;let e=Array.from(A?.portalNode?.querySelectorAll(`[${qB(`portal`)}]`)||[]),t=(k?KB(k.nodesRef.current,x()):[]).find(e=>Uz(e.context?.elements.domReference||null))?.context?.elements.domReference,n=oV([v,...e,L.current,R.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,...ae(),t,lH(f),lH(d),C?_:null].filter(e=>e!=null),{ariaHidden:c||C,mark:!1}),i=oV([v,...e].filter(e=>e!=null));return()=>{i(),n()}},[g,r,_,v,c,A,C,k,x,d,f,ae]),Y(()=>{if(!g||r||!_L(B))return;F.current=``,I.current=``;let e=vB(B),t=Ez(e);queueMicrotask(()=>{let n=w.current,r=typeof n==`function`?n(D.current||``):n;if(r===void 0||r===!1||Dz(B,t))return;let i=null,a=()=>(i??=V(B),i[0]||B),o;o=r===!0||r===null?a():lH(r),o||=a();let s=Dz(B,Ez(e)),c=b.current.openEvent,l=c?.type===`mousedown`&&Cz(c);YB(o,{sync:l,preventScroll:o===B,shouldFocus(){if(!O.current)return!1;if(s)return!0;let t=Ez(e);return!(t!==o&&Dz(B,t))}})})},[r,g,B,V,w,D,O,b]);let H=U.useRef(null);Y(()=>{if(r||!B){H.current=null;return}H.current&&=(H.current.cancelled=!0,null);let e=vB(B),t=Ez(e),n=D.current==null;mH(t);function i(e){if(e.open||(F.current=uH(e.nativeEvent,I.current)),(e.reason===`focus-out`&&e.triggerElement?.hasAttribute(qB(`focus-guard`))||e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`)&&(j.current=!0),e.reason===`outside-press`){if(e.nested)j.current=!1;else if(Cz(e.nativeEvent)||wz(e.nativeEvent))j.current=!1;else{let e=!1;vB(B).createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?j.current=!1:j.current=!0}}}y.on(`openchange`,i);function a(e){let r=T.current,i=typeof r==`function`?r(e):r;if(i===void 0||i===!1)return null;i===null&&(i=!0);let a=_?.isConnected?_:null,o=t?.isConnected&&fL(t)!==`body`?t:null,s=n?o||a:a||o;return s||=hH()||null,typeof i==`boolean`?s:lH(i)||s||null}return()=>{y.off(`openchange`,i);let t=Ez(e),n=ae(),r=Dz(v,t)||n.some(e=>e===t||Dz(e,t))||k&&GB(k.nodesRef.current,x(),!1).some(e=>Dz(e.context?.elements.floating,t)),o=T.current,s=F.current,c=a(s),l={cancelled:!1};H.current=l,queueMicrotask(()=>{H.current===l&&(H.current=null);let n=gH(c),i=E.current??typeof o!=`boolean`;if(!l.cancelled&&o&&!j.current&&_L(n)&&(i||n===t||t===e.body||r)){let e={preventScroll:!0};s===`keyboard`&&(e.focusVisible=!0),n.focus(e)}j.current=!1})}},[r,v,B,T,E,D,y,k,_,x,ae]),Y(()=>{if(!bz||g||!v)return;let e=Ez(vB(v));_L(e)&&Hz(e)&&Dz(v,e)&&e.blur()},[g,v]),Y(()=>{if(!r&&A)return A.setFocusManagerState({modal:c,closeOnFocusOut:l,open:g,onOpenChange:t.setOpen,domReference:_}),()=>{A.setFocusManagerState(null)}},[r,A,c,g,t,l,_]),Y(()=>{if(!r&&B)return _H(B),()=>{queueMicrotask(pH)}},[r,B]);let oe=!r&&(!c||!C)&&(ie||c);return(0,G.jsxs)(U.Fragment,{children:[oe&&(0,G.jsx)(xB,{"data-type":`inside`,ref:ee,onFocus:e=>{if(c){let e=V();YB(e[e.length-1])}else A?.portalNode&&(j.current=!1,UB(e,A.portalNode)?VB(_)?.focus():lH(f??A.beforeOutsideRef)?.focus())}}),n,oe&&(0,G.jsx)(xB,{"data-type":`inside`,ref:z,onFocus:e=>{c?YB(V()[0]):A?.portalNode&&(l&&(j.current=!0),UB(e,A.portalNode)?HB(_)?.focus():lH(d??A.afterOutsideRef)?.focus())}})]})}function yH(e,t={}){let{enabled:n=!0,event:r=`click`,toggle:i=!0,ignoreMouse:a=!1,stickIfOpen:o=!0,touchOpenDelay:s=0,reason:c=Zz}=t,l=e.context.dataRef,u=U.useRef(void 0),d=_B(),f=pz(),p=U.useMemo(()=>{function t(t,n,r,i){let a=Yz(c,n,r);t&&i===`touch`&&s>0?f.start(s,()=>{e.setOpen(!0,a)}):e.setOpen(t,a)}function n(t,n,r){let a=l.current.openEvent,s=e.select(`domReferenceElement`)!==n;return t&&s||!t||!i?!0:a&&(typeof o==`function`?o():o)?!r(a.type):!1}return{onPointerDown(e){u.current=Tz(e.pointerType,!0)&&wz(e.nativeEvent)?`virtual`:e.pointerType},onMouseDown(i){let o=u.current,s=i.nativeEvent,c=e.select(`open`);if(i.button!==0||r===`click`||Tz(o,!0)&&a)return;let l=n(c,i.currentTarget,e=>e===`click`||e===`mousedown`),f=kz(s),p=Hz(f);if(p||o===`virtual`){t(l,s,p?f:i.currentTarget,o);return}let m=i.currentTarget;d.request(()=>{t(l,s,m,o)})},onClick(i){if(r===`mousedown-only`)return;let o=u.current;r===`mousedown`&&o?u.current=void 0:Tz(o,!0)&&a||t(n(e.select(`open`),i.currentTarget,e=>e===`click`||e===`mousedown`||e===`keydown`||e===`keyup`),i.nativeEvent,i.currentTarget,o)},onKeyDown(){u.current=void 0}}},[l,r,a,c,e,o,i,d,f,s]);return U.useMemo(()=>n?{reference:p}:lz,[n,p])}function bH(e,t){let n=null,r=null,i=!1;return{contextElement:e||void 0,getBoundingClientRect(){let a=e?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},o=t.axis===`x`||t.axis===`both`,s=t.axis===`y`||t.axis===`both`,c=[`mouseenter`,`mousemove`].includes(t.dataRef.current.openEvent?.type||``)&&t.pointerType!==`touch`,l=t.axis===`y`?a.width:0,u=t.axis===`x`?a.height:0,d=a.x,f=a.y;return n==null&&t.x&&o&&(n=a.x-t.x),r==null&&t.y&&s&&(r=a.y-t.y),d-=n||0,f-=r||0,(!i||c)&&(d=o&&t.x!=null?t.x:d,f=s&&t.y!=null?t.y:f),i=!0,{width:l,height:u,x:d,y:f,top:f,right:d+l,bottom:f+u,left:d}}}}function xH(e){return e!=null&&e.clientX!=null}function SH(e,t={}){let{enabled:n=!0,axis:r=`both`}=t,i=e.useState(`open`),a=e.useState(`floatingElement`),o=e.useState(`domReferenceElement`),s=e.context.dataRef,c=U.useRef(!1),l=U.useRef(null),[u,d]=U.useState(),[f,p]=U.useState([]),m=pB(t=>{e.set(`positionReference`,t)}),h=pB((t,n,i)=>{c.current||(!s.current.openEvent||xH(s.current.openEvent))&&e.set(`positionReference`,bH(i??o,{x:t,y:n,axis:r,dataRef:s,pointerType:u}))}),g=pB(e=>{i?l.current||(h(e.clientX,e.clientY,e.currentTarget),p([])):h(e.clientX,e.clientY,e.currentTarget)}),_=Tz(u)?a:i;U.useEffect(()=>{if(!n){m(o);return}if(!_)return;function e(){l.current?.(),l.current=null}let t=pL(a);function r(t){let n=kz(t);Dz(a,n)?e():h(t.clientX,t.clientY)}return!s.current.openEvent||xH(s.current.openEvent)?l.current=aB(t,`mousemove`,r):m(o),e},[_,n,a,s,o,e,h,m,f]),U.useEffect(()=>()=>{e.set(`positionReference`,null)},[e]),U.useEffect(()=>{n&&!a&&(c.current=!1)},[n,a]),U.useEffect(()=>{!n&&i&&(c.current=!0)},[n,i]);let v=U.useMemo(()=>{function e(e){d(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:g,onMouseEnter:g}},[g]);return U.useMemo(()=>n?{reference:v,trigger:v}:{},[n,v])}function CH(){return!1}function wH(e){return{escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0}}function TH(e,t={}){let{enabled:n=!0,escapeKey:r=!0,outsidePress:i=!0,outsidePressEvent:a=`sloppy`,referencePress:o=CH,bubbles:s,externalTree:c}=t,l=e.useState(`open`),u=e.useState(`floatingElement`),{dataRef:d,events:f}=e.context,p=aH(c),m=pB(typeof i==`function`?i:()=>!1),h=typeof i==`function`?m:i,g=h!==!1,_=pB(()=>a),{escapeKey:v,outsidePress:y}=wH(s),b=U.useRef(!1),x=U.useRef(!1),S=U.useRef(!1),C=U.useRef(!1),w=U.useRef(!1),T=U.useRef(``),E=U.useRef(null),D=pz(),O=pz(),k=pz(),A=pB(()=>{O.clear(),d.current.insideReactTree=!1}),j=pB(e=>{let t=d.current.floatingContext?.nodeId;return(p?GB(p.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),M=pB(t=>Vz(t,e.select(`floatingElement`))||Vz(t,e.select(`domReferenceElement`))),N=pB(t=>{o()&&e.setOpen(!1,Yz(Zz,t.nativeEvent))}),P=pB(t=>{if(!l||!n||!r||t.key!==`Escape`)return;let i=jie(t)?t.nativeEvent:t;if(w.current||i.isComposing||!v&&j(`__escapeKeyBubbles`))return;let a=Yz(rae,i);e.setOpen(!1,a),a.isCanceled||t.preventDefault(),!v&&!a.isPropagationAllowed&&t.stopPropagation()}),F=pB(()=>{d.current.insideReactTree=!0,O.start(0,A)}),I=pB(t=>{if(!l||!n||t.button!==0)return;let r=kz(t.nativeEvent);Dz(e.select(`floatingElement`),r)&&(b.current||(b.current=!0,x.current=!1))}),L=pB(e=>{l&&n&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&b.current&&(x.current=!0)});U.useEffect(()=>{function e(e){e.open||(C.current=!1)}return f.on(`openchange`,e),()=>{f.off(`openchange`,e)}},[f]),U.useEffect(()=>A,[A]),U.useEffect(()=>{if(!l||!n)return l||(C.current=!1,w.current=!1,T.current=``,E.current=null),A;d.current.__escapeKeyBubbles=v,d.current.__outsidePressBubbles=y;let t=new fz,i=vB(u);function a(){k.clear(),w.current=!0}function o(){w.current=!0,k.start(bz?5:0,()=>{w.current=!1})}function s(){S.current=!0,t.start(0,()=>{S.current=!1})}function c(){b.current=!1,x.current=!1}function f(){let e=T.current,t=e===`pen`||!e?`mouse`:e,n=_(),r=typeof n==`function`?n():n;return typeof r==`string`?r:r[t]}function m(e){let t=f();return t===`intentional`&&e.type!==`click`||t===`sloppy`&&e.type===`click`}function O(e){let t=d.current.floatingContext?.nodeId,n=p&&GB(p.nodesRef.current,t).some(t=>Vz(e,t.context?.elements.floating));return M(e)||n}function N(n){if(m(n)){n.type!==`click`&&!M(n)&&(t.clear(),S.current=!1),A();return}if(d.current.insideReactTree){A();return}let r=kz(n),i=`[${qB(`inert`)}]`,a=gL(r)?r.getRootNode():null,o=Array.from((vL(a)?a:vB(e.select(`floatingElement`))).querySelectorAll(i)),s=e.context.triggerElements;if(r&&(s.hasElement(r)||s.hasMatchingElement(e=>Dz(e,r))))return;let c=gL(r)?r:null;for(;c&&!kL(c);){let e=ML(c);if(kL(e)||!gL(e))break;c=e}if(!(o.length&&gL(r)&&!Yie(r)&&!Dz(r,e.select(`floatingElement`))&&o.every(e=>!Dz(c,e)))){if(_L(r)&&!(`touches`in n)){let e=kL(r),t=AL(r),i=/auto|scroll/,a=e||i.test(t.overflowX),o=e||i.test(t.overflowY),s=a&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,c=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,l=t.direction===`rtl`,u=c&&(l?n.offsetX<=r.offsetWidth-r.clientWidth:n.offsetX>r.clientWidth),d=s&&n.offsetY>r.clientHeight;if(u||d)return}if(!O(n)){if(f()===`intentional`){if(n.detail!==0&&!Cz(n)&&!C.current)return;if(S.current){t.clear(),S.current=!1;return}}typeof h==`function`&&!h(n)||j(`__outsidePressBubbles`)||(e.setOpen(!1,Yz(eae,n)),A())}}}function F(t){f()===`sloppy`&&t.pointerType!==`touch`&&e.select(`open`)&&n&&!M(t)&&N(t)}function I(t){if(f()!==`sloppy`||!e.select(`open`)||!n||M(t))return;let r=t.touches[0];r&&(E.current={startTime:Date.now(),startX:r.clientX,startY:r.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},D.start(1e3,()=>{E.current&&(E.current.dismissOnTouchEnd=!1,E.current.dismissOnMouseDown=!1)}))}function L(e,t){let n=kz(e);if(!n)return;let r=aB(n,e.type,()=>{t(e),r()})}function R(e){T.current=`touch`,L(e,I)}function ee(e){D.clear(),e.type===`pointerdown`&&(e.button===0&&(C.current=!0),T.current=e.pointerType),(e.type!==`mousedown`||!E.current||E.current.dismissOnMouseDown)&&L(e,e=>{e.type===`pointerdown`?F(e):N(e)})}function z(e){if(e.type===`pointercancel`&&(C.current=!1),!b.current)return;let n=x.current;c(),f()===`intentional`&&(e.type===`pointercancel`?n&&s():O(e)||(n?s():(typeof h!=`function`||h(e))&&(t.clear(),S.current=!0,A())))}function te(e){if(f()!==`sloppy`||!E.current||M(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-E.current.startX),r=Math.abs(t.clientY-E.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(E.current.dismissOnTouchEnd=!0),i>10&&(N(e),D.clear(),E.current=null)}function ne(e){L(e,te)}function re(e){f()===`sloppy`&&E.current&&!M(e)&&(E.current.dismissOnTouchEnd&&N(e),D.clear(),E.current=null)}function ie(e){L(e,re)}let B=oB(r&&oB(aB(i,`keydown`,P),aB(i,`compositionstart`,a),aB(i,`compositionend`,o)),g&&oB(aB(i,`click`,ee,!0),aB(i,`pointerdown`,ee,!0),aB(i,`pointerup`,z,!0),aB(i,`pointercancel`,z,!0),aB(i,`mousedown`,ee,!0),aB(i,`mouseup`,z,!0),aB(i,`touchstart`,R,{capture:!0,passive:!0}),aB(i,`touchmove`,ne,{capture:!0,passive:!0}),aB(i,`touchend`,ie,{capture:!0,passive:!0})));return()=>{B(),t.clear(),c(),S.current=!1}},[d,u,r,g,h,l,n,v,y,P,A,_,j,M,p,e,D,k]);let R=U.useMemo(()=>({onKeyDown:P,onPointerDown:N,onClick:N}),[P,N]),ee=U.useMemo(()=>({onKeyDown:P,onPointerDown:L,onMouseDown:L,onClickCapture:F,onMouseDownCapture(e){F(),I(e)},onPointerDownCapture(e){F(),I(e)},onMouseUpCapture:F,onTouchEndCapture:F,onTouchMoveCapture:F}),[P,F,I,L]);return U.useMemo(()=>n?{reference:R,floating:ee,trigger:R}:{},[n,R,ee])}function EH(e,t){return function(n,...r){let i=new URL(e);return i.searchParams.set(`code`,n.toString()),r.forEach(e=>i.searchParams.append(`args[]`,e)),`${t} error #${n}; visit ${i} for the full message.`}}var DH=EH(`https://base-ui.com/production-error`,`Base UI`),OH=class{attachedStores=[];attachedStoreValue=null;storeListeners=new Set;constructor(e,t,n=!0){this.fallbackStore=e,this.componentName=t,this.throwOnMissingTrigger=n}get attachedStore(){return this.attachedStoreValue}get store(){return this.attachedStoreValue??this.fallbackStore}get serverStore(){return this.fallbackStore}subscribeStore(e){return this.storeListeners.add(e),()=>{this.storeListeners.delete(e)}}attachStore(e){return this.attachedStores.push(e),this.setActiveStore(e),()=>{let t=this.attachedStores.lastIndexOf(e);t!==-1&&this.attachedStores.splice(t,1),this.setActiveStore(this.attachedStores[this.attachedStores.length-1]??null)}}setActiveStore(e){this.attachedStoreValue!==e&&(this.attachedStoreValue=e,this.storeListeners.forEach(e=>{e()}))}openByTrigger(e){let t=this.attachedStore;if(t===null)return;let n;if(e){for(let t=this.attachedStores.length-1;t>=0&&!n;--t)n=this.attachedStores[t].context.triggerElements.getById(e);n??=this.fallbackStore.context.triggerElements.getById(e)}if(e&&!n&&this.throwOnMissingTrigger)throw Error(DH(99,this.componentName,e,this.componentName));t.setOpen(!0,Yz(iB,void 0,n))}closePopup(){let e=this.attachedStore;e!==null&&e.setOpen(!1,Yz(iB))}};function kH(e){let{popupStore:t,treatPopupAsFloatingElement:n=!1,floatingRootContext:r,floatingId:i,nested:a,onOpenChange:o}=e,s=t.useState(`open`),c=t.useState(`activeTriggerElement`),l=t.useState(n?`popupElement`:`positionerElement`),u=o;return t.useSyncedValue(`floatingId`,i),Y(()=>{let e={open:s,floatingId:i,referenceElement:c,floatingElement:l};gL(c)&&(e.domReferenceElement=c),r.state.positionReference===r.state.referenceElement&&(e.positionReference=c),r.update(e)},[s,i,c,l,r]),r.context.onOpenChange=u,r.context.nested=a,r}function AH(e,t=!1,n=!1,r=!1){let[i,a]=U.useState(e&&t?`idle`:void 0),[o,s]=U.useState(e&&!r);return e&&!o&&(s(!0),a(`starting`)),!e&&o&&i!==`ending`&&!n&&a(`ending`),!e&&!o&&i===`ending`&&a(void 0),Y(()=>{if(!e&&o&&i!==`ending`&&n){let e=gB.request(()=>{a(`ending`)});return()=>{gB.cancel(e)}}},[e,o,i,n]),Y(()=>{if(!e||t||i===void 0)return;let n=gB.request(()=>{a(void 0)});return()=>{gB.cancel(n)}},[t,e,i]),Y(()=>{if(!e||!t)return;e&&o&&i!==`idle`&&a(`starting`);let n=gB.request(()=>{a(`idle`)});return()=>{gB.cancel(n)}},[t,e,o,i]),{mounted:o,setMounted:s,transitionStatus:i}}function jH(e,t){return e.getAnimations(t).filter(e=>{let t=e.effect?.getTiming();return t?.duration!==1/0&&t?.iterations!==1/0})}var MH=null;function NH(e){if(!MH){let e=[];MH=e,queueMicrotask(()=>{MH=null,De.flushSync(()=>{for(let t of e)t()})})}MH.push(e)}function PH(e,t=!1,n=!1){let r=_B();return pB((i,a=null)=>{r.cancel();let o=lH(e);if(o==null)return;let s=o,c=()=>{n?NH(()=>{a?.aborted||i()}):De.flushSync(i)};if(typeof s.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED){i();return}function l(){Promise.all(jH(s).map(e=>e.finished.then(sz))).then(()=>{a?.aborted||c()},()=>{a?.aborted||(jH(s).some(e=>e.pending||e.playState!==`finished`)?l():c())})}if(t){let e=Mz;if(!s.hasAttribute(e)){r.request(l);return}let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),l())});t.observe(s,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0})}else r.request(l)})}function FH(e){let{enabled:t=!0,open:n,ref:r,batch:i=!1,onComplete:a}=e,o=pB(a),s=PH(r,n,i);U.useEffect(()=>{if(!t)return;let e=new AbortController;return s(o,e.signal),()=>{e.abort()}},[t,n,o,s])}function IH(e){let{open:t,ref:n,preventUnmountOnClose:r,setPreventUnmountOnClose:i,onUnmount:a,animateInitialOpen:o}=e,s=pB(i),{mounted:c,setMounted:l,transitionStatus:u}=AH(t,!1,!1,o),d=!t&&r;Y(()=>{t&&s(!1)},[t,s]);let f=U.useRef(c),p=U.useRef(!1),m=sV(),h=()=>{f.current=!1,l(!1),a()};Y(()=>{f.current=c,p.current&&(p.current=!1,!t&&c&&h())});let g=pB(()=>{f.current&&(t?(p.current=!0,m()):h())});return FH({enabled:c&&!t&&!d,open:t,ref:n,onComplete(){t||g()}}),{mounted:c,transitionStatus:u,preventUnmountingOnClose:d,forceUnmount:g}}var LH={tabIndex:-1,[Nie]:``};function RH(e){return t=>t!==`touch`||e.current}function zH(e,t=!1){let n=dV(),r=iH()!=null,i=nz(()=>e(n,r)).current;return kH({popupStore:i,treatPopupAsFloatingElement:t,floatingRootContext:i.state.floatingRootContext,floatingId:n,nested:r,onOpenChange:i.setOpen}),i}function BH({handle:e,store:t}){return Y(()=>e.attachStore(t),[e,t]),null}function VH(e){let t=e.context.triggerElements.size;e.select(`open`)&&e.state.triggerCount!==t&&e.set(`triggerCount`,t)}function HH(e,t){let n=U.useRef(null);return pB(r=>{let i=n.current;if(i!==null){if(i.element===r&&i.store===t&&i.id===e)return;n.current=null;let a=i.store;a.context.triggerElements.getById(i.id)===i.element&&(a.context.triggerElements.delete(i.id),VH(a))}r!==null&&e!==void 0&&(n.current={store:t,id:e,element:r},t.context.triggerElements.add(e,r),VH(t))})}function UH(e,t,n,r=!1){let i=e.preventUnmountingOnClose;t?i=!1:r&&(i=!0);let a=n?.id??null,o=e.activeTriggerId,s=e.activeTriggerElement;return(a||t)&&(o=a,s=n??null),{open:t,preventUnmountingOnClose:i,activeTriggerId:o,activeTriggerElement:s,openedWithoutTrigger:t?n==null:e.openedWithoutTrigger}}function WH(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function GH(e,t,n,r={}){let i=n.reason,a=i===Qz,o=t&&i===`trigger-focus`,s=!t&&(i===`trigger-press`||i===`escape-key`),c=WH(n);if(e.context.onOpenChange?.(t,n),n.isCanceled)return;r.onBeforeDispatch?.(),e.state.floatingRootContext.dispatchOpenChange(t,n);let l=()=>{let i=UH(e.state,t,n.trigger,c()),l={...r.extraState,...i};o?l.instantType=`focus`:s?l.instantType=`dismiss`:a&&(l.instantType=void 0),e.update(l)};a?De.flushSync(l):l()}function KH(e,t,n,r){let i=n.useState(`isMountedByTrigger`,e),a=HH(e,n),o=pB(t=>{let i=n.select(`open`),a=n.select(`activeTriggerId`);if(a===e){let e={activeTriggerElement:t,...i?r:null};n.update(e)}else if(a==null&&i&&!n.state.openedWithoutTrigger){let i={activeTriggerId:e??null,activeTriggerElement:t,...r};n.update(i)}}),s=pB(e=>{a(e),e&&o(e)});return Y(()=>(s(t.current),()=>s(null)),[s,t,n,e]),Y(()=>{if(i){let e={activeTriggerElement:t.current,...r};n.update(e)}},[i,n,t,...Object.values(r)]),{registerTrigger:s,isMountedByThisTrigger:i}}function qH(e,t={}){let{closeOnActiveTriggerUnmount:n=!1}=t,r=U.useRef(null),i=e.useState(`open`);Y(()=>{if(!i){r.current=null,e.state.triggerCount!==0&&e.set(`triggerCount`,0),e.state.openedWithoutTrigger&&e.set(`openedWithoutTrigger`,!1);return}let t=e.context.triggerElements.size,a={};e.state.triggerCount!==t&&(a.triggerCount=t);let o=e.select(`activeTriggerId`),s=null;if(o){let t=e.context.triggerElements.getById(o);if(t)r.current=o,t!==e.state.activeTriggerElement&&(a.activeTriggerElement=t);else{for(let[t,n]of e.context.triggerElements.entries())if(n===e.state.activeTriggerElement){a.activeTriggerId=t,a.activeTriggerElement=n,r.current=t;break}a.activeTriggerId===void 0&&(r.current===o?s=o:r.current=null)}}else r.current=null;if(!s&&!o&&!e.state.openedWithoutTrigger&&t===1){let t=e.context.triggerElements.entries().next();if(!t.done){let[e,n]=t.value;a.activeTriggerId=e,a.activeTriggerElement=n,r.current=e}}(a.triggerCount!==void 0||a.activeTriggerId!==void 0||a.activeTriggerElement!==void 0)&&e.update(a),s&&n&&queueMicrotask(()=>{if(e.select(`open`)&&e.select(`activeTriggerId`)===s&&!e.context.triggerElements.getById(s)){let t=Yz(Xz);e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[i,e,e.useState(`triggerCount`),e.useState(`activeTriggerId`),e.useState(`activeTriggerElement`),n])}function JH(e,t,n,r){let{mounted:i,transitionStatus:a,forceUnmount:o}=IH({open:e,ref:t.context.popupRef,preventUnmountOnClose:t.useState(`preventUnmountingOnClose`),setPreventUnmountOnClose:e=>t.set(`preventUnmountingOnClose`,e),animateInitialOpen:r,onUnmount(){t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)}});return nz(()=>(t.set(`mounted`,i),null)),t.useSyncedValues({mounted:i,transitionStatus:a}),{forceUnmount:o,transitionStatus:a}}function YH(e,t){e.useSyncedValues(t),Y(()=>()=>{e.update({activeTriggerProps:lz,inactiveTriggerProps:lz,popupProps:lz})},[e])}function XH(e,t){Y(()=>{!t&&e.state.openMethod!==null&&e.set(`openMethod`,null)},[t,e]),Y(()=>()=>{e.state.openMethod!==null&&e.set(`openMethod`,null)},[e])}var ZH=class{idMap=new Map;add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(let t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(let t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}},QH=pV(19)?tU:nU;function $H(e,t,n,r,i){return QH(e,t,n,r,i)}function eU(e,t,n,r,i){let a=U.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return(0,iS.useSyncExternalStore)(e.subscribe,a,a)}Cie({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,iS.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function tU(e,t,n,r,i){let a=Sie();if(!a)return eU(e,t,n,r,i);let o=a.syncIndex;a.syncIndex+=1;let s;return a.didInitialize?(s=a.syncHooks[o],s.store===e&&s.selector===t&&Object.is(s.a1,n)&&Object.is(s.a2,r)&&Object.is(s.a3,i)||(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.value=t(e.getSnapshot(),n,r,i))):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i)},a.syncHooks.push(s)),s.value}function nU(e,t,n,r,i){return(0,Oj.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var rU=class{static create(e){return new this(e)}constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return $H(this,e,t,n,r)}},iU=class extends rU{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){U.useDebugValue(e);let n=this;Y(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){let n=this;Y(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this;Y(()=>{t.update(e)},[t,...Object.values(e)])}useControlledProp(e,t){U.useDebugValue(e);let n=this,r=t!==void 0;Y(()=>{r&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,r])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(e,t,n,r){return U.useDebugValue(e),$H(this,this.selectors[e],t,n,r)}useContextCallback(e,t){U.useDebugValue(e);let n=pB(t??sz);this.context[e]=n}useStateSetter(e){let t=U.useRef(void 0);return t.current===void 0&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}},aU={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId},oU=class extends iU{constructor(e){let{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:eH(),nested:n,triggerElements:i},aU),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||t!=null&&Mie(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit(`openchange`,n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}};function sU(e,t,n=!1){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new oU({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0}),floatingId:t,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,openedWithoutTrigger:!1,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:lz,inactiveTriggerProps:lz,popupProps:lz}}var cU=e=>e.triggerIdProp??e.activeTriggerId,lU=e=>e.openProp??e.open,uU=e=>(e.popupElement?.id??e.floatingId)||void 0;function dU(e,t){return t!==void 0&&lU(e)&&cU(e)===t}function fU(e,t){return dU(e,t)?!0:t!==void 0&&lU(e)&&cU(e)==null&&!e.openedWithoutTrigger&&e.triggerCount===1}var pU={open:lU,mounted:e=>e.mounted,transitionStatus:e=>lU(e)&&!e.mounted?`starting`:e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:cU,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:uU,isTriggerActive:(e,t)=>t!==void 0&&cU(e)===t,isOpenedByTrigger:(e,t)=>dU(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&cU(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>fU(e,t)?uU(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement};function mU(e){let t=U.useCallback(t=>e===void 0?sz:e.subscribeStore(t),[e]),n=U.useCallback(()=>e===void 0?void 0:e.store,[e]);return(0,iS.useSyncExternalStore)(t,n,()=>e?.serverStore)}function hU(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,i=dV(),a=iH()!=null,o=nz(()=>new oU({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new ZH,floatingId:i,syncOnly:!1,nested:a})).current;return Y(()=>{let e={open:t,floatingId:i};r.reference!==void 0&&(e.referenceElement=r.reference,e.domReferenceElement=gL(r.reference)?r.reference:null),r.floating!==void 0&&(e.floatingElement=r.floating),o.update(e)},[t,i,r.reference,r.floating,o]),o.context.onOpenChange=n,o.context.nested=a,o}var gU=yz&&bz;function _U(e,t={}){let{enabled:n=!0,delay:r}=t,{events:i,dataRef:a}=e.context,o=U.useRef(!1),s=U.useRef(null),c=U.useRef(!0),l=pz();U.useEffect(()=>{let t=e.select(`domReferenceElement`);if(!n)return;let r=pL(t);function i(){let t=e.select(`domReferenceElement`);!e.select(`open`)&&_L(t)&&t===Ez(vB(t))&&(o.current=!0,s.current=t)}function a(){c.current=!0}function l(){c.current=!1}return oB(aB(r,`blur`,i),gU&&aB(r,`keydown`,a,!0),gU&&aB(r,`pointerdown`,l,!0))},[e,n]),U.useEffect(()=>{if(!n)return;function t(t){if(t.reason===`trigger-press`||t.reason===`escape-key`){let t=e.select(`domReferenceElement`);gL(t)&&(s.current=t,o.current=!0)}}return i.on(`openchange`,t),()=>{i.off(`openchange`,t)}},[i,n,e]);let u=U.useMemo(()=>{function t(){o.current=!1,s.current=null}return{onMouseLeave(){t()},onFocus(n){let i=n.currentTarget;if(o.current){if(s.current===i)return;t()}let a=kz(n.nativeEvent);if(gL(a)){if(gU&&!n.relatedTarget){if(!c.current&&!Hz(a))return}else if(!Wz(a))return}let u=Bz(n.relatedTarget,e.context.triggerElements),{nativeEvent:d,currentTarget:f}=n;e.select(`open`)&&u||!r?e.setOpen(!0,Yz($z,d,f)):l.start(r,()=>{o.current||e.setOpen(!0,Yz($z,d,f))})},onBlur(n){t();let r=n.relatedTarget,i=n.nativeEvent,o=gL(r)&&r.hasAttribute(qB(`focus-guard`))&&r.getAttribute(`data-type`)===`outside`;l.start(0,()=>{let t=e.select(`domReferenceElement`),n=Ez(vB(t));!r&&n===t||Dz(a.current.floatingContext?.refs.floating.current,n)||Dz(t,n)||o||Bz(r??n,e.context.triggerElements)||e.setOpen(!1,Yz($z,i))})}}},[a,r,e,l]);return U.useMemo(()=>n?{reference:u,trigger:u}:{},[n,u])}var vU=class e{pointerType=void 0;interactedInside=!1;handler=void 0;blockMouseMove=!0;performedPointerEventsMutation=!1;pointerEventsScopeElement=null;pointerEventsReferenceElement=null;pointerEventsFloatingElement=null;restTimeoutPending=!1;openChangeTimeout=new fz;restTimeout=new fz;handleCloseOptions=void 0;static create(){return new e}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose},yU=new WeakMap;function bU(e){if(!e.performedPointerEventsMutation)return;let t=e.pointerEventsScopeElement;t&&yU.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty(`pointer-events`),e.pointerEventsReferenceElement?.style.removeProperty(`pointer-events`),e.pointerEventsFloatingElement?.style.removeProperty(`pointer-events`),yU.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function xU(e,t){let{scopeElement:n,referenceElement:r,floatingElement:i}=t,a=yU.get(n);a&&a!==e&&bU(a),bU(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=i,yU.set(n,e),n.style.pointerEvents=`none`,r.style.pointerEvents=`auto`,i.style.pointerEvents=`auto`}function SU(e){let t=e.context.dataRef.current,n=nz(()=>t.hoverInteractionState??vU.create()).current;return t.hoverInteractionState||=n,uz(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}function CU(e,t={}){let{enabled:n=!0,closeDelay:r=0,nodeId:i}=t,a=e.useState(`open`),o=e.useState(`floatingElement`),s=e.useState(`domReferenceElement`),{dataRef:c}=e.context,l=aH(),u=iH(),d=SU(e),f=pz(),p=pB(()=>Jz(c.current.openEvent?.type,d.interactedInside)),m=pB(()=>Qie(c.current.openEvent?.type)),h=pB(()=>{bU(d)});Y(()=>{a||(d.pointerType=void 0,d.restTimeoutPending=!1,d.interactedInside=!1,h())},[a,d,h]),U.useEffect(()=>h,[h]),Y(()=>{if(n&&a&&d.handleCloseOptions?.blockPointerEvents&&m()&&gL(s)&&o){let e=s,t=o,n=vB(o),r=l?.nodesRef.current.find(e=>e.id===u)?.context?.elements.floating;r&&(r.style.pointerEvents=``);let i=d.pointerEventsScopeElement===t?null:d.pointerEventsScopeElement,a=r===t?null:r,c=d.handleCloseOptions?.getScope?.()??i??a??Oz(e,`[data-rootownerid]`)??n.body;return xU(d,{scopeElement:c,referenceElement:e,floatingElement:t}),()=>{h()}}},[n,a,s,o,d,m,l,u,h]),U.useEffect(()=>{if(!n)return;function t(){return!!(l&&u&&GB(l.nodesRef.current,u).length>0)}function a(t){let n=Kz(r,`close`,d.pointerType),i=()=>{e.setOpen(!1,Yz(Qz,t)),l?.events.emit(`floating.closed`,t)};n?d.openChangeTimeout.start(n,i):(d.openChangeTimeout.clear(),i())}function s(e){let t=kz(e);Xie(t)?d.interactedInside=Oz(t,`[aria-haspopup]`)!=null:d.interactedInside=!1}function g(){d.openChangeTimeout.clear(),f.clear(),l?.events.off(`floating.closed`,v),h()}function _(n){if(t()&&l){l.events.on(`floating.closed`,v);return}if(Bz(n.relatedTarget,e.context.triggerElements))return;let r=c.current.floatingContext?.nodeId??i,o=n.relatedTarget;l&&r&&gL(o)&&GB(l.nodesRef.current,r,!1).some(e=>Dz(e.context?.elements.floating,o))||(d.handler?d.handler(n):(h(),m()&&!p()&&a(n)))}function v(n){l&&u&&!t()&&f.start(0,()=>{l.events.off(`floating.closed`,v),e.setOpen(!1,Yz(Qz,n)),l.events.emit(`floating.closed`,n)})}let y=o;return oB(y&&aB(y,`mouseenter`,g),y&&aB(y,`mouseleave`,_),y&&aB(y,`pointerdown`,s,!0),()=>{l?.events.off(`floating.closed`,v)})},[n,o,e,c,r,i,m,p,h,d,l,u,f])}var wU={current:null};function TU(e,t={}){let{enabled:n=!0,delay:r=0,handleClose:i=null,mouseOnly:a=!1,restMs:o=0,move:s=!0,triggerElementRef:c=wU,externalTree:l,isActiveTrigger:u=!0,getHandleCloseContext:d,isClosing:f,shouldOpen:p,guardStaleOpen:m=!1}=t,{dataRef:h,events:g}=e.context,_=aH(l),v=SU(e),y=U.useRef(!1),b=uB(i),x=uB(r),S=uB(o),C=uB(n),w=uB(p),T=uB(f),E=pB(()=>Jz(h.current.openEvent?.type,v.interactedInside)),D=pB(()=>w.current?.()!==!1),O=pB((t,n,r)=>{let i=e.context.triggerElements;if(i.hasElement(n))return!t||!Dz(t,n);if(!gL(r))return!1;let a=r;return i.hasMatchingElement(e=>Dz(e,a))&&(!t||!Dz(t,a))}),k=pB(()=>{v.handler&&=(vB(e.select(`domReferenceElement`)).removeEventListener(`mousemove`,v.handler),void 0)}),A=pB(()=>{bU(v)});return u&&(v.handleCloseOptions=i?.__options),U.useEffect(()=>k,[k]),U.useEffect(()=>{if(!n)return;function e(e){e.open?y.current=!1:(y.current=e.reason===Qz,k(),v.openChangeTimeout.clear(),v.restTimeout.clear(),v.blockMouseMove=!0,v.restTimeoutPending=!1)}return g.on(`openchange`,e),()=>{g.off(`openchange`,e)}},[n,g,v,k]),U.useEffect(()=>{if(!n)return;function t(t,n=!0){let r=Kz(x.current,`close`,v.pointerType);r?v.openChangeTimeout.start(r,()=>{e.setOpen(!1,Yz(Qz,t)),_?.events.emit(`floating.closed`,t)}):n&&(v.openChangeTimeout.clear(),e.setOpen(!1,Yz(Qz,t)),_?.events.emit(`floating.closed`,t))}let r=c.current??(u?e.select(`domReferenceElement`):null);if(!gL(r))return;function i(t){if(v.openChangeTimeout.clear(),v.blockMouseMove=!1,a&&!Tz(v.pointerType))return;let n=qz(S.current),r=Kz(x.current,`open`,v.pointerType),i=kz(t),o=t.currentTarget??null,s=e.select(`domReferenceElement`),c=o;if(gL(i)&&!e.context.triggerElements.hasElement(i)){for(let t of e.context.triggerElements.elements())if(Dz(t,i)){c=t;break}}gL(o)&&gL(s)&&!e.context.triggerElements.hasElement(o)&&Dz(o,s)&&(c=s);let l=c!=null&&O(s,c,i),u=e.select(`open`),d=T.current?.()??e.select(`transitionStatus`)===`ending`,f=!u&&d&&y.current,p=!l&&gL(c)&&gL(s)&&Dz(s,c)&&f,m=n>0&&!r,h=l&&(u||f)||p,g=!u||l;h?D()&&e.setOpen(!0,Yz(Qz,t,c)):m||(r?v.openChangeTimeout.start(r,()=>{g&&D()&&e.setOpen(!0,Yz(Qz,t,c))}):g&&D()&&e.setOpen(!0,Yz(Qz,t,c)))}function o(n){if(E()){A();return}k();let r=vB(e.select(`domReferenceElement`));v.restTimeout.clear(),v.restTimeoutPending=!1;let i=h.current.floatingContext??d?.();if(!Bz(n.relatedTarget,e.context.triggerElements)){if(b.current&&i){e.select(`open`)||v.openChangeTimeout.clear();let a=c.current;v.handler=b.current({...i,tree:_,x:n.clientX,y:n.clientY,onClose(){A(),k(),C.current&&!E()&&a===e.select(`domReferenceElement`)&&t(n,!0)}}),r.addEventListener(`mousemove`,v.handler),v.handler(n)}else v.pointerType===`touch`&&Dz(e.select(`floatingElement`),n.relatedTarget)||t(n)}}function l(e){Dz(r,e.relatedTarget)||(v.openChangeTimeout.clear(),v.restTimeout.clear(),v.restTimeoutPending=!1)}let f=m?aB(r,`mouseout`,l):void 0;return s?oB(aB(r,`mousemove`,i,{once:!0}),aB(r,`mouseenter`,i),aB(r,`mouseleave`,o),f):oB(aB(r,`mouseenter`,i),aB(r,`mouseleave`,o),f)},[k,A,h,x,e,n,b,v,u,O,E,a,s,S,c,_,C,d,T,D,m]),U.useMemo(()=>{if(!n)return;function t(e){v.pointerType=e.pointerType}return{onPointerDown:t,onPointerEnter:t,onMouseMove(t){let{nativeEvent:n}=t,r=t.currentTarget,i=e.select(`domReferenceElement`),o=e.select(`open`),s=O(i,r,t.target);if(a&&!Tz(v.pointerType))return;if(o&&s&&v.handleCloseOptions?.blockPointerEvents){let t=e.select(`floatingElement`);if(t){let e=v.handleCloseOptions?.getScope?.()??r.ownerDocument.body;xU(v,{scopeElement:e,referenceElement:r,floatingElement:t})}}let c=qz(S.current);if(o&&!s||c===0||!s&&v.restTimeoutPending&&t.movementX**2+t.movementY**2<2)return;v.restTimeout.clear();function l(){if(v.restTimeoutPending=!1,E())return;let t=e.select(`open`);!v.blockMouseMove&&(!t||s)&&D()&&e.setOpen(!0,Yz(Qz,n,r))}v.pointerType===`touch`?De.flushSync(()=>{l()}):s&&o?l():(v.restTimeoutPending=!0,v.restTimeout.start(c,l))}}},[n,v,E,O,a,e,S,D])}function EU(e){return bz&&e.movementX===0&&e.movementY===0}function DU(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function OU(e,t){return DU(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function kU(e,t,n){return DU(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function AU(e,t,n){return DU(t,n?e===Az:e===jz,e===Iie)}function jU(e,t,n,r){return t===`both`||t===`horizontal`&&r?e===`Escape`:DU(t,n?e===jz:e===Az,e===Fie)}function MU(e,t){let{listRef:n,activeIndex:r,onNavigate:i=()=>{},enabled:a=!0,selectedIndex:o=null,allowEscape:s=!1,loopFocus:c=!1,nested:l=!1,rtl:u=!1,virtual:d=!1,focusItemOnOpen:f=`auto`,focusItemOnHover:p=!0,openOnArrowKeyDown:m=!0,disabledIndices:h=void 0,orientation:g=`vertical`,triggerOrientation:_=g,parentOrientation:v,id:y,resetOnPointerLeave:b=!0,externalTree:x,nestedReturnFocusRef:S,grid:C}=t,w=C!=null,T=e.useState(`open`),E=e.useState(`floatingElement`),D=e.useState(`domReferenceElement`),O=e.context.dataRef,k=Gz(E),A=Uz(D),j=uB(k),M=iH(),N=aH(x),P=U.useRef(f),F=U.useRef(o??-1),I=U.useRef(null),L=U.useRef(!0),R=pB(e=>{i(F.current===-1?null:F.current,e)}),ee=U.useRef(!!E),z=U.useRef(T),te=U.useRef(!1),ne=U.useRef(!1),re=U.useRef(null),ie=uB(h),B=uB(T),V=uB(o),ae=uB(b),H=_B(),oe=_B(),se=pB(()=>{H.cancel();function e(e){d||(re.current=YB(e,{sync:te.current,preventScroll:!0}))}let t=n.current[F.current],r=ne.current;t&&e(t),(te.current?e=>e():e=>H.request(e))(()=>{let i=n.current[F.current]||t;i&&(t||e(i),pe&&(r||!L.current)&&i.scrollIntoView?.({block:`nearest`,inline:`nearest`}))})});Y(()=>{O.current.orientation=g},[O,g]),Y(()=>{T||(I.current=null),T&&f===`auto`||(P.current=f)},[T,f]),Y(()=>{a&&(T&&E?(F.current=o??-1,P.current&&o!=null&&(ne.current=!0,R())):ee.current&&(F.current=-1,R()))},[a,T,E,o,R]),Y(()=>{if(a){if(!T)te.current=!1;else if(E){if(r==null){if(te.current=!1,V.current!=null)return;if(ee.current&&(F.current=-1,se()),(!z.current||!ee.current)&&P.current&&(I.current!=null||P.current===!0&&I.current==null)){let e=0,t=()=>{n.current[0]==null?(e<2&&(e?e=>oe.request(e):queueMicrotask)(t),e+=1):(F.current=I.current==null||kU(I.current,_,u)||l?CB(n):wB(n),I.current=null,R())};t()}}else SB(n.current,r)||(F.current=r,se(),ne.current=!1)}}},[a,T,E,r,V,l,n,_,u,R,se,oe]),Y(()=>{if(!a||E||!N||d||!ee.current)return;let e=N.nodesRef.current,t=e.find(e=>e.id===M)?.context?.elements.floating,n=Ez(vB(D??t??null)),r=e.some(e=>e.context&&Dz(e.context.elements.floating,n));t&&!r&&L.current&&t.focus({preventScroll:!0})},[a,E,D,N,M,d]),Y(()=>{z.current=T,ee.current=!!E});let ce=r!=null,le=pB(e=>{if(!B.current)return;let t=n.current.indexOf(e.currentTarget);t!==-1&&(F.current!==t||r!==t)&&(F.current=t,R(e))}),ue=pB(()=>v??N?.nodesRef.current.find(e=>e.id===M)?.context?.dataRef?.current.orientation),de=pB(()=>CB(n,ie.current)),fe=pB(t=>{if(L.current=!1,te.current=!0,t.which===229||!B.current&&t.currentTarget===j.current)return;if(l&&jU(t.key,g,u,w)){OU(t.key,ue())||Sz(t),e.setOpen(!1,Yz(tB,t.nativeEvent));let n=S?.current??D;_L(n)&&n.focus();return}r!=null&&r!==F.current&&!SB(n.current,r)&&(F.current=r);let i=F.current,a=CB(n,h),o=wB(n,h);if(A||(t.key===`Home`&&(Sz(t),F.current=a,R(t)),t.key===`End`&&(Sz(t),F.current=o,R(t))),C!=null){let e=C(t,F.current,n,g,c,u,h,a,o);if(e!=null&&e!==F.current&&(F.current=e,R(t)),g===`both`)return}if(OU(t.key,g)){Sz(t);let e=Ez(t.currentTarget.ownerDocument);if(T&&!d&&Dz(t.currentTarget,e)&&!n.current.some(t=>t!=null&&Dz(t,e))){F.current=kU(t.key,g,u)?a:o,R(t),r===F.current&&se();return}let{index:l,wrapped:f}=_ae(n.current,i,{decrement:!kU(t.key,g,u),loopFocus:c,allowEscape:s,disabledIndices:h,minIndex:a,maxIndex:o});f&&(te.current=!1),F.current=l,R(t)}}),pe=U.useMemo(()=>({onFocus(e){te.current=!0,le(e)},onClick({currentTarget:e}){d||e.focus({preventScroll:!0})},onMouseMove(e){EU(e)||(te.current=!0,ne.current=!1,p&&le(e))},onPointerLeave(e){if(!B.current||!L.current||e.pointerType===`touch`)return;te.current=!0;let t=e.relatedTarget;if(p&&!n.current.includes(t)&&ae.current&&(re.current?.(),re.current=null,F.current=-1,R(e),!d)){let e=j.current,t=Ez(vB(e));e&&Dz(e,t)&&e.focus({preventScroll:!0})}}}),[le,B,j,p,n,R,ae,d]),me=U.useMemo(()=>d&&T&&ce&&{"aria-activedescendant":`${y}-${r}`},[d,T,ce,y,r]),he=U.useMemo(()=>({...A?{}:me,onKeyDown(t){if(t.key===`Tab`&&t.shiftKey&&T&&!d){let n=kz(t.nativeEvent);if(n&&!Dz(j.current,n))return;Sz(t);let r=Yz(eB,t.nativeEvent);e.setOpen(!1,r);let i=S?.current??D;!r.isCanceled&&_L(i)&&i.focus()}else fe(t)},onPointerMove(e){EU(e)||(L.current=!0)}}),[me,fe,j,A,e,T,d,D,S]),ge=U.useMemo(()=>{function t(t){e.setOpen(!0,Yz(tB,t.nativeEvent,t.currentTarget))}function n(e){f===`auto`&&Cz(e.nativeEvent)&&(P.current=!d)}function r(e){P.current=f,f===`auto`&&wz(e.nativeEvent)&&(P.current=!0)}return{onKeyDown(n){let r=e.select(`open`);L.current=!1;let i=n.key.startsWith(`Arrow`),a=AU(n.key,ue(),u),o=OU(n.key,r?g:_),s=(l?a:o)||n.key===`Enter`||n.key.trim()===``;if(d&&r&&(!l||Hz(n.currentTarget)))return fe(n);if(r||m||!i){if(s){let e=OU(n.key,ue());I.current=l&&e?null:n.key}l?a&&(Sz(n),r?(F.current=de(),R(n),d&&j.current?.focus()):t(n)):o&&(V.current!=null&&(F.current=V.current),Sz(n),!r&&m?t(n):fe(n),r&&R(n))}},onFocus(t){t.target===t.currentTarget&&e.select(`open`)&&!d&&(F.current=-1,R(t))},onPointerDown:r,onPointerEnter:r,onMouseDown:n,onClick:n}},[fe,f,de,l,R,e,m,g,_,ue,u,V,d,j]),_e=U.useMemo(()=>({...me,...ge}),[me,ge]);return U.useMemo(()=>a?{reference:_e,floating:he,item:pe,trigger:ge}:{},[a,_e,he,ge,pe])}function NU(e,t){let{listRef:n,elementsRef:r,activeIndex:i,onMatch:a,disabledIndices:o,onTyping:s,enabled:c=!0,resetMs:l=750,selectedIndex:u=null}=t,d=pB(s),f=e.useState(`open`),p=pz(),m=U.useRef(``),h=U.useRef(u??i??-1),g=U.useRef(null),_=pB(e=>{function t(e){return r?.current[e]}function s(e){let n=t(e);return n&&!DB(n)||n?.matches(`:disabled`)?!1:o==null||!EB(cz,e,o)}function c(e,t,n=0){if(e.length===0)return-1;let r=(n%e.length+e.length)%e.length,i=t.toLowerCase();for(let t=0;t<e.length;t+=1){let n=(r+t)%e.length;if(e[n]?.toLowerCase().startsWith(i)&&s(n))return n}return-1}let _=n.current;if(m.current.length>0&&e.key===` `&&(Sz(e),d?.(!0)),m.current.length>0&&m.current[0]!==` `&&c(_,m.current)===-1&&e.key!==` `&&d?.(!1),_==null||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;f&&e.key!==` `&&(Sz(e),d?.(!0));let v=m.current===``;v&&(h.current=u??i??-1),_.every((e,t)=>e&&s(t)?e[0]?.toLowerCase()!==e[1]?.toLowerCase():!0)&&m.current===e.key&&(m.current=``,h.current=g.current),m.current+=e.key,p.start(l,()=>{m.current=``,h.current=g.current,d?.(!1)});let y=((v?u??i??-1:h.current)??0)+1,b=c(_,m.current,y);b===-1?e.key!==` `&&(m.current=``,d?.(!1)):(a?.(b,e),g.current=b)}),v=pB(t=>{let n=t.relatedTarget,r=e.select(`domReferenceElement`),i=e.select(`floatingElement`);Dz(r,n)||Dz(i,n)||(p.clear(),m.current=``,h.current=g.current,d?.(!1))});Y(()=>{(f||u===null)&&(p.clear(),g.current=null,m.current!==``&&(m.current=``,d?.(!1)))},[f,u,p,d]);let y=U.useMemo(()=>({onKeyDown:_,onBlur:v}),[_,v]);return U.useMemo(()=>c?{reference:y,floating:y}:{},[c,y])}var PU=.1,FU=PU*PU,IU=.5;function LU(e,t,n,r,i,a){return r>=t!=a>=t&&e<=(i-n)*(t-r)/(a-r)+n}function RU(e,t,n,r,i,a,o,s,c,l){let u=!1;return LU(e,t,n,r,i,a)&&(u=!u),LU(e,t,i,a,o,s)&&(u=!u),LU(e,t,o,s,c,l)&&(u=!u),LU(e,t,c,l,n,r)&&(u=!u),u}function zU(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}function BU(e,t,n,r,i,a){return e>=Math.min(n,i)&&e<=Math.max(n,i)&&t>=Math.min(r,a)&&t<=Math.max(r,a)}function VU(e={}){let{blockPointerEvents:t=!1}=e,n=new fz,r=({x:e,y:t,placement:r,elements:i,onClose:a,nodeId:o,tree:s})=>{let c=r?.split(`-`)[0],l=!1,u=null,d=null,f=typeof performance<`u`?performance.now():0;function p(e,t){let n=performance.now(),r=n-f;if(u===null||d===null||r===0)return u=e,d=t,f=n,!1;let i=e-u,a=t-d,o=i*i+a*a,s=r*r*FU;return u=e,d=t,f=n,o<s}function m(){n.clear(),a()}return function(r){n.clear();let a=i.domReference,u=i.floating;if(!a||!u||c==null||e==null||t==null)return;let{clientX:d,clientY:f}=r,h=kz(r),g=r.type===`mouseleave`,_=Dz(u,h),v=Dz(a,h);if(_&&(l=!0,!g))return;if(v&&(l=!1,!g)){l=!0;return}if(g&&gL(r.relatedTarget)&&Dz(u,r.relatedTarget))return;function y(){return!!(s&&GB(s.nodesRef.current,o).length>0)}function b(){y()||m()}if(y())return;let x=a.getBoundingClientRect(),S=u.getBoundingClientRect(),C=e>S.right-S.width/2,w=t>S.bottom-S.height/2,T=S.width>x.width,E=S.height>x.height,D=(T?x:S).left,O=(T?x:S).right,k=(E?x:S).top,A=(E?x:S).bottom;if(c===`top`&&t>=x.bottom-1||c===`bottom`&&t<=x.top+1||c===`left`&&e>=x.right-1||c===`right`&&e<=x.left+1){b();return}let j=!1;switch(c){case`top`:j=BU(d,f,D,x.top+1,O,S.bottom-1);break;case`bottom`:j=BU(d,f,D,S.top+1,O,x.bottom-1);break;case`left`:j=BU(d,f,S.right-1,A,x.left+1,k);break;case`right`:j=BU(d,f,x.right-1,A,S.left+1,k)}if(j)return;if(l&&!zU(d,f,x)||!g&&p(d,f)){b();return}let M=!1;switch(c){case`top`:{let n=T?IU/2:IU*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t+IU+1,o=C||T?S.bottom-IU:S.top,s=C?T?S.bottom-IU:S.top:S.bottom-IU;M=RU(d,f,r,a,i,a,S.left,o,S.right,s);break}case`bottom`:{let n=T?IU/2:IU*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t-IU,o=C||T?S.top+IU:S.bottom,s=C?T?S.top+IU:S.bottom:S.top+IU;M=RU(d,f,r,a,i,a,S.left,o,S.right,s);break}case`left`:{let n=E?IU/2:IU*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e+IU+1,o=w||E?S.right-IU:S.left,s=w?E?S.right-IU:S.left:S.right-IU;M=RU(d,f,o,S.top,s,S.bottom,a,r,a,i);break}case`right`:{let n=E?IU/2:IU*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e-IU,o=w||E?S.left+IU:S.right,s=w?E?S.left+IU:S.right:S.left+IU;M=RU(d,f,a,r,a,i,o,S.top,s,S.bottom);break}}M?l||n.start(40,b):b()}};return r.__options={...e,blockPointerEvents:t},r}var HU=typeof document<`u`?U.useLayoutEffect:function(){};function UU(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!UU(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!UU(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function WU(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function GU(e,t){let n=WU(e);return Math.round(t*n)/n}function KU(e){let t=U.useRef(e);return HU(()=>{t.current=e}),t}function qU(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=U.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=U.useState(r);UU(f,r)||p(r);let[m,h]=U.useState(null),[g,_]=U.useState(null),v=U.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=U.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=U.useRef(null),C=U.useRef(null),w=U.useRef(u),T=c!=null,E=KU(c),D=KU(i),O=KU(l),k=U.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),bR(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!UU(w.current,t)&&(w.current=t,De.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);HU(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=U.useRef(!1);HU(()=>(A.current=!0,()=>{A.current=!1}),[]),HU(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let j=U.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),M=U.useMemo(()=>({reference:b,floating:x}),[b,x]),N=U.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=GU(M.floating,u.x),r=GU(M.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...WU(M.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,M.floating,u.x,u.y]);return U.useMemo(()=>({...u,update:k,refs:j,elements:M,floatingStyles:N}),[u,k,j,M,N])}var JU=(e,t)=>{let n=dR(e);return{name:n.name,fn:n.fn,options:[e,t]}},YU=(e,t)=>{let n=pR(e);return{name:n.name,fn:n.fn,options:[e,t]}},XU=(e,t)=>({fn:yR(e).fn,options:[e,t]}),ZU=(e,t)=>{let n=mR(e);return{name:n.name,fn:n.fn,options:[e,t]}},QU=(e,t)=>{let n=hR(e);return{name:n.name,fn:n.fn,options:[e,t]}},$U=U.createContext(void 0);function eW(e){let t=U.useContext($U);if(t===void 0&&!e)throw Error(DH(47));return t}var tW=class extends iU{setState(e){}update(e){}set(e,t){}notifyAll(){}},nW={...pU,disabled:e=>e.disabled,instantType:e=>e.instantType===`trigger-change`&&!pU.open(e)?void 0:e.instantType,openMethod:e=>e.openMethod,openChangeReason:e=>e.openChangeReason,isPressOpenedByTrigger:(e,t)=>e.openChangeReason===`trigger-press`&&pU.isOpenedByTrigger(e,t),isTouchPressOpen:(e,t)=>t&&e.openMethod===`touch`&&e.openChangeReason===`trigger-press`,hasTriggerFocusGuards:(e,t)=>pU.isOpenedByTrigger(e,t)&&!e.focusManagerModal,modal:e=>e.modal,titleElementId:e=>e.titleElementId,descriptionElementId:e=>e.descriptionElementId,openOnHover:e=>e.openOnHover,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},rW=class extends iU{constructor(e,t,n){let r=new ZH;super(iW(e,r,t,n),aW(r),nW)}setOpen=(e,t)=>{let n=t.reason===Qz,r=t.reason===`trigger-press`&&t.event.detail===0,i=!e&&(t.reason===`escape-key`||t.reason==null),a=WH(t),o=this.select(`activeTriggerId`);if(!e&&t.reason===`close-press`&&t.trigger==null&&o!=null&&(t.trigger=this.context.triggerElements.getById(o)??this.select(`activeTriggerElement`)??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let s=()=>{let n=UH(this.state,e,t.trigger,a());n.openChangeReason=t.reason,this.update(n)};n?(this.context.stickIfOpen=!0,this.context.stickIfOpenTimeout.start(500,()=>{this.context.stickIfOpen=!1}),De.flushSync(s)):s();let c;r?c=`click`:i?c=`dismiss`:t.reason===`focus-out`&&(c=`focus`),this.set(`instantType`,c)}};function iW(e,t,n,r=!1){let i={...sU(t,n,r),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,openOnHover:!1,closeDelay:0,adaptiveOrigin:void 0,...e};return i.open&&e?.mounted===void 0&&(i.mounted=!0),i}function aW(e){return{popupRef:U.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:U.createRef(),beforeTriggerFocusGuardRef:U.createRef(),beforeContentFocusGuardRef:U.createRef(),stickIfOpenTimeout:new fz,stickIfOpen:!0,triggerElements:e}}var oW=az(function({props:e}){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,modal:o=!1,handle:s,triggerId:c,defaultTriggerId:l=null}=e,u=cW(s,{modal:o,open:r,openProp:n,activeTriggerId:l,triggerIdProp:c});u.useControlledProp(`openProp`,n),u.useControlledProp(`triggerIdProp`,c);let d=u.useState(`open`),f=u.useState(`mounted`),p=u.useState(`payload`);u.useContextCallback(`onOpenChange`,i),u.useContextCallback(`onOpenChangeComplete`,a),XH(u,d),qH(u);let{forceUnmount:m}=JH(d,u,()=>{u.context.stickIfOpen=!0,u.set(`openChangeReason`,null)});u.useSyncedValues({modal:o}),U.useEffect(()=>{d||u.context.stickIfOpenTimeout.clear()},[u,d]),U.useImperativeHandle(e.actionsRef,()=>({unmount:m,close:()=>u.setOpen(!1,Yz(iB))}),[m,u]);let h=d||f||s!=null;return(0,G.jsxs)($U.Provider,{value:u,children:[s&&(0,G.jsx)(BH,{handle:s,store:u}),h&&(0,G.jsx)(lW,{store:u,modal:o}),typeof t==`function`?t({payload:p}):t]})});function sW(e){return eW(!0)?(0,G.jsx)(oW,{props:e}):(0,G.jsx)(cH,{children:(0,G.jsx)(oW,{props:e})})}function cW(e,t){let n=zH((e,n)=>new rW(t,e,n));return U.useEffect(()=>n.context.stickIfOpenTimeout.disposeEffect(),[n]),n}function lW({store:e,modal:t}){let n=TH(e.useState(`floatingRootContext`),{outsidePressEvent:{mouse:t===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}}),r=n.reference,i=n.floating;return YH(e,{activeTriggerProps:r,inactiveTriggerProps:r,popupProps:i}),null}var uW=U.createContext(void 0);function dW(e=!1){let t=U.useContext(uW);if(t===void 0&&!e)throw Error(DH(16));return t}function fW(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,s=r&&t===!1;return{props:U.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||s)&&(e.disabled=n),e},[r,n,t,o,s,a,i])}}function pW(e,t,{detail:n=0,pointerType:r=``}={}){e.dispatchEvent(new(pL(e)).PointerEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,detail:n,pointerType:r,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function mW(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:i=!0,composite:a}=e,o=U.useRef(null),s=dW(!0),c=a??s!==void 0,{props:l}=fW({focusableWhenDisabled:n,disabled:t,composite:c,tabIndex:r,isNativeButton:i}),u=U.useCallback(()=>{let e=o.current;hW(e)&&c&&t&&l.disabled===void 0&&e.disabled&&(e.disabled=!1)},[t,l.disabled,c]);return Y(u,[u]),{getButtonProps:U.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:a,onKeyDown:o,onPointerDown:s,...u}=e;return bV({onClick(e){t?e.preventDefault():n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t||(AV(e),o?.(e),e.baseUIHandlerPrevented))return;let n=e.target===e.currentTarget,r=e.currentTarget,a=hW(r),s=!i&&gW(r),l=n&&(i?a:!s),u=e.key===`Enter`,d=e.key===` `,f=r.getAttribute(`role`),p=f?.startsWith(`menuitem`)||f===`option`||f===`gridcell`;if(n&&c&&d){if(e.defaultPrevented&&p)return;e.preventDefault(),(!i||a)&&(e.preventBaseUIHandler(),pW(r,e))}else!l||i||!d&&!u?n&&s&&d&&e.preventDefault():e.defaultPrevented||(e.preventDefault(),u&&(e.preventBaseUIHandler(),pW(r,e)))},onKeyUp(e){t||(AV(e),a?.(e),e.target===e.currentTarget&&i&&c&&hW(e.currentTarget)&&e.key===` `?e.preventDefault():e.baseUIHandlerPrevented||e.target!==e.currentTarget||i||c||e.defaultPrevented||e.key!==` `||(e.preventBaseUIHandler(),pW(e.currentTarget,e)))},onPointerDown(e){t?e.preventDefault():s?.(e)}},i?{type:`button`}:{role:`button`},l,u)},[t,l,c,i]),buttonRef:pB(e=>{o.current=e,u()})}}function hW(e){return _L(e)&&e.tagName===`BUTTON`}function gW(e){return _L(e)&&e.tagName===`A`&&!!e.href}function _W(e){return dV(e,`base-ui`)}function vW(e,t){function n(n,r,i){let a=n.currentTarget;De.flushSync(()=>{e.setOpen(!1,Yz(eB,n.nativeEvent,a))}),Cae(a.isConnected?a:t.current,r,i)?.focus()}function r(t){n(t,-1,e.select(`positionerElement`))}function i(t){let r=e.select(`positionerElement`);r&&UB(t,r)?e.context.beforeContentFocusGuardRef.current?.focus():n(t,1,r)}return{handlePreFocusGuardFocus:r,handleFocusTargetFocus:i}}function yW(e){let t=U.useRef(``),n=U.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:U.useCallback(n=>{n.detail===0?e(n,`keyboard`):(`pointerType`in n?e(n,n.pointerType):e(n,t.current),t.current=``)},[e]),onPointerDown:n}}function bW(e,t){let n=U.useRef(e),r=pB(t);Y(()=>{n.current!==e&&r(n.current),n.current=e},[e,r])}function xW(e,t){let{onClick:n,onPointerDown:r}=yW(pB((n,r)=>{(typeof e==`function`?e():e)||t(r||(gz?`touch`:``))}));return U.useMemo(()=>({onClick:n,onPointerDown:r}),[n,r])}function SW(e){let[t,n]=U.useState(null),r=xW(e,n);return bW(e,t=>{t&&!e&&n(null)}),U.useMemo(()=>({openMethod:t,triggerProps:r}),[t,r])}var CW=oz(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,handle:s,payload:c,openOnHover:l=!1,delay:u=300,closeDelay:d=0,id:f,...p}=e,m=eW(!0),h=mU(s)??m;if(!h)throw Error(DH(74));let g=_W(f),_=h.useState(`isTriggerActive`,g),v=h.useState(`floatingRootContext`),y=h.useState(`isOpenedByTrigger`,g),b=h.useState(`triggerPopupId`,g),x=U.useRef(null),{registerTrigger:S,isMountedByThisTrigger:C}=KH(g,x,h,{payload:c,disabled:a,openOnHover:l,closeDelay:d}),w=h.useState(`isPressOpenedByTrigger`,g),T=h.useState(`isTouchPressOpen`,l),E=h.useState(`hasTriggerFocusGuards`,g),D=TU(v,{enabled:!a&&l&&!T,mouseOnly:!0,move:!1,handleClose:VU(),restMs:u,delay:{close:d},triggerElementRef:x,isActiveTrigger:_,isClosing:()=>h.select(`transitionStatus`)===`ending`}),O=yH(v,{stickIfOpen:pB(()=>h.context.stickIfOpen)}),k=xW(()=>h.select(`open`),e=>{h.set(`openMethod`,e)}),A=h.useState(`triggerProps`,C),{getButtonProps:j,buttonRef:M}=mW({disabled:a,native:o}),N={open(e){return w?Iz.open(e):Fz.open(e)}},{handlePreFocusGuardFocus:P,handleFocusTargetFocus:F}=vW(h,x),I=NV(`button`,e,{state:{disabled:a,open:y},ref:[M,t,S,x],props:[O.reference,D,A,k,{[VV]:``,id:g,"aria-haspopup":`dialog`,"aria-expanded":y,"aria-controls":b},p,j],stateAttributesMapping:N}),L=(0,G.jsx)(U.Fragment,{children:I},g);return E?(0,G.jsxs)(U.Fragment,{children:[(0,G.jsx)(xB,{ref:h.context.beforeTriggerFocusGuardRef,onFocus:P}),L,(0,G.jsx)(xB,{ref:h.context.triggerFocusTargetRef,onFocus:F})]}):L}),wW=U.createContext(void 0);function TW(){let e=U.useContext(wW);if(e===void 0)throw Error(DH(45));return e}var EW=U.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return eW().useState(`mounted`)||n?(0,G.jsx)(wW.Provider,{value:n,children:(0,G.jsx)($V,{ref:t,...r})}):null});function DW(e){return pV(19)?e:e?`true`:void 0}var OW=U.createContext(void 0);function kW(){let e=U.useContext(OW);if(!e)throw Error(DH(46));return e}function AW(e){let{nodeId:t,externalTree:n,rootContext:r}=e,i=r.useState(`referenceElement`),a=r.useState(`floatingElement`),o=r.useState(`domReferenceElement`),s=r.useState(`open`),c=r.useState(`floatingId`),[l,u]=U.useState(null),d=U.useRef(null),f=aH(n),p=U.useMemo(()=>({reference:i,floating:a,domReference:o}),[i,a,o]),m=qU({...e,elements:{...p,...l&&{reference:l}}}),h=U.useCallback(e=>{let t=gL(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;u(t),m.refs.setReference(t)},[m.refs]),g=U.useMemo(()=>({...m.refs,setPositionReference:h,domReference:d}),[m.refs,h]),_=U.useMemo(()=>({...m.elements,domReference:o}),[m.elements,o]),v=U.useMemo(()=>({...m,dataRef:r.context.dataRef,open:s,onOpenChange:r.setOpen,events:r.context.events,floatingId:c,refs:g,elements:_,nodeId:t,rootStore:r}),[m,g,_,t,r,s,c]);return Y(()=>{o&&(d.current=o)},[o]),Y(()=>{r.context.dataRef.current.floatingContext=v;let e=f?.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),U.useMemo(()=>({...m,context:v,refs:g,elements:_,rootStore:r}),[m,g,_,v,r])}var jW=U.createContext(void 0);function MW(){return U.useContext(jW)?.direction??`ltr`}var NW=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=TI(e,t)||{};if(l==null)return{};let d=UI(u),f={x:n,y:r},p=jI(i),m=kI(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=s.floating[y]||a.floating[m],C=b/2-x/2,w=S/2-h[m]/2-1,T=Math.min(d[_],w),E=Math.min(d[v],w),D=T,O=S-h[m]-E,k=S/2-h[m]/2+C,A=wI(D,k,O),j=!c.arrow&&DI(i)!=null&&k!==A&&a.reference[m]/2-(k<D?T:E)-h[m]/2<0,M=j?k<D?k-D:k-O:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:k-A-M,...j&&{alignmentOffset:M}},reset:j}}}),PW=(e,t)=>{let{name:n,fn:r}=NW(e);return{name:n,fn:r,options:[e,t]}},FW={name:`hide`,async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,a=t===0&&n===0&&r===0&&i===0,o=await e.platform.detectOverflow(e,{elementContext:`reference`});return{data:{referenceHidden:o.top-n>=0||o.right-t>=0||o.bottom-n>=0||o.left-t>=0||a}}}},IW={sideX:`left`,sideY:`top`},LW=`--available-width`,RW=`--available-height`,zW=`--anchor-width`,BW=`--anchor-height`,VW=`--transform-origin`,HW=LW,UW=RW;function WW(e,t,n){let r=e===`inline-start`||e===`inline-end`;return{top:`top`,right:r?n?`inline-start`:`inline-end`:`right`,bottom:`bottom`,left:r?n?`inline-end`:`inline-start`:`left`}[t]}function GW(e,t,n){let{rects:r,placement:i}=e;return{side:WW(t,EI(i),n),align:DI(i)||`center`,anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function KW(e){return qW(e,AW)}function qW(e,t){let{anchor:n,positionMethod:r=`absolute`,side:i=`bottom`,sideOffset:a=0,align:o=`center`,alignOffset:s=0,collisionBoundary:c,collisionPadding:l=5,sticky:u=!1,arrowPadding:d=5,disableAnchorTracking:f=!1,inline:p,keepMounted:m=!1,floatingRootContext:h,mounted:g,collisionAvoidance:_,shift:v,nodeId:y,adaptiveOrigin:b,lazyFlip:x=!1,externalTree:S}=e,C=_.side||`flip`,w=_.align||`flip`,T=_.fallbackAxisSide||`end`,E=v?.crossAxis??!1,D=v?.rootBoundary,O=typeof n==`function`?n:void 0,k=pB(O),A=O?k:n,j=uB(n),M=uB(g),N=MW()===`rtl`,[P,F]=U.useState(null);!g&&P!==null&&F(null);let I=x===`placement`,L=P?EI(P):null,R=P&&I?DI(P)||`center`:null,ee=L||{top:`top`,right:`right`,bottom:`bottom`,left:`left`,"inline-end":N?`left`:`right`,"inline-start":N?`right`:`left`}[i],z=R||o,te=z===`center`?ee:`${ee}-${z}`,ne=l;typeof ne==`number`?ne={top:ne,right:ne,bottom:ne,left:ne}:ne&&={top:ne.top||0,right:ne.right||0,bottom:ne.bottom||0,left:ne.left||0};let re=+(i===`bottom`),ie=+(i===`top`),B=+(i===`right`),V=+(i===`left`),ae={boundary:c===`clipping-ancestors`?`clippingAncestors`:c,padding:ne},H=U.useRef(null),oe=uB(a),se=uB(s),ce=typeof a==`function`?0:a,le=typeof s==`function`?0:s,ue=[];p&&ue.push(p),ue.push(JU(e=>{let t=GW(e,i,N),n=typeof oe.current==`function`?oe.current(t):oe.current,r=typeof se.current==`function`?se.current(t):se.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},[ce,le,N,i]));let de=w===`none`&&C!==`shift`,fe=!de&&(u||E||C===`shift`),pe=C===`none`?null:ZU({...ae,padding:{top:ne.top+1+re,right:ne.right+1+V,bottom:ne.bottom+1+ie,left:ne.left+1+B},mainAxis:!E&&C===`flip`,crossAxis:w===`flip`&&`alignment`,fallbackAxisSideDirection:T}),me=de?null:YU({...ae,rootBoundary:D,mainAxis:w!==`none`,crossAxis:fe,limiter:u||E?void 0:XU(e=>{if(!H.current)return{};let{width:t,height:n}=H.current.getBoundingClientRect(),r=AI(EI(e.placement)),i=r===`y`?t:n,a=r===`y`?ne.left+ne.right:ne.top+ne.bottom;return{offset:i/2+a/2}})},[ae,u,E,D,ne,w]);C===`shift`||w===`shift`||z===`center`?ue.push(me,pe):ue.push(pe,me),ue.push(QU({...ae,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!M.current)return;let i=e.style;i.setProperty(HW,`${t}px`),i.setProperty(UW,`${n}px`);let a=pL(e).devicePixelRatio||1,{x:o,y:s,width:c,height:l}=r.reference,u=(Math.round((o+c)*a)-Math.round(o*a))/a,d=(Math.round((s+l)*a)-Math.round(s*a))/a;i.setProperty(zW,`${u}px`),i.setProperty(BW,`${d}px`)}}),PW(e=>({element:H.current||vB(e.elements.floating).createElement(`div`),padding:H.current?d:0}),[d]),{name:`transformOrigin`,fn(e){let{elements:{floating:t},middlewareData:n,placement:r,platform:o,rects:s,y:c}=e,l=EI(r),u=DI(r),d=AI(l)===`y`,f=H.current,p=typeof a==`function`?a(GW(e,i,N)):a,m;m=!f&&u&&Math.abs(d?n.shift?.x||0:n.shift?.y||0)<=1?u===`start`===(d&&o.isRTL?.(t)===!0)?`100%`:`0%`:`${(d?n.arrow?.x||0:n.arrow?.y||0)+(d?f?.clientWidth||0:f?.clientHeight||0)/2}px`;let h=l===`top`||l===`left`?`calc(100% + ${p}px)`:`${-p}px`;return fe&&d&&Math.abs(n.shift?.y||0)>p&&(h=`${s.reference.y+s.reference.height/2-c}px`),t.style.setProperty(VW,d?`${m} ${h}`:`${h} ${m}`),{}}},FW,b),Y(()=>{!g&&h&&h.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[g,h]);let he=U.useMemo(()=>({ancestorScroll:!f,elementResize:!f&&typeof ResizeObserver<`u`,layoutShift:!f&&typeof IntersectionObserver<`u`}),[f]),{refs:ge,elements:_e,x:ve,y:ye,middlewareData:be,update:xe,placement:Se,context:Ce,isPositioned:we,floatingStyles:Te}=t({rootContext:h,open:m?g:void 0,placement:te,middleware:ue,strategy:r,whileElementsMounted:m?void 0:(...e)=>uR(...e,he),nodeId:y,externalTree:S}),{sideX:Ee,sideY:De}=be.adaptiveOrigin||IW,Oe=we?r:`fixed`,ke=U.useMemo(()=>{let e;return e=we?b?{position:Oe,[Ee]:ve,[De]:ye}:{...Te,position:Oe}:{position:Oe,top:0,left:0},e[HW]=`100vw`,e[UW]=`100vh`,we||(e.opacity=0),e},[b,Oe,Ee,ve,De,ye,Te,we]),Ae=U.useRef(null);Y(()=>{if(!g)return;let e=j.current,t=typeof e==`function`?e():e,n=(JW(t)?t.current:t)||null;n!==Ae.current&&(ge.setPositionReference(n),Ae.current=n)},[g,ge,A,j]),U.useEffect(()=>{if(!g)return;let e=j.current;typeof e!=`function`&&JW(e)&&e.current!==Ae.current&&(ge.setPositionReference(e.current),Ae.current=e.current)},[g,ge,A,j]),U.useEffect(()=>{if(m&&g&&_e.reference&&_e.floating)return uR(_e.reference,_e.floating,xe,he)},[m,g,_e,xe,he]);let je=EI(Se),Me=WW(i,je,N),Ne=DI(Se)||`center`,Pe=!!be.hide?.referenceHidden;Y(()=>{x&&g&&we&&(je!==ee||I&&Ne!==z)&&F(Se)},[x,I,g,we,Se,je,Ne,ee,z]);let Fe=U.useMemo(()=>({position:`absolute`,top:be.arrow?.y,left:be.arrow?.x}),[be.arrow]),Ie=be.arrow?.centerOffset!==0;return U.useMemo(()=>({positionerStyles:ke,arrowStyles:Fe,arrowRef:H,arrowUncentered:Ie,side:Me,align:Ne,physicalSide:je,anchorHidden:Pe,refs:ge,context:Ce,isPositioned:we,update:xe}),[ke,Fe,H,Ie,Me,Ne,je,Pe,ge,Ce,we,xe])}function JW(e){return e!=null&&`current`in e}var YW=U.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n.getBoundingClientRect();i=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,G.jsx)(`div`,{ref:t,role:`presentation`,"data-base-ui-inert":``,...r,style:{position:`fixed`,inset:0,userSelect:`none`,WebkitUserSelect:`none`,clipPath:i}})});function XW(e){let{store:t,domReference:n,positionerElement:r,open:i}=e,a=U.useRef(null),o=U.useRef(null),s=PH(r);Y(()=>{i||(o.current?.abort(),o.current=null,t.state.instantType===`trigger-change`&&t.set(`instantType`,void 0))},[i,t]),Y(()=>{let e=n,r=a.current;if(e&&(a.current=e),!r||!e||e===r||!t.select(`open`))return;t.set(`instantType`,void 0);let i=new AbortController;return o.current=i,s(()=>{t.select(`open`)&&t.set(`instantType`,`trigger-change`)},i.signal),()=>{i.abort()}},[n,s,t])}function ZW(e){return e===`starting`?BV:lz}function QW(e,t,{styles:n,transitionStatus:r,props:i,refs:a,hidden:o,inert:s=!1}){let c={...n};return s&&(c.pointerEvents=`none`),NV(`div`,e,{state:t,ref:a,props:[{role:`presentation`,hidden:o,style:c},ZW(r),i],stateAttributesMapping:Lz})}var $W={},eG={},tG=``;function nG(e,t){return yL(e)?e:t}function rG(e,t,n){return/hidden|clip/.test(e.getComputedStyle(nG(t,n)).overflowY)}function iG(e){if(typeof document>`u`)return!1;let t=vB(e);return pL(t).innerWidth-t.documentElement.clientWidth>0}function aG(e){if(!(typeof CSS<`u`&&CSS.supports&&CSS.supports(`scrollbar-gutter`,`stable`))||typeof document>`u`)return!1;let t=vB(e),n=t.documentElement,r=t.body,i=nG(n,r),a=i.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter=`stable`,i.style.overflowY=`scroll`;let s=i.offsetWidth;i.style.overflowY=`hidden`;let c=i.offsetWidth;return i.style.overflowY=a,n.style.scrollbarGutter=o,s===c}function oG(e){let t=vB(e),n=t.documentElement,r=t.body,i=nG(n,r),a={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:`hidden`,overflowX:`hidden`}),()=>{Object.assign(i.style,a)}}function sG(e){let t=vB(e),n=t.documentElement,r=t.body,i=pL(n),a=0,o=0,s=!1,c=gB.create();if(bz&&(i.visualViewport?.scale??1)!==1)return()=>{};function l(){let t=i.getComputedStyle(n),c=i.getComputedStyle(r),l=(t.scrollbarGutter||``).includes(`both-edges`)?`stable both-edges`:`stable`;a=n.scrollTop,o=n.scrollLeft,$W={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},tG=n.style.scrollBehavior,eG={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f=t.overflowY===`scroll`||c.overflowY===`scroll`,p=t.overflowX===`scroll`||c.overflowX===`scroll`,m=Math.max(0,i.innerWidth-r.clientWidth),h=Math.max(0,i.innerHeight-r.clientHeight),g=parseFloat(c.marginTop)+parseFloat(c.marginBottom),_=parseFloat(c.marginLeft)+parseFloat(c.marginRight),v=nG(n,r);s=aG(e),s?(n.style.scrollbarGutter=l,v.style.overflowY=`hidden`,v.style.overflowX=`hidden`):(Object.assign(n.style,{scrollbarGutter:l,overflowY:`hidden`,overflowX:`hidden`}),(u||f)&&(n.style.overflowY=`scroll`),(d||p)&&(n.style.overflowX=`scroll`),Object.assign(r.style,{position:`relative`,height:g||h?`calc(100dvh - ${g+h}px)`:`100dvh`,width:_||m?`calc(100vw - ${_+m}px)`:`100vw`,boxSizing:`border-box`,overflowY:`hidden`,overflowX:`hidden`,scrollBehavior:`unset`}),r.scrollTop=a,r.scrollLeft=o,n.setAttribute(`data-base-ui-scroll-locked`,``),n.style.scrollBehavior=`unset`)}function u(){Object.assign(n.style,$W),Object.assign(r.style,eG),s||(n.scrollTop=a,n.scrollLeft=o,n.removeAttribute(`data-base-ui-scroll-locked`),n.style.scrollBehavior=tG)}function d(){u(),c.request(l)}l();let f=aB(i,`resize`,d);return()=>{c.cancel(),u(),typeof i.removeEventListener==`function`&&f()}}var cG=new class{lockCount=0;restore=null;timeoutLock=fz.create();timeoutUnlock=fz.create();acquire(e){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{--this.lockCount,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(this.lockCount===0||this.restore!==null)return;let t=vB(e),n=t.documentElement,r=t.body,i=pL(n);if(rG(i,n,r)){let t=new i.MutationObserver(()=>{rG(i,n,r)||(t.disconnect(),this.restore=null,this.lock(e))}),a={attributes:!0};t.observe(n,a),t.observe(r,a),this.restore=()=>t.disconnect();return}let a=gz||!iG(e);this.restore=a?oG(e):sG(e)}};function lG(e=!0,t=null){Y(()=>{if(e)return cG.acquire(t)},[e,t])}var uG=20;function dG(e,t,n,r){let[i,a]=U.useState(!1);Y(()=>{if(!e||!t||n==null){a(!1);return}let r=vB(n).documentElement.clientWidth,i=n.offsetWidth;a(r>0&&i>0&&i>=r-uG)},[e,t,n]),lG(e&&(!t||i),r)}var fG=U.forwardRef(function(e,t){let{render:n,className:r,style:i,anchor:a,positionMethod:o,side:s,align:c,sideOffset:l,alignOffset:u,collisionBoundary:d=`clipping-ancestors`,collisionPadding:f,arrowPadding:p,sticky:m,disableAnchorTracking:h=!1,collisionAvoidance:g=qV,..._}=e,v=eW(),y=TW(),b=oH(),x=v.useState(`floatingRootContext`),S=v.useState(`mounted`),C=v.useState(`open`),w=v.useState(`openChangeReason`),T=v.useState(`activeTriggerElement`),E=v.useState(`modal`),D=v.useState(`openMethod`),O=v.useState(`positionerElement`),k=v.useState(`instantType`),A=v.useState(`transitionStatus`),j=KW({anchor:a,floatingRootContext:x,positionMethod:o,mounted:S,side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:p,collisionBoundary:d,collisionPadding:f,sticky:m,disableAnchorTracking:h,keepMounted:y,nodeId:b,collisionAvoidance:g,adaptiveOrigin:v.useState(`adaptiveOrigin`)});XW({store:v,domReference:x.useState(`domReferenceElement`),positionerElement:O,open:C});let M=E===!0&&w!==`trigger-hover`;dG(C&&M,D===`touch`,O,T);let N=v.useStateSetter(`positionerElement`),P=QW(e,{open:C,side:j.side,align:j.align,anchorHidden:j.anchorHidden,instant:k},{styles:j.positionerStyles,transitionStatus:A,props:_,refs:[t,N],hidden:!S,inert:!C});return(0,G.jsxs)(OW.Provider,{value:j,children:[S&&M&&(0,G.jsx)(YW,{inert:DW(!C),cutout:T}),(0,G.jsx)(sH,{id:b,children:P})]})}),pG=new Set([`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`,`Home`,`End`]),mG=U.createContext(void 0);function hG(e){let t=U.useContext(mG);if(t===void 0&&!e)throw Error(DH(69));return t}var gG=U.createContext(void 0);function _G(){let[e,t]=U.useState(0),n=pB(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:U.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}var vG=U.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,c=eW(),l=kW(),u=hG(!0)!=null,{context:d,hasClosePart:f}=_G(),p=c.useState(`open`),m=c.useState(`openMethod`),h=c.useState(`instantType`),g=c.useState(`transitionStatus`),_=c.useState(`popupProps`),v=c.useState(`titleElementId`),y=c.useState(`descriptionElementId`),b=c.useState(`modal`),x=c.useState(`mounted`),S=c.useState(`openChangeReason`),C=c.useState(`activeTriggerElement`),w=c.useState(`floatingRootContext`),T=w.useState(`floatingId`),E=c.useState(`disabled`),D=c.useState(`openOnHover`),O=c.useState(`closeDelay`);FH({open:p,ref:c.context.popupRef,onComplete(){p&&c.context.onOpenChangeComplete?.(!0)}}),CU(w,{enabled:D&&!E,closeDelay:O});let k=a===void 0?RH(c.context.popupRef):a,A=b!==!1&&f;c.useSyncedValue(`focusManagerModal`,A);let j=c.useStateSetter(`popupElement`),M=NV(`div`,e,{state:{open:p,side:l.side,align:l.align,instant:h,transitionStatus:g},ref:[t,c.context.popupRef,j],props:[_,{id:T,role:`dialog`,...LH,"aria-labelledby":v,"aria-describedby":y,onKeyDown(e){u&&pG.has(e.key)&&e.stopPropagation()}},ZW(g),s],stateAttributesMapping:Rz});return(0,G.jsx)(vH,{context:w,openInteractionType:m,modal:A,disabled:!x||S===`trigger-hover`,initialFocus:k,returnFocus:o,restoreFocus:`popup`,getInsideElements:()=>[c.context.beforeTriggerFocusGuardRef.current],previousFocusableElement:_L(C)?C:void 0,nextFocusableElement:c.context.triggerFocusTargetRef,beforeContentFocusGuardRef:c.context.beforeContentFocusGuardRef,children:(0,G.jsx)(gG.Provider,{value:d,children:M})})}),yG=U.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=eW(),s=_W(a.id);return o.useSyncedValueWithCleanup(`titleElementId`,s),NV(`h2`,e,{ref:t,props:[{id:s},a]})}),bG=U.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=eW(),s=_W(a.id);return o.useSyncedValueWithCleanup(`descriptionElementId`,s),NV(`p`,e,{ref:t,props:[{id:s},a]})}),xG=function(e){let{direction:t=`ltr`}=e,n=U.useMemo(()=>({direction:t}),[t]);return(0,G.jsx)(jW.Provider,{value:n,children:e.children})};function SG(e,t){let n=new Set;return[...e,...t].filter(e=>{let t=`${e.kind}:${e.id}`;return!n.has(t)&&(n.add(t),!0)})}function CG(e){return e.startsWith(`/note/`)?{panel:!0,fresh:!1,chips:[{kind:`meeting`,id:e.slice(6)}]}:e.startsWith(`/folder/`)?{panel:!1,fresh:!1,chips:[{kind:`folder`,id:e.slice(8)}]}:{panel:!1,fresh:e===`/chat`||e.startsWith(`/chat/`),chips:[]}}function wG(e,t){let n=/(?:^|\s)@([^@\n]{0,80})$/.exec(e.slice(0,t));return n?{start:t-n[1].length-1,end:t,query:n[1]}:void 0}var TG=4e3;function EG(e,t){let n=DG(e);return n[Math.min(Math.max(0,t),n.length-1)]}function DG(e){if(!e||e.kind===`loading`)return[W(`Thinking…`),W(`Still thinking…`)];if(e.kind===`searching`)return[W(`Searching your meetings…`),W(`Still searching your meetings…`)];let t=W(`Still reading…`),n=e.title?.trim()||W(`Untitled meeting`);return e.meetings&&e.meetings>1?[W(`Reading {title} {others}…`,{title:n,others:W(`and {count} others`,{count:e.meetings-1})}),t]:[W(`Reading {title}…`,{title:n}),W(`Still reading {title}…`,{title:n}),t]}var OG=864e5,kG=(e,t=Date.now())=>Math.round((new Date(new Date(t).toDateString()).getTime()-new Date(new Date(e).toDateString()).getTime())/OG);function AG(e,t={}){let n=new Date(e),r=kG(e);if(r===0)return W(`Today`);if(r===1)return W(`Yesterday`);if(r===-1)return W(`Tomorrow`);if(t.weekday&&r>1&&r<7)return n.toLocaleDateString(xt(),{weekday:`long`});let i=n.getFullYear()===new Date().getFullYear();return n.toLocaleDateString(xt(),{...t.weekday?{weekday:`short`}:{},month:`short`,day:`numeric`,...i?{}:{year:`numeric`}})}function jG(e){let t=kG(e);if(t===0||t===1)return AG(e);let n=new Date(e);return n.toLocaleDateString(xt(),{weekday:`short`,month:`short`,day:`numeric`,...n.getFullYear()===new Date().getFullYear()?{}:{year:`numeric`}})}var MG=e=>new Date(e).toLocaleTimeString(xt(),{hour:`numeric`,minute:`2-digit`});function NG(e,t,n=xt()){let r=new Intl.DateTimeFormat(n,{hour:`numeric`,minute:`2-digit`});if(t==null)return r.format(e);let i=e=>r.formatToParts(e).find(e=>e.type===`dayPeriod`)?.value,a=i(e);return t>=e&&a&&a===i(t)&&new Date(e).toDateString()===new Date(t).toDateString()?r.formatRange(e,t):`${r.format(e)} – ${r.format(t)}`}var PG=(e,t)=>{let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];)n++;return n},FG=(e,t)=>{let n=e.charCodeAt(t-1);return n>=55296&&n<=56319&&t<e.length?t+1:t},IG=(e,t)=>t.startsWith(e)?e:t.slice(0,FG(t,PG(e,t))),LG=class{shown;target;since=0;constructor(e,t){this.target=e,this.shown=t?``:e}get settled(){return this.shown===this.target}update(e,t,n,r=!1){let i=this.settled;this.target=e,!t||r?this.shown=e:(this.shown=IG(this.shown,e),i&&(this.since=n))}tick(e){let t=this.target.length-this.shown.length;if(t<=0){this.since=e;return}let n=Math.min(5,250/t),r=Math.min(t,Math.floor((e-this.since)/n));r<=0||(this.shown=this.target.slice(0,FG(this.target,this.shown.length+r)),this.since=this.settled?e:this.since+r*n)}};function RG(e,t,n={}){let r=Mf(),i=t&&!r,[a]=(0,U.useState)(()=>new LG(e,i&&!n.startShown)),[o,s]=(0,U.useState)(a.shown),c=(0,U.useRef)(n.minCommitMs??0);return c.current=n.minCommitMs??0,(0,U.useEffect)(()=>{if(a.update(e,i,performance.now()),s(a.shown),a.settled)return;let t=0,n=performance.now(),r=e=>{a.tick(e),(a.settled||e-n>=c.current)&&(n=e,s(a.shown)),a.settled||(t=requestAnimationFrame(r))};return t=requestAnimationFrame(r),()=>cancelAnimationFrame(t)},[a,e,i]),i?IG(o,e):e}function zG(e,t){for(let n of it(e)){let e=n.map(e=>e.text??``).join(``).indexOf(t);if(e<0||!t)continue;let r=0;return n.flatMap(n=>{let i=n.text??``,a=Math.max(0,e-r),o=Math.min(i.length,e+t.length-r);return r+=i.length,o>a?[{...n,text:i.slice(a,o)}]:[]})}return[{type:`text`,text:t}]}function BG(e,t){let n=new Set,r=i=>{if(i.type===`paragraph`||i.type===`heading`){let r=(i.content??[]).map(e=>e.text??``).join(``);return[`before`,`match`,`after`].flatMap(i=>!t[i]||n.has(i)||!r.includes(t[i])?[]:(n.add(i),[{type:`citationPart`,attrs:{part:i},content:zG(e,t[i])}]))}let a=(i.content??[]).map((e,t)=>r(e).map(e=>i.type===`orderedList`?{...e,attrs:{...e.attrs,value:Number(i.attrs?.start??1)+t}}:e)),o=a.flat();return o.length?[{...i,content:o,...i.type===`orderedList`?{attrs:{...i.attrs,start:Number(i.attrs?.start??1)+a.findIndex(e=>e.length)}}:{}}]:[]};return r(Re(e.replace(/^[\t ]*#{4,6}[\t ]+/gm,`### `),{inlineCode:!0}))[0]?.content??[]}function VG(e,t){let n=e.atMs===null?`notes`:`transcript`,r=e.transcript?.lines??[],i=e.excerpt??``;n===`transcript`&&(i=at(i).split(`-`).map(e=>{for(let t of r){let n=`${t.track===`me`?`You`:t.speaker||`Them`}: `;if(e.startsWith(n)&&(e.slice(n.length).startsWith(at(t.text))||at(t.text).startsWith(e.slice(n.length))))return e.slice(n.length)}return e}).join(`-`));let a=dt(i,t),o=Math.max(0,r.findIndex(t=>t.startMs===e.atMs)),s=t=>{let a=n===`transcript`?r[pt(r.map(e=>e.text),t,o)]:void 0,s=Ot(a?.track??`them`,a?.speaker,e.transcript?.speakers??[]);return{text:t,nodes:n===`notes`?zG(i,t):[],track:a?.track??`them`,speaker:a?.speaker,color:s===void 0?void 0:Dt[s],atMs:a?.startMs}},c=s(a.match),l=n===`transcript`?r.flatMap(e=>{let t=at(e.text);if(t&&i.includes(t))return[{...e,text:t}];if(t&&i.endsWith(`-…`)){let n=i.slice(0,-2),r=n.lastIndexOf(t.split(/\s/)[0]),a=r<0?``:n.slice(r);if(a&&t.startsWith(a))return[{...e,text:a+`…`}]}return[]}):[],u=l.length?l:n===`transcript`?i.split(`-`).filter(e=>e.trim()).map(t=>({text:t,track:`them`,speaker:null,startMs:e.atMs})):[],d=Math.max(0,pt(u.map(e=>e.text),c.text,Math.max(0,u.findIndex(e=>e.startMs===c.atMs))));return{kind:n,before:s(a.before),match:c,after:s(a.after),notes:n===`notes`?BG(i,a):[],lines:u.map((t,n)=>{let r=Ot(t.track,t.speaker,e.transcript?.speakers??[]);return{...t,index:n,color:r===void 0?void 0:Dt[r]}}),matchedLine:d}}function HG({source:e,sentence:t,triggerId:n,animate:r,onOpen:i}){let a=(0,U.useId)().replace(/:/g,``),o=(0,U.useRef)(null),s=VG(e,t),c=Mf(),l=n?document.getElementById(n):null,u=e.title||W(`Untitled`),d=new Date(e.startedAt),f=d.toLocaleDateString(xt(),{weekday:`short`,month:`short`,day:`numeric`,year:`numeric`});return(0,U.useLayoutEffect)(()=>{if(!r||c)return;let e=0,t=requestAnimationFrame(()=>{let t=o.current;if(!t||!l)return;let n=l.getBoundingClientRect(),r=t.getBoundingClientRect(),i=n.left+n.width/2-r.left,a=n.top+n.height/2-r.top,s={"from-x":`${i-9}px`,"from-y":`${a>r.height/2?a-n.height/2-18:a+n.height/2}px`,"from-sx":18/r.width,"from-sy":18/r.height};for(let[e,n]of Object.entries(s))t.style.setProperty(`--${e}`,String(n));t.dataset.morph=`true`,e=window.setTimeout(()=>{delete t.dataset.morph},Af.settleMs)});return()=>{cancelAnimationFrame(t),clearTimeout(e),o.current&&delete o.current.dataset.morph}},[l,r,c]),(0,G.jsx)(EW,{container:l?.closest(`dialog`)??void 0,children:(0,G.jsx)(fG,{side:`top`,align:`center`,sideOffset:8,collisionPadding:12,positionMethod:`fixed`,className:`citation-positioner`,children:(0,G.jsxs)(vG,{ref:o,className:`citation-card`,"data-testid":`citation-card`,"data-animate":r&&!c,initialFocus:!1,finalFocus:!1,"aria-label":u,children:[(0,G.jsx)(`svg`,{width:`0`,height:`0`,className:`citation-filter`,"aria-hidden":`true`,children:(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`filter`,{id:a,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`,colorInterpolationFilters:`sRGB`,children:[(0,G.jsx)(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:`2.4`}),(0,G.jsx)(`feColorMatrix`,{type:`matrix`,values:`1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -8.5`})]})})}),(0,G.jsx)(`div`,{className:`citation-liquid`,style:{"--citation-filter":`url(#${a})`},"aria-hidden":`true`,children:(0,G.jsx)(`div`,{className:`citation-mass`})}),(0,G.jsx)(`div`,{className:`citation-edge`,"aria-hidden":`true`}),(0,G.jsxs)(`div`,{className:`citation-content`,children:[(0,G.jsxs)(`div`,{className:`citation-heading`,children:[(0,G.jsx)(yG,{className:`citation-title`,title:u,children:u}),(0,G.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,G.jsx)(`time`,{className:`citation-date`,dateTime:d.toISOString(),title:f,children:d.toLocaleDateString(xt(),{month:`short`,day:`numeric`})})]}),s.match.text&&(0,G.jsx)(`blockquote`,{className:`citation-quote`,"data-testid":`citation-excerpt`,dir:`auto`,children:(0,G.jsxs)(`q`,{children:[s.before.text&&(0,G.jsxs)(`span`,{className:`citation-context`,children:[s.before.text,` `]}),(0,G.jsx)(`span`,{className:`citation-match`,children:s.match.text}),s.after.text&&(0,G.jsxs)(`span`,{className:`citation-context`,children:[` `,s.after.text]})]})}),(0,G.jsx)(`div`,{className:`citation-footer`,children:(0,G.jsxs)(`button`,{className:`ghost-btn`,"data-testid":`citation-open`,"aria-label":W(`Open {source}`,{source:u}),onClick:()=>i(s.match.text),children:[W(`Open`),(0,G.jsx)(iee,{size:12,"aria-hidden":`true`})]})})]})]})})})}function UG({marks:e=[],children:t}){let n=t;for(let t of e)t.type===`bold`?n=(0,G.jsx)(`strong`,{children:n}):t.type===`italic`?n=(0,G.jsx)(`em`,{children:n}):t.type===`code`&&(n=(0,G.jsx)(`code`,{children:n}));return n}function WG({md:e,live:t,sources:n,onSource:r}){let i=(0,U.useId)(),[a,o]=(0,U.useState)(!1),[s,c]=(0,U.useState)(null),[l,u]=(0,U.useState)(null),d=(0,U.useRef)(null),f=(0,U.useRef)(null),p=(0,U.useMemo)(()=>{let r=rt(e,n,t),i=e=>{e.type===`citation`&&(e.attrs.payloads=e.attrs.marks.map(t=>({source:n.find(e=>e.n===t.source),sentence:String(e.attrs.sentence??``)}))),e.content?.forEach(i)};return i(r),r},[e,n,t]);(0,U.useLayoutEffect)(()=>{s&&!document.getElementById(s)&&(u(null),a?f.current?.close():(f.current?.unmount(),c(null)))},[p,a,s]);let m={live:t,at:{n:0},id:i,sources:n,pinned:l,focus:e=>{e.matches(`:focus-visible`)&&(d.current===e.id?d.current=null:(u(null),c(e.id),o(!0)))},blur:()=>{d.current=null},dismiss:e=>!a||s!==e.id?!1:(u(null),o(!1),!0)};return(0,G.jsx)(sW,{actionsRef:f,open:a,triggerId:s,onOpenChange:(e,t)=>{let n=s?document.getElementById(s):null,r=document.getElementById(n?.getAttribute(`aria-controls`)??``),i=a&&(n===document.activeElement||!!r?.contains(document.activeElement));if(t.reason===`trigger-hover`&&(l||i&&(!e||t.trigger?.id!==s)))t.cancel();else if(!e&&t.reason===`focus-out`&&(l||n?.matches(`:hover`)||r?.matches(`:hover`)))t.cancel();else{if(t.reason===`trigger-press`){let n=l!==t.trigger?.id;e!==n&&t.cancel(),u(n?t.trigger?.id??s:null),e=n}else e||u(null);t.reason===`escape-key`&&document.activeElement?.closest(`.citation-card`)&&(d.current=s,s&&document.getElementById(s)?.focus({preventScroll:!0})),e&&c(t.trigger?.id??s),o(e)}},children:({payload:e})=>(m.at.n=0,(0,G.jsxs)(G.Fragment,{children:[(p.content??[]).map(e=>GG(e,m)),e&&(0,G.jsx)(HG,{source:e.source,sentence:e.sentence,triggerId:s,animate:!0,onOpen:t=>{u(null),o(!1),r(e.source,t)}},s)]}))})}function GG(e,t){let n=`${e.type}-${t.at.n}`;if(e.type===`citation`)return t.at.n+=Number(e.attrs?.length??0),e.attrs.marks.length?(0,G.jsx)(`span`,{className:`citation-group`,"data-gap":e.attrs.gap||void 0,"data-single":e.attrs.marks.length===1||void 0,children:e.attrs.marks.map((r,i)=>{let a=t.sources.find(e=>e.n===r.source),o=a.title||W(`Untitled`),s=`${t.id}-${n}-${r.source}`;return(0,G.jsx)(CW,{id:s,payload:e.attrs.payloads[i],openOnHover:!0,delay:120,closeDelay:180,"aria-pressed":t.pinned===s,className:`source-citation`,"data-testid":`source-citation`,"data-meeting":a.meetingId,"data-at":a.atMs??void 0,"aria-label":`${o} · ${AG(a.startedAt)}`,onFocus:e=>t.focus(e.currentTarget),onBlur:t.blur,onKeyDown:e=>{e.key===`Escape`&&t.dismiss(e.currentTarget)&&(e.preventDefault(),e.stopPropagation())},children:(0,G.jsx)(`span`,{className:`source-name`,children:o})},r.source)})},n):null;if(e.type===`citationAnchor`)return(0,G.jsx)(`span`,{className:`citation-anchor`,children:e.content.map(e=>GG(e,t))},n);if(e.type===`text`){let r=e.text??``,i=KG(r,t.at.n,t.live);return t.at.n+=r.length,(0,G.jsx)(UG,{marks:e.marks,children:i},n)}let r=(e.content??[]).map(e=>GG(e,t));switch(t.at.n+=1,e.type){case`heading`:return(0,G.jsx)(`h3`,{children:r},n);case`bulletList`:return(0,G.jsx)(`ul`,{children:r},n);case`orderedList`:return(0,G.jsx)(`ol`,{start:Number(e.attrs?.start??1),children:r},n);case`listItem`:return(0,G.jsx)(`li`,{children:r},n);case`paragraph`:return e.content?(0,G.jsx)(`p`,{children:r},n):null;default:return(0,G.jsx)(U.Fragment,{children:r},n)}}function KG(e,t,n){if(!n)return e?[e]:[];let r=[],i=t;for(let t of e.split(/(\s+)/))t&&r.push(/^\s+$/.test(t)?t:(0,G.jsx)(`span`,{className:`fw`,children:t},i)),i+=t.length;return r}function qG(e,t){return function({size:n=16,...r}){return(0,G.jsx)(`svg`,{width:n,height:n,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.75,strokeLinecap:`round`,strokeLinejoin:`round`,"data-icon":e,...r,children:t.map(([e,t])=>(0,U.createElement)(e,t))})}}var JG=qG(`MessageCircle`,[[`path`,{d:`M21.9598 12.9919C21.6856 17.2342 18.3536 20.6134 14.1706 20.8915C13.4574 20.9389 12.7285 21.001 12 21.001C10.4054 21.001 8.95127 20.8637 7.44544 20.2902C7.44544 20.2902 5.56108 21.7589 3.69962 21.4587C3.31009 21.3959 3.11532 21.3644 3.00091 21.1343C2.8865 20.9042 3.00788 20.6756 3.25063 20.2185C3.65964 19.4483 3.92248 18.6737 3.80076 17.8306C3.73703 17.3892 3.50433 16.9974 3.27644 16.6136L3.26529 16.5948C2.62637 15.5188 2.12462 14.2975 2.04024 12.9919C1.98659 12.1617 1.98659 11.3019 2.04024 10.4717C2.31441 6.22935 5.64639 2.85011 9.8294 2.57205C11.2536 2.47738 12.7435 2.47719 14.1706 2.57205C18.3536 2.85011 21.6856 6.22935 21.9598 10.4717C22.0134 11.3019 22.0134 12.1617 21.9598 12.9919Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,key:`0`}],[`path`,{d:`M8.75 9.50098H12.25`,pathLength:`1`,stroke:`currentColor`,key:`1`}],[`path`,{d:`M8.75 14.501H15.25`,pathLength:`1`,stroke:`currentColor`,key:`2`}]]),YG=qG(`Search`,[[`circle`,{cx:`10.5`,cy:`10.5`,r:`7`,key:`lens`}],[`path`,{d:`M15.5 15.5 20.5 20.5`,key:`handle`}]]),XG=qG(`SidebarToggle`,[[`rect`,{x:`3`,y:`4`,width:`18`,height:`16`,rx:`4`,key:`frame`}],[`rect`,{x:`6.5`,y:`7.5`,width:`6`,height:`9`,rx:`1`,fill:`currentColor`,stroke:`none`,className:`sidebar-toggle-pane`,key:`pane`}]]),ZG=qG(`FileText`,[[`path`,{d:`M8 17H16`,pathLength:`1`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,key:`0`}],[`path`,{d:`M8 13H12`,pathLength:`1`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,key:`1`}],[`path`,{d:`M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5M20 10.6569V14C20 17.7712 20 19.6569 18.8284 20.8284C17.6569 22 15.7712 22 12 22C8.22876 22 6.34315 22 5.17157 20.8284C4 19.6569 4 17.7712 4 14V9.45584C4 6.21082 4 4.58831 4.88607 3.48933C5.06508 3.26731 5.26731 3.06508 5.48933 2.88607C6.58831 2 8.21082 2 11.4558 2C12.1614 2 12.5141 2 12.8372 2.11401C12.9044 2.13772 12.9702 2.165 13.0345 2.19575C13.3436 2.34355 13.593 2.593 14.0919 3.09188L18.8284 7.82843C19.4065 8.40649 19.6955 8.69552 19.8478 9.06306C20 9.4306 20 9.83935 20 10.6569Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,key:`2`}]]),QG=qG(`Settings`,[[`path`,{d:`M15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5C13.933 8.5 15.5 10.067 15.5 12Z`,stroke:`currentColor`,key:`0`}],[`path`,{d:`M21.011 14.0965C21.5329 13.9558 21.7939 13.8854 21.8969 13.7508C22 13.6163 22 13.3998 22 12.9669V11.0332C22 10.6003 22 10.3838 21.8969 10.2493C21.7938 10.1147 21.5329 10.0443 21.011 9.90358C19.0606 9.37759 17.8399 7.33851 18.3433 5.40087C18.4817 4.86799 18.5509 4.60156 18.4848 4.44529C18.4187 4.28902 18.2291 4.18134 17.8497 3.96596L16.125 2.98673C15.7528 2.77539 15.5667 2.66972 15.3997 2.69222C15.2326 2.71472 15.0442 2.90273 14.6672 3.27873C13.208 4.73448 10.7936 4.73442 9.33434 3.27864C8.95743 2.90263 8.76898 2.71463 8.60193 2.69212C8.43489 2.66962 8.24877 2.77529 7.87653 2.98663L6.15184 3.96587C5.77253 4.18123 5.58287 4.28891 5.51678 4.44515C5.45068 4.6014 5.51987 4.86787 5.65825 5.4008C6.16137 7.3385 4.93972 9.37763 2.98902 9.9036C2.46712 10.0443 2.20617 10.1147 2.10308 10.2492C2 10.3838 2 10.6003 2 11.0332V12.9669C2 13.3998 2 13.6163 2.10308 13.7508C2.20615 13.8854 2.46711 13.9558 2.98902 14.0965C4.9394 14.6225 6.16008 16.6616 5.65672 18.5992C5.51829 19.1321 5.44907 19.3985 5.51516 19.5548C5.58126 19.7111 5.77092 19.8188 6.15025 20.0341L7.87495 21.0134C8.24721 21.2247 8.43334 21.3304 8.6004 21.3079C8.76746 21.2854 8.95588 21.0973 9.33271 20.7213C10.7927 19.2644 13.2088 19.2643 14.6689 20.7212C15.0457 21.0973 15.2341 21.2853 15.4012 21.3078C15.5682 21.3303 15.7544 21.2246 16.1266 21.0133L17.8513 20.034C18.2307 19.8187 18.4204 19.711 18.4864 19.5547C18.5525 19.3984 18.4833 19.132 18.3448 18.5991C17.8412 16.6616 19.0609 14.6226 21.011 14.0965Z`,stroke:`currentColor`,strokeLinecap:`round`,key:`1`}]]),$G=qG(`Mic`,[[`path`,{d:`M7 6.5C7 4.01472 9.01472 2 11.5 2C13.9853 2 16 4.01472 16 6.5V11.5C16 13.9853 13.9853 16 11.5 16C9.01472 16 7 13.9853 7 11.5V6.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,key:`0`}],[`path`,{d:`M11.5 19H11.0828C7.57267 19 4.57706 16.4623 4 13M11.5 19H11.9172C15.4273 19 18.4229 16.4623 19 13M11.5 19V22`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,key:`1`}]]),eK=qG(`Pause`,[[`path`,{d:`M4 7C4 5.58579 4 4.87868 4.43934 4.43934C4.87868 4 5.58579 4 7 4C8.41421 4 9.12132 4 9.56066 4.43934C10 4.87868 10 5.58579 10 7V17C10 18.4142 10 19.1213 9.56066 19.5607C9.12132 20 8.41421 20 7 20C5.58579 20 4.87868 20 4.43934 19.5607C4 19.1213 4 18.4142 4 17V7Z`,stroke:`currentColor`,key:`0`}],[`path`,{d:`M14 7C14 5.58579 14 4.87868 14.4393 4.43934C14.8787 4 15.5858 4 17 4C18.4142 4 19.1213 4 19.5607 4.43934C20 4.87868 20 5.58579 20 7V17C20 18.4142 20 19.1213 19.5607 19.5607C19.1213 20 18.4142 20 17 20C15.5858 20 14.8787 20 14.4393 19.5607C14 19.1213 14 18.4142 14 17V7Z`,stroke:`currentColor`,key:`1`}]]),tK=qG(`Play`,[[`path`,{d:`M18.8906 12.846C18.5371 14.189 16.8667 15.138 13.5257 17.0361C10.296 18.8709 8.6812 19.7884 7.37983 19.4196C6.8418 19.2671 6.35159 18.9776 5.95624 18.5787C5 17.6139 5 15.7426 5 12C5 8.2574 5 6.3861 5.95624 5.42132C6.35159 5.02245 6.8418 4.73288 7.37983 4.58042C8.6812 4.21165 10.296 5.12907 13.5257 6.96393C16.8667 8.86197 18.5371 9.811 18.8906 11.154C19.0365 11.7084 19.0365 12.2916 18.8906 12.846Z`,stroke:`currentColor`,strokeLinejoin:`round`,key:`0`}]]),nK=qG(`Sparkles`,[[`path`,{d:`M15 2L15.5387 4.39157C15.9957 6.42015 17.5798 8.00431 19.6084 8.46127L22 9L19.6084 9.53873C17.5798 9.99569 15.9957 11.5798 15.5387 13.6084L15 16L14.4613 13.6084C14.0043 11.5798 12.4202 9.99569 10.3916 9.53873L8 9L10.3916 8.46127C12.4201 8.00431 14.0043 6.42015 14.4613 4.39158L15 2Z`,stroke:`currentColor`,strokeLinejoin:`round`,key:`0`}],[`path`,{d:`M7 12L7.38481 13.7083C7.71121 15.1572 8.84275 16.2888 10.2917 16.6152L12 17L10.2917 17.3848C8.84275 17.7112 7.71121 18.8427 7.38481 20.2917L7 22L6.61519 20.2917C6.28879 18.8427 5.15725 17.7112 3.70827 17.3848L2 17L3.70827 16.6152C5.15725 16.2888 6.28879 15.1573 6.61519 13.7083L7 12Z`,stroke:`currentColor`,strokeLinejoin:`round`,key:`1`}]]),rK=qG(`Copy`,[[`path`,{d:`M7.5 14.5C7.5 11.2002 7.5 9.55025 8.52513 8.52513C9.55025 7.5 11.2002 7.5 14.5 7.5C17.7998 7.5 19.4497 7.5 20.4749 8.52513C21.5 9.55025 21.5 11.2002 21.5 14.5C21.5 17.7998 21.5 19.4497 20.4749 20.4749C19.4497 21.5 17.7998 21.5 14.5 21.5C11.2002 21.5 9.55025 21.5 8.52513 20.4749C7.5 19.4497 7.5 17.7998 7.5 14.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,key:`0`}],[`path`,{d:`M7.5 16.5C6.10355 16.5 5.40533 16.5 4.84402 16.3036C3.83866 15.9518 3.0482 15.1613 2.69641 14.156C2.5 13.5947 2.5 12.8964 2.5 11.5V9.5C2.5 6.20017 2.5 4.55025 3.52513 3.52513C4.55025 2.5 6.20017 2.5 9.5 2.5H11.5C12.8964 2.5 13.5947 2.5 14.156 2.69641C15.1613 3.0482 15.9518 3.83866 16.3036 4.84402C16.5 5.40533 16.5 6.10355 16.5 7.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,key:`1`}]]),iK=qG(`Loader`,[[`path`,{d:`M12 3V6`,stroke:`currentColor`,strokeLinecap:`round`,key:`0`}],[`path`,{d:`M12 18V21`,stroke:`currentColor`,strokeLinecap:`round`,key:`1`}],[`path`,{d:`M21 12L18 12`,stroke:`currentColor`,strokeLinecap:`round`,key:`2`}],[`path`,{d:`M6 12L3 12`,stroke:`currentColor`,strokeLinecap:`round`,key:`3`}],[`path`,{d:`M18.3635 5.63672L16.2422 7.75804`,stroke:`currentColor`,strokeLinecap:`round`,key:`4`}],[`path`,{d:`M7.75804 16.2422L5.63672 18.3635`,stroke:`currentColor`,strokeLinecap:`round`,key:`5`}],[`path`,{d:`M18.3635 18.3635L16.2422 16.2422`,stroke:`currentColor`,strokeLinecap:`round`,key:`6`}],[`path`,{d:`M7.75804 7.75804L5.63672 5.63672`,stroke:`currentColor`,strokeLinecap:`round`,key:`7`}]]);function aK(e){return U.Children.map(e,e=>{if(!(0,U.isValidElement)(e))return e;let t=e;return(0,U.cloneElement)(t,{ref:null,...typeof e.type==`string`?{id:void 0,"data-testid":void 0}:{}},t.props.children===void 0?void 0:aK(t.props.children))})}function oK({pending:e,children:t,skeleton:n,testId:r,className:i=``,onReady:a}){let o=cv(e),s=(0,U.useRef)(void 0);e&&(s.current=n??aK(t));let c=o===`waiting`||o===`skeleton`,l=(0,U.useRef)(a);return l.current=a,(0,U.useLayoutEffect)(()=>{c||l.current?.()},[c]),(0,G.jsxs)(`div`,{className:`loading-content ${i}`,"data-loading-phase":o,"aria-busy":c,children:[o!==`ready`&&(0,G.jsxs)(`div`,{className:`loading-placeholder`,"data-testid":r,children:[c&&(0,G.jsx)(`span`,{className:`sr-only`,role:`status`,children:W(`Loading…`)}),(0,G.jsx)(`div`,{className:`loading-mask`,"aria-hidden":`true`,inert:!0,ref:e=>{n===void 0&&e?.querySelectorAll(`[id],[data-testid]`).forEach(e=>{e.removeAttribute(`id`),e.removeAttribute(`data-testid`)})},children:s.current})]}),!e&&(0,G.jsx)(`div`,{className:`loading-result`,children:t})]})}var sK=e=>new Intl.NumberFormat(xt(),{style:`percent`,maximumFractionDigits:0}).format(Math.floor(Math.max(0,Math.min(1,e))*100)/100),cK=e=>!e.notesDownloading&&!e.notesError&&!!(e.notesUpgradePending||e.notesUpgradeDownloading||e.notesUpgradeError),lK=e=>!!e&&!!(e.notesDownloading||e.notesError||cK(e));function uK(e){let t=e.notesRestoreFraction!==void 0,n=cK(e),r=t?e.notesRestoreTotalBytes:n?e.notesUpgradeTotalBytes:e.notesTotalBytes,i=t?e.notesRestoreFraction:n?e.notesUpgradeFraction:e.notesFraction,a=t?e.notesRestoreEtaSec:n?e.notesUpgradeEtaSec:e.notesEtaSec,o=W(n?`Upgrading AI`:`Downloading AI`);if(!r||!Number.isFinite(r)||r<0||i===void 0||!Number.isFinite(i))return{progress:``,eta:``,detail:o};let s=new Intl.NumberFormat(xt(),{minimumFractionDigits:1,maximumFractionDigits:1}),c=W(`{done} of {total} GB`,{done:s.format(r*Math.max(0,Math.min(1,i))/1e9),total:s.format(r/1e9)}),l=!e.notesError&&!e.notesUpgradeError&&i<1&&a!==void 0&&Number.isFinite(a)&&a>0?new Intl.NumberFormat(xt()).format(Math.max(1,Math.round(a/60))):void 0;return{progress:c,eta:l?W(`about {minutes} min left`,{minutes:l}):``,detail:l?W(`{progress} · about {minutes} min left`,{progress:c,minutes:l}):c}}function dK({children:e,downloading:t}){let[n,r]=(0,U.useState)(),[i,a]=(0,U.useState)(!1),[o,s]=(0,U.useState)(!1);(0,U.useEffect)(()=>{let e=window.yogurt.setup.onState(e=>{r(e),e.notesError||s(!1)});return window.yogurt.setup.state().then(e=>r(t=>t??e)),e},[]);let c=async()=>{a(!0),s(!1);try{await window.yogurt.setup.retry()}catch{s(!0)}finally{a(!1)}};return n?.notesError?(0,G.jsxs)(`div`,{"data-testid":`notes-model-error`,role:`status`,className:`flex flex-col items-start gap-2 text-[14px] text-muted`,children:[(0,G.jsx)(`p`,{className:`font-medium text-ink`,children:W(`The notes model couldn't download.`)}),(0,G.jsx)(`p`,{children:n.notesError}),(0,G.jsx)(`button`,{"data-testid":`notes-model-retry`,onClick:()=>void c(),disabled:i,className:`text-action`,children:W(i?`Retrying…`:`Retry download`)}),o&&(0,G.jsx)(`p`,{className:`text-danger`,children:W(`Yogurt couldn't restart the download.`)})]}):t&&n&&(n.notesFraction!==void 0||n.notesDownloading)?t(sK(n.notesFraction??0)):e}function fK(e,t,n){let r=(1-Math.cos(n*Math.PI*2))/2,i=4.7-3.7*r,a=0;for(let o of[-1,1]){let s=(e-9-o*i)/(1+r*.12),c=(t-10-o*Math.sin(n*Math.PI*2)*.65)/(1-r*.08);a+=2.75**2/Math.max(.01,s*s+c*c)}return Math.max(0,Math.min(255,(a-.98)*1700))}function pK(){let e=(0,U.useRef)(null),t=Mf();return(0,U.useEffect)(()=>{let n=e.current,r=n?.getContext(`2d`);if(!n||!r||t)return;let i=r.createImageData(72,80),a=0,o=-1/0,s=!1,c=e=>{if(n.isConnected){if(e-o>=1e3/30){o=e;let t=getComputedStyle(n).color.match(/[\d.]+/g).map(Number);for(let n=0;n<80;n++)for(let r=0;r<72;r++){let a=(n*72+r)*4;i.data[a]=t[0],i.data[a+1]=t[1],i.data[a+2]=t[2],i.data[a+3]=fK((r+.5)/4,(n+.5)/4,e%2800/2800)}r.putImageData(i,0,0)}a=requestAnimationFrame(c)}},l=()=>{cancelAnimationFrame(a),s&&!document.hidden&&(a=requestAnimationFrame(c))},u=new IntersectionObserver(([e])=>{s=e.isIntersecting,l()});return u.observe(n),document.addEventListener(`visibilitychange`,l),()=>{u.disconnect(),cancelAnimationFrame(a),document.removeEventListener(`visibilitychange`,l)}},[t]),t?(0,G.jsxs)(`span`,{className:`thinking-dots thinking-dots-static`,"data-testid":`thinking-dots`,"aria-hidden":`true`,children:[(0,G.jsx)(`i`,{}),(0,G.jsx)(`i`,{}),(0,G.jsx)(`i`,{})]}):(0,G.jsx)(`canvas`,{ref:e,width:72,height:80,className:`thinking-dots`,"data-testid":`thinking-dots`,"aria-hidden":`true`})}var mK=U.createContext(void 0);function hK(e){let t=U.useContext(mK);if(t===void 0&&!e)throw Error(DH(33));return t}var gK=U.createContext(void 0);function _K(e){let t=U.useContext(gK);if(t===void 0&&!e)throw Error(DH(36));return t}var vK=U.createContext(void 0);function yK(e=!0){let t=U.useContext(vK);if(t===void 0&&!e)throw Error(DH(25));return t}var bK=U.createContext(null);function xK(e=`root`){let t=U.useContext(bK),n=U.useContext(gK);return t===null||n===void 0?null:(e===`submenu-trigger`?n.virtualFocus||n.parentVirtualFocus:n.virtualFocus)?t:null}var SK={visible:!0,ref:null};function CK(){return SK}function wK(e,t,n=`root`){let r=xK(n),i=((n===`submenu-trigger`?r?.useSubmenuTrigger:r?.useItem)??CK)({label:e.label,children:e.children,render:e.render}),a=sB(t,i.ref);return{visible:i.visible,ref:a,props:i.props}}function TK(e){e.preventDefault()}function EK(e){let{closeOnClick:t,highlighted:n,id:r,nodeId:i,store:a,typingRef:o,itemRef:s,itemMetadata:c}=e,l=_K(),u=yK(!0),d=c.type===`submenu-trigger`,f=d?l.parentVirtualFocus:l.virtualFocus,p=(d&&l.parent.type===`menu`?l.parent.store:l.store).useState(`webkitAriaSelected`,n),{events:m}=a.useState(`floatingTreeRoot`),h=a.useState(`open`),g=u!==void 0,_=!f&&h&&n?0:-1;return U.useMemo(()=>({id:r,role:`menuitem`,tabIndex:_,"aria-selected":p,onMouseDown:f?TK:void 0,onKeyDown(e){e.key===` `&&o?.current&&e.preventDefault()},onMouseMove(e){i&&m.emit(`itemhover`,{nodeId:i,target:e.currentTarget})},onClick(e){t&&m.emit(`close`,{domEvent:e.nativeEvent,reason:tae})},onMouseUp(e){if(u){let t=u.initialCursorPointRef.current;if(u.initialCursorPointRef.current=null,g&&t&&Math.abs(e.clientX-t.x)<=1&&Math.abs(e.clientY-t.y)<=1||g&&!yz&&e.button===2)return}s.current&&a.context.allowMouseUpTriggerRef.current&&(!g||e.button===2)&&c.type===`regular-item`&&pW(s.current,e,{detail:1,pointerType:`mouse`})}}),[t,_,r,m,i,a.context.allowMouseUpTriggerRef,o,s,u,g,c.type,p,f])}var DK={type:`regular-item`};function OK(e){let{closeOnClick:t,disabled:n,highlighted:r,id:i,store:a,typingRef:o=a.context.typingRef,nativeButton:s,itemMetadata:c,nodeId:l}=e,u=U.useRef(null),{getButtonProps:d,buttonRef:f}=mW({disabled:n,focusableWhenDisabled:!0,native:s,composite:!0}),p=EK({closeOnClick:t,highlighted:r,id:i,nodeId:l,store:a,typingRef:o,itemRef:u,itemMetadata:c}),m=U.useCallback(e=>bV(p,{onMouseEnter(e){c.type===`submenu-trigger`&&c.setActive(e.nativeEvent)}},e,d),[p,d,c]),h=sB(u,f);return U.useMemo(()=>({getItemProps:m,itemRef:h}),[m,h])}var kK=U.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function AK(){return U.useContext(kK)}function jK(e={}){let{guess:t,label:n,metadata:r,textRef:i,index:a}=e,{register:o,unregister:s,subscribeMapChange:c,nextIndexRef:l}=AK(),u=U.useRef(-1),[d,f]=U.useState(a==null&&t?()=>{if(u.current===-1){let e=l.current;l.current+=1,u.current=e}return u.current}:-1),p=a??d,m=U.useRef(null),h=U.useCallback(e=>{let t=m.current;t&&s(t),m.current=e,e&&o(e,{metadata:r??null,index:a??null,label:n,textRef:i})},[a,o,s,r,n,i]);return Y(()=>{if(a==null)return c(e=>{let t=m.current?e.get(m.current)?.index:null;t!=null&&f(t)})},[a,c]),{ref:h,index:p}}var MK=U.forwardRef(function(e,t){let{render:n,className:r,id:i,label:a,nativeButton:o=!1,disabled:s=!1,closeOnClick:c=!0,style:l,...u}=e,{store:d}=_K(),f=jK({guess:!0,label:a}),p=_W(i),m=d.useState(`disabled`),h=d.useState(`isActive`,f.index),g=d.useState(`floatingNodeId`),_=d.useState(`itemProps`),v=s||m,{getItemProps:y,itemRef:b}=OK({closeOnClick:c,disabled:v,highlighted:h,id:p,store:d,nativeButton:o,nodeId:g,itemMetadata:DK});return NV(`div`,e,{state:{disabled:v,highlighted:h},props:[_,u,y],ref:[b,t,f.ref]})}),NK=U.forwardRef(function(e,t){let n=wK(e,t);return n.visible?(0,G.jsx)(MK,{...e,ref:n.ref}):null}),PK=U.createContext(void 0);function FK(){return U.useContext(PK)}function IK(e,t){let n=LV(e.render);if(U.isValidElement(n)){let e=n.props;if(Object.hasOwn(e,`id`))return e.id??``}return e.id??t}function LK(e,t,n){let r=IK(e,t),i=r===t?void 0:r;return[r,U.useCallback(e=>n?.(e?i:void 0),[i,n])]}function RK(e,t,n){let r=LV(e.render),i=U.isValidElement(r)?r.props:void 0,a=e[`aria-label`]??i?.[`aria-label`],o=e[`aria-labelledby`]??i?.[`aria-labelledby`];return o==null&&!a&&(o=t?t.id||void 0:n||void 0),o}var zK=U.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,id:o,initialFocus:s,...c}=e,{store:l,defaultFloatingId:u,setRenderedFloatingId:d,virtualFocus:f,orientation:p}=_K(),m=FK(),{side:h,align:g}=hK(),_=hG(!0)!=null,v=l.useState(`open`),y=l.useState(`transitionStatus`),b=l.useState(`popupProps`),x=l.useState(`mounted`),S=l.useState(`instantType`),C=l.useState(`activeTriggerElement`),w=l.useState(`parent`),T=l.useState(`lastOpenChangeReason`),E=l.useState(`rootId`),D=l.useState(`floatingRootContext`),O=l.useState(`floatingTreeRoot`),k=l.useState(`closeDelay`),A=l.useState(`hoverEnabled`),j=l.useState(`disabled`),M=l.useState(`openMethod`),N=l.useState(`activeTriggerId`),P=l.useState(`listElement`),[F,I]=LK(e,u,d),L=RK(e,C,N),R=w.type===`menu`?m:void 0,ee=w.type===`context-menu`,z=s??w.type!==`menu`;s===void 0&&P&&w.type!==`menu`&&(z=()=>l.state.activeIndex===null&&P),FH({open:v,ref:l.context.popupRef,onComplete(){v&&l.context.onOpenChangeComplete?.(!0)}}),U.useEffect(()=>{function e(e){l.setOpen(!1,Yz(e.reason,e.domEvent))}return O.events.on(`close`,e),()=>{O.events.off(`close`,e)}},[O.events,l]),CU(D,{enabled:A&&!j&&!ee&&w.type!==`menubar`,closeDelay:k});let te=l.useStateSetter(`popupElement`),{parentVirtualFocusRef:ne,handleFocus:re}=(U.useContext(bK)?.useParentHandoff??VK)(l,w,v,f),ie=NV(`div`,e,{state:{transitionStatus:y,side:h,align:g,open:v,nested:w.type===`menu`,instant:S},ref:[t,l.context.popupRef,te,I],stateAttributesMapping:Rz,props:[b,{id:F,...P?{role:`presentation`}:{role:`menu`,"aria-orientation":p===`horizontal`?`horizontal`:void 0,"aria-labelledby":L},onKeyDown(e){R?.onPopupKeyDown?.(e),_&&pG.has(e.key)&&e.stopPropagation()},onFocus:re},ZW(y),c,{"data-rootownerid":E}]}),B=w.type===void 0||ee;(C||w.type===`menubar`&&T!==`outside-press`)&&(B=!0);let V=R?.getReturnElement??ne;return(0,G.jsx)(vH,{context:D,openInteractionType:M,modal:ee,disabled:!x,returnFocus:a??V??B,explicitReturnFocus:a===void 0&&V?!1:void 0,initialFocus:z,restoreFocus:!0,getInsideElements:w.type===void 0?()=>[l.context.beforeTriggerFocusGuardRef.current]:void 0,externalTree:w.type===`menubar`?void 0:O,previousFocusableElement:C,nextFocusableElement:w.type===void 0?l.context.triggerFocusTargetRef:void 0,beforeContentFocusGuardRef:l.context.beforeContentFocusGuardRef,children:ie})}),BK={parentVirtualFocusRef:void 0,handleFocus:void 0};function VK(){return BK}var HK=U.forwardRef(function(e,t){let n=xK()?.Popup??zK;return(0,G.jsx)(n,{...e,ref:t})}),UK=U.createContext(void 0);function WK(){let e=U.useContext(UK);if(e===void 0)throw Error(DH(32));return e}var GK=U.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:i,parent:a}=_K();if(!(i.useState(`mounted`)||n))return null;let o=a.type===`menu`||a.type===`menubar`?`group`:void 0;return(0,G.jsx)(UK.Provider,{value:n,children:(0,G.jsx)($V,{ref:t,...r,portalOwnerRole:o})})});function KK(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,a=pB(i),[,o]=U.useState(0),s=nz(JK).current,c=nz(qK).current,l=U.useRef(0),u=U.useRef(!0),d=U.useRef(null),f=U.useRef(null),p=pB(()=>{u.current||(u.current=!0,o(e=>e+1))}),m=pB((e,t)=>{c.set(e,t),p()}),h=pB(e=>{c.delete(e),p()}),g=pB(e=>{let t=new Map;return n.current.length=0,r&&(r.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),n.current[e.index]=e.element,r&&(r.current[e.index]=e.registration.label===void 0?e.registration.textRef?.current?.textContent??e.element.textContent:e.registration.label)}),l.current=n.current.length,t});function _(e){if(f.current?.disconnect(),f.current=null,typeof MutationObserver!=`function`||e.length<2)return;let t=new MutationObserver(n=>{if(!ZK(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&QK(r,n)>0){t.disconnect(),p();return}r=n}});f.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=XK(e[t-1],e[t]);r&&n.add(r)}n.forEach(e=>t.observe(e,{childList:!0}))}let v=pB(()=>{let[e,t]=YK(c),n=g(e),r=d.current,i=!r||r.length!==e.length||e.some((e,t)=>{let n=r[t];return e.index!==n.index||e.element!==n.element||e.registration.index!==n.registration.index||e.registration.metadata!==n.registration.metadata});_(t),d.current=e,u.current=!1,i&&(s.forEach(e=>e(n)),a(n))});Y(()=>(!u.current&&d.current&&g(d.current),()=>{n.current=[],r&&(r.current=[])}),[n,r,g]),Y(()=>{u.current&&v()}),Y(()=>()=>{f.current?.disconnect(),u.current=!0},[]);let y=pB(e=>(s.add(e),()=>{s.delete(e)})),b=U.useMemo(()=>({register:m,unregister:h,subscribeMapChange:y,nextIndexRef:l}),[m,h,y,l]);return(0,G.jsx)(kK.Provider,{value:b,children:t})}function qK(){return new Map}function JK(){return new Set}function YK(e){let t=new Set,n=[],r=[];e.forEach((e,i)=>{if(!i.isConnected)return;let a=e.index,o={index:a??-1,element:i,registration:e};a===null?r.push(o):a>=0&&(t.add(a),n.push(o))});let i=0;return r.sort((e,t)=>QK(e.element,t.element)),r.forEach(e=>{for(;t.has(i);)i+=1;e.index=i,n.push(e),i+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]}function XK(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function ZK(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}function QK(e,t){return e.nextElementSibling===t?-1:t.nextElementSibling===e?1:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}var $K=U.forwardRef(function(e,t){let{anchor:n,positionMethod:r=`absolute`,className:i,render:a,side:o,align:s,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m=!1,collisionAvoidance:h=KV,style:g,..._}=e,{store:v,virtualFocus:y,syncHighlightedItem:b}=_K(),x=WK(),S=yK(!0),C=v.useState(`parent`),w=v.useState(`floatingRootContext`),T=v.useState(`floatingTreeRoot`),E=v.useState(`mounted`),D=v.useState(`open`),O=v.useState(`modal`),k=v.useState(`openMethod`),A=v.useState(`activeTriggerElement`),j=v.useState(`transitionStatus`),M=v.useState(`positionerElement`),N=v.useState(`instantType`),P=v.useState(`adaptiveOrigin`),F=v.useState(`lastOpenChangeReason`),I=v.useState(`floatingNodeId`),L=v.useState(`floatingParentNodeId`),R=w.useState(`domReferenceElement`),ee=n,z=c,te=l,ne=s,re=h;C.type===`context-menu`&&(ee=n??C.context?.anchor,ne??=`start`,!o&&ne!==`center`&&(te=e.alignOffset??2,z=e.sideOffset??-5));let ie=o,B=ne;C.type===`menu`?(ie??=`inline-end`,B??=`start`,re=e.collisionAvoidance??qV):C.type===`menubar`&&(ie??=C.context.orientation===`vertical`?`inline-end`:`bottom`,B??=`start`);let V=C.type===`context-menu`,ae=KW({anchor:ee,floatingRootContext:w,positionMethod:S?`fixed`:r,mounted:E,side:ie,sideOffset:z,align:B,alignOffset:te,arrowPadding:V?0:f,collisionBoundary:u,collisionPadding:d,sticky:p,nodeId:I,keepMounted:x,disableAnchorTracking:m,collisionAvoidance:re,shift:V?{crossAxis:!(`side`in re&&re.side===`flip`),rootBoundary:`layoutViewport`}:void 0,externalTree:T,adaptiveOrigin:P,lazyFlip:y?`placement`:!1});U.useEffect(()=>{function e(e){e.open&&(e.parentNodeId===I&&v.set(`hoverEnabled`,!1),e.nodeId!==I&&e.parentNodeId===v.select(`floatingParentNodeId`)&&v.setOpen(!1,Yz(rB)))}return T.events.on(`menuopenchange`,e),()=>{T.events.off(`menuopenchange`,e)}},[v,T.events,I]),U.useEffect(()=>{if(v.select(`floatingParentNodeId`)==null)return;function e(e){if(e.open||e.nodeId!==v.select(`floatingParentNodeId`))return;let t=e.reason??`sibling-open`;v.setOpen(!1,Yz(t))}return T.events.on(`menuopenchange`,e),()=>{T.events.off(`menuopenchange`,e)}},[T.events,v]);let H=pz();U.useEffect(()=>{D||H.clear()},[D,H]),U.useEffect(()=>{function e(e){if(D&&e.nodeId===v.select(`floatingParentNodeId`)){if(e.target&&A&&A!==e.target){let e=v.select(`closeDelay`);e>0?H.isStarted()||H.start(e,()=>{v.setOpen(!1,Yz(rB))}):v.setOpen(!1,Yz(rB))}else H.clear()}}return T.events.on(`itemhover`,e),()=>{T.events.off(`itemhover`,e)}},[T.events,D,A,v,H]),U.useEffect(()=>{let e={open:D,nodeId:I,parentNodeId:L,reason:v.select(`lastOpenChangeReason`)};T.events.emit(`menuopenchange`,e)},[T.events,D,v,I,L]),XW({store:v,domReference:R,positionerElement:M,open:D});let oe={open:D,side:ae.side,align:ae.align,anchorHidden:ae.anchorHidden,nested:C.type===`menu`,instant:N},se=C.type===`menubar`&&C.context.modal;dG(D&&(se||O&&F!==`trigger-hover`),k===`touch`,M,A);let ce=QW(e,oe,{styles:ae.positionerStyles,transitionStatus:j,props:_,refs:[t,v.useStateSetter(`positionerElement`)],hidden:!E,inert:!D}),le=E&&C.type!==`menu`&&(C.type!==`menubar`&&O&&F!==`trigger-hover`||C.type===`menubar`&&C.context.modal),ue=null;return C.type===`menubar`?ue=C.context.contentElement:C.type===void 0&&(ue=A),(0,G.jsxs)(mK.Provider,{value:ae,children:[le&&(0,G.jsx)(YW,{ref:C.type===`context-menu`||C.type===`nested-context-menu`?C.context.internalBackdropRef:null,inert:DW(!D),cutout:ue}),(0,G.jsx)(sH,{id:I,children:(0,G.jsx)(KK,{elementsRef:v.context.itemDomElements,labelsRef:v.context.itemLabels,onMapChange:b,children:ce})})]})}),eq=U.createContext(null);function tq(e){let t=U.useContext(eq);if(t===null&&!e)throw Error(DH(5));return t}function nq(e){return e==null?Xz:e.type.startsWith(`key`)?nB:e.type.startsWith(`mouse`)||e.type.startsWith(`pointer`)?iae:Xz}var rq={...pU,disabled:e=>e.parent.type===`menubar`&&e.parent.context.disabled||e.disabled,modal:e=>(e.parent.type===void 0||e.parent.type===`context-menu`)&&(e.modal??!0),openMethod:e=>e.openMethod,keyboardOpen:e=>e.keyboardOpen,allowMouseEnter:e=>e.allowMouseEnter,highlightItemOnHover:e=>e.highlightItemOnHover,parent:e=>e.parent,rootId:e=>e.parent.type===`menu`?e.parent.store.select(`rootId`):e.parent.type===void 0?e.rootId:e.parent.context.rootId,activeIndex:e=>e.activeIndex,listElement:e=>e.listElement,triggerControlsId:(e,t)=>{let n=pU.triggerPopupId(e,t);return n?e.listElement?.id||n:void 0},filterTriggerProps:e=>e.filterTriggerProps,inputProps:e=>e.inputProps,webkitAriaSelected:(e,t)=>bz&&e.inputFocused&&t?!0:void 0,highlightedItemId:e=>e.highlightedItem?.id||void 0,isActive:(e,t)=>e.activeIndex===t,hoverEnabled:e=>e.hoverEnabled,instantType:e=>e.instantType===`trigger-change`&&!pU.open(e)?void 0:e.instantType,lastOpenChangeReason:e=>e.openChangeReason,floatingTreeRoot:e=>e.parent.type===`menu`?e.parent.store.select(`floatingTreeRoot`):e.floatingTreeRoot,floatingNodeId:e=>e.floatingNodeId,floatingParentNodeId:e=>e.floatingParentNodeId,itemProps:e=>e.itemProps,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin,keyboardEventRelay:e=>{if(e.keyboardEventRelay)return e.keyboardEventRelay;if(e.parent.type===`menu`)return e.parent.store.select(`keyboardEventRelay`)}},iq=class extends iU{constructor(e,t,n=!1){let r=new ZH,i=oq(r,t,n,e);super(i,aq(r),rq),this.observe(`parent`,e=>{e.type===`menu`?this.context.allowMouseUpTriggerRef=e.store.context.allowMouseUpTriggerRef:e.type!==void 0&&(this.context.allowMouseUpTriggerRef=e.context.allowMouseUpTriggerRef)})}subscribeToParentMenu(){let e=this.state.parent;if(e.type!==`menu`)return;let t=e.store.select(`rootId`),n=e.store.select(`floatingTreeRoot`),r=e.store.select(`keyboardEventRelay`);return e.store.subscribe(()=>{let i=e.store.select(`rootId`),a=e.store.select(`floatingTreeRoot`),o=e.store.select(`keyboardEventRelay`);(t!==i||n!==a||r!==o)&&(t=i,n=a,r=o,this.notifyAll())})}setOpen(e,t){this.state.floatingRootContext.context.events.emit(`setOpen`,{open:e,eventDetails:t})}setActiveIndex(e,t,n){if(this.state.activeIndex!==e){let r=(e===null?void 0:this.context.itemDomElements.current[e])===this.context.reportedItem;this.context.highlightReason=r?`none`:t,this.context.highlightEvent=r?void 0:n}this.set(`activeIndex`,e)}highlightItem(e,t,n){let r=this.context.itemDomElements.current.indexOf(e);r>-1&&this.setActiveIndex(r,t,n)}};function aq(e){return{positionerRef:U.createRef(),popupRef:U.createRef(),typingRef:{current:!1},itemDomElements:{current:[]},itemLabels:{current:[]},highlightReason:`none`,highlightEvent:void 0,reportedItem:void 0,allowMouseUpTriggerRef:{current:!1},virtualFocusRef:void 0,triggerFocusTargetRef:U.createRef(),beforeTriggerFocusGuardRef:U.createRef(),beforeContentFocusGuardRef:U.createRef(),onOpenChangeComplete:void 0,triggerElements:e}}function oq(e,t,n=!1,r){return{...sU(e,t,n),disabled:!1,modal:!0,openMethod:null,keyboardOpen:!1,allowMouseEnter:!1,highlightItemOnHover:!0,parent:{type:void 0},rootId:void 0,activeIndex:null,listElement:null,filterTriggerProps:lz,inputProps:lz,inputFocused:!1,highlightedItem:void 0,hoverEnabled:!0,instantType:void 0,openChangeReason:null,floatingTreeRoot:new tH,floatingNodeId:void 0,floatingParentNodeId:null,itemProps:lz,keyboardEventRelay:void 0,closeDelay:0,adaptiveOrigin:void 0,...r}}var sq=U.createContext(null);function cq(e,t){return(e===`trigger-press`||e===`item-press`)&&t?.detail===0}function lq(e,t){return e===`list-navigation`||cq(e,t)}var uq=az(function(e){let{children:t,open:n,onOpenChange:r,onOpenChangeComplete:i,onItemHighlighted:a,defaultOpen:o=!1,disabled:s=!1,modal:c,loopFocus:l=!0,orientation:u=`vertical`,actionsRef:d,closeParentOnEsc:f=!1,handle:p,triggerId:m,defaultTriggerId:h=null,highlightItemOnHover:g=!0,isSubmenu:_=!1,virtualFocus:v=!1,virtualFocusRef:y,allowEscape:b=!0,resetOnPointerLeave:x=!0}=e,S=yK(!0),C=_K(!0),w=tq(!0),T=C?.store,E=C?.virtualFocus??!1,D=U.useMemo(()=>_&&T?{type:`menu`,store:T}:w?{type:`menubar`,context:w}:S&&!T?{type:`context-menu`,context:S}:{type:void 0},[S,T,w,_]),O=_W(),k=_W(),[A,j]=U.useState(void 0),M=(A??k)||void 0,N=iH(),P=D.type===`menu`?D.store:void 0,F=(n??o)&&P?.state.transitionStatus===`starting`,I=nz(()=>F?P?.state.instantType:void 0).current,L=nz(()=>{let e=new iq({open:o,openProp:n,activeTriggerId:h,triggerIdProp:m,parent:D,disabled:s,highlightItemOnHover:g,modal:D.type===void 0?c:void 0,rootId:O,instantType:I},M,N!=null);return e.context.virtualFocusRef=y,e}).current;L.useControlledProp(`openProp`,n),L.useControlledProp(`triggerIdProp`,m),L.useContextCallback(`onOpenChangeComplete`,i);let R=L.useState(`floatingTreeRoot`),ee=oH(R),z=L.useState(`open`),te=L.useState(`activeTriggerElement`),ne=L.useState(`positionerElement`),re=L.useState(`hoverEnabled`),ie=L.useState(`disabled`),B=L.useState(`lastOpenChangeReason`),V=L.useState(`parent`),ae=L.useState(`activeIndex`),H=L.useState(`keyboardOpen`),oe=L.useState(`payload`),se=L.useState(`floatingParentNodeId`),ce=U.useRef(null),le=U.useRef(V.type!==`context-menu`),ue=pz(),de=U.useRef(!0),fe=pz(),pe=se!=null,{openMethod:me,triggerProps:he}=SW(z);L.useSyncedValues({disabled:s,highlightItemOnHover:g,modal:V.type===void 0?c:void 0,openMethod:me,rootId:O}),qH(L);let{forceUnmount:ge,transitionStatus:_e}=JH(z,L,()=>{L.set(`allowMouseEnter`,!1)},F),ve=PH(L.context.popupRef);U.useEffect(()=>{if(I===void 0)return;let e=()=>{L.state.instantType===I&&L.set(`instantType`,void 0)};if(!z){e();return}if(_e!==void 0)return;if(L.context.popupRef.current==null){e();return}let t=new AbortController;return ve(e,t.signal),()=>{t.abort()}},[I,z,_e,ve,L]),Y(()=>{S&&!C?L.update({parent:{type:`context-menu`,context:S},floatingNodeId:ee,floatingParentNodeId:N}):(C||!L.select(`activeTriggerElement`))&&L.update({floatingNodeId:ee,floatingParentNodeId:N})},[S,C,ee,N,te,L]),U.useEffect(()=>{z||(ce.current=null),V.type===`context-menu`&&(z?ue.start(500,()=>{le.current=!0}):(ue.clear(),le.current=!1))},[ue,z,V.type]),Y(()=>{!z&&!re&&L.set(`hoverEnabled`,!0)},[z,re,L]);let ye=pB((e,t)=>{let n=t.reason;if(!e&&!L.select(`open`)||z===e&&t.trigger===te&&B===n)return;let i=WH(t);if(!e&&t.trigger==null&&(t.trigger=te??void 0),r?.(e,t),t.isCanceled)return;L.state.floatingRootContext.dispatchOpenChange(e,t);let a=t.event;if(e===!1&&n!==`item-press`&&a?.type===`click`&&a.pointerType===`touch`&&!de.current)return;e&&n===`trigger-focus`?(de.current=!1,fe.start(300,()=>{de.current=!0})):(de.current=!0,fe.clear());let o=!e&&(n===`escape-key`||n==null);ce.current=t.event;let s=UH(L.state,e,t.trigger,i());s.openChangeReason=n,s.keyboardOpen=e&&lq(n,a),s.instantType=V.type===`menubar`&&(n===`trigger-focus`||n===`focus-out`||n===`trigger-hover`||n===`list-navigation`||n===`sibling-open`)?`group`:cq(n,a)?`click`:o?`dismiss`:void 0,L.update(s)}),be=kH({popupStore:L,floatingRootContext:L.state.floatingRootContext,floatingId:M,nested:N!=null,onOpenChange:ye}),xe=be.context.events;Y(()=>{let e=({open:e,eventDetails:t})=>ye(e,t);return xe.on(`setOpen`,e),()=>{xe?.off(`setOpen`,e)}},[xe,ye]),Y(()=>L.subscribeToParentMenu(),[L]);let Se=U.useCallback(()=>{L.setOpen(!1,Yz(iB))},[L]);U.useImperativeHandle(d,()=>({unmount:ge,close:Se}),[ge,Se]);let Ce;V.type===`context-menu`&&(Ce=V.context),U.useImperativeHandle(Ce?.positionerRef,()=>ne,[ne]),U.useImperativeHandle(Ce?.actionsRef,()=>({setOpen:ye}),[ye]);let we=TH(be,{enabled:!ie,bubbles:{escapeKey:f&&V.type===`menu`},outsidePress(){return V.type!==`context-menu`||ce.current?.type===`contextmenu`||le.current},externalTree:pe?R:void 0}),Te=MW(),Ee=MU(be,{enabled:!ie,listRef:L.context.itemDomElements,activeIndex:ae,virtual:v,nested:V.type===`menubar`||!v&&V.type!==void 0,parentOrientation:V.type===`menubar`?V.context.orientation:void 0,loopFocus:l,focusItemOnOpen:v?H:void 0,allowEscape:v&&l&&b,orientation:u,triggerOrientation:v?`vertical`:u,rtl:Te===`rtl`,disabledIndices:cz,onNavigate(e,t){L.setActiveIndex(e,nq(t),t?.nativeEvent)},openOnArrowKeyDown:V.type!==`context-menu`&&!(v&&_),externalTree:!v&&pe?R:void 0,nestedReturnFocusRef:P?.context.virtualFocusRef,focusItemOnHover:g,resetOnPointerLeave:x}),De=U.useCallback(e=>{L.context.typingRef.current=e},[L]),Oe=NU(be,{enabled:!ie&&!v,listRef:L.context.itemLabels,elementsRef:L.context.itemDomElements,activeIndex:ae,resetMs:500,onMatch:(e,t)=>{z&&e!==ae&&L.setActiveIndex(e,nB,t.nativeEvent)},onTyping:De}),ke=pB(a),Ae=U.useRef(-1),je=pB(()=>{let e=L.state.activeIndex,t=e===null?void 0:L.context.itemDomElements.current[e]??void 0;if(t?.isConnected===!1)return;let n=t===void 0?-1:e;if(Ae.current===n&&L.context.reportedItem===t)return;Ae.current=n,L.context.reportedItem=t,v&&L.set(`highlightedItem`,t);let{highlightReason:r,highlightEvent:i}=L.context;L.context.highlightReason=Xz,L.context.highlightEvent=void 0,a&&ke(t,$ie(r,i,{label:t===void 0?void 0:L.context.itemLabels.current[n]??void 0}))});Y(()=>{je()},[ae,je]);let Me=U.useMemo(()=>{if(!v)return Ee.reference;if(!Ee.trigger)return lz;let{onFocus:e,...t}=Ee.trigger;return t},[v,Ee.reference,Ee.trigger]);L.useSyncedValue(`inputProps`,v?Ee.reference??lz:lz);let Ne=U.useMemo(()=>{let e=bV(Oe.reference,Me,we.reference,{onMouseMove(){L.set(`allowMouseEnter`,!0)}},he);return e[`aria-haspopup`]=`menu`,e[`aria-expanded`]=z,e},[L,Oe.reference,Me,we.reference,he,z]),Pe=U.useMemo(()=>{let e=bV(Ee.trigger,we.trigger,he);return e[`aria-haspopup`]=`menu`,e[`aria-expanded`]=!1,e},[Ee.trigger,we.trigger,he]);nz(()=>(L.update({inactiveTriggerProps:Pe}),null)),YH(L,{floatingRootContext:be,activeTriggerProps:Ne,inactiveTriggerProps:Pe,popupProps:U.useMemo(()=>bV(LH,{onMouseMove(){L.set(`allowMouseEnter`,!0),V.type===`menu`&&L.set(`hoverEnabled`,!1)},onClick(){L.select(`hoverEnabled`)&&L.set(`hoverEnabled`,!1)},onKeyDown(e){let t=L.select(`keyboardEventRelay`);t&&!e.isPropagationStopped()&&t(e)}},Oe.floating,Ee.floating,we.floating),[V.type,L,Oe.floating,Ee.floating,we.floating]),itemProps:Ee.item??lz});let Fe=U.useMemo(()=>({store:L,parent:D,orientation:u,loopFocus:l,allowEscape:b,defaultFloatingId:k,setRenderedFloatingId:j,virtualFocus:v,parentVirtualFocus:E,syncHighlightedItem:je}),[L,D,u,l,b,k,v,E,je]),Ie=typeof t==`function`?t({payload:oe}):t,Le=(0,G.jsxs)(gK.Provider,{value:Fe,children:[p&&(0,G.jsx)(BH,{handle:p,store:L}),Ie]});return(V.type===void 0||V.type===`context-menu`)&&(Le=(0,G.jsx)(cH,{externalTree:R,children:Le})),Le});function dq(e){let t=U.useContext(sq);if(t===null)return(0,G.jsx)(uq,{...e});let n=t.Root;return(0,G.jsx)(sq.Provider,{value:null,children:(0,G.jsx)(n,{...t.options,...e})})}var fq=5;function pq(e,t){let n=mq(t);return e.clientX>=n.left-fq&&e.clientX<=n.right+fq&&e.clientY>=n.top-fq&&e.clientY<=n.bottom+fq}function mq(e){let t=e.getBoundingClientRect(),n=pL(e);if(xz)return t;let r=n.getComputedStyle(e,`::before`),i=n.getComputedStyle(e,`::after`);if(r.content===`none`&&i.content===`none`)return t;let a=parseFloat(r.width)||0,o=parseFloat(r.height)||0,s=parseFloat(i.width)||0,c=parseFloat(i.height)||0,l=Math.max(t.width,a,s),u=Math.max(t.height,o,c),d=l-t.width,f=u-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-f/2,bottom:t.bottom+f/2}}function hq(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=dW(),{ref:i,index:a}=jK(e),o=n===a,s=U.useRef(null),c=sB(i,s);return{compositeProps:{tabIndex:o?0:-1,onFocus(){r(a)},onMouseMove(){let e=s.current;if(!t||!e)return;let n=e.hasAttribute(`disabled`)||e.ariaDisabled===`true`;!o&&!n&&e.focus()}},compositeRef:c,index:a}}function gq(e){let{render:t,className:n,style:r,state:i=lz,props:a=cz,refs:o=cz,metadata:s,stateAttributesMapping:c,tag:l=`div`,...u}=e,{compositeProps:d,compositeRef:f}=hq({metadata:s});return NV(l,e,{state:i,ref:[f,...o],props:[d,...a,u],stateAttributesMapping:c})}function _q(e){if(_L(e)&&e.hasAttribute(`data-rootownerid`))return e.getAttribute(`data-rootownerid`);if(!kL(e))return _q(ML(e))}function vq(e){let{enabled:t=!0,mouseDownAction:n,open:r}=e,i=U.useRef(!1);return U.useMemo(()=>t?{onMouseDown:e=>{(n===`open`&&!r||n===`close`&&r)&&(i.current=!0,vB(e.currentTarget).addEventListener(`click`,()=>{i.current=!1},{once:!0}))},onClick:e=>{i.current&&(i.current=!1,e.preventBaseUIHandler())}}:lz,[t,n,r])}var yq=oz(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,id:s,openOnHover:c,delay:l=100,closeDelay:u=0,handle:d,payload:f,...p}=e,m=_K(!0),h=mU(d)??m?.store;if(!h)throw Error(DH(85));let g=_W(s),_=h.useState(`isTriggerActive`,g),v=h.useState(`floatingRootContext`),y=h.useState(`isOpenedByTrigger`,g),b=h.useState(`triggerControlsId`,g),x=U.useRef(null),S=xq(),C=dW(!0),w=aH(),T=U.useMemo(()=>w??new tH,[w]),{registerTrigger:E,isMountedByThisTrigger:D}=KH(g,x,h,{payload:f,closeDelay:u,parent:S,floatingTreeRoot:T,floatingNodeId:oH(T),floatingParentNodeId:iH(),keyboardEventRelay:C?.relayKeyboardEvent}),O=S.type===`menubar`,k=h.useState(`disabled`),A=a||k||O&&S.context.disabled,{getButtonProps:j,buttonRef:M}=mW({disabled:A,native:o});U.useEffect(()=>{!y&&S.type===void 0&&(h.context.allowMouseUpTriggerRef.current=!1)},[h,y,S.type]);let N=U.useRef(null),P=pz(),F=pB(e=>{if(!N.current)return;P.clear(),h.context.allowMouseUpTriggerRef.current=!1;let t=e.target;Dz(N.current,t)||Dz(h.select(`positionerElement`),t)||t===N.current||t!=null&&_q(t)===h.select(`rootId`)||pq(e,N.current)||T.events.emit(`close`,{domEvent:e,reason:aae})});U.useEffect(()=>{let e=vB(N.current);if(y&&h.select(`lastOpenChangeReason`)===`trigger-hover`)return e.addEventListener(`mouseup`,F,{once:!0}),()=>{e.removeEventListener(`mouseup`,F)}},[y,F,h]);let I=O&&S.context.hasSubmenuOpen,L=TU(v,{enabled:(c??I)&&!A&&(!O||I&&!D),handleClose:VU({blockPointerEvents:!O}),mouseOnly:!0,move:!1,restMs:S.type===void 0?l:void 0,delay:{close:u},triggerElementRef:x,externalTree:T,isActiveTrigger:_,isClosing:()=>h.select(`transitionStatus`)===`ending`}),R=bq(y,h.select(`lastOpenChangeReason`)),ee=yH(v,{enabled:!A,event:y&&O?`click`:`mousedown`,toggle:!0,ignoreMouse:!1,stickIfOpen:S.type===void 0&&R}),z=_U(v,{enabled:!A&&I}),te=vq({open:y,enabled:O,mouseDownAction:`open`}),ne=U.useMemo(()=>bV(z.reference,ee.reference),[z.reference,ee.reference]),re=h.useState(`triggerProps`,D),ie=h.useState(`filterTriggerProps`),{handlePreFocusGuardFocus:B,handleFocusTargetFocus:V}=vW(h,x),ae={disabled:A,open:y},H=[N,t,M,E,x],oe=[ne,L??lz,re,{"aria-haspopup":`menu`,"aria-controls":b,id:g,onMouseDown:e=>{h.select(`open`)||(P.start(200,()=>{h.context.allowMouseUpTriggerRef.current=!0}),vB(e.currentTarget).addEventListener(`mouseup`,F,{once:!0}))}},ie,O?{role:`menuitem`}:{},te,p,j],se=NV(`button`,e,{enabled:!O,stateAttributesMapping:Iz,state:ae,ref:H,props:oe});return O?(0,G.jsx)(gq,{tag:`button`,render:n,className:r,style:i,state:ae,refs:H,props:oe,stateAttributesMapping:Iz}):y?(0,G.jsxs)(U.Fragment,{children:[(0,G.jsx)(xB,{ref:h.context.beforeTriggerFocusGuardRef,onFocus:B},`${g}-pre-focus-guard`),(0,G.jsx)(U.Fragment,{children:se},g),(0,G.jsx)(xB,{ref:h.context.triggerFocusTargetRef,onFocus:V},`${g}-post-focus-guard`)]}):(0,G.jsx)(U.Fragment,{children:se},g)});function bq(e,t){let n=pz(),[r,i]=U.useState(!1);return Y(()=>{e&&t===`trigger-hover`?(i(!0),n.start(500,()=>{i(!1)})):e||(n.clear(),i(!1))},[e,t,n]),r}function xq(){let e=tq(!0);return U.useMemo(()=>e?{type:`menubar`,context:e}:{type:void 0},[e])}var Sq=Object.defineProperty,Cq=(e,t)=>{let n={};for(var r in e)Sq(n,r,{get:e[r],enumerable:!0});return t||Sq(n,Symbol.toStringTag,{value:`Module`}),n};function wq(e){let t=U.createContext(void 0);return[({value:e,children:n})=>(0,G.jsx)(t.Provider,{value:e,children:n}),()=>{let n=U.useContext(t);if(n===void 0)throw Error(`useContext must be used within ${e??`a Provider`}`);return n}]}var Tq=ch.transition.overlay,Eq=ch.spring.dialog,Dq=ch.transition.dismiss;ch.transition.drawerOut;var Oq=ch.transition.dialogFade,kq=ch.spring.toast;ch.transition.drawer;var Aq=ch.transition.sheet;function jq(e,t,n,r){return{enter:fh(e??n),exit:fh(t??r??e??n)}}function Mq(e,t){return jq(e,t,Tq)}function Nq(e,t,n){let{enter:r,exit:i}=jq(t,n,e?Aq:Eq,Dq),a=fh(Oq);return{enter:e||t?r:{...r,opacity:a},exit:i}}var Pq=[`top`,`right`,`bottom`,`left`];function Fq(e){return typeof e==`string`&&Pq.includes(e)?e:void 0}var Iq={top:`translateY(-100%)`,right:`translateX(100%)`,bottom:`translateY(100%)`,left:`translateX(-100%)`};function Lq(e){let t=e===`top`||e===`bottom`?`rotateX`:`rotateY`;return{tipped:`perspective(500px) ${t}(${e===`bottom`||e===`left`?`20deg`:`-20deg`}) scale(${ch.scale.dialog})`,upright:`perspective(500px) ${t}(0deg) scale(1)`}}function Rq({side:e,from:t=`top`,reduce:n,enter:r,exit:i}){if(e){let t=e===`left`||e===`right`?`translateX(0%)`:`translateY(0%)`,a={opacity:0,transform:n?t:Iq[e]};return{initial:a,animate:{opacity:1,transform:t,transition:r},exit:{...a,transition:i}}}let{tipped:a,upright:o}=Lq(t),s={opacity:0,filter:ch.blur.surface,transform:n?o:a};return{initial:s,animate:{opacity:1,filter:`blur(0px)`,transform:o,transition:r},exit:{...s,transition:i}}}function zq(){let[e,t]=U.useState(!1);return U.useLayoutEffect(()=>{let e=requestAnimationFrame(()=>t(!0));return()=>cancelAnimationFrame(e)},[]),e}function Bq(e,t,n){return n&&!t?e.exit:e.animate}function Vq(e,t){let[n,r]=U.useState(!e);return e&&n&&r(!1),{hidden:t&&!e&&n,onAnimationComplete:()=>{e||r(!0)}}}var Hq={backgroundColor:`transparent`,backdropFilter:`none`,opacity:`0`};function Uq(e){let t=getComputedStyle(e);return{backgroundColor:t.backgroundColor,backdropFilter:t.backdropFilter,opacity:t.opacity,hasImage:t.backgroundImage!==`none`}}function Wq(e,t,n){let r=t=>({backgroundColor:t.backgroundColor,backdropFilter:t.backdropFilter,...e.hasImage?{opacity:t.opacity}:{}});return[r(t),r(n)]}function Gq(e){let{visible:t}=e,n=U.useRef(null),r=U.useRef(e);U.useLayoutEffect(()=>{r.current=e});let i=U.useRef(null),a=U.useRef(!1);return U.useLayoutEffect(()=>{let{animated:e=!0,enter:o,exit:s,onFadedOut:c}=r.current,l=n.current,u=!a.current;if(a.current=!0,u&&!t)return;if(!l||!e||typeof l.animate!=`function`){t||c?.();return}let d=i.current,f=d?Uq(l):null;d?.cancel();let p=Uq(l),{duration:m,easing:h}=_h(t?o:s),g=l.animate(Wq(p,f??(t?Hq:p),t?p:Hq),{duration:m,easing:h,fill:t?`backwards`:`forwards`});i.current=g,g.finished.then(()=>{i.current===g&&(t?i.current=null:r.current.onFadedOut?.())}).catch(()=>{})},[t]),U.useCallback(e=>{n.current=e},[])}var Kq=new WeakMap;function qq(e){if(typeof e==`string`)return Qm[e];let t=Kq.get(e);return t||(t=Qm.create(e),Kq.set(e,t)),t}function Jq(...e){return t=>{for(let n of e)typeof n==`function`?n(t):n&&(n.current=t)}}function Yq(e,t){let n=e.props;return U.createElement(qq(e.type),{...n,...t,ref:Jq(n.ref,t.ref),style:{...n.style,...t.style}})}function Xq(e,t){return typeof e==`function`?((n,r)=>Yq(e(n,r),t)):e?Yq(e,t):U.createElement(qq(`div`),t)}var Zq=U.createContext(void 0);function Qq(e){let t=U.useContext(Zq);if(!e&&t===void 0)throw Error(DH(27));return t}var $q=U.forwardRef(function(e,t){let{render:n,className:r,style:i,forceRender:a=!1,...o}=e,s=Qq(),c=s.useState(`open`),l=s.useState(`nested`),u=s.useState(`mounted`);return NV(`div`,e,{state:{open:c,transitionStatus:s.useState(`transitionStatus`)},ref:[s.context.backdropRef,t],stateAttributesMapping:Rz,props:[{role:`presentation`,hidden:!u,style:{userSelect:`none`,WebkitUserSelect:`none`}},o],enabled:a||!l})}),eJ=U.forwardRef(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,...s}=e,c=Qq(),l=c.useState(`open`),{getButtonProps:u,buttonRef:d}=mW({disabled:a,native:o}),f={disabled:a};function p(e){l&&c.setOpen(!1,Yz(nae,e.nativeEvent))}return NV(`button`,e,{state:f,ref:[t,d],props:[{onClick:p},s,u]})}),tJ=U.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,s=Qq(),c=_W(a);return s.useSyncedValueWithCleanup(`descriptionElementId`,c),NV(`p`,e,{ref:t,props:[{id:c},o]})}),nJ=U.createContext(void 0);function rJ(){let e=U.useContext(nJ);if(e===void 0)throw Error(DH(26));return e}var iJ=`--nested-dialogs`,aJ=`data-nested-dialog-open`,oJ={...Lz,...Nz,nestedDialogOpen(e){return e?{[aJ]:``}:null}},sJ=U.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,initialFocus:o,...s}=e,c=Qq(),l=c.useState(`descriptionElementId`),u=c.useState(`disablePointerDismissal`),d=c.useState(`floatingRootContext`),f=c.useState(`popupProps`),p=c.useState(`modal`),m=c.useState(`mounted`),h=c.useState(`nested`),g=c.useState(`nestedOpenDialogCount`),_=c.useState(`open`),v=c.useState(`openMethod`),y=c.useState(`titleElementId`),b=c.useState(`transitionStatus`),x=c.useState(`role`),S=d.useState(`floatingId`);rJ(),FH({open:_,ref:c.context.popupRef,onComplete(){_&&c.context.onOpenChangeComplete?.(!0)}});let C=o===void 0?RH(c.context.popupRef):o,w=g>0,T=c.useStateSetter(`popupElement`),E=NV(`div`,e,{state:{open:_,nested:h,transitionStatus:b,nestedDialogOpen:w},props:[f,{id:S,"aria-labelledby":y,"aria-describedby":l,role:x,...LH,hidden:!m,onKeyDown(e){pG.has(e.key)&&e.stopPropagation()},style:{[iJ]:g}},s],ref:[t,c.context.popupRef,T],stateAttributesMapping:oJ});return(0,G.jsx)(vH,{context:d,openInteractionType:v,disabled:!m,closeOnFocusOut:!u,initialFocus:C,returnFocus:a,modal:p!==!1,restoreFocus:`popup`,children:E})}),cJ=U.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,i=Qq(),a=i.useState(`mounted`),o=i.useState(`modal`),s=i.useState(`open`);return a||n?(0,G.jsx)(nJ.Provider,{value:n,children:(0,G.jsxs)($V,{ref:t,...r,children:[a&&o===!0&&(0,G.jsx)(YW,{ref:i.context.internalBackdropRef,inert:DW(!s)}),e.children]})}):null});function lJ({store:e,parentContext:t,isDrawer:n}){let r=e.useState(`open`),i=e.useState(`mounted`),a=e.useState(`disablePointerDismissal`),o=e.useState(`modal`),s=e.useState(`popupElement`),c=e.useState(`floatingRootContext`),[l,u]=U.useState(0),[d,f]=U.useState(0),p=l===0,m=TH(c,{outsidePressEvent(){return e.context.internalBackdropRef.current||e.context.backdropRef.current?`intentional`:{mouse:o===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}},outsidePress(t){if(!e.context.outsidePressEnabledRef.current||`button`in t&&t.button!==0)return!1;if(`touches`in t){if(t.type===`touchend`){if(t.changedTouches.length!==1||t.touches.length!==0)return!1}else if(t.touches.length!==1)return!1}let n=kz(t);if(p&&!a){if(o){let t=e.context.internalBackdropRef.current,r=e.context.backdropRef.current;return t||r?t===n||r===n||Dz(n,s)&&!n?.hasAttribute(`data-base-ui-portal`):!0}return!0}return!1},escapeKey:p});return lG(r&&o===!0,s),e.useContextCallback(`onNestedDialogOpen`,(t,n)=>{(e.select(`open`)||e.select(`mounted`))&&(u(t),f(n))}),Y(()=>{!r&&!i&&(u(0),f(0))},[r,i]),Y(()=>(t?.onNestedDialogOpen&&r&&t.onNestedDialogOpen(l+1,d+ +!!n),()=>{t?.onNestedDialogOpen&&r&&t.onNestedDialogOpen(0,0)}),[n,r,l,d,t]),YH(e,{activeTriggerProps:m.reference,inactiveTriggerProps:m.trigger,popupProps:m.floating,nestedOpenDialogCount:l,nestedOpenDrawerCount:d}),null}var uJ={...pU,modal:e=>e.modal,nested:e=>e.nested,nestedOpenDialogCount:e=>e.nestedOpenDialogCount,nestedOpenDrawerCount:e=>e.nestedOpenDrawerCount,disablePointerDismissal:e=>e.disablePointerDismissal,openMethod:e=>e.openMethod,descriptionElementId:e=>e.descriptionElementId,titleElementId:e=>e.titleElementId,viewportElement:e=>e.viewportElement,role:e=>e.role},dJ=class extends iU{constructor(e,t,n){let r=new ZH,i=pJ(e,r,t,n);super(i,mJ(r),uJ)}setOpen=(e,t)=>{t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},!e&&t.trigger==null&&this.state.activeTriggerId!=null&&(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled||(this.state.floatingRootContext.dispatchOpenChange(e,t),this.update(UH(this.state,e,t.trigger)))}};function fJ(){let e=new ZH;return new tW(Object.freeze(pJ(void 0,e)),Object.freeze(mJ(e)),uJ)}function pJ(e,t,n,r=!1){return{...sU(t,n,r),modal:!0,disablePointerDismissal:!1,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:`dialog`,...e}}function mJ(e){return{popupRef:U.createRef(),backdropRef:U.createRef(),internalBackdropRef:U.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:e,onOpenChange:void 0,onOpenChangeComplete:void 0}}function hJ(e,t){let{children:n,open:r,defaultOpen:i=!1,onOpenChange:a,onOpenChangeComplete:o,disablePointerDismissal:s=!1,modal:c=!0,actionsRef:l,handle:u,triggerId:d,defaultTriggerId:f=null}=t,p=e===`drawer`,m=e===`alert-dialog`,h=m?!0:c,g=m||s,_=m?`alertdialog`:`dialog`,v=Qq(!0),y={modal:h,disablePointerDismissal:g,nested:v!=null,role:_},b=zH((e,t)=>new dJ({open:i,openProp:r,activeTriggerId:f,triggerIdProp:d,...y},e,t),!0);b.useControlledProp(`openProp`,r),b.useControlledProp(`triggerIdProp`,d),b.useSyncedValues(y),b.useContextCallback(`onOpenChange`,a),b.useContextCallback(`onOpenChangeComplete`,o);let x=b.useState(`open`),S=b.useState(`mounted`),C=b.useState(`payload`);XH(b,x),qH(b);let{forceUnmount:w}=JH(x,b);U.useImperativeHandle(l,()=>({unmount:w,close:()=>b.setOpen(!1,Yz(iB))}),[w,b]);let T=x||S||u!=null;return(0,G.jsxs)(Zq.Provider,{value:b,children:[u&&(0,G.jsx)(BH,{handle:u,store:b}),T&&(0,G.jsx)(lJ,{store:b,parentContext:v?.context,isDrawer:p}),typeof n==`function`?n({payload:C}):n]})}var gJ=az(function(e){return hJ(`dialog`,e)}),_J=U.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,s=rJ(),c=Qq(),l=c.useState(`open`),u=c.useState(`nested`),d=c.useState(`transitionStatus`),f=c.useState(`nestedOpenDialogCount`),p=c.useState(`mounted`),m=c.useStateSetter(`viewportElement`);return NV(`div`,e,{enabled:s||p,state:{open:l,nested:u,transitionStatus:d,nestedDialogOpen:f>0},ref:[t,m],stateAttributesMapping:oJ,props:[{role:`presentation`,hidden:!p,style:{pointerEvents:l?void 0:`none`},children:a},o]})}),vJ=U.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,s=Qq(),c=_W(a);return s.useSyncedValueWithCleanup(`titleElementId`,c),NV(`h2`,e,{ref:t,props:[{id:c},o]})}),yJ=oz(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,id:s,payload:c,handle:l,...u}=e,d=Qq(!0),f=mU(l)??d;if(!f)throw Error(DH(79));let p=_W(s),m=f.useState(`floatingRootContext`),h=f.useState(`isOpenedByTrigger`,p),g=f.useState(`triggerPopupId`,p),_=U.useRef(null),{registerTrigger:v,isMountedByThisTrigger:y}=KH(p,_,f,{payload:c}),{getButtonProps:b,buttonRef:x}=mW({disabled:a,native:o}),S=yH(m),C=xW(()=>f.select(`open`),e=>{f.set(`openMethod`,e)}),w={disabled:a,open:h},T=f.useState(`triggerProps`,y);return NV(`button`,e,{state:w,ref:[x,t,v,_],props:[S.reference,T,C,{[VV]:``,id:p,"aria-haspopup":`dialog`,"aria-expanded":h,"aria-controls":g},u,b],stateAttributesMapping:Fz})}),bJ=class extends OH{constructor(){super(fJ(),`Dialog`,!1)}open(e){this.openByTrigger(e)}openWithPayload(e){let t=this.attachedStore;t!==null&&(t.set(`payload`,e),t.setOpen(!0,Yz(iB)))}close(){this.closePopup()}get isOpen(){return this.attachedStore?.select(`open`)??!1}};function xJ(){return new bJ}var[SJ,CJ]=wq(`Dialog.Root`),wJ=U.createContext({keepMounted:!1});function TJ(e){return function({defaultOpen:t,...n}){let r=n.open!==void 0,[i,a]=U.useState(t??!1),o=r?!!n.open:i,s=(e,t)=>{n.onOpenChange?.(e,t),t?.isCanceled||r||a(e)};return(0,G.jsx)(SJ,{value:{open:o},children:(0,G.jsx)(e,{...n,open:o,onOpenChange:s})})}}function EJ({keepMounted:e,children:t,...n}){let{open:r}=CJ();return(0,G.jsx)(ep,{children:(r||e)&&(0,G.jsx)(cJ,{...n,keepMounted:!0,children:(0,G.jsx)(wJ,{value:{keepMounted:!!e},children:(0,G.jsx)(bh,{children:t})})},`portal`)})}function DJ(e){let{open:t}=CJ(),{keepMounted:n}=U.use(wJ),r=Xf(),{hidden:i,onAnimationComplete:a}=Vq(t,n),o=!r||n&&!t&&!i,s=zq();return{initial:e.initial,animate:s?Bq(e,t,n):e.initial,exit:e.exit,onAnimationComplete:a,...o?{hidden:!1}:{},...t?{}:{style:{pointerEvents:`none`}}}}function OJ({transition:e,exitTransition:t,render:n,...r}){let{open:i}=CJ(),{keepMounted:a}=U.use(wJ),[o,s]=Yf(),{hidden:c,onAnimationComplete:l}=Vq(i,a),u=Gq({visible:i&&o,...Mq(e,t),onFadedOut:()=>{l(),s?.()}}),d=!o||a&&!i&&!c;return(0,G.jsx)($q,{...r,render:Xq(n,{ref:u,...d?{hidden:!1}:{},...i?{}:{style:{pointerEvents:`none`}}})})}function kJ({from:e,transition:t,exitTransition:n,render:r,...i}){let a=wh(),o=Fq(i[`data-side`]),{enter:s,exit:c}=Nq(o,t,n),l=DJ(Rq({side:o,from:e,reduce:a,enter:s,exit:c}));return(0,G.jsx)(sJ,{...i,render:Xq(r,l)})}var AJ=Cq({Backdrop:()=>PJ,Close:()=>LJ,Description:()=>zJ,Handle:()=>VJ,Popup:()=>FJ,Portal:()=>NJ,Root:()=>MJ,Title:()=>RJ,Trigger:()=>IJ,Viewport:()=>BJ,createHandle:()=>HJ}),jJ=TJ(gJ);function MJ(e){return(0,G.jsx)(jJ,{...e})}function NJ(e){return(0,G.jsx)(EJ,{...e})}function PJ(e){return(0,G.jsx)(OJ,{...e})}function FJ(e){return(0,G.jsx)(kJ,{...e})}var IJ=yJ,LJ=eJ,RJ=vJ,zJ=tJ,BJ=_J,VJ=bJ,HJ=xJ,UJ=(0,U.forwardRef)(function({className:e,...t},n){return(0,G.jsx)(sJ,{...t,ref:n,className:t=>`${typeof e==`function`?e(t):e??``} dialog-motion`})}),WJ=AJ.Close;function GJ({title:e,description:t,children:n,onCancel:r,busy:i=!1,role:a=`dialog`,testId:o,container:s}){let[c,l]=(0,U.useState)(!0),u=Mf(),d=(0,U.useRef)(null),f=(0,U.useRef)(document.activeElement instanceof HTMLElement?document.activeElement:null),p=(0,U.useRef)(r);return p.current=r,(0,U.useEffect)(()=>{if(c)return;let e=setTimeout(()=>p.current(),u?kf.micro:kf.base);return()=>clearTimeout(e)},[c,u]),(0,G.jsx)(AJ.Root,{open:c,onOpenChange:(e,t)=>{!e&&i?t.cancel():l(e)},children:(0,G.jsxs)(AJ.Portal,{keepMounted:!0,container:s,children:[(0,G.jsx)(AJ.Backdrop,{className:`app-modal-backdrop no-drag`,transition:{ease:kf.out,duration:(u?kf.micro:kf.surface)/1e3},exitTransition:{ease:kf.out,duration:(u?kf.micro:kf.base)/1e3}}),(0,G.jsxs)(UJ,{ref:d,"data-testid":o,role:a,"aria-modal":`true`,"aria-busy":i||void 0,className:`app-modal no-drag`,finalFocus:f,initialFocus:()=>{let e=d.current?.querySelector(`[data-dialog-focus], [data-dialog-cancel]`);return e instanceof HTMLInputElement&&e.select(),e??d.current},children:[(0,G.jsxs)(`div`,{className:`modal-copy`,children:[(0,G.jsx)(AJ.Title,{children:e}),t&&(0,G.jsx)(AJ.Description,{children:t})]}),n]})]})})}function KJ({id:e,title:t,onNew:n,onDeleted:r,onEdit:i,className:a=``}){let o=(0,U.useRef)(null),s=(0,U.useRef)(null),c=(0,U.useCallback)(e=>{o.current=e,s.current=e?.closest(`dialog`)??null},[]),[l,u]=(0,U.useState)(),d=e=>{o.current?.focus(),u(e),i?.(e)};return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(dq,{modal:!1,children:[(0,G.jsx)(yq,{ref:c,"data-testid":`chat-menu`,className:`ghost-btn workspace-icon ask-menu-trigger ${a}`,"aria-label":W(`More`),title:W(`More`),children:(0,G.jsx)(Lg,{size:17,"aria-hidden":`true`})}),(0,G.jsx)(GK,{container:s,children:(0,G.jsx)($K,{side:`bottom`,align:`end`,sideOffset:6,className:`ask-menu-positioner`,children:(0,G.jsxs)(HK,{className:`menu-entry ask-actions-menu`,"aria-label":W(`More`),finalFocus:!l&&o,onKeyDown:e=>{e.key===`Escape`&&e.stopPropagation()},children:[(0,G.jsxs)(NK,{"data-testid":`chat-rename`,onClick:()=>d(`rename`),children:[(0,G.jsx)(F_,{size:14,"aria-hidden":`true`}),W(`Rename`)]}),n&&(0,G.jsxs)(NK,{"data-testid":`chat-new`,onClick:n,children:[(0,G.jsx)(z_,{size:14,"aria-hidden":`true`}),W(`New chat`)]}),(0,G.jsxs)(NK,{"data-testid":`chat-delete`,className:`text-danger`,onClick:()=>d(`delete`),children:[(0,G.jsx)(Z_,{size:14,"aria-hidden":`true`}),W(`Delete`)]})]})})})]}),l&&!i&&(0,G.jsx)(qJ,{id:e,title:t,kind:l,container:s.current??void 0,onClose:()=>{u(void 0),o.current?.focus({preventScroll:!0})},onDeleted:r})]})}function qJ({id:e,title:t,kind:n,container:r,onClose:i,onDeleted:a}){let[o,s]=(0,U.useState)(t),[c,l]=(0,U.useState)(!1),[u,d]=(0,U.useState)(!1),f=async()=>{if(!(c||n===`rename`&&!o.trim())){l(!0),d(!1);try{n===`delete`?await window.yogurt.conversations.delete(e):await window.yogurt.conversations.rename(e,o.trim()),i(),n===`delete`&&a()}catch{d(!0)}finally{l(!1)}}};return(0,G.jsx)(GJ,{container:r,busy:c,testId:n===`delete`?`chat-delete-confirm`:`chat-rename-dialog`,role:n===`delete`?`alertdialog`:`dialog`,onCancel:i,title:W(n===`delete`?`Delete “{title}”?`:`Rename “{title}”`,{title:t||W(`New chat`)}),description:n===`delete`?Tv({mac:W(`This conversation is removed from this Mac for good. Your meetings stay as they are.`),other:W(`This conversation is removed from this computer for good. Your meetings stay as they are.`)}):void 0,children:(0,G.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),f()},children:[n===`rename`&&(0,G.jsx)(`div`,{className:`people-add-field mx-5 mb-4 flex h-9 items-center rounded-md border border-line bg-card px-2.5`,children:(0,G.jsx)(`input`,{"data-dialog-focus":!0,"data-testid":`chat-rename-input`,"aria-label":W(`Conversation name`),value:o,maxLength:200,className:`h-full min-w-0 flex-1 bg-transparent text-[13px] outline-none placeholder:text-muted`,disabled:c,onChange:e=>s(e.target.value)})}),u&&(0,G.jsx)(`p`,{className:`chat-error`,role:`alert`,children:W(`Couldn't save your changes`)}),(0,G.jsxs)(`div`,{className:`modal-actions`,children:[(0,G.jsx)(`button`,{type:`submit`,"data-testid":n===`delete`?`chat-delete-yes`:`chat-rename-save`,disabled:c||n===`rename`&&!o.trim(),className:`modal-button ${n===`delete`?`danger`:`primary`}`,children:W(n===`delete`?`Delete`:`Save`)}),(0,G.jsx)(WJ,{type:`button`,"data-dialog-cancel":!0,"data-testid":`chat-delete-cancel`,className:`workspace-button`,disabled:c,children:W(`Cancel`)})]})]})})}var JJ=e=>e.title.trim()||(e.kind===`meeting`?W(`Untitled meeting`):W(`Folder`)),YJ=e=>({name:e.length?JJ(e[0]):W(`All meetings`),others:e.length>1?W(`and {count} others`,{count:e.length-1}):``});function XJ({chips:e}){let t=YJ(e),n=e[0]?.kind===`folder`?Yg:Ug;return(0,G.jsxs)(G.Fragment,{children:[!!e.length&&(0,G.jsx)(n,{size:14,"aria-hidden":`true`}),(0,G.jsxs)(`span`,{className:`ask-scope-label`,children:[(0,G.jsx)(`span`,{className:`ask-scope-name`,children:t.name}),t.others&&(0,G.jsx)(`span`,{className:`ask-scope-others`,children:` ${t.others}`})]}),(0,G.jsx)(xg,{size:12,"aria-hidden":`true`})]})}function ZJ({chips:e}){let t=YJ(e);return(0,G.jsx)(`span`,{className:`chat-answer-scope`,title:e.length?e.map(JJ).join(`-`):t.name,children:e.length?hee(`Searched {name}`,{name:(0,G.jsxs)(`span`,{className:`ask-scope-label`,children:[(0,G.jsx)(`span`,{className:`ask-scope-name`,children:t.name}),t.others&&(0,G.jsx)(`span`,{className:`ask-scope-others`,children:` ${t.others}`})]})}):W(`Searched all meetings`)})}function QJ(e,t,n,r){let i,a=e.scrollTop,o=()=>{i?.stop(),i=void 0},s=()=>r(e.scrollHeight-e.scrollTop-e.clientHeight>=24),c=()=>{document.hidden||!e.clientHeight||e.scrollHeight<=e.clientHeight||(n.current&&(i?.active?i.to(Math.max(0,e.scrollHeight-e.clientHeight)):(e.scrollTop=e.scrollHeight,a=e.scrollTop)),s())},l=()=>{let t=e.scrollTop<a;if(a=e.scrollTop,i?.active)return;let r=e.scrollHeight-e.scrollTop-e.clientHeight<24;(t||r)&&(n.current=r),s()},u=()=>{o()},d=e=>{o(),e.deltaY<0&&(n.current=!1,s())},f=e=>{[`ArrowUp`,`ArrowDown`,`PageUp`,`PageDown`,`Home`,`End`,` `].includes(e.key)&&o()},p=()=>{document.hidden?o():c()},m=new ResizeObserver(c);m.observe(t),m.observe(e),e.addEventListener(`scroll`,l,{passive:!0}),e.addEventListener(`wheel`,d,{passive:!0});for(let t of[`touchstart`,`pointerdown`])e.addEventListener(t,u,{passive:!0});return e.addEventListener(`keydown`,f),document.addEventListener(`visibilitychange`,p),c(),{latest(){n.current=!0,r(!1),document.hidden||!e.clientHeight||e.scrollHeight<=e.clientHeight||(o(),i=Nf(e,()=>{a=e.scrollTop,s()}),i.to(Math.max(0,e.scrollHeight-e.clientHeight)))},dispose(){o(),m.disconnect(),e.removeEventListener(`scroll`,l),e.removeEventListener(`wheel`,d);for(let t of[`touchstart`,`pointerdown`])e.removeEventListener(t,u);e.removeEventListener(`keydown`,f),document.removeEventListener(`visibilitychange`,p)}}}function $J(e,t,n,r=!0){let i=(0,U.useRef)(r),a=(0,U.useRef)(null),[o,s]=(0,U.useState)(!1);return(0,U.useLayoutEffect)(()=>{let r=e.current,o=t.current;if(!n||!r||!o)return;let c=QJ(r,o,i,s);return a.current=c,()=>{c.dispose(),a.current=null}},[n,e,t]),{behind:n&&o,resume:()=>{i.current=!0,s(!1)},latest:()=>a.current?.latest()}}function eY({show:e,options:t,className:n}){return(0,G.jsx)(`span`,{className:`swap ${n??``}`,"aria-hidden":`true`,children:Object.keys(t).map(n=>(0,G.jsx)(`span`,{"data-on":n===e,children:t[n]},n))})}function tY({text:e,widest:t}){let n=(0,U.useRef)(!1),r=(0,U.useRef)(null),[i,a]=(0,U.useState)();return(0,U.useEffect)(()=>{n.current=!0},[]),(0,U.useLayoutEffect)(()=>{let e=r.current;if(t!=null||!e)return;let n=()=>a(e.getBoundingClientRect().width);n();let i=new ResizeObserver(n);return i.observe(e),()=>i.disconnect()},[e,t]),(0,G.jsx)(`span`,{className:`swap-text`,"data-widest":t,"data-resize":t==null||void 0,style:t==null&&i!=null?{width:i}:void 0,children:(0,G.jsx)(`span`,{ref:r,className:n.current?`swap-in`:void 0,children:e},e)})}var nY=1200,rY=8e3;function iY(e,t,n){let r=e,i=!0,a=!1,o=!1,s,c=()=>!r.hasText&&!r.reduced&&!r.hidden&&(i||!r.focused&&!r.hovered),l=()=>{clearTimeout(s),s=void 0,a=!1,n()},u=e=>{s=setTimeout(()=>{a=!0,t(),s=setTimeout(()=>{n(),s=void 0,a=!1,i=!1,c()&&u(6800)},nY)},e)},d=e=>{o||(r=e,(!a||r.reduced||r.hidden)&&(c()?s===void 0&&u(i?300:rY):(i=!1,l())))};return d(e),{update:d,dispose(){o=!0,l()}}}var aY=`cubic-bezier(.37,0,.63,1)`;function oY(e){let t=e.querySelector(`textarea`),n=window.matchMedia(`(prefers-reduced-motion: reduce)`),r=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);r.setAttribute(`class`,`ask-tracer`),r.setAttribute(`aria-hidden`,`true`);let i=Array.from({length:20},(e,t)=>{let n=document.createElementNS(r.namespaceURI,`rect`);for(let[e,t]of Object.entries({x:1,y:1,rx:11,pathLength:100}))n.setAttribute(e,String(t));return n.style.strokeDashoffset=String(-t),n.style.opacity=String(Math.sin(Math.PI*(t+.5)/20)**2),r.append(n),n});e.append(r);let a=()=>{let{width:t,height:n}=e.getBoundingClientRect();r.setAttribute(`viewBox`,`0 0 ${t} ${n}`);for(let e of i)e.setAttribute(`width`,String(Math.max(0,t-2))),e.setAttribute(`height`,String(Math.max(0,n-2)))};a();let o=new ResizeObserver(a);o.observe(e);let s=[],c=()=>{s.forEach(e=>e.cancel()),s=[]},l=()=>{c();let e={duration:nY,easing:`linear`};s=[r.animate([{opacity:0},{opacity:1,offset:.2},{opacity:1,offset:.8},{opacity:0}],e),...i.map((t,n)=>t.animate([{strokeDashoffset:String(-n),easing:aY},{strokeDashoffset:String(-n-100)}],e))]},u=!1,d=()=>({focused:e.contains(document.activeElement),hovered:u,hasText:!!t.value,reduced:n.matches,hidden:document.hidden}),f=iY(d(),l,c),p=()=>f.update(d()),m=()=>queueMicrotask(p),h=()=>{u||(u=!0,p())},g=()=>{u=!1,p()};for(let t of[`input`,`focusin`])e.addEventListener(t,p);return e.addEventListener(`pointermove`,h),e.addEventListener(`pointerleave`,g),e.addEventListener(`focusout`,m),document.addEventListener(`visibilitychange`,p),n.addEventListener(`change`,p),{update:p,dispose(){f.dispose(),o.disconnect(),r.remove();for(let t of[`input`,`focusin`])e.removeEventListener(t,p);e.removeEventListener(`pointermove`,h),e.removeEventListener(`pointerleave`,g),e.removeEventListener(`focusout`,m),document.removeEventListener(`visibilitychange`,p),n.removeEventListener(`change`,p)}}}function sY(e,t,n){let r=Math.max(0,n.height-16-e.bottom-4),i=Math.max(0,e.top-4-16),a=t.height>r&&i>r,o=Math.min(t.height,a?i:r);return{left:Math.max(16,Math.min(e.left,n.width-16-t.width)),top:Math.max(16,Math.min(a?e.top-4-o:e.bottom+4,n.height-16-o)),maxHeight:o}}function cY(e,t){let n=getComputedStyle(e),r=e.getBoundingClientRect(),i=document.createElement(`div`),a=document.createElement(`span`);for(let e of`font-family.font-size.font-weight.font-style.font-variant.font-stretch.line-height.letter-spacing.word-spacing.text-indent.text-align.text-transform.direction.tab-size.padding-top.padding-right.padding-bottom.padding-left.border-top-width.border-right-width.border-bottom-width.border-left-width.border-style.white-space.overflow-wrap.word-break`.split(`.`))i.style.setProperty(e,n.getPropertyValue(e));Object.assign(i.style,{position:`fixed`,visibility:`hidden`,pointerEvents:`none`,left:`0`,top:`0`,boxSizing:`border-box`,width:`${e.clientWidth+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth)}px`}),i.setAttribute(`aria-hidden`,`true`),i.textContent=e.value.slice(0,t),a.textContent=e.value.slice(t,t+1),i.append(a,document.createTextNode(e.value.slice(t+1))),document.body.append(i);try{let t=a.getBoundingClientRect(),i=parseFloat(n.lineHeight),o=r.top+t.top-(i-t.height)/2-e.scrollTop;return{left:r.left+t.left-e.scrollLeft,top:o,bottom:o+i}}finally{i.remove()}}var lY=new Map,uY=(e,t)=>e.length===1&&e[0].kind===`meeting`?t?[W(`What did I just miss?`),W(`Sum up the meeting so far`),W(`What should I ask next?`)]:[W(`What was decided?`),W(`What are my next steps?`),W(`What questions are still open?`)]:e.length?[W(`What was decided?`),W(`What are my next steps?`),W(`What questions are still open?`)]:[W(`What are my next steps this week?`),W(`What did we decide last week?`),W(`Catch me up on yesterday`)];function dY({id:e,pendingDraftKey:t,initial:n,loadError:r=!1,home:i=!1,panel:a=!1,recording:o=!1,onSelect:s,onSource:c,onDeleted:l,onClose:u,onExpand:d}){let[f,p]=(0,U.useState)(n),[m,h]=(0,U.useState)((t?lY.get(t):void 0)??lY.get(e)??n?.draft??``),g=(0,U.useRef)(!1),[_,v]=(0,U.useState)(!1),[y,b]=(0,U.useState)(!1),x=(0,U.useRef)(void 0),[S,C]=(0,U.useState)(!1),[w,T]=(0,U.useState)(),[E,D]=(0,U.useState)(),O=(0,U.useRef)(!1),k=E?.query??w?.query,[A,j]=(0,U.useState)(),M=(0,U.useRef)(void 0),N=()=>{M.current||window.yogurt.conversations.targets(``).then(e=>{M.current=e}).catch(()=>{})},[P,F]=(0,U.useState)(!1),[I,L]=(0,U.useState)(!1),R=f?SG(f.chips,f.draftChips):[],ee=e=>R.some(t=>t.kind===e.kind&&t.id===e.id),z=(A?.items??[]).filter(e=>k?!0:!ee(e)),te=z.filter(e=>e.kind===`meeting`),ne=z.filter(e=>e.kind===`folder`),re=ne.slice(0,A?.query?4:2),ie=te.slice(0,A?.query?10-re.length:ne.length?3:5),B=[...te,...ne],V=P?B:[...ie,...re],ae=B.length-V.length,H=E&&!k?R.slice(0,I?void 0:3):[],oe=E&&!k?R.length-H.length:0,se=E&&!k?H.length+ +!!oe:0,ce=se+V.length+ +!!ae,[le,ue]=(0,U.useState)(0),de=(0,U.useRef)(null),fe=(0,U.useRef)(null),pe=(0,U.useRef)(void 0),me=a||!!f||!!_;(0,U.useEffect)(()=>{if(me&&fe.current)return pe.current=oY(fe.current),()=>{pe.current?.dispose(),pe.current=void 0}},[me]),(0,U.useEffect)(()=>{pe.current?.update()},[m]);let he=(0,U.useRef)(null),ge=(0,U.useRef)(null),_e=(0,U.useRef)({start:0,end:0}),ve=`conversation/${e}`,ye=Lv(ve,!!f),be=(0,U.useRef)(null),xe=$J(ye,be,!!f,Fv(ve)===void 0),Se=a?`chat`:`chat-page`;(0,U.useEffect)(()=>{if(!e)return;let r=!0,i=0;v(!1);let a=t?lY.get(t):void 0;a!==void 0&&(g.current=!0,lY.set(e,a),lY.delete(t),window.yogurt.conversations.draft(e,a).then(()=>{lY.get(e)===a&&lY.delete(e)}).catch(()=>{r&&v(!0)}));let o=window.yogurt.conversations.onChange(t=>{t.id===e&&(i++,p(t))}),s=(t=!1)=>{let a=++i;window.yogurt.conversations.get(e).then(o=>{if(r){if(!o)throw Error(`Conversation not found`);a===i&&p(o),t&&!n&&!g.current&&h(lY.get(e)??o.draft)}}).catch(()=>{r&&a===i&&(v(!0),x.current!==void 0&&(x.current=void 0,b(!1)))})},c=window.yogurt.meetings.onChange(()=>s()),l=window.yogurt.folders.onChange(()=>s());return s(!0),()=>{r=!1,o(),c(),l()}},[e]),(0,U.useEffect)(()=>{let e=!0;if(k===void 0)j(void 0),ue(0),F(!1);else return window.yogurt.conversations.targets(k).then(t=>{e&&(k||(M.current=t),j({query:k,items:t}),ue(0),F(!1))}).catch(()=>{e&&v(!0)}),()=>{e=!1}},[k,!!E,f?.chips,f?.draftChips]);let Ce=R.length===1&&R[0].kind===`meeting`?R[0].id:void 0,we=()=>{Ce&&window.yogurt.conversations.warm(e)};(0,U.useEffect)(we,[e,Ce]),(0,U.useEffect)(()=>{document.getElementById(`${Se}-context-${le}`)?.scrollIntoView({block:`nearest`})},[le,V]),(0,U.useLayoutEffect)(()=>{let e=de.current,t=ge.current;if(!w||!e||!t)return;let n=()=>{let n=sY(cY(e,w.start),{width:t.offsetWidth,height:Math.min(340,innerHeight/2,t.scrollHeight+t.offsetHeight-t.clientHeight)},{width:innerWidth,height:innerHeight});Object.assign(t.style,{left:`${n.left}px`,top:`${n.top}px`,maxHeight:`${n.maxHeight}px`})};n();let r=new ResizeObserver(n);return r.observe(e),r.observe(t),fe.current&&r.observe(fe.current),window.addEventListener(`resize`,n),document.addEventListener(`scroll`,n,!0),()=>{r.disconnect(),window.removeEventListener(`resize`,n),document.removeEventListener(`scroll`,n,!0)}},[w,m,A,P,f]);let Te=f?.turns??[],Ee=Te.at(-1),Oe=Ee?.status===`waiting`||Ee?.status===`answering`,ke=!f||y||S||Oe,Ae=(f?f.firstChips===null:i||a)&&!Te.length,je=i||!a&&Ae,Me=n=>{g.current=!0,h(n),(e||t)&&lY.set(e||t,n),e&&window.yogurt.conversations.draft(e,n).then(()=>{lY.get(e)===n&&lY.delete(e)}).catch(()=>v(!0))},Ne=(e,t)=>{let n=e.slice(0,t)!==m.slice(0,t);n&&e[t-1]===`@`&&(O.current=!1),n&&e[t-1]===` `&&w&&A?.query===w.query&&!V.length&&(O.current=!0),T(O.current?void 0:wG(e,t))},Pe=async t=>{C(!0),v(!1);try{await window.yogurt.conversations.context(e,t)}catch{throw v(!0),Error(`Context was not saved`)}finally{C(!1)}},Fe=e=>{(w||E)&&!ke&&f&&(ee(e)?Promise.resolve():Pe(SG(f.firstChips===null?R:f.draftChips,[e]))).then(()=>{w&&Me(m.slice(0,w.start)+m.slice(w.end)),w&&(T(void 0),requestAnimationFrame(()=>{de.current?.focus(),de.current?.setSelectionRange(w.start,w.start)}))}).catch(()=>{})},Ie=async t=>{if(!ke){C(!0),v(!1);try{for(let n of t)await window.yogurt.conversations.removeContext(e,n)}catch{v(!0)}finally{C(!1)}}},Le=e=>{E&&ee(e)?Ie([e]):Fe(e)},Re=()=>(de.current?.focus({preventScroll:!0}),de.current?.setSelectionRange(_e.current.start,_e.current.end),!1),ze=()=>{let e=document.activeElement;(e===document.body||e?.closest(`.ask-box, .ask-starters`))&&de.current?.focus({preventScroll:!0})},Be=t=>{window.yogurt.conversations.ask(e,t).then(t=>{if(!t)throw Error(`Question was not saved`);h(``),lY.delete(e),i&&s(t)}).catch(()=>{Me(t),v(!0)}).finally(()=>b(!1))},Ve=e=>{!e.trim()||y||S||Oe||r||!f&&(!a||_)||(ze(),xe.resume(),b(!0),v(!1),T(void 0),D(void 0),f?Be(e):x.current=e)};(0,U.useEffect)(()=>{if(r){x.current=void 0,b(!1);return}if(!f||x.current===void 0)return;let e=x.current;x.current=void 0,Be(e)},[f,r]);let He=()=>{ue(se+B.findIndex(e=>!V.includes(e))),F(!0)},Ue=e=>{if(!e.nativeEvent.isComposing){if((w||E)&&[`ArrowDown`,`ArrowUp`,`Enter`,`Escape`].includes(e.key)){if(e.preventDefault(),e.stopPropagation(),e.key===`Escape`)O.current=!0,T(void 0),D(void 0);else if(e.key===`Enter`){let e=le<H.length?H[le]:oe&&le===se-1?`scope-more`:ae&&le===se+V.length?`more`:V[le-se];e===`scope-more`?L(!0):e===`more`?He():e&&(Le(e),E&&D(void 0))}else ue(t=>(t+(e.key===`ArrowDown`?1:-1)+ce)%(ce||1))}else e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),Ve(m))}},We=()=>{f&&!S&&window.yogurt.conversations.current(SG(f.chips,f.draftChips),!0).then(s).catch(()=>v(!0))},Ge=!a&&(!!m||!!E),Ke=Ae&&(je||a)&&(!a||!m)&&(0,G.jsx)(`div`,{"data-testid":a?`chat-suggestions`:`chat-starters`,"aria-hidden":Ge||void 0,"data-instant":!!E||void 0,inert:Ge,className:`ask-starters${a?``:` ask-home-starters`}`,children:uY(R,o).map(e=>(0,G.jsx)(`button`,{type:`button`,title:e,"data-testid":a?`chat-suggestion`:`chat-starter`,disabled:ke||Ge,onClick:()=>Ve(e),children:e},e))}),qe=(e,t)=>(0,G.jsxs)(`button`,{type:`button`,role:`option`,tabIndex:-1,disabled:ke,"aria-selected":E?ee(e):le===t,"data-active":le===t||void 0,id:`${Se}-context-${t}`,onMouseDown:e=>e.preventDefault(),onClick:()=>Le(e),children:[e.kind===`meeting`?(0,G.jsx)(Ug,{size:14,"aria-hidden":`true`}):(0,G.jsx)(Yg,{size:14,"aria-hidden":`true`}),(0,G.jsx)(`span`,{children:JJ(e)}),ee(e)?(0,G.jsx)(yg,{size:14,"aria-hidden":`true`}):e.startedAt&&(0,G.jsx)(`small`,{children:AG(e.startedAt)})]},`${e.kind}:${e.id}`),Je=(0,G.jsxs)(G.Fragment,{children:[!!se&&(0,G.jsx)(G.Fragment,{children:!!H.length&&(0,G.jsxs)(`div`,{role:`group`,"aria-label":W(`In this chat`),children:[(0,G.jsxs)(`h3`,{children:[W(`In this chat`),(0,G.jsx)(`button`,{type:`button`,className:`text-action ask-picker-clear`,disabled:ke,onMouseDown:e=>e.preventDefault(),onClick:()=>void Ie(R),children:W(`Clear`)})]}),H.map((e,t)=>qe(e,t)),!!oe&&(0,G.jsxs)(`button`,{type:`button`,role:`option`,tabIndex:-1,"aria-selected":!1,"data-active":le===se-1||void 0,id:`${Se}-context-${se-1}`,onMouseDown:e=>e.preventDefault(),onClick:()=>L(!0),children:[(0,G.jsx)(Lg,{size:14,"aria-hidden":`true`}),(0,G.jsx)(`span`,{children:W(`{count} more`,{count:oe})})]})]})}),[`meeting`,`folder`].map(e=>V.some(t=>t.kind===e)&&(0,G.jsxs)(`div`,{role:`group`,"aria-label":W(e===`meeting`?`Meetings`:`Folders`),children:[(0,G.jsx)(`h3`,{children:W(e===`meeting`?`Meetings`:`Folders`)}),V.map((t,n)=>t.kind===e&&qe(t,se+n))]},e)),!!ae&&(0,G.jsxs)(`button`,{type:`button`,role:`option`,tabIndex:-1,disabled:ke,className:`text-muted`,"aria-selected":!E&&le===se+V.length,"data-active":le===se+V.length||void 0,id:`${Se}-context-${se+V.length}`,onMouseDown:e=>e.preventDefault(),onClick:He,children:[(0,G.jsx)(Lg,{size:14,"aria-hidden":`true`}),(0,G.jsx)(`span`,{children:W(`{count} more results`,{count:ae})})]}),!A&&!_&&(0,G.jsx)(`p`,{role:`status`,children:W(`Loading…`)}),A&&!V.length&&!se&&(0,G.jsx)(`p`,{children:W(`Nothing found for “{query}”.`,{query:A.query})})]});return(0,G.jsxs)(`div`,{"data-testid":je?`chat-empty`:void 0,"aria-busy":Ee?.status===`answering`,className:`ask-conversation${je?` ask-landing`:``}`,children:[je?(0,G.jsx)(`h1`,{className:`ask-home-title`,children:W(`Ask about your meetings`)}):(0,G.jsxs)(`header`,{className:`ask-conversation-head`,children:[(0,G.jsx)(`h2`,{id:a?`meeting-chat-title`:void 0,title:[f?.title||W(`New chat`),...f?.chips.map(JJ)??[]].join(`-`),children:f?.title||W(`New chat`)}),(0,G.jsxs)(`div`,{className:`ask-header-actions`,children:[f&&(0,G.jsx)(KJ,{id:e,title:f.title,onNew:We,onDeleted:l}),d&&(0,G.jsx)(`button`,{type:`button`,"data-testid":`chat-expand`,className:`ghost-btn workspace-icon`,onClick:d,"aria-label":W(`Open in Ask`),title:W(`Open in Ask`),children:(0,G.jsx)(C_,{size:15,"aria-hidden":`true`})}),u&&(0,G.jsx)(`button`,{type:`button`,"data-testid":`chat-close`,className:`ghost-btn workspace-icon`,onClick:u,"aria-label":W(`Close`),title:W(`Close`),children:(0,G.jsx)(av,{size:16,"aria-hidden":`true`})})]})]}),(0,G.jsxs)(`div`,{className:`ask-thread-wrap`,children:[(0,G.jsx)(Jh,{children:(0,G.jsx)(`div`,{className:`ask-thread${a?` chat-history`:``}${Ae?` ask-thread-empty`:``}`,ref:ye,children:(0,G.jsx)(`div`,{ref:be,className:`ask-thread-content`,children:(0,G.jsxs)(oK,{pending:!f&&!_,skeleton:(0,G.jsx)(sv,{layout:`chat`,testId:`chat-thread-loading`}),children:[!je&&Te.map(e=>(0,G.jsx)(fY,{showCopy:e===Ee,turn:e,chat:f,panel:a,onSource:c,onRetry:()=>Ve(e.question)},e.id)),a&&Ke]})})})}),xe.behind&&(0,G.jsx)(`button`,{className:`workspace-button workspace-icon chat-latest`,"data-testid":`chat-latest`,"aria-label":W(`Back to latest`),onClick:xe.latest,children:(0,G.jsx)(og,{size:15})})]}),(0,G.jsxs)(`div`,{className:`ask-composer${a?` chat-composer`:``}`,children:[_&&(0,G.jsx)(`p`,{"data-testid":a?`chat-send-error`:`chat-page-error`,role:`alert`,className:`chat-error`,children:W(`Couldn't save your changes`)}),(0,G.jsx)(oK,{pending:!a&&!f&&!_,onReady:()=>{f&&de.current?.focus({preventScroll:!0})},testId:je?`chat-loading`:void 0,children:(0,G.jsxs)(`form`,{ref:fe,className:`ask-box`,"data-busy":ke||void 0,"data-testid":`${Se}-box`,onSubmit:e=>{e.preventDefault(),Ve(m)},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||T(void 0)},children:[(0,G.jsxs)(`div`,{className:`ask-field`,children:[(0,G.jsx)(`textarea`,{autoFocus:a,ref:de,id:a?`meeting-question`:`library-question`,"data-testid":`${Se}-input`,rows:1,maxLength:4e3,placeholder:je?void 0:W(a?`Ask anything`:`Ask about your meetings`),"aria-label":W(a?`Ask anything`:`Ask about your meetings`),value:m,disabled:!a&&!f,readOnly:y||S,role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":!!w,"aria-controls":w?`${Se}-contexts`:void 0,"aria-activedescendant":w&&le<ce?`${Se}-context-${le}`:void 0,onChange:e=>{Me(e.target.value),Ne(e.target.value,e.target.selectionStart)},onClick:e=>Ne(e.currentTarget.value,e.currentTarget.selectionStart),onSelect:e=>Ne(e.currentTarget.value,e.currentTarget.selectionStart),onFocus:we,onKeyDown:Ue}),(0,G.jsxs)(`div`,{className:`ask-box-actions`,children:[(0,G.jsxs)(sW,{open:!!E,onOpenChange:e=>{T(void 0),j(e&&M.current?{query:``,items:M.current}:void 0),ue(0),F(!1),L(!1),e||requestAnimationFrame(()=>{let e=document.activeElement;(!e||e===document.body||e.closest(`.ask-scope, .ask-selector`))&&de.current?.focus({preventScroll:!0})}),e&&(_e.current={start:de.current?.selectionStart??m.length,end:de.current?.selectionEnd??m.length}),D(e?{query:``}:void 0)},children:[(0,G.jsxs)(`span`,{className:`ask-scope-group`,children:[(0,G.jsx)(CW,{type:`button`,className:`ask-scope`,"data-testid":`ask-scope`,onPointerEnter:N,onFocus:N,disabled:ke,"aria-label":W(`Choose meetings or folders`),title:W(`Choose meetings or folders`),children:(0,G.jsx)(XJ,{chips:R})}),!!R.length&&(0,G.jsx)(`button`,{type:`button`,className:`ask-scope-clear`,"data-testid":`ask-scope-clear`,disabled:ke,"aria-label":W(`Clear`),title:W(`Clear`),onClick:()=>{Ie(R),de.current?.focus({preventScroll:!0})},children:(0,G.jsx)(av,{size:12,"aria-hidden":`true`})})]}),(0,G.jsx)(EW,{container:de.current?.closest(`dialog`)??void 0,children:(0,G.jsx)(fG,{anchor:fe,side:je?`bottom`:`top`,align:`start`,collisionAvoidance:{fallbackAxisSide:`none`},sideOffset:6,collisionPadding:16,positionMethod:`fixed`,className:`ask-selector-positioner`,children:(0,G.jsxs)(vG,{className:`ask-picker ask-selector`,"aria-label":W(`Choose meetings or folders`),initialFocus:he,finalFocus:Re,children:[(0,G.jsx)(`input`,{ref:he,className:`ask-picker-search`,placeholder:W(`Search…`),"aria-label":W(`Search meetings and folders`),role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":!!E,"aria-controls":`${Se}-contexts`,"aria-activedescendant":le<ce?`${Se}-context-${le}`:void 0,value:E?.query??``,maxLength:200,readOnly:S,onChange:e=>D(t=>t&&{...t,query:e.target.value}),onKeyDown:Ue}),(0,G.jsx)(`div`,{className:`ask-picker-results`,id:`${Se}-contexts`,role:`listbox`,"aria-multiselectable":`true`,"aria-label":W(`Add context`),children:Je})]})})})]}),Oe?(0,G.jsx)(`button`,{type:`button`,"data-testid":`${Se}-stop`,className:`ask-toolbar-button ask-stop`,"aria-label":f?.waitsForModel?W(`Cancel question`):W(`Stop`),title:f?.waitsForModel?W(`Cancel question`):W(`Stop`),onClick:()=>{ze(),window.yogurt.conversations.stop(e)},children:(0,G.jsx)(uee,{size:10,fill:`currentColor`})}):(0,G.jsxs)(`button`,{type:`submit`,"data-testid":`${Se}-send`,className:`ask-toolbar-button ask-send`,disabled:ke||!m.trim(),"aria-label":W(`Ask`),children:[(0,G.jsx)(`span`,{className:`orb-material`,"aria-hidden":`true`}),(0,G.jsx)(lg,{size:16})]})]})]}),w&&(0,De.createPortal)((0,G.jsx)(`div`,{ref:ge,className:`ask-picker ask-mention`,id:`${Se}-contexts`,role:`listbox`,"aria-label":W(`Add context`),children:Je}),de.current?.closest(`dialog`)??document.body)]})})]}),!a&&Ke,(0,G.jsx)(`p`,{"data-testid":`${Se}-announce`,className:`sr-only`,"aria-live":`polite`,children:Ee?.status===`done`?Ee.answer:``})]})}function fY({turn:e,chat:t,panel:n,showCopy:r,onSource:i,onRetry:a}){let o=e.status===`answering`,s=RG(e.answer,o),[c,l]=(0,U.useState)(!1),[u,d]=(0,U.useState)(!1),f=n?`chat`:`chat-page`;return(0,U.useEffect)(()=>{if(!c)return;let e=setTimeout(()=>l(!1),1800);return()=>clearTimeout(e)},[c]),(0,G.jsxs)(`div`,{"data-testid":`${f}-turn`,"data-status":e.status,"data-show-copy":r||void 0,className:`ask-turn`,children:[(0,G.jsx)(`p`,{className:`ask-question`,"data-testid":`${f}-question`,children:e.question}),(e.status===`waiting`||o&&!s)&&(t.waitsForModel&&e.status===`waiting`?(0,G.jsx)(dK,{downloading:e=>(0,G.jsxs)(`p`,{role:`status`,className:`text-sm text-muted`,children:[W(`Your question is waiting for Yogurt's AI to download.`),` `,(0,G.jsx)(`span`,{className:`whitespace-nowrap`,children:e})]}),children:(0,G.jsx)(`p`,{role:`status`,className:`text-sm text-muted`,children:W(`Getting ready to answer. Yogurt is still setting up.`)})}):(0,G.jsx)(`p`,{className:`chat-progress`,role:`status`,children:t.waitsForMeeting&&e.status===`waiting`?W(`Yogurt will answer once the meeting ends.`):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(pK,{}),(0,G.jsx)(pY,{step:e.status===`waiting`?void 0:e.step})]})})),s&&(0,G.jsx)(`div`,{"data-testid":`${f}-answer`,dir:`auto`,"data-streaming":o||void 0,className:`note-prose chat-answer${o?` stream-caret`:``}`,children:(0,G.jsx)(WG,{md:s,live:o,sources:e.sources,onSource:i})}),s&&!o&&(0,G.jsxs)(`div`,{className:`chat-answer-actions`,children:[(0,G.jsxs)(`button`,{className:`ghost-btn chat-copy-action`,"data-testid":`chat-copy-answer`,"aria-label":W(c?`Copied`:`Copy answer`),onClick:()=>{navigator.clipboard.writeText(e.answer).then(()=>{l(!0),d(!1)}).catch(()=>d(!0))},children:[(0,G.jsx)(eY,{show:c?`done`:`copy`,options:{copy:(0,G.jsx)(rK,{size:13}),done:(0,G.jsx)(yg,{size:13})}}),(0,G.jsx)(tY,{text:W(c?`Copied`:`Copy`),widest:W(`Copied`)})]}),e.scope&&(0,G.jsx)(ZJ,{chips:e.scope}),(0,G.jsx)(`span`,{role:`status`,className:u?`text-danger`:`sr-only`,children:u?W(`Yogurt couldn't copy.`):c?W(`Copied`):``})]}),e.status===`stopped`&&(0,G.jsx)(`p`,{className:`text-xs text-muted`,children:W(s?`Stopped`:`Stopped before answering`)}),e.status===`failed`&&(0,G.jsxs)(`p`,{role:`alert`,children:[W(`Yogurt couldn't answer that.`),` `,(0,G.jsx)(`button`,{className:`ghost-btn`,onClick:a,children:W(`Try again`)})]})]})}function pY({step:e}){let[t,n]=(0,U.useState)(0),r=JSON.stringify(e??null);(0,U.useEffect)(()=>{n(0);let e=setInterval(()=>n(e=>e+1),TG);return()=>clearInterval(e)},[r]);let i=EG(e,t);return(0,G.jsx)(`span`,{"data-testid":`chat-step`,className:`chat-step`,children:i},i)}var mY=`M21.528 8.111Q25.000 7.278 30.000 7.278L30.000 7.278Q35.000 7.278 45.833 7.833L56.667 8.389L56.667 8.389L56.111 20.056Q55.556 31.722 54.861 34.222L54.861 34.222Q54.167 36.722 53.472 37.556L53.472 37.556Q52.778 38.389 51.528 39.083L51.528 39.083Q50.278 39.778 44.028 40.889L44.028 40.889Q37.778 42.000 36.111 43.250L36.111 43.250Q34.444 44.500 33.889 45.750L33.889 45.750Q33.333 47.000 33.472 48.806L33.472 48.806Q33.611 50.611 34.583 52.417L34.583 52.417Q35.556 54.222 37.361 55.889L37.361 55.889Q39.167 57.556 40.694 58.250L42.222 58.944L42.222 58.944L42.361 59.778Q42.500 60.611 42.500 62.278L42.500 63.944L42.500 63.944L41.250 63.944Q40.000 63.944 35.139 62.972L35.139 62.972Q30.278 62.000 25.556 60.056L25.556 60.056Q20.833 58.111 18.194 56.306L18.194 56.306Q15.556 54.500 13.611 52.556L13.611 52.556Q11.667 50.611 10.278 48.667L10.278 48.667Q8.889 46.722 7.500 43.389L7.500 43.389Q6.111 40.056 5.556 36.861L5.556 36.861Q5.000 33.667 5.000 31.167L5.000 31.167Q5.000 28.667 5.417 26.028L5.417 26.028Q5.833 23.389 6.944 20.611L6.944 20.611Q8.056 17.833 9.444 15.889L9.444 15.889Q10.833 13.944 12.639 12.417L12.639 12.417Q14.444 10.889 16.250 9.917L16.250 9.917Q18.056 8.944 21.528 8.111L21.528 8.111Z M66.250 33.944Q68.611 33.667 72.639 33.667L72.639 33.667Q76.667 33.667 79.028 34.083L79.028 34.083Q81.389 34.500 83.889 35.611L83.889 35.611Q86.389 36.722 88.611 38.667L88.611 38.667Q90.833 40.611 92.083 42.694L92.083 42.694Q93.333 44.778 93.889 46.444L93.889 46.444Q94.444 48.111 94.861 51.306L94.861 51.306Q95.278 54.500 95.139 57.972L95.139 57.972Q95.000 61.444 94.444 64.222L94.444 64.222Q93.889 67.000 92.083 71.306L92.083 71.306Q90.278 75.611 89.028 77.278L89.028 77.278Q87.778 78.944 85.694 81.028L85.694 81.028Q83.611 83.111 80.694 85.194L80.694 85.194Q77.778 87.278 75.556 88.389L75.556 88.389Q73.333 89.500 71.111 90.333L71.111 90.333Q68.889 91.167 65.833 91.861L65.833 91.861Q62.778 92.556 59.028 92.833L55.278 93.111L55.278 93.111L55.278 89.222L55.278 89.222L56.944 88.528Q58.611 87.833 60.972 85.889L60.972 85.889Q63.333 83.944 64.444 81.722L64.444 81.722Q65.556 79.500 65.417 77.417L65.417 77.417Q65.278 75.333 64.722 74.639L64.722 74.639Q64.167 73.944 63.194 73.528L63.194 73.528Q62.222 73.111 56.667 72.972L56.667 72.972Q51.111 72.833 50.139 72.556L50.139 72.556Q49.167 72.278 48.472 71.583L48.472 71.583Q47.778 70.889 47.361 66.861L47.361 66.861Q46.944 62.833 46.944 57.833L46.944 57.833Q46.944 52.833 47.222 51.167L47.222 51.167Q47.500 49.500 48.611 46.722L48.611 46.722Q49.722 43.944 51.944 41.306L51.944 41.306Q54.167 38.667 56.667 37.139L56.667 37.139Q59.167 35.611 61.528 34.917L61.528 34.917Q63.889 34.222 66.250 33.944L66.250 33.944Z`,hY=`M265 -179Q225 -179 184.0 -171.0Q143 -163 107.5 -146.5Q72 -130 48 -104L91 0Q120 -33 166.0 -50.0Q212 -67 259 -67Q314 -67 350.0 -44.5Q386 -22 405.0 25.0Q424 72 426 142L433 237H412Q402 169 379.0 126.5Q356 84 321.5 64.5Q287 45 241 45Q184 45 145.0 74.0Q106 103 86.5 160.0Q67 217 67 301V523H194V330Q194 236 217.0 193.5Q240 151 287 151Q312 151 333.0 164.5Q354 178 368.5 203.5Q383 229 391.5 267.0Q400 305 401 354V523H528V137Q528 74 517.5 23.5Q507 -27 486.0 -64.5Q465 -102 433.5 -128.0Q402 -154 360.0 -166.5Q318 -179 265 -179ZM875 -13Q798 -13 739.0 18.5Q680 50 646.5 111.5Q613 173 613 263Q613 355 647.5 415.5Q682 476 741.0 506.0Q800 536 874 536Q951 536 1010.0 505.0Q1069 474 1103.0 412.5Q1137 351 1137 260Q1137 168 1103.0 107.0Q1069 46 1009.5 16.5Q950 -13 875 -13ZM880 83Q922 83 951.0 102.5Q980 122 995.5 161.0Q1011 200 1011 254Q1011 311 994.5 351.5Q978 392 947.5 414.0Q917 436 871 436Q831 436 801.0 416.5Q771 397 755.5 359.0Q740 321 740 265Q740 177 777.5 130.0Q815 83 880 83ZM1428 -180Q1343 -180 1288.5 -167.0Q1234 -154 1208.0 -128.0Q1182 -102 1182 -64Q1182 -18 1218.5 11.5Q1255 41 1327 48V68Q1273 67 1245.0 79.5Q1217 92 1217 120Q1217 147 1244.5 168.0Q1272 189 1336 203V223Q1275 226 1241.0 261.5Q1207 297 1207 354Q1207 405 1235.0 444.0Q1263 483 1317.5 505.5Q1372 528 1450 528H1709V428L1545 452V430Q1607 420 1636.5 395.0Q1666 370 1666 327Q1666 286 1640.0 254.5Q1614 223 1564.5 205.5Q1515 188 1445 188Q1432 188 1417.0 189.0Q1402 190 1370 194Q1349 179 1336.0 167.5Q1323 156 1323 146Q1323 138 1333.0 132.5Q1343 127 1359.0 125.0Q1375 123 1390 123H1529Q1549 123 1580.5 120.0Q1612 117 1643.5 104.0Q1675 91 1696.5 63.0Q1718 35 1718 -16Q1718 -73 1685.5 -109.5Q1653 -146 1588.5 -163.0Q1524 -180 1428 -180ZM1439 -78Q1501 -78 1538.0 -71.0Q1575 -64 1591.0 -48.5Q1607 -33 1607 -9Q1607 13 1597.0 25.5Q1587 38 1571.5 43.0Q1556 48 1540.0 49.0Q1524 50 1513 50H1390Q1342 43 1322.5 23.0Q1303 3 1303 -21Q1303 -45 1319.0 -57.5Q1335 -70 1365.5 -74.0Q1396 -78 1439 -78ZM1442 257Q1494 257 1521.0 281.5Q1548 306 1548 346Q1548 389 1520.5 416.5Q1493 444 1441 444Q1389 444 1360.5 417.0Q1332 390 1332 348Q1332 321 1344.5 300.5Q1357 280 1381.5 268.5Q1406 257 1442 257ZM1968 -13Q1878 -13 1832.5 48.5Q1787 110 1787 235V523H1914V249Q1914 170 1938.0 131.0Q1962 92 2012 92Q2041 92 2063.0 106.5Q2085 121 2101.0 147.5Q2117 174 2126.5 209.0Q2136 244 2138 286V523H2264V215V0H2160L2162 165H2144Q2131 102 2107.5 63.0Q2084 24 2050.0 5.5Q2016 -13 1968 -13ZM2381 0V262V523H2487L2485 343H2503Q2512 407 2531.0 449.5Q2550 492 2584.0 513.5Q2618 535 2668 535Q2678 535 2689.5 534.0Q2701 533 2715 529L2710 396Q2694 402 2677.5 404.5Q2661 407 2647 407Q2608 407 2579.5 387.0Q2551 367 2533.5 330.5Q2516 294 2507 244V0ZM2961 -12Q2878 -12 2839.0 32.5Q2800 77 2800 171V422H2723L2725 522H2776Q2805 522 2819.0 531.0Q2833 540 2836 563L2848 639H2921V523H3059V418H2921V176Q2921 139 2938.5 122.0Q2956 105 2991 105Q3010 105 3028.5 109.5Q3047 114 3063 125V5Q3032 -5 3006.5 -8.5Q2981 -12 2961 -12Z`;function gY({size:e=28,className:t=`text-accent`}){return(0,G.jsx)(`svg`,{"data-testid":`logo`,role:`img`,"aria-label":`Yogurt`,width:e,height:e,viewBox:`0 0 100 100`,className:`shrink-0 ${t}`,children:(0,G.jsx)(`path`,{fill:`currentColor`,d:mY})})}function _Y({height:e=32}){return(0,G.jsxs)(`svg`,{"data-testid":`wordmark`,role:`img`,"aria-label":`Yogurt`,height:e,width:e*286/80,viewBox:`0 0 286 80`,className:`shrink-0`,children:[(0,G.jsx)(`path`,{style:{fill:`color-mix(in srgb, var(--primary), var(--accent))`},transform:`translate(0 5) scale(.65)`,d:mY}),(0,G.jsx)(`path`,{className:`text-ink`,fill:`currentColor`,transform:`translate(82 55) scale(.068 -.068)`,d:hY})]})}var vY=[{speaker:`Kara`,text:`The launch page is ready for review.`,track:`them`,speakerColor:0},{speaker:`Ray`,text:`We can publish Tuesday.`,track:`them`,speakerColor:1},{text:`I'll send Ray the asset list by Friday.`,track:`me`}].map((e,t)=>({...e,id:t+1,meetingId:`sample-meeting`,startMs:1e4+t*1e4,endMs:14e3+t*1e4,hidden:!1})),yY=[.8,2.65,4.05],bY=[2.35,3.8,5.95];function xY(e){let t=vY.map((t,n)=>({...t,hidden:e<bY[n]})),n=yY.findIndex((t,n)=>e>=t&&e<bY[n]);if(n<0)return{lines:t,partial:{track:`them`,startMs:0,text:``,words:[]}};let r=vY[n],i=r.text.split(` `),a=Math.min(i.length,1+Math.floor((e-yY[n])/(bY[n]-yY[n])*(i.length-1))),o=i.slice(0,a).map((e,t)=>({text:e,startMs:r.startMs+t*350,endMs:r.startMs+(t+1)*350}));return{lines:t,partial:{track:r.track,startMs:r.startMs,text:o.map(e=>e.text).join(` `),words:o}}}var SY=[`## Tuesday launch`,`- Publish the page Tuesday.`,`- Announce it Wednesday morning.`,`## Next steps`,`- **Kara:** Release notes by Friday.`,`- **You:** Send Ray the asset list by Friday.`],CY=SY.join(`-`),wY=[.95,1.55,2.6,3.6,4,5.3].map(e=>.95+(e-.95)*.8);function TY(e){return SY.flatMap((t,n)=>{let[,r,i]=t.match(/^(## |- )(.*)$/),a=i.split(` `),o=(n<3?.16:.14)*.8,s=Math.max(0,Math.min(a.length,Math.floor((e-wY[n])/o)+1));return s?[r+a.slice(0,s).join(` `)]:[]}).join(`-`)}var EY=()=>{},DY=new URLSearchParams(location.search).has(`animate`);M===`transcript`&&Se(vY,{track:`them`,startMs:0,text:``,words:[]}),M===`ask`&&xe({question:_,answer:v+`[1]`,status:DY?`waiting`:`done`});function OY(e){let t=[],n=(e,n,r=.28)=>{e&&t.push({element:e,start:n,duration:r})},r=(e,t,r)=>{let i=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),a=[];for(;i.nextNode();)i.currentNode.textContent?.trim()&&!i.currentNode.parentElement?.closest(`button,time,.sr-only`)&&a.push(i.currentNode);let o=0;for(let e of a){let i=document.createDocumentFragment();for(let a of e.data.split(/(\s+)/)){if(!a.trim()){i.append(a);continue}let e=document.createElement(`span`);e.className=`fragment-word`,e.textContent=a,i.append(e),n(e,t+o++*r)}e.replaceWith(i)}};if(M===`ask`){let t=e.querySelector(`.ask-question`);n(t,1),r(t,1,.045),n(e.querySelector(`.fragment-byline`),2.05);let i=4.45;e.querySelectorAll(`.chat-answer>p`).forEach(e=>{r(e,i,1.5/v.split(` `).length),i+=e.textContent.replace(/1$/,``).trim().split(/\s+/).length*1.5/v.split(` `).length}),n(e.querySelector(`.source-citation`),5.95)}return t}function kY(){let[e,t]=(0,U.useState)(DY?0:99),n=M===`summary`&&e<1.5,[r,i]=(0,U.useState)(null),[a,o]=(0,U.useState)(0);return(0,U.useEffect)(()=>{let e=!1,n=[],r=``,a=null,s=e=>{if(e.source!==parent||e.origin!==location.origin)return;if(e.data?.type===`yogurt-fragment-playing`){document.documentElement.dataset.paused=String(!e.data.playing);return}if(e.data?.type!==`yogurt-fragment-time`||!Number.isFinite(e.data.seconds))return;let i=Math.max(0,Math.min(99,e.data.seconds));if(M===`summary`&&t(i),M===`ask`&&document.documentElement.style.setProperty(`--reply-opacity`,i>=2.05?`1`:`0`),M===`transcript`){let e=xY(i),t=JSON.stringify(e);t!==r&&(r=t,Se(e.lines,e.partial))}for(let{element:e,start:t,duration:r}of n){let n=Math.max(0,Math.min(1,(i-t)/r));e.style.opacity=String(1-(1-n)**3)}let a=document.querySelector(`.fragment-ask .chat-progress`);a&&(a.style.visibility=i>=2.05&&i<4.45?`visible`:`hidden`),document.documentElement.dataset.fragmentPlaying=String(i<20)};window.addEventListener(`message`,s);let c=()=>{if(e||a?.isConnected)return;let t=document.querySelector(`.ask-turn`);t&&i(t),document.querySelector(`[data-testid="transcript"][data-loaded=true], [data-testid="fragment-plan"], [data-testid="chat-answer"]`)&&(M!==`ask`||document.querySelector(`.fragment-byline`))&&(e=!0,document.fonts.ready.then(()=>requestAnimationFrame(()=>{if(M===`transcript`&&DY&&!a){a=document.querySelector(`[data-testid=transcript]`);let t=[...a.querySelectorAll(`.transcript-turn`)],n=document.createElement(`style`);n.textContent=`.fragment-transcript [data-testid=transcript]{height:${a.getBoundingClientRect().height}px;display:grid;grid-template-rows:${t.map(e=>e.getBoundingClientRect().height+`px`).join(` `)};gap:20px}`+t.map((e,t)=>{let n=e.querySelector(`.bubble`).getBoundingClientRect();return`.fragment-transcript .transcript-turn:nth-child(${t+1} of .transcript-turn) .bubble{width:${n.width}px;height:${n.height}px;flex:none}`}).join(``),document.head.append(n),Se([],{track:`them`,startMs:0,text:``,words:[]}),e=!1,o(1)}else{if(M===`ask`){let e=document.querySelector(`.chat-answer`),t=e.closest(`.ask-turn`);t.style.setProperty(`--fragment-answer-top`,`${e.getBoundingClientRect().top-t.getBoundingClientRect().top}px`)}if(n=OY(document.querySelector(`.marketing-fragment`)),DY)for(let{element:e}of n)e.style.opacity=`0`;document.documentElement.dataset.ready=`true`,parent.postMessage({type:`yogurt-fragment-ready`},location.origin)}})))},l=new MutationObserver(c);return l.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`data-loaded`]}),c(),()=>{l.disconnect(),window.removeEventListener(`message`,s)}},[]),(0,G.jsxs)(`div`,{className:`marketing-fragment fragment-${M}`,children:[M===`transcript`&&(0,G.jsx)(Zv,{id:E.id,recording:!0,inline:!0},a),M===`summary`&&(0,G.jsxs)(`div`,{className:`fragment-plan`,"data-waiting":n,children:[n&&(0,G.jsxs)(`div`,{className:`summary-cue`,children:[(0,G.jsx)(`span`,{children:`Summarizing…`}),(0,G.jsx)(Qv,{})]}),(0,G.jsx)(`div`,{className:`fragment-plan-size`,"aria-hidden":`true`,children:(0,G.jsx)(ez,{markdown:CY,editable:!1,label:`Tuesday launch`,testId:`fragment-plan-size`,className:`enhanced`})}),(0,G.jsx)(`div`,{className:`fragment-plan-live`,children:(0,G.jsx)(ez,{markdown:TY(Math.max(0,e-.75)),streaming:DY&&e<5.75,editable:!1,label:`Tuesday launch`,testId:`fragment-plan`,className:`enhanced`})})]}),M===`ask`&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(dY,{id:j.id,initial:j,panel:!0,onSelect:EY,onSource:EY,onDeleted:EY}),r&&(0,De.createPortal)((0,G.jsxs)(`div`,{className:`fragment-byline`,children:[(0,G.jsx)(gY,{size:20}),(0,G.jsx)(`span`,{children:`Yogurt`})]}),r)]})]})}var AY=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),jY=o(((e,t)=>{t.exports=AY()})),MY=o((e=>{var t=jY(),n=we(),r=Ee();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){for(var t=e,n=t;n&&!n.alternate;)t=n,t.flags&4098&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}function f(e,t,n,r,i,a){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,r,i,a)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&f(e.child,t,n,r,i,a))return!0;e=e.sibling}return!1}function p(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function m(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),e.tag!==3&&e.tag!==5&&e.tag!==27);)e=e.return;return t}function h(e){var t=[null,null],n=p(e);return n===null||g(t,e,n.child,{foundSelf:!1}),t}function g(e,t,n,r){for(;n!==null;){if(n===t)r.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&g(e,t,n.child,r))return!0;n=n.sibling}return!1}function _(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(i(559))}}var v=null,y=null;function b(e,t,n){return e===n||e===t&&(v=e,!0)}function x(e,t,n){return e===n?(y=e,!1):e===t&&(y!==null&&(v=e),!0)}function S(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function C(e,t,n){for(var r=0,i=e;i;i=n(i))r++;i=0;for(var a=t;a;a=n(a))i++;for(;0<r-i;)e=n(e),r--;for(;0<i-r;)t=n(t),i--;for(;r--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var w=Object.assign,T=Symbol.for(`react.element`),E=Symbol.for(`react.transitional.element`),D=Symbol.for(`react.portal`),O=Symbol.for(`react.fragment`),k=Symbol.for(`react.strict_mode`),A=Symbol.for(`react.profiler`),j=Symbol.for(`react.consumer`),M=Symbol.for(`react.context`),N=Symbol.for(`react.forward_ref`),P=Symbol.for(`react.suspense`),F=Symbol.for(`react.suspense_list`),I=Symbol.for(`react.memo`),L=Symbol.for(`react.lazy`),R=Symbol.for(`react.activity`),ee=Symbol.for(`react.legacy_hidden`),z=Symbol.for(`react.memo_cache_sentinel`),te=Symbol.for(`react.view_transition`),ne=Symbol.for(`react.recoverable`),re=Symbol.iterator;function ie(e){return typeof e!=`object`||!e?null:(e=re&&e[re]||e[`@@iterator`],typeof e==`function`?e:null)}var B=Symbol.for(`react.client.reference`);function V(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===B?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case O:return`Fragment`;case A:return`Profiler`;case k:return`StrictMode`;case P:return`Suspense`;case F:return`SuspenseList`;case R:return`Activity`;case te:return`ViewTransition`}if(typeof e==`object`)switch(e.$$typeof){case D:return`Portal`;case M:return e.displayName||`Context`;case j:return(e._context.displayName||`Context`)+`.Consumer`;case N:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case I:return t=e.displayName||null,t===null?V(e.type)||`Memo`:t;case L:t=e._payload,e=e._init;try{return V(e(t))}catch{}}return null}var ae=Array.isArray,H=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se={pending:!1,data:null,method:null,action:null},ce=[],le=-1;function ue(e){return{current:e}}function de(e){0>le||(e.current=ce[le],ce[le]=null,le--)}function fe(e,t){le++,ce[le]=e.current,e.current=t}var pe=ue(null),me=ue(null),he=ue(null),ge=ue(null);function _e(e,t){switch(fe(he,t),fe(me,e),fe(pe,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?vp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=vp(t),e=yp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}de(pe),fe(pe,e)}function ve(){de(pe),de(me),de(he)}function ye(e){var t=e.memoizedState;t!==null&&(hh._currentValue=t.memoizedState,fe(ge,e)),t=pe.current;var n=yp(t,e.type);t!==n&&(fe(me,e),fe(pe,n))}function be(e){me.current===e&&(de(pe),de(me)),ge.current===e&&(de(ge),hh._currentValue=se)}var xe,Se;function Ce(e){if(xe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);xe=t&&t[1]||``,Se=-1<e.stack.indexOf(`- at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`-`+xe+e+Se}var Te=!1;function U(e,t){if(!e||Te)return``;Te=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}n=!1;try{var i=Object.getOwnPropertyDescriptor(e.prototype,`props`);Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(i===void 0?delete e.prototype.props:Object.defineProperty(e.prototype,"props",i))}}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`-`),l=s.split(`-`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`-`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Te=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Ce(n):``}function De(e,t){switch(e.tag){case 26:case 27:case 5:return Ce(e.type);case 16:return Ce(`Lazy`);case 13:return e.child!==t&&t!==null?Ce(`Suspense Fallback`):Ce(`Suspense`);case 19:return Ce(`SuspenseList`);case 0:case 15:return U(e.type,!1);case 11:return U(e.type.render,!1);case 1:return U(e.type,!0);case 31:return Ce(`Activity`);case 30:return Ce(`ViewTransition`);default:return``}}function Oe(e){try{var t=``,n=null;do t+=De(e,n),n=e,e=e.return;while(e);return t}catch(e){return`-Error generating stack: `+e.message+`-`+e.stack}}var ke=Object.prototype.hasOwnProperty,Ae=t.unstable_scheduleCallback,je=t.unstable_cancelCallback,Me=t.unstable_shouldYield,Ne=t.unstable_requestPaint,Pe=t.unstable_now,Fe=t.unstable_getCurrentPriorityLevel,Ie=t.unstable_ImmediatePriority,Le=t.unstable_UserBlockingPriority,Re=t.unstable_NormalPriority,ze=t.unstable_LowPriority,Be=t.unstable_IdlePriority,Ve=t.log,He=t.unstable_setDisableYieldValue,Ue=null,We=null;function Ge(e){if(typeof Ve==`function`&&He(e),We&&typeof We.setStrictMode==`function`)try{We.setStrictMode(Ue,e)}catch{}}var Ke=Math.clz32?Math.clz32:Ye,qe=Math.log,Je=Math.LN2;function Ye(e){return e>>>=0,e===0?32:31-(qe(e)/Je|0)|0}var Xe=256,Ze=262144,Qe=4194304;function $e(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function et(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=$e(n))):i=$e(o):i=$e(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=$e(n))):i=$e(o)):i=$e(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function tt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function nt(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var r=31-Ke(n),i=1<<r;t|=e[r],n&=~i}return t}function rt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function it(){var e=Qe;return Qe<<=1,!(Qe&62914560)&&(Qe=4194304),e}function at(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ot(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function st(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ke(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&ct(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function ct(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ke(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function lt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ke(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function ut(e,t){var n=t&-t;return n=n&42?1:dt(n),(n&(e.suspendedLanes|t))===0?n:0}function dt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ft(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function pt(){var e=oe.p;return e===0?(e=window.event,e===void 0?32:jh(e.type)):e}function mt(e,t){var n=oe.p;try{return oe.p=e,t()}finally{oe.p=n}}var ht=Math.random().toString(36).slice(2),gt=`__reactFiber$`+ht,_t=`__reactProps$`+ht,vt=`__reactContainer$`+ht,yt=`__reactEvents$`+ht,bt=`__reactListeners$`+ht,xt=`__reactHandles$`+ht,St=`__reactResources$`+ht,W=`__reactMarker$`+ht,Ct=`__reactLoad$`+ht;function wt(e){delete e[gt],delete e[_t],delete e[bt],delete e[xt]}function Tt(e){var t;if(t=e[gt])return t;for(var n=e.parentNode;n;){if(t=n[vt]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=bm(e);e!==null;){if(n=e[gt])return n;e=bm(e)}return t}e=n,n=e.parentNode}return null}function Et(e){if(e=e[gt]||e[vt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Dt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Ot(e){var t=e[St];return t||=e[St]={hoistableStyles:new Map,hoistableScripts:new Map},t}function kt(e){e[W]=!0}function At(e){e[Ct]=void 0}var jt=new Set,Mt={};function Nt(e,t){Pt(e,t),Pt(e+`Capture`,t)}function Pt(e,t){for(Mt[e]=t,e=0;e<t.length;e++)jt.add(t[e])}var Ft=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),It={},Lt={};function Rt(e){return ke.call(Lt,e)?!0:ke.call(It,e)?!1:Ft.test(e)?Lt[e]=!0:(It[e]=!0,!1)}var zt=!1;function Bt(){var e=zt;return zt=!1,e}function Vt(e,t,n){if(Rt(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,n)}}}function Ht(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,n)}}function Ut(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function Wt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Gt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Kt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qt(e){if(!e._valueTracker){var t=Gt(e)?`checked`:`value`;e._valueTracker=Kt(e,t,``+e[t])}}function Jt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Gt(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}var Yt=/[\n"\\]/g;function Xt(e){return e.replace(Yt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Zt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Wt(t)):e.value!==``+Wt(t)&&(e.value=``+Wt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):$t(e,Wt(n)):o===`number`&&e.value==t?$t(e,Wt(e.value)):$t(e,Wt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Wt(s):e.removeAttribute(`name`)}function Qt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){qt(e);return}n=n==null?``:``+Wt(n),t=t==null?n:``+Wt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),qt(e)}function $t(e,t){e.defaultValue!==``+t&&(e.defaultValue=``+t)}function en(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Wt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function tn(e,t,n){t!=null&&(t=``+Wt(t),t!==e.value&&(e.value=t),n==null)?e.defaultValue!==t&&(e.defaultValue=t):e.defaultValue=n==null?``:``+Wt(n)}function nn(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(ae(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Wt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),qt(e)}function rn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var an=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function on(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||an.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function sn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``,zt=!0);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&(on(e,a,r),zt=!0)}else for(var o in t)t.hasOwnProperty(o)&&on(e,o,t[o])}function cn(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var ln=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`maskType`,`mask-type`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),un=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function dn(e){return un.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function fn(){}var pn=null;function mn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hn=null,gn=null;function _n(e){var t=Et(e);if(t&&(e=t.stateNode)){var n=e[_t]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Zt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Xt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[_t]||null;if(!a)throw Error(i(90));Zt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Jt(r)}break a;case`textarea`:tn(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&en(e,!!n.multiple,t,!1)}}}var vn=!1;function yn(e,t,n){if(vn)return e(t,n);vn=!0;try{return e(t)}finally{if(vn=!1,(hn!==null||gn!==null)&&(Gd(),hn&&(t=hn,e=gn,gn=hn=null,_n(t),e)))for(t=0;t<e.length;t++)_n(e[t])}}function bn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[_t]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var xn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Sn=!1;if(xn)try{var Cn={};Object.defineProperty(Cn,"passive",{get:function(){Sn=!0}}),window.addEventListener(`test`,Cn,Cn),window.removeEventListener(`test`,Cn,Cn)}catch{Sn=!1}var wn=null,Tn=null,En=null;function Dn(){if(En)return En;var e,t=Tn,n=t.length,r,i=`value`in wn?wn.value:wn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return En=i.slice(e,1<r?1-r:void 0)}function On(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function kn(){return!0}function An(){return!1}function jn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?kn:An,this.isPropagationStopped=An,this}return w(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=kn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=kn)},persist:function(){},isPersistent:kn}),t}var Mn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Nn=jn(Mn),Pn=w({},Mn,{view:0,detail:0}),Fn=jn(Pn),In,Ln,Rn,zn=w({},Pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Rn&&(Rn&&e.type===`mousemove`?(In=e.screenX-Rn.screenX,Ln=e.screenY-Rn.screenY):Ln=In=0,Rn=e),In)},movementY:function(e){return`movementY`in e?e.movementY:Ln}}),Bn=jn(zn),Vn=jn(w({},zn,{dataTransfer:0})),Hn=jn(w({},Pn,{relatedTarget:0})),Un=jn(w({},Mn,{animationName:0,elapsedTime:0,pseudoElement:0})),Wn=jn(w({},Mn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Gn=jn(w({},Mn,{data:0})),Kn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},qn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Jn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Yn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Jn[e])?!!t[e]:!1}function Xn(){return Yn}var Zn=jn(w({},Pn,{key:function(e){if(e.key){var t=Kn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=On(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?qn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xn,charCode:function(e){return e.type===`keypress`?On(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?On(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Qn=jn(w({},zn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),$n=jn(w({},Mn,{submitter:0})),er=jn(w({},Pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xn})),tr=jn(w({},Mn,{propertyName:0,elapsedTime:0,pseudoElement:0})),nr=jn(w({},zn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),rr=jn(w({},Mn,{newState:0,oldState:0,source:0})),ir=[9,13,27,32],ar=xn&&`CompositionEvent`in window,or=null;xn&&`documentMode`in document&&(or=document.documentMode);var sr=xn&&`TextEvent`in window&&!or,cr=xn&&(!ar||or&&8<or&&11>=or),lr=` `,ur=!1;function dr(e,t){switch(e){case`keyup`:return ir.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function fr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var pr=!1;function mr(e,t){switch(e){case`compositionend`:return fr(t);case`keypress`:return t.which===32?(ur=!0,lr):null;case`textInput`:return e=t.data,e===lr&&ur?null:e;default:return null}}function hr(e,t){if(pr)return e===`compositionend`||!ar&&dr(e,t)?(e=Dn(),En=Tn=wn=null,pr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return cr&&t.locale!==`ko`?null:t.data;default:return null}}var gr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function _r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!gr[e.type]:t===`textarea`}function vr(e,t,n,r){hn?gn?gn.push(r):gn=[r]:hn=r,t=tp(t,`onChange`),0<t.length&&(n=new Nn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var yr=null,br=null;function xr(e){qf(e,0)}function Sr(e){if(Jt(Dt(e)))return e}function Cr(e,t){if(e===`change`)return t}var wr=!1;if(xn){var Tr;if(xn){var Er=`oninput`in document;if(!Er){var Dr=document.createElement(`div`);Dr.setAttribute(`oninput`,`return;`),Er=typeof Dr.oninput==`function`}Tr=Er}else Tr=!1;wr=Tr&&(!document.documentMode||9<document.documentMode)}function Or(){yr&&(yr.detachEvent(`onpropertychange`,kr),br=yr=null)}function kr(e){if(e.propertyName===`value`&&Sr(br)){var t=[];vr(t,br,e,mn(e)),yn(xr,t)}}function Ar(e,t,n){e===`focusin`?(Or(),yr=t,br=n,yr.attachEvent(`onpropertychange`,kr)):e===`focusout`&&Or()}function jr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Sr(br)}function Mr(e,t){if(e===`click`)return Sr(t)}function Nr(e,t){if(e===`input`||e===`change`)return Sr(t)}function Pr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Fr=typeof Object.is==`function`?Object.is:Pr;function Ir(e,t){if(Fr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ke.call(t,i)||!Fr(e[i],t[i]))return!1}return!0}function Lr(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function Rr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zr(e,t){var n=Rr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Rr(n)}}function Br(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Br(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Vr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Lr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Lr(e.document)}return t}function Hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Ur=xn&&`documentMode`in document&&11>=document.documentMode,Wr=null,Gr=null,Kr=null,qr=!1;function Jr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;qr||Wr==null||Wr!==Lr(r)||(r=Wr,`selectionStart`in r&&Hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Kr&&Ir(Kr,r)||(Kr=r,r=tp(Gr,`onSelect`),0<r.length&&(t=new Nn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Wr)))}function Yr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Xr={animationend:Yr(`Animation`,`AnimationEnd`),animationiteration:Yr(`Animation`,`AnimationIteration`),animationstart:Yr(`Animation`,`AnimationStart`),transitionrun:Yr(`Transition`,`TransitionRun`),transitionstart:Yr(`Transition`,`TransitionStart`),transitioncancel:Yr(`Transition`,`TransitionCancel`),transitionend:Yr(`Transition`,`TransitionEnd`)},Zr={},Qr={};xn&&(Qr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Xr.animationend.animation,delete Xr.animationiteration.animation,delete Xr.animationstart.animation),`TransitionEvent`in window||delete Xr.transitionend.transition);function $r(e){if(Zr[e])return Zr[e];if(!Xr[e])return e;var t=Xr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Qr)return Zr[e]=t[n];return e}var ei=$r(`animationend`),ti=$r(`animationiteration`),ni=$r(`animationstart`),ri=$r(`transitionrun`),ii=$r(`transitionstart`),ai=$r(`transitioncancel`),oi=$r(`transitionend`),si=new Map,ci=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);ci.push(`scrollEnd`);function li(e,t){si.set(e,t),Nt(t,[e])}var ui=0;function di(e,t){if(e.name!=null&&e.name!==`auto`)return e.name;if(t.autoName!==null)return t.autoName;e=Ed.identifierPrefix;var n=ui++;return e=`_`+e+`t_`+n.toString(32)+`_`,t.autoName=e}function fi(e){if(e==null||typeof e==`string`)return e;var t=null,n=Pd;if(n!==null)for(var r=0;r<n.length;r++){var i=e[n[r]];if(i!=null){if(i===`none`)return`none`;t=t==null?i:t+(` `+i)}}return t??e.default}function pi(e,t){return e=fi(e),t=fi(t),t==null?e===`auto`?null:e:t===`auto`?null:t}var mi=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},hi=[],gi=0,_i=0;function vi(){for(var e=gi,t=_i=gi=0;t<e;){var n=hi[t];hi[t++]=null;var r=hi[t];hi[t++]=null;var i=hi[t];hi[t++]=null;var a=hi[t];if(hi[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&Si(n,i,a)}}function yi(e,t,n,r){hi[gi++]=e,hi[gi++]=t,hi[gi++]=n,hi[gi++]=r,_i|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function bi(e,t,n,r){return yi(e,t,n,r),Ci(e)}function xi(e,t){return yi(e,null,null,t),Ci(e)}function Si(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ke(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Ci(e){if(50<Fd)throw Fd=0,Id=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var wi={};function Ti(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ei(e,t,n,r){return new Ti(e,t,n,r)}function Di(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Oi(e,t){var n=e.alternate;return n===null?(n=Ei(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&1206910976,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ki(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ai(e,t,n,r,a,o){var s=0;if(r=e,typeof r==`function`)Di(r)&&(s=1);else if(typeof r==`string`)s=th(e,n,pe.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(r){case R:return e=Ei(31,n,t,a),e.elementType=R,e.lanes=o,e;case O:return ji(n.children,a,o,t);case k:s=8,a|=24;break;case A:return e=Ei(12,n,t,a|2),e.elementType=A,e.lanes=o,e;case P:return e=Ei(13,n,t,a),e.elementType=P,e.lanes=o,e;case F:return e=Ei(19,n,t,a),e.elementType=F,e.lanes=o,e;case ee:case te:return e=a|32,e=Ei(30,n,t,e),e.elementType=te,e.lanes=o,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof r==`object`&&r)switch(r.$$typeof){case M:s=10;break a;case j:s=9;break a;case N:s=11;break a;case I:s=14;break a;case L:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=Ei(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function ji(e,t,n,r){return e=Ei(7,e,r,t),e.lanes=n,e}function Mi(e,t,n){return e=Ei(6,e,null,t),e.lanes=n,e}function Ni(e){var t=Ei(18,null,null,0);return t.stateNode=e,t}function Pi(e,t,n){return t=Ei(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Fi=new WeakMap;function Ii(e,t){if(typeof e==`object`&&e){var n=Fi.get(e);return n===void 0?(t={value:e,source:t,stack:Oe(t)},Fi.set(e,t),t):n}return{value:e,source:t,stack:Oe(t)}}var Li=[],Ri=0,zi=null,Bi=0,Vi=[],Hi=0,Ui=null,Wi=1,Gi=``;function Ki(e,t){Li[Ri++]=Bi,Li[Ri++]=zi,zi=e,Bi=t}function qi(e,t,n){Vi[Hi++]=Wi,Vi[Hi++]=Gi,Vi[Hi++]=Ui,Ui=e;var r=Wi;e=Gi;var i=32-Ke(r)-1;r&=~(1<<i),n+=1;var a=32-Ke(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Wi=1<<32-Ke(t)+i|n<<i|r,Gi=a+e}else Wi=1<<a|n<<i|r,Gi=e}function Ji(e){e.return!==null&&(Ki(e,1),qi(e,1,0))}function Yi(e){for(;e===zi;)zi=Li[--Ri],Li[Ri]=null,Bi=Li[--Ri],Li[Ri]=null;for(;e===Ui;)Ui=Vi[--Hi],Vi[Hi]=null,Gi=Vi[--Hi],Vi[Hi]=null,Wi=Vi[--Hi],Vi[Hi]=null}function Xi(e,t){Vi[Hi++]=Wi,Vi[Hi++]=Gi,Vi[Hi++]=Ui,Wi=t.id,Gi=t.overflow,Ui=e}var Zi=null,Qi=null,$i=!1,ea=null,ta=!1,na=Error(i(519));function ra(e){throw la(Ii(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),na}function ia(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[gt]=e,t[_t]=r,n){case`dialog`:Jf(`cancel`,t),Jf(`close`,t);break;case`iframe`:case`object`:case`embed`:Jf(`load`,t);break;case`video`:case`audio`:for(n=0;n<Gf.length;n++)Jf(Gf[n],t);break;case`source`:Jf(`error`,t);break;case`img`:case`image`:case`link`:Jf(`error`,t),Jf(`load`,t);break;case`details`:Jf(`toggle`,t);break;case`input`:Jf(`invalid`,t),Qt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Jf(`invalid`,t);break;case`textarea`:Jf(`invalid`,t),nn(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||sp(t.textContent,n)?(r.popover!=null&&(Jf(`beforetoggle`,t),Jf(`toggle`,t)),r.onScroll!=null&&Jf(`scroll`,t),r.onScrollEnd!=null&&Jf(`scrollend`,t),r.onClick!=null&&(t.onclick=fn),t=!0):t=!1,t||ra(e,!0)}function aa(e){for(Zi=e.return;Zi;)switch(Zi.tag){case 5:case 31:case 13:ta=!1;return;case 27:case 3:ta=!0;return;default:Zi=Zi.return}}function oa(e){if(e!==Zi)return!1;if(!$i)return aa(e),$i=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||xp(e.type,e.memoizedProps)),n=!n),n&&Qi&&ra(e),aa(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Qi=ym(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Qi=ym(e)}else t===27?(t=Qi,Ap(e.type)?(e=vm,vm=null,Qi=e):Qi=t):Qi=Zi?_m(e.stateNode.nextSibling):null;return!0}function sa(){Qi=Zi=null,$i=!1}function ca(){var e=ea;return e!==null&&(vd===null?vd=e:vd.push.apply(vd,e),ea=null),e}function la(e){ea===null?ea=[e]:ea.push(e)}var ua=ue(null),da=null,fa=null;function pa(e,t,n){fe(ua,t._currentValue),t._currentValue=n}function ma(e){e._currentValue=ua.current,de(ua)}function ha(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function ga(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),ha(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),ha(s,n,e),s=null}else a.tag===13&&a.memoizedState!==null&&a.memoizedState.dehydrated===null?(a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),ha(a.return,n,e),s=a.child,s=s===null?null:s.sibling):s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function _a(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Fr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ge.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[hh]:e.push(hh))}a=a.return}return e!==null&&ga(t,e,n,r),t.flags|=262144,e!==null}function va(e){for(e=e.firstContext;e!==null;){if(!Fr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ya(e){da=e,fa=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ba(e){return Sa(da,e)}function xa(e,t){return da===null&&ya(e),Sa(e,t)}function Sa(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},fa===null){if(e===null)throw Error(i(308));fa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else fa=fa.next=t;return n}var Ca=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},wa=t.unstable_scheduleCallback,Ta=t.unstable_NormalPriority,Ea={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Da(){return{controller:new Ca,data:new Map,refCount:0}}function Oa(e){e.refCount--,e.refCount===0&&wa(Ta,function(){e.controller.abort()})}function ka(e,t){if(e.pendingLanes&4194048){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];n.indexOf(r)===-1&&n.push(r)}}}var Aa=null;function ja(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var Ma=null,Na=0,Pa=0,Fa=null;function Ia(e,t){if(Ma===null){var n=Ma=[];Na=0,Pa=Vf(),Fa={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return Na++,t.then(La,La),t}function La(){if(--Na===0&&(Aa=null,Ma!==null)){Fa!==null&&(Fa.status=`fulfilled`);var e=Ma;Ma=null,Pa=0,Fa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ra(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var za=H.S;H.S=function(e,t){if(xd=Pe(),typeof t==`object`&&t&&typeof t.then==`function`&&Ia(e,t),Aa!==null)for(var n=Df;n!==null;)ka(n,Aa),n=n.next;if(n=e.types,n!==null){for(var r=Df;r!==null;)ka(r,n),r=r.next;if(Pa!==0){r=Aa,r===null&&(r=Aa=[]);for(var i=0;i<n.length;i++){var a=n[i];r.indexOf(a)===-1&&r.push(a)}}}za!==null&&za(e,t)};var Ba=ue(null);function Va(){var e=Ba.current;return e===null?nd.pooledCache:e}function Ha(e,t){t===null?fe(Ba,Ba.current):fe(Ba,t.pool)}function Ua(){var e=Va();return e===null?null:{parent:Ea._currentValue,pool:e}}var Wa=Error(i(460)),Ga=Error(i(474)),Ka=Error(i(542)),qa={then:function(){}};function Ja(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Ya(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(fn,fn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,$a(e),e===void 0&&!(`reason`in t)?Error(i(600)):e;default:if(typeof t.status==`string`)t.then(fn,fn);else{if(e=nd,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,$a(e),e}throw Za=t,Wa}}function Xa(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Za=e,Wa):e}}var Za=null;function Qa(){if(Za===null)throw Error(i(459));var e=Za;return Za=null,e}function $a(e){if(e===Wa||e===Ka)throw Error(i(483))}var eo=null,to=0;function no(e){var t=to;return to+=1,eo===null&&(eo=[]),Ya(eo,e,t)}function ro(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function io(e,t){throw t.$$typeof===T?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function ao(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=Oi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=134217730,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=134217730),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=Mi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===O?(e=d(e,t,n.props.children,r,n.key),ro(e,n),e):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===L&&Xa(i)===t.type)?(t=a(t,n.props),ro(t,n),t.return=e,t):(t=Ai(n.type,n.key,n.props,null,e.mode,r),ro(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Pi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=ji(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Mi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case E:return n=Ai(t.type,t.key,t.props,null,e.mode,n),ro(n,t),n.return=e,n;case D:return t=Pi(t,e.mode,n),t.return=e,t;case L:return t=Xa(t),f(e,t,n)}if(ae(t)||ie(t))return t=ji(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,no(t),n);if(t.$$typeof===M)return f(e,xa(e,t),n);io(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case E:return n.key===i?l(e,t,n,r):null;case D:return n.key===i?u(e,t,n,r):null;case L:return n=Xa(n),p(e,t,n,r)}if(ae(n)||ie(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,no(n),r);if(n.$$typeof===M)return p(e,t,xa(e,n),r);io(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case E:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case D:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case L:return r=Xa(r),m(e,t,n,r,i)}if(ae(r)||ie(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,no(r),i);if(r.$$typeof===M)return m(e,t,n,xa(t,r),i);io(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),$i&&Ki(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return $i&&Ki(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&(_=g.alternate,_!==null&&d.delete(_.key===null?h:_.key)),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),$i&&Ki(i,h),l}function g(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),$i&&Ki(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return $i&&Ki(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),$i&&Ki(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===O&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case E:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===O){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),ro(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===L&&Xa(l)===r.type){n(e,r.sibling),c=a(r,o.props),ro(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===O?(c=ji(o.props.children,e.mode,c,o.key),ro(c,o),c.return=e,e=c):(c=Ai(o.type,o.key,o.props,null,e.mode,c),ro(c,o),c.return=e,e=c)}return s(e);case D:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Pi(o,e.mode,c),c.return=e,e=c}return s(e);case L:return o=Xa(o),_(e,r,o,c)}if(ae(o))return h(e,r,o,c);if(ie(o)){if(l=ie(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,no(o),c);if(o.$$typeof===M)return _(e,r,xa(e,o),c);io(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Mi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{to=0;var i=_(e,t,n,r);return eo=null,i}catch(t){if(t===Wa||t===Ka)throw t;var a=Ei(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var oo=ao(!0),so=ao(!1),co=!1;function lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function uo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function fo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function po(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,td&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Ci(e),Si(e,null,n),t}return yi(e,r,t,n),Ci(e)}function mo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lt(e,n)}}function ho(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var go=!1;function _o(){if(go){var e=Fa;if(e!==null)throw e}}function vo(e,t,n,r){go=!1;var i=e.updateQueue;co=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(id&f)===f:(r&f)===f){f!==0&&f===Pa&&(go=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=w({},d,f);break a;case 2:co=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),fd|=o,e.lanes=o,e.memoizedState=d}}function yo(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function bo(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)yo(n[e],t)}var xo=ue(null),So=ue(0);function Co(e,t){e=ud,fe(So,e),fe(xo,t),ud=e|t.baseLanes}function wo(){fe(So,ud),fe(xo,xo.current)}function To(){ud=So.current,de(xo),de(So)}var Eo=ue(null),Do=null;function Oo(e){var t=e.alternate;fe(No,No.current&1),fe(Eo,e),Do===null&&(t===null||xo.current!==null||t.memoizedState!==null)&&(Do=e)}function ko(e){fe(No,No.current),fe(Eo,e),Do===null&&(Do=e)}function Ao(e){e.tag===22?(fe(No,No.current),fe(Eo,e),Do===null&&(Do=e)):jo()}function jo(){fe(No,No.current),fe(Eo,Eo.current)}function Mo(e){de(Eo),Do===e&&(Do=null),de(No)}var No=ue(0);function Po(e,t){fe(Eo,Eo.current),fe(No,t)}function Fo(e){de(No),de(Eo),Do===e&&(Do=null)}function Io(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||mm(n)||hm(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==`independent`){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Lo=0,Ro=null,zo=null,Bo=null,Vo=!1,Ho=!1,Uo=!1,Wo=0,Go=0,Ko=null,qo=0;function Jo(){throw Error(i(321))}function Yo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Fr(e[n],t[n]))return!1;return!0}function Xo(e,t,n,r,i,a){return Lo=a,Ro=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,H.H=e===null||e.memoizedState===null?mc:hc,Uo=!1,a=n(r,i),Uo=!1,Ho&&(a=Qo(t,n,r,i)),Zo(e),a}function Zo(e){H.H=pc;var t=zo!==null&&zo.next!==null;if(Lo=0,Bo=zo=Ro=null,Vo=!1,Go=0,Ko=null,t)throw Error(i(300));e===null||Mc||(e=e.dependencies,e!==null&&va(e)&&(Mc=!0))}function Qo(e,t,n,r){Ro=e;var a=0;do{if(Ho&&(Ko=null),Go=0,Ho=!1,25<=a)throw Error(i(301));if(a+=1,Bo=zo=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}H.H=gc,o=t(n,r)}while(Ho);return o}function $o(){var e=H.H,t=e.useState()[0];return t=typeof t.then==`function`?ss(t):t,e=e.useState()[0],(zo===null?null:zo.memoizedState)!==e&&(Ro.flags|=1024),t}function es(){var e=Wo!==0;return Wo=0,e}function ts(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ns(e){if(Vo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Vo=!1}Lo=0,Bo=zo=Ro=null,Ho=!1,Go=Wo=0,Ko=null}function rs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Bo===null?Ro.memoizedState=Bo=e:Bo=Bo.next=e,Bo}function is(){if(zo===null){var e=Ro.alternate;e=e===null?null:e.memoizedState}else e=zo.next;var t=Bo===null?Ro.memoizedState:Bo.next;if(t!==null)Bo=t,zo=e;else{if(e===null)throw Ro.alternate===null?Error(i(467)):Error(i(310));zo=e,e={memoizedState:zo.memoizedState,baseState:zo.baseState,baseQueue:zo.baseQueue,queue:zo.queue,next:null},Bo===null?Ro.memoizedState=Bo=e:Bo=Bo.next=e}return Bo}function as(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ss(e){var t=Go;return Go+=1,Ko===null&&(Ko=[]),e=Ya(Ko,e,t),t=Ro,(Bo===null?t.memoizedState:Bo.next)===null&&(t=t.alternate,H.H=t===null||t.memoizedState===null?mc:hc),e}function cs(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return ss(e);if(e.$$typeof===ne)return;if(e.$$typeof===M)return ba(e)}throw Error(i(438,String(e)))}function ls(e){var t=null,n=Ro.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=Ro.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=as(),Ro.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=z;return t.index++,n}function us(e,t){return typeof t==`function`?t(e):t}function ds(e){return fs(is(),zo,e)}function fs(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(Lo&f)===f:(id&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Pa&&(d=!0);else if((Lo&p)===p){u=u.next,p===Pa&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,Ro.lanes|=p,fd|=p;f=u.action,Uo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,Ro.lanes|=f,fd|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Fr(o,e.memoizedState)&&(Mc=!0,d&&(n=Fa,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function ps(e){var t=is(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Fr(o,t.memoizedState)||(Mc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ms(e,t,n){var r=Ro,a=is(),o=$i;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Fr((zo||a).memoizedState,n);if(s&&(a.memoizedState=n,Mc=!0),a=a.queue,zs(_s.bind(null,r,a,e),[e]),e=a.getSnapshot!==t||s||Bo!==null&&!!(Bo.memoizedState.tag&1),Ps(e?9:8,{destroy:void 0},gs.bind(null,r,a,n,t),null),e){if(r.flags|=2048,nd===null)throw Error(i(349));o||Lo&127||hs(r,t,n)}return n}function hs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ro.updateQueue,t===null?(t=as(),Ro.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function gs(e,t,n,r){t.value=n,t.getSnapshot=r,vs(t)&&ys(e)}function _s(e,t,n){return n(function(){vs(t)&&ys(e)})}function vs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Fr(e,n)}catch{return!0}}function ys(e){var t=xi(e,2);t!==null&&Bd(t,e,2)}function bs(e){var t=rs();if(typeof e==`function`){var n=e;if(e=n(),Uo){Ge(!0);try{n()}finally{Ge(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:us,lastRenderedState:e},t}function xs(e,t,n,r){return e.baseState=n,fs(e,zo,typeof r==`function`?r:us)}function Ss(e,t,n,r,a){if(uc(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};H.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Cs(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Cs(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=H.T,o={};o.types=a===null?null:a.types,H.T=o;try{var s=n(i,r),c=H.S;c!==null&&c(o,s),ws(e,t,s)}catch(n){Es(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),H.T=a}}else try{a=n(i,r),ws(e,t,a)}catch(n){Es(e,t,n)}}function ws(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Ts(e,t,n)},function(n){return Es(e,t,n)}):Ts(e,t,n)}function Ts(e,t,n){t.status=`fulfilled`,t.value=n,Ds(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Cs(e,n)))}function Es(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Ds(t),t=t.next;while(t!==r)}e.action=null}function Ds(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Os(e,t){return t}function ks(e,t){if($i){var n=nd.formState;if(n!==null){a:{var r=Ro;if($i){if(Qi){b:{for(var i=Qi,a=ta;i.nodeType!==8;)if(!a||(i=_m(i.nextSibling),i===null)){i=null;break b}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Qi=_m(i.nextSibling),r=i.data===`F!`;break a}}ra(r)}r=!1}r&&(t=n[0])}}return n=rs(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Os,lastRenderedState:t},n.queue=r,n=sc.bind(null,Ro,r),r.dispatch=n,r=bs(!1),a=lc.bind(null,Ro,!1,r.queue),r=rs(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Ss.bind(null,Ro,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function As(e){return js(is(),zo,e)}function js(e,t,n){if(t=fs(e,t,Os)[0],e=ds(us)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=ss(t)}catch(e){throw e===Wa?Ka:e}else r=t;t=is();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(Ro.flags|=2048,Ps(9,{destroy:void 0},Ms.bind(null,i,n),null)),[r,a,e]}function Ms(e,t){e.action=t}function Ns(e){var t=is(),n=zo;if(n!==null)return js(t,n,e);is(),t=t.memoizedState,n=is();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Ps(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=Ro.updateQueue,t===null&&(t=as(),Ro.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Fs(){return is().memoizedState}function Is(e,t,n,r){var i=rs();Ro.flags|=e,i.memoizedState=Ps(1|t,{destroy:void 0},n,r===void 0?null:r)}function Ls(e,t,n,r){var i=is();r=r===void 0?null:r;var a=i.memoizedState.inst;zo!==null&&r!==null&&Yo(r,zo.memoizedState.deps)?i.memoizedState=Ps(t,a,n,r):(Ro.flags|=e,i.memoizedState=Ps(1|t,a,n,r))}function Rs(e,t){Is(8390656,8,e,t)}function zs(e,t){Ls(2048,8,e,t)}function Bs(e){Ro.flags|=4;var t=Ro.updateQueue;if(t===null)t=as(),Ro.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Vs(e){var t=is().memoizedState;return Bs({ref:t,nextImpl:e}),function(){if(td&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function Hs(e,t){return Ls(4,2,e,t)}function Us(e,t){return Ls(4,4,e,t)}function Ws(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Gs(e,t,n){n=n==null?null:n.concat([e]),Ls(4,4,Ws.bind(null,t,e),n)}function Ks(){}function qs(e,t){var n=is();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Yo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Js(e,t){var n=is();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Yo(t,r[1]))return r[0];if(r=e(),Uo){Ge(!0);try{e()}finally{Ge(!1)}}return n.memoizedState=[r,t],r}function Ys(e,t,n){return n===void 0||Lo&1073741824&&!(id&261930)?e.memoizedState=t:(e.memoizedState=n,e=Rd(),Ro.lanes|=e,fd|=e,n)}function Xs(e,t,n,r){return Fr(n,t)?n:xo.current===null?!(Lo&106)||Lo&1073741824&&!(id&261930)?(Mc=!0,e.memoizedState=n):(e=Rd(),Ro.lanes|=e,fd|=e,t):(e=Ys(e,n,r),Fr(e,t)||(Mc=!0),e)}function Zs(e,t,n,r,i){var a=oe.p;oe.p=a!==0&&8>a?a:8;var o=H.T,s={};s.types=o===null?null:o.types,H.T=s,lc(e,!1,t,n);try{var c=i(),l=H.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?cc(e,t,Ra(c,r),Ld(e)):cc(e,t,r,Ld(e))}catch(n){cc(e,t,{then:function(){},status:`rejected`,reason:n},Ld())}finally{oe.p=a,o!==null&&s.types!==null&&(o.types=s.types),H.T=o}}function Qs(){}function $s(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ec(e).queue;Zs(e,a,t,se,n===null?Qs:function(){return tc(e),n(r)})}function ec(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:us,lastRenderedState:se},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:us,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function tc(e){var t=ec(e);t.next===null&&(t=e.alternate.memoizedState),cc(e,t.next.queue,{},Ld())}function nc(){return ba(hh)}function rc(){return is().memoizedState}function ic(){return is().memoizedState}function ac(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Ld();e=fo(n);var r=po(t,e,n);r!==null&&(Bd(r,t,n),mo(r,t,n)),t={cache:Da()},e.payload=t;return}t=t.return}}function oc(e,t,n){var r=Ld();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},uc(e)?dc(t,n):(n=bi(e,t,n,r),n!==null&&(Bd(n,e,r),fc(n,t,r)))}function sc(e,t,n){cc(e,t,n,Ld())}function cc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(uc(e))dc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Fr(s,o))return yi(e,t,i,0),nd===null&&vi(),!1}catch{}if(n=bi(e,t,i,r),n!==null)return Bd(n,e,r),fc(n,t,r),!0}return!1}function lc(e,t,n,r){if(r={lane:2,revertLane:Vf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},uc(e)){if(t)throw Error(i(479))}else t=bi(e,n,r,2),t!==null&&Bd(t,e,2)}function uc(e){var t=e.alternate;return e===Ro||t!==null&&t===Ro}function dc(e,t){Ho=Vo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lt(e,n)}}var pc={readContext:ba,use:cs,useCallback:Jo,useContext:Jo,useEffect:Jo,useImperativeHandle:Jo,useLayoutEffect:Jo,useInsertionEffect:Jo,useMemo:Jo,useReducer:Jo,useRef:Jo,useState:Jo,useDebugValue:Jo,useDeferredValue:Jo,useTransition:Jo,useSyncExternalStore:Jo,useId:Jo,useHostTransitionStatus:Jo,useFormState:Jo,useActionState:Jo,useOptimistic:Jo,useMemoCache:Jo,useCacheRefresh:Jo,useEffectEvent:Jo},mc={readContext:ba,use:cs,useCallback:function(e,t){return rs().memoizedState=[e,t===void 0?null:t],e},useContext:ba,useEffect:Rs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),Is(4194308,4,Ws.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Is(4194308,4,e,t)},useInsertionEffect:function(e,t){Is(4,2,e,t)},useMemo:function(e,t){var n=rs();t=t===void 0?null:t;var r=e();if(Uo){Ge(!0);try{e()}finally{Ge(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=rs();if(n!==void 0){var i=n(t);if(Uo){Ge(!0);try{n(t)}finally{Ge(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=oc.bind(null,Ro,e),[r.memoizedState,e]},useRef:function(e){var t=rs();return e={current:e},t.memoizedState=e},useState:function(e){e=bs(e);var t=e.queue,n=sc.bind(null,Ro,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ks,useDeferredValue:function(e,t){return Ys(rs(),e,t)},useTransition:function(){var e=bs(!1);return e=Zs.bind(null,Ro,e.queue,!0,!1),rs().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=Ro,a=rs();if($i){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),nd===null)throw Error(i(349));id&127||hs(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Rs(_s.bind(null,r,o,e),[e]),r.flags|=2048,Ps(9,{destroy:void 0},gs.bind(null,r,o,n,t),null),n},useId:function(){var e=rs(),t=nd.identifierPrefix;if($i){var n=Gi,r=Wi;n=(r&~(1<<32-Ke(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Wo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=qo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:nc,useFormState:ks,useActionState:ks,useOptimistic:function(e){var t=rs();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=lc.bind(null,Ro,!0,n),n.dispatch=t,[e,t]},useMemoCache:ls,useCacheRefresh:function(){return rs().memoizedState=ac.bind(null,Ro)},useEffectEvent:function(e){var t=rs(),n={impl:e};return t.memoizedState=n,function(){if(td&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},hc={readContext:ba,use:cs,useCallback:qs,useContext:ba,useEffect:zs,useImperativeHandle:Gs,useInsertionEffect:Hs,useLayoutEffect:Us,useMemo:Js,useReducer:ds,useRef:Fs,useState:function(){return ds(us)},useDebugValue:Ks,useDeferredValue:function(e,t){return Xs(is(),zo.memoizedState,e,t)},useTransition:function(){var e=ds(us)[0],t=is().memoizedState;return[typeof e==`boolean`?e:ss(e),t]},useSyncExternalStore:ms,useId:rc,useHostTransitionStatus:nc,useFormState:As,useActionState:As,useOptimistic:function(e,t){return xs(is(),zo,e,t)},useMemoCache:ls,useCacheRefresh:ic,useEffectEvent:Vs},gc={readContext:ba,use:cs,useCallback:qs,useContext:ba,useEffect:zs,useImperativeHandle:Gs,useInsertionEffect:Hs,useLayoutEffect:Us,useMemo:Js,useReducer:ps,useRef:Fs,useState:function(){return ps(us)},useDebugValue:Ks,useDeferredValue:function(e,t){var n=is();return zo===null?Ys(n,e,t):Xs(n,zo.memoizedState,e,t)},useTransition:function(){var e=ps(us)[0],t=is().memoizedState;return[typeof e==`boolean`?e:ss(e),t]},useSyncExternalStore:ms,useId:rc,useHostTransitionStatus:nc,useFormState:Ns,useActionState:Ns,useOptimistic:function(e,t){var n=is();return zo===null?(n.baseState=e,[e,n.queue.dispatch]):xs(n,zo,e,t)},useMemoCache:ls,useCacheRefresh:ic,useEffectEvent:Vs};function _c(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:w({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var vc={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ld(),i=fo(r);i.payload=t,n!=null&&(i.callback=n),t=po(e,i,r),t!==null&&(Bd(t,e,r),mo(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ld(),i=fo(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=po(e,i,r),t!==null&&(Bd(t,e,r),mo(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ld(),r=fo(n);r.tag=2,t!=null&&(r.callback=t),t=po(e,r,n),t!==null&&(Bd(t,e,n),mo(t,e,n))}};function yc(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Ir(n,r)||!Ir(i,a):!0}function bc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vc.enqueueReplaceState(t,t.state,null)}function xc(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=w({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Sc(e){mi(e)}function Cc(e){console.error(e)}function wc(e){mi(e)}function Tc(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Ec(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Dc(e,t,n){return n=fo(n),n.tag=3,n.payload={element:null},n.callback=function(){Tc(e,t)},n}function Oc(e){return e=fo(e),e.tag=3,e}function kc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Ec(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Ec(t,n,r),typeof i!=`function`&&(wd===null?wd=new Set([this]):wd.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Ac(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&_a(t,n,a,!0),n=Eo.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Do===null?Qd():n.alternate===null&&dd===0&&(dd=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===qa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),xf(e,r,a)),!1;case 22:return n.flags|=65536,r===qa?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),xf(e,r,a)),!1}throw Error(i(435,n.tag))}return xf(e,r,a),Qd(),!1}if($i)return t=Eo.current,t===null?(r!==na&&(t=Error(i(423),{cause:r}),la(Ii(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Ii(r,n),a=Dc(e.stateNode,r,a),ho(e,a),dd!==4&&(dd=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==na&&(e=Error(i(422),{cause:r}),la(Ii(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Ii(o,n),_d===null?_d=[o]:_d.push(o),dd!==4&&(dd=2),t===null)return!0;r=Ii(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Dc(n.stateNode,r,e),ho(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(wd===null||!wd.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Oc(a),kc(a,e,n,r),ho(n,a),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var jc=Error(i(461)),Mc=!1;function Nc(e,t,n,r){t.child=e===null?so(t,null,n,r):oo(t,e.child,n,r)}function Pc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return ya(t),r=Xo(e,t,n,o,a,i),s=es(),e!==null&&!Mc?(ts(e,t,i),cl(e,t,i)):($i&&s&&Ji(t),t.flags|=1,Nc(e,t,r,i),t.child)}function Fc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!Di(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,Ic(e,t,a,r,i)):(e=Ai(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!ll(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Ir:n,n(o,r)&&e.ref===t.ref)return cl(e,t,i)}return t.flags|=1,e=Oi(a,r),e.ref=t.ref,e.return=t,t.child=e}function Ic(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Ir(a,r)&&e.ref===t.ref){if(Mc=!1,t.pendingProps=r=a,ll(e,i))e.flags&131072&&(Mc=!0);else return t.lanes=e.lanes,cl(e,t,i)}}return Wc(e,t,n,r,i)}function Lc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return zc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ha(t,a===null?null:a.cachePool),a===null?wo():Co(t,a),Ao(t);else return r=t.lanes=536870912,zc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Ha(t,null),wo(),jo()):(Ha(t,a.cachePool),Co(t,a),jo(),t.memoizedState=null);return Nc(e,t,i,n),t.child}function Rc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function zc(e,t,n,r,i){var a=Va();return a=a===null?null:{parent:Ea._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ha(t,null),wo(),Ao(t),e!==null&&_a(e,t,r,!0),t.childLanes=i,null}function Bc(e,t){return t=$c({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Vc(e,t,n){return oo(t,e.child,null,n),e=Bc(t,t.pendingProps),e.flags|=2,Mo(t),t.memoizedState=null,e}function Hc(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if($i){if(r.mode===`hidden`)return e=Bc(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Rc(null,e);if(ko(t),(e=Qi)?(e=pm(e,ta),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ui===null?null:{id:Wi,overflow:Gi},retryLane:536870912,hydrationErrors:null},n=Ni(e),n.return=t,t.child=n,Zi=t,Qi=null)):e=null,e===null)throw ra(t);return t.lanes=536870912,null}return Bc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(ko(t),a){if(t.flags&256)t.flags&=-257,t=Vc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(Mc||_a(e,t,n,!1),a=(n&e.childLanes)!==0,Mc||a){if(xo.current===null){if(r=nd,r!==null&&(s=ut(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,xi(e,s),Bd(r,e,s),jc;Qd()}t=Vc(e,t,n)}else e=o.treeContext,Qi=_m(s.nextSibling),Zi=t,$i=!0,ea=null,ta=!1,e!==null&&Xi(t,e),t=Bc(t,r),t.flags|=134221824;return t}return e=Oi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Uc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Wc(e,t,n,r,i){return ya(t),n=Xo(e,t,n,r,void 0,i),r=es(),e!==null&&!Mc?(ts(e,t,i),cl(e,t,i)):($i&&r&&Ji(t),t.flags|=1,Nc(e,t,n,i),t.child)}function Gc(e,t,n,r,i,a){return ya(t),t.updateQueue=null,n=Qo(t,r,n,i),Zo(e),r=es(),e!==null&&!Mc?(ts(e,t,a),cl(e,t,a)):($i&&r&&Ji(t),t.flags|=1,Nc(e,t,n,a),t.child)}function Kc(e,t,n,r,i){if(ya(t),t.stateNode===null){var a=wi,o=n.contextType;typeof o==`object`&&o&&(a=ba(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=vc,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},lo(t),o=n.contextType,a.context=typeof o==`object`&&o?ba(o):wi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(_c(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&vc.enqueueReplaceState(a,a.state,null),vo(t,r,a,i),_o(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=xc(n,s);a.props=c;var l=a.context,u=n.contextType;o=wi,typeof u==`object`&&u&&(o=ba(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&bc(t,a,r,o),co=!1;var f=t.memoizedState;a.state=f,vo(t,r,a,i),_o(),l=t.memoizedState,s||f!==l||co?(typeof d==`function`&&(_c(t,n,d,r),l=t.memoizedState),(c=co||yc(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,uo(e,t),o=t.memoizedProps,u=xc(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=wi,typeof l==`object`&&l&&(c=ba(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&bc(t,a,r,c),co=!1,f=t.memoizedState,a.state=f,vo(t,r,a,i),_o();var p=t.memoizedState;o!==d||f!==p||co||e!==null&&e.dependencies!==null&&va(e.dependencies)?(typeof s==`function`&&(_c(t,n,s,r),p=t.memoizedState),(u=co||yc(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&va(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Uc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=oo(t,e.child,null,i),t.child=oo(t,null,n,i)):Nc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=cl(e,t,i),e}function qc(e,t,n,r){return sa(),t.flags|=256,Nc(e,t,n,r),t.child}var Jc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Yc(e){return{baseLanes:e,cachePool:Ua()}}function Xc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=hd),e}function Zc(e,t,n){var r=t.pendingProps,i=!1,a=!!(t.flags&128),o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:!!(No.current&2)),o&&(i=!0,t.flags&=-129),o=!!(t.flags&32),t.flags&=-33,e===null){if($i){if(i?Oo(t):jo(),(e=Qi)?(e=pm(e,ta),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ui===null?null:{id:Wi,overflow:Gi},retryLane:536870912,hydrationErrors:null},n=Ni(e),n.return=t,t.child=n,Zi=t,Qi=null)):e=null,e===null)throw ra(t);return t.lanes=hm(e)?32:536870912,null}return a=r.children,r=r.fallback,i?(jo(),i=t.mode,a=$c({mode:`hidden`,children:a},i),r=ji(r,i,n,null),a.return=t,r.return=t,a.sibling=r,t.child=a,r=t.child,r.memoizedState=Yc(n),r.childLanes=Xc(e,o,n),t.memoizedState=Jc,Rc(null,r)):(Oo(t),Qc(t,a))}var s=e.memoizedState;if(s!==null){var c=s.dehydrated;if(c!==null)return tl(e,t,a,o,r,c,s,n)}return i?(jo(),i=r.fallback,a=t.mode,s=e.child,c=s.sibling,r=Oi(s,{mode:`hidden`,children:r.children}),r.subtreeFlags=s.subtreeFlags&1206910976,c===null?(i=ji(i,a,n,null),i.flags|=2):i=Oi(c,i),i.return=t,r.return=t,r.sibling=i,t.child=r,Rc(null,r),r=t.child,i=e.child.memoizedState,i===null?i=Yc(n):(a=i.cachePool,a===null?a=Ua():(s=Ea._currentValue,a=a.parent===s?a:{parent:s,pool:s}),i={baseLanes:i.baseLanes|n,cachePool:a}),r.memoizedState=i,r.childLanes=Xc(e,o,n),t.memoizedState=Jc,Rc(e.child,r)):(Oo(t),n=e.child,e=n.sibling,n=Oi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function Qc(e,t){return t=$c({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function $c(e,t){return e=Ei(22,e,null,t),e.lanes=0,e}function el(e,t,n){return oo(t,e.child,null,n),e=Qc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function tl(e,t,n,r,a,o,s,c){if(n)return t.flags&256?(Oo(t),t.flags&=-257,el(e,t,c)):t.memoizedState===null?(jo(),o=a.fallback,s=t.mode,a=$c({mode:`visible`,children:a.children},s),o=ji(o,s,c,null),o.flags|=2,a.return=t,o.return=t,a.sibling=o,t.child=a,oo(t,e.child,null,c),a=t.child,a.memoizedState=Yc(c),a.childLanes=Xc(e,r,c),t.memoizedState=Jc,Rc(null,a)):(jo(),t.child=e.child,t.flags|=128,null);if(Oo(t),hm(o)){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,r!==``&&(a=Error(i(419)),a.stack=``,a.digest=r,la({value:a,source:null,stack:null})),el(e,t,c)}if(Mc||_a(e,t,c,!1),r=(c&e.childLanes)!==0,Mc||r){if(xo.current!==null)return el(e,t,c);if(r=nd,r!==null&&(a=ut(r,c),a!==0&&a!==s.retryLane))throw s.retryLane=a,xi(e,a),Bd(r,e,a),jc;return mm(o)||Qd(),el(e,t,c)}return mm(o)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,Qi=_m(o.nextSibling),Zi=t,$i=!0,ea=null,ta=!1,e!==null&&Xi(t,e),t=Qc(t,a.children),t.flags|=134221824,t)}function nl(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ha(e.return,t,n)}function rl(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&Io(n)===null&&(t=e),e=e.sibling}return t}function il(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function al(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function ol(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=No.current;if(t.flags&128)return Po(t,o),null;var s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,Po(t,o),i===`backwards`&&e!==null?(al(e),Nc(e,t,r,n),al(e)):Nc(e,t,r,n),r=$i?Bi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&nl(e,n,t);else if(e.tag===19)nl(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`backwards`:n=rl(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null,al(t)),il(t,!0,i,null,a,r);break;case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Io(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}il(t,!0,n,null,a,r);break;case`together`:il(t,!1,null,null,void 0,r);break;case`independent`:t.memoizedState=null;break;default:n=rl(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),il(t,!1,i,n,a,r)}return t.child}function sl(e,t,n){var r=t.pendingProps;return pa(t,t.type,r.value),Nc(e,t,r.children,n),t.child}function cl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),fd|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(_a(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=Oi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Oi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ll(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&va(e)))}function ul(e,t,n){switch(t.tag){case 3:_e(t,t.stateNode.containerInfo),pa(t,Ea,e.memoizedState.cache),sa();break;case 27:case 5:ye(t);break;case 4:_e(t,t.stateNode.containerInfo);break;case 10:pa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ko(t),null;break;case 13:var r=t.memoizedState;if(r!==null){if(r.dehydrated!==null)return Oo(t),t.flags|=128,null;r=_a(e,t,n,!1);var i=t.child.childLanes;return r||(n&i)!==0?Zc(e,t,n):(Oo(t),e=cl(e,t,n),e===null?null:e.sibling)}Oo(t);break;case 19:if(t.flags&128)return ol(e,t,n);if(i=!!(e.flags&128),r=(n&t.childLanes)!==0,r||=(_a(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return ol(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Po(t,No.current),r)break;return null;case 22:return t.lanes=0,Lc(e,t,n,t.pendingProps);case 24:pa(t,Ea,e.memoizedState.cache)}return cl(e,t,n)}function dl(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)Mc=!0;else{if(!ll(e,n)&&!(t.flags&128))return Mc=!1,ul(e,t,n);Mc=!!(e.flags&131072)}}else Mc=!1,$i&&t.flags&1048576&&qi(t,Bi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Xa(t.elementType),t.type=e,typeof e==`function`)Di(e)?(r=xc(e,r),t.tag=1,t=Kc(null,t,e,r,n)):(t.tag=0,t=Wc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===N){t.tag=11,t=Pc(null,t,e,r,n);break a}if(a===I){t.tag=14,t=Fc(null,t,e,r,n);break a}if(a===M){t.tag=10,t.type=e,t=sl(null,t,n);break a}}throw t=V(e)||e,Error(i(306,t,``))}}return t;case 0:return Wc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=xc(r,t.pendingProps),Kc(e,t,r,a,n);case 3:a:{if(_e(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,uo(e,t),vo(t,r,null,n);var s=t.memoizedState;if(r=s.cache,pa(t,Ea,r),r!==o.cache&&ga(t,[Ea],n,!0),_o(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=qc(e,t,r,n);break a}if(r!==a){a=Ii(Error(i(424)),t),la(a),t=qc(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Qi=_m(e.firstChild),Zi=t,$i=!0,ea=null,ta=!0,n=so(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(sa(),r===a){t=cl(e,t,n);break a}Nc(e,t,r,n)}t=t.child}return t;case 26:return Uc(e,t),e===null?(n=Vm(t.type,null,t.pendingProps,null))?t.memoizedState=n:$i||(t.stateNode=bp(t.type,t.pendingProps,he.current,t)):t.memoizedState=Vm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ye(t),e===null&&$i&&(r=t.stateNode=Cm(t.type,t.pendingProps,he.current),Zi=t,ta=!0,a=Qi,Ap(t.type)?(vm=a,Qi=_m(r.firstChild)):Qi=a),Nc(e,t,t.pendingProps.children,n),Uc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&$i&&((a=r=Qi)&&(r=dm(r,t.type,t.pendingProps,ta),r===null?a=!1:(t.stateNode=r,Zi=t,Qi=_m(r.firstChild),ta=!1,a=!0)),a||ra(t)),ye(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,xp(a,o)?r=null:s!==null&&xp(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Xo(e,t,$o,null,null,n),hh._currentValue=a),Uc(e,t),Nc(e,t,r,n),t.child;case 6:return e===null&&$i&&((e=n=Qi)&&(n=fm(n,t.pendingProps,ta),n===null?e=!1:(t.stateNode=n,Zi=t,Qi=null,e=!0)),e||ra(t)),null;case 13:return Zc(e,t,n);case 4:return _e(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=oo(t,null,r,n):Nc(e,t,r,n),t.child;case 11:return Pc(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,Uc(e,t),Nc(e,t,r,n),t.child;case 8:return Nc(e,t,t.pendingProps.children,n),t.child;case 12:return Nc(e,t,t.pendingProps.children,n),t.child;case 10:return sl(e,t,n);case 9:return a=t.type._context,r=t.pendingProps.children,ya(t),a=ba(a),r=r(a),t.flags|=1,Nc(e,t,r,n),t.child;case 14:return Fc(e,t,t.type,t.pendingProps,n);case 15:return Ic(e,t,t.type,t.pendingProps,n);case 19:return ol(e,t,n);case 31:return Hc(e,t,n);case 22:return Lc(e,t,n,t.pendingProps);case 24:return ya(t),r=ba(Ea),e===null?(a=Va(),a===null&&(a=nd,o=Da(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},lo(t),pa(t,Ea,a)):((e.lanes&n)!==0&&(uo(e,t),vo(t,null,null,n),_o()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,pa(t,Ea,r),r!==a.cache&&ga(t,[Ea],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),pa(t,Ea,r))),Nc(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),r=t.pendingProps,r.name!=null&&r.name!==`auto`?t.flags|=e===null?18882560:18874368:$i&&Ji(t),e!==null&&e.memoizedProps.name!==r.name?t.flags|=4194816:Uc(e,t),Nc(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function fl(e){e.flags|=4}function pl(e,t,n,r,i){var a;if((a=!!(e.mode&32))&&(a=n===null?nh(t,r):nh(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),a){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(Yd())e.flags|=8192;else throw Za=qa,Ga}}else e.flags&=-16777217}function ml(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!rh(t)){if(Yd())e.flags|=8192;else throw Za=qa,Ga}}function hl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:it(),e.lanes|=t,gd|=t)}function gl(e,t){if(!$i)switch(e.tailMode){case`visible`:break;case`collapsed`:for(var n=e.tail,r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function _l(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&1206910976,r|=i.flags&1206910976,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function vl(e,t,n){var r=t.pendingProps;switch(Yi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _l(t),null;case 1:return _l(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ma(Ea),ve(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(oa(t)?fl(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ca())),_l(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(fl(t),o===null?(_l(t),pl(t,a,null,r,n)):(_l(t),ml(t,o))):o?o===e.memoizedState?(_l(t),t.flags&=-16777217):(fl(t),_l(t),ml(t,o)):(e=e.memoizedProps,e!==r&&fl(t),_l(t),pl(t,a,e,r,n)),null;case 27:if(be(t),n=he.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&fl(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return _l(t),t.subtreeFlags&=-33554433,null}e=pe.current,oa(t)?ia(t,e):(e=Cm(a,r,n),t.stateNode=e,fl(t))}return _l(t),t.subtreeFlags&=-33554433,null;case 5:if(be(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&fl(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return _l(t),t.subtreeFlags&=-33554433,null}if(o=pe.current,oa(t))ia(t,o);else{var s=_p(he.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[gt]=t,o[_t]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(up(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&fl(t)}}return _l(t),t.subtreeFlags&=-33554433,pl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&fl(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=he.current,oa(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Zi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[gt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||sp(e.nodeValue,n)),e||ra(t,!0)}else e=_p(e).createTextNode(r),e[gt]=t,t.stateNode=e}return _l(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=oa(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[gt]=t}else sa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_l(t),e=!1}else n=ca(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Mo(t),t):(Mo(t),null);if(t.flags&128)throw Error(i(558))}return _l(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=oa(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[gt]=t}else sa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_l(t),a=!1}else a=ca(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Mo(t),t):(Mo(t),null)}return Mo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),hl(t,t.updateQueue),_l(t),null);case 4:return ve(),e===null&&Zf(t.stateNode.containerInfo),t.flags|=67108864,_l(t),null;case 10:return ma(t.type),_l(t),null;case 19:if(Fo(t),r=t.memoizedState,r===null)return _l(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)gl(r,!1);else{if(dd!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Io(e),o!==null){for(t.flags|=128,gl(r,!1),e=o.updateQueue,t.updateQueue=e,hl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)ki(n,e),n=n.sibling;return Po(t,No.current&1|2),$i&&Ki(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Pe()>Sd&&(t.flags|=128,a=!0,gl(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Io(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,hl(t,e),gl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!$i)return _l(t),null}else 2*Pe()-r.renderingStartTime>Sd&&n!==536870912&&(t.flags|=128,a=!0,gl(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Pe(),e.sibling=null,o=No.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||$i?Po(t,o):(n=o,fe(Eo,t),fe(No,n),Do===null&&(Do=t)),$i&&Ki(t,r.treeForkCount),e}return _l(t),null;case 22:case 23:return Mo(t),To(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(_l(t),t.subtreeFlags&6&&(t.flags|=8192)):_l(t),n=t.updateQueue,n!==null&&hl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&de(Ba),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ma(Ea),_l(t),null;case 25:return null;case 30:return t.flags|=33554432,_l(t),null}throw Error(i(156,t.tag))}function yl(e,t){switch(Yi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ma(Ea),ve(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return be(t),null;case 31:if(t.memoizedState!==null){if(Mo(t),t.alternate===null)throw Error(i(340));sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Mo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Fo(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return ve(),null;case 10:return ma(t.type),null;case 22:case 23:return Mo(t),To(),e!==null&&de(Ba),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ma(Ea),null;case 25:return null;default:return null}}function bl(e,t){switch(Yi(t),t.tag){case 3:ma(Ea),ve();break;case 26:case 27:case 5:be(t);break;case 4:ve();break;case 31:t.memoizedState!==null&&Mo(t);break;case 13:Mo(t);break;case 19:Fo(t);break;case 10:ma(t.type);break;case 22:case 23:Mo(t),To(),e!==null&&de(Ba);break;case 24:ma(Ea)}}function xl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){bf(t,t.return,e)}}function Sl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){bf(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){bf(t,t.return,e)}}function Cl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{bo(t,n)}catch(t){bf(e,e.return,t)}}}function wl(e,t,n){n.props=xc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){bf(e,t,n)}}function Tl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=di(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Hp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Up(e);f(e.child,!1,om,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){bf(e,t,n)}}function El(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){bf(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){bf(e,t,n)}else n.current=null}}function Dl(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)cm(e.stateNode,t[n])}function Ol(e){for(var t=e.return;t!==null&&(jl(t)&&cm(e.stateNode,t.stateNode),!Al(t));)t=t.return}function kl(e){for(var t=e.return;t!==null&&(jl(t)&&lm(e.stateNode,t.stateNode),!Al(t));)t=t.return}function Al(e){return e.tag===5||e.tag===3||e.tag===27}function jl(e){return e&&e.tag===7&&e.stateNode!==null}function Ml(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){bf(e,e.return,t)}}function Nl(e,t,n){try{var r=e.stateNode;fp(r,e.type,n,t),r[_t]=t}catch(t){bf(e,e.return,t)}}function Pl(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ap(e.type)||e.tag===4}function Fl(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Pl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ap(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Il(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(i,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(i),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=fn)),Dl(e,r),zt=!0;else if(i!==4&&(i===27&&(Dl(e,r),r=null,Ap(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(Il(e,t,n,r),e=e.sibling;e!==null;)Il(e,t,n,r),e=e.sibling}function Ll(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?n.insertBefore(i,t):n.appendChild(i),Dl(e,r),zt=!0;else if(i!==4&&(i===27&&(Dl(e,r),r=null,Ap(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Ll(e,t,n,r),e=e.sibling;e!==null;)Ll(e,t,n,r),e=e.sibling}function Rl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);up(t,r,n),t[gt]=e,t[_t]=n}catch(t){bf(e,e.return,t)}}var zl=!1,Bl=null;function Vl(e){(e.tag===30||e.subtreeFlags&33554432)&&(zl=!0)}var Hl=null;function Ul(){var e=Hl;return Hl=null,e}var Wl=0;function Gl(e,t,n,r,i){return Wl=0,Kl(e.child,t,n,r,i)}function Kl(e,t,n,r,i){for(var a=!1;e!==null;){if(e.tag===5){var o=e.stateNode;if(r!==null){var s=Ip(o);r.push(s),s.view&&(a=!0)}else a||Ip(o).view&&(a=!0);zl=!0,Np(o,Wl===0?t:t+`_`+Wl,n),Wl++}else e.tag===22&&e.memoizedState!==null||e.tag===30&&i||Kl(e.child,t,n,r,i)&&(a=!0);e=e.sibling}return a}function ql(e,t){for(;e!==null;)e.tag===5?Pp(e.stateNode,e.memoizedProps):e.tag===22&&e.memoizedState!==null||e.tag===30&&t||ql(e.child,t),e=e.sibling}function Jl(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(Jl(e),e.tag===30&&e.flags&18874368&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name===`auto`)throw Error(i(544));var n=t.name;t=pi(t.default,t.share),t!==`none`&&(Gl(e,n,t,null,!1)||ql(e.child,!1))}e=e.sibling}}function Yl(e,t){if(e.tag===30){var n=e.stateNode,r=e.memoizedProps,i=di(r,n),a=pi(r.default,n.paired?r.share:r.enter);a===`none`?Jl(e):Gl(e,i,a,null,!1)?(Jl(e),n.paired||t||zd(e,r.onEnter)):ql(e.child,!1)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)Yl(e,t),e=e.sibling;else Jl(e)}function Xl(e){if(Bl!==null&&Bl.size!==0){var t=Bl;if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var n=e.memoizedProps,r=n.name;if(r!=null&&r!==`auto`){var i=t.get(r);if(i!==void 0){var a=pi(n.default,n.share);if(a!==`none`&&(Gl(e,r,a,null,!1)?(a=e.stateNode,i.paired=a,a.paired=i,zd(e,n.onShare)):ql(e.child,!1)),t.delete(r),t.size===0)break}}}Xl(e)}e=e.sibling}}}function Zl(e){if(e.tag===30){var t=e.memoizedProps,n=di(t,e.stateNode),r=Bl===null?void 0:Bl.get(n),i=pi(t.default,r===void 0?t.exit:t.share);i!==`none`&&(Gl(e,n,i,null,!1)?r===void 0?zd(e,t.onExit):(i=e.stateNode,r.paired=i,i.paired=r,Bl.delete(n),zd(e,t.onShare)):ql(e.child,!1)),Bl!==null&&Xl(e)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)Zl(e),e=e.sibling;else Bl!==null&&Xl(e)}function Ql(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=di(t,e.stateNode);t=pi(t.default,t.update),e.flags&=-5,t!==`none`&&Gl(e,n,t,e.memoizedState=[],!1)}else e.subtreeFlags&33554432&&Ql(e);e=e.sibling}}function $l(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var t=e.stateNode;t.paired!==null&&(t.paired=null,ql(e.child,!1))}$l(e)}e=e.sibling}}function eu(e){if(e.tag===30)e.stateNode.paired=null,ql(e.child,!1),$l(e);else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)eu(e),e=e.sibling;else $l(e)}function tu(e){for(e=e.child;e!==null;)e.tag===30?ql(e.child,!1):e.subtreeFlags&33554432&&tu(e),e=e.sibling}function nu(e,t,n,r,i,a,o){for(var s=!1;t!==null;){if(t.tag===5){var c=t.stateNode;if(a!==null&&Wl<a.length){var l=a[Wl],u=Ip(c);(l.view||u.view)&&(s=!0);var d;if(d=!(e.flags&4)){if(u.clip)d=!0;else{d=l.rect;var f=u.rect;d=d.y!==f.y||d.x!==f.x||d.height!==f.height||d.width!==f.width}}d&&(e.flags|=4),u.abs?u=!l.abs:(l=l.rect,u=u.rect,u=l.height!==u.height||l.width!==u.width),u&&(e.flags|=32)}else e.flags|=32;e.flags&4&&Np(c,Wl===0?n:n+`_`+Wl,i),s&&e.flags&4||(Hl===null&&(Hl=[]),Hl.push(c,Wl===0?r:r+`_`+Wl,t.memoizedProps)),Wl++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&o?e.flags|=t.flags&32:nu(e,t.child,n,r,i,a,o)&&(s=!0));t=t.sibling}return s}function ru(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,r=e.stateNode,i=di(n,r),a=pi(n.default,n.update);if(t){r=r.clones;var o=r===null?null:r.map(Lp)}else o=e.memoizedState,e.memoizedState=null;r=e;var s=e.child;Wl=0,i=nu(r,s,i,i,a,o,!1),e.flags&4&&i&&(t||zd(e,n.onUpdate))}else e.subtreeFlags&33554432&&ru(e,t);e=e.sibling}}var iu=!1,au=!1,ou=!1,su=!1,cu=typeof WeakSet==`function`?WeakSet:Set,lu=null,uu=!1,du=!1,fu=!1,pu=!1;function mu(e,t,n){if(e=e.containerInfo,hp=wh,e=Vr(e),Hr(e)){if(`selectionStart`in e)var r={start:e.selectionStart,end:e.selectionEnd};else a:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==r||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===r&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}r=c===-1||l===-1?null:{start:c,end:l}}else r=null}r||={start:0,end:0}}else r=null;for(gp={focusedElem:e,selectionRange:r},wh=!1,n=(n&335544064)===n,lu=t,t=n?9270:1024;lu!==null;){if(e=lu,n&&(r=e.deletions,r!==null))for(a=0;a<r.length;a++)n&&Zl(r[a]);if(e.alternate===null&&e.flags&2)n&&Vl(e),hu(n);else{if(e.tag===22){if(r=e.alternate,e.memoizedState!==null){r!==null&&r.memoizedState===null&&n&&Zl(r),hu(n);continue}if(r!==null&&r.memoizedState!==null){n&&Vl(e),hu(n);continue}}r=e.child,(e.subtreeFlags&t)!==0&&r!==null?(r.return=e,lu=r):(n&&Ql(e),hu(n))}}Bl=null}function hu(e){for(;lu!==null;){var t=lu,n=e,r=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if(a&1024&&r!==null){n=void 0,a=r.memoizedProps,r=r.memoizedState;var o=t.stateNode;try{var s=xc(t.type,a);n=o.getSnapshotBeforeUpdate(s,r),o.__reactInternalSnapshotBeforeUpdate=n}catch(e){bf(t,t.return,e)}}break;case 3:if(a&1024){if(r=t.stateNode.containerInfo,n=r.nodeType,n===9)um(r);else if(n===1)switch(r.nodeName){case`HEAD`:case`HTML`:case`BODY`:um(r);break;default:r.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&r!==null&&(n=di(r.memoizedProps,r.stateNode),a=t.memoizedProps,a=pi(a.default,a.update),a!==`none`&&Gl(r,n,a,r.memoizedState=[],!0));break;default:if(a&1024)throw Error(i(163))}if(r=t.sibling,r!==null){r.return=t.return,lu=r;break}lu=t.return}}function gu(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Iu(e,n),r&4&&xl(5,n);break;case 1:if(Iu(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){bf(n,n.return,e)}else{var i=xc(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){bf(n,n.return,e)}}}r&64&&Cl(n),r&512&&Tl(n,n.return);break;case 3:if(Iu(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{bo(e,t)}catch(e){bf(n,n.return,e)}}break;case 27:t===null&&r&4&&Rl(n);case 26:case 5:Iu(e,n),t===null&&r&4&&Ml(n),r&512&&Tl(n,n.return);break;case 12:Iu(e,n);break;case 31:Iu(e,n),r&4&&Tu(e,n);break;case 13:Iu(e,n),r&4&&Eu(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=wf.bind(null,n),gm(e,n))));break;case 22:if(r=n.memoizedState!==null||iu,!r){var a=t!==null&&t.memoizedState!==null||au;t=iu,i=au,iu=r,(au=a)&&!i?(r=2,n.subtreeFlags&8772&&(r|=1),Ru(e,n,r)):Iu(e,n),iu=t,au=i}break;case 30:Iu(e,n),r&512&&Tl(n,n.return);break;case 7:r&512&&Tl(n,n.return);default:Iu(e,n)}}function _u(e,t){for(e=e.child;e!==null;)vu(e,t),e=e.sibling}function vu(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;typeof r.setProperty==`function`?r.setProperty(`display`,`none`,`important`):r.display=`none`}else{var i=e.stateNode,a=e.memoizedProps.style,o=a!=null&&a.hasOwnProperty(`display`)?a.display:null;i.style.display=o==null||typeof o==`boolean`?``:(``+o).trim()}}catch(t){bf(e,e.return,t)}yu(e,t);break;case 6:try{e.stateNode.nodeValue=t?``:e.memoizedProps,zt=!0}catch(t){bf(e,e.return,t)}break;case 18:try{var s=e.stateNode;t?Mp(s,!0):Mp(e.stateNode,!1)}catch(t){bf(e,e.return,t)}break;case 22:case 23:e.memoizedState===null&&_u(e,t);break;default:_u(e,t)}}function yu(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){a:{var n=e,r=t;switch(n.tag){case 4:vu(n,r);break a;case 22:n.memoizedState===null&&yu(n,r);break a;default:yu(n,r)}}e=e.sibling}}function bu(e){var t=e.alternate;t!==null&&(e.alternate=null,bu(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&wt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var xu=null,Su=!1;function Cu(e,t,n){for(n=n.child;n!==null;)wu(e,t,n),n=n.sibling}function wu(e,t,n){if(We&&typeof We.onCommitFiberUnmount==`function`)try{We.onCommitFiberUnmount(Ue,n)}catch{}switch(n.tag){case 26:au||El(n,t),Cu(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!au&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:au||El(n,t),kl(n);var r=xu,i=Su;Ap(n.type)&&(xu=n.stateNode,Su=!1),Cu(e,t,n),wm(n.stateNode,n.type,n.memoizedProps),xu=r,Su=i;break;case 5:au||El(n,t),kl(n);case 6:if(n.tag===6&&kl(n),r=xu,i=Su,xu=null,Cu(e,t,n),xu=r,Su=i,xu!==null){if(Su)try{(xu.nodeType===9?xu.body:xu.nodeName===`HTML`?xu.ownerDocument.body:xu).removeChild(n.stateNode),zt=!0}catch(e){bf(n,t,e)}else try{xu.removeChild(n.stateNode),zt=!0}catch(e){bf(n,t,e)}}break;case 18:xu!==null&&(Su?(e=xu,jp(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Xh(e)):jp(xu,n.stateNode));break;case 4:r=xu,i=Su,xu=n.stateNode.containerInfo,Su=!0,Cu(e,t,n),xu=r,Su=i;break;case 0:case 11:case 14:case 15:Sl(2,n,t),au||Sl(4,n,t),Cu(e,t,n);break;case 1:au||(El(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&wl(n,t,r)),Cu(e,t,n);break;case 21:Cu(e,t,n);break;case 22:au=(r=au)||n.memoizedState!==null,Cu(e,t,n),au=r;break;case 30:El(n,t),Cu(e,t,n);break;case 7:au||El(n,t),Cu(e,t,n);break;default:Cu(e,t,n)}}function Tu(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Xh(e)}catch(e){bf(t,t.return,e)}}}function Eu(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Xh(e)}catch(e){bf(t,t.return,e)}}function Du(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new cu),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new cu),t;default:throw Error(i(435,e.tag))}}function Ou(e,t){var n=Du(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Tf.bind(null,e,t);t.then(r,r)}})}function ku(e,t,n){var r=t.deletions;if(r!==null)for(var a=0;a<r.length;a++){var o=r[a],s=e,c=t,l=c;a:for(;l!==null;){switch(l.tag){case 27:if(Ap(l.type)){xu=l.stateNode,Su=!1;break a}break;case 5:xu=l.stateNode,Su=!1;break a;case 3:case 4:xu=l.stateNode.containerInfo,Su=!0;break a}l=l.return}if(xu===null)throw Error(i(160));wu(s,c,o),xu=null,Su=!1,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ju(t,e,n),t=t.sibling}var Au=null;function ju(e,t,n){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(a&4&&(r=e.updateQueue,r=r===null?null:r.events,r!==null))for(var o=0;o<r.length;o++){var s=r[o];s.ref.impl=s.nextImpl}ku(t,e,n),Mu(e),a&4&&(Sl(3,e,e.return),xl(3,e),Sl(5,e,e.return));break;case 1:ku(t,e,n),Mu(e),a&512&&(au||r===null||El(r,r.return)),a&64&&iu&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(o=Au,ku(t,e,n),Mu(e),a&512&&(au||r===null||El(r,r.return)),a&4){if(a=r===null?null:r.memoizedState,n=e.memoizedState,r===null){if(n===null){if(e.stateNode===null){if(iu)e.stateNode=bp(e.type,e.memoizedProps,t.containerInfo,e);else{a:{t=e.type,n=e.memoizedProps,a=o.ownerDocument||o;b:switch(t){case`title`:r=a.getElementsByTagName(`title`)[0],(!r||r[W]||r[gt]||r.namespaceURI===`http://www.w3.org/2000/svg`||r.hasAttribute(`itemprop`))&&(r=a.createElement(t),a.head.insertBefore(r,a.querySelector(`head > title`))),up(r,t,n),r[gt]=e,kt(r),t=r;break a;case`link`:if(o=$m(`link`,`href`,a).get(t+(n.href||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&r.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&r.getAttribute(`title`)===(n.title==null?null:n.title)&&r.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(s,1);break b}}r=a.createElement(t),up(r,t,n),a.head.appendChild(r);break;case`meta`:if(o=$m(`meta`,`content`,a).get(t+(n.content||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`content`)===(n.content==null?null:``+n.content)&&r.getAttribute(`name`)===(n.name==null?null:n.name)&&r.getAttribute(`property`)===(n.property==null?null:n.property)&&r.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){o.splice(s,1);break b}}r=a.createElement(t),up(r,t,n),a.head.appendChild(r);break;default:throw Error(i(468,t))}r[gt]=e,kt(r),t=r}e.stateNode=t}}else iu||eh(o,e.type,e.stateNode)}else e.stateNode=Jm(o,n,e.memoizedProps)}else a===n?n===null&&e.stateNode!==null&&Nl(e,e.memoizedProps,r.memoizedProps):(a===null?(t=r.stateNode,t===null||au||t.parentNode.removeChild(t)):a.count--,n===null?iu||eh(o,e.type,e.stateNode):Jm(o,n,e.memoizedProps))}break;case 27:ku(t,e,n),Mu(e),a&512&&(au||r===null||El(r,r.return)),r!==null&&a&4&&Nl(e,e.memoizedProps,r.memoizedProps);break;case 5:if(o=ou,ou=!1,ku(t,e,n),ou=o,Mu(e),a&512&&(au||r===null||El(r,r.return)),e.flags&32){t=e.stateNode;try{rn(t,``),zt=!0}catch(t){bf(e,e.return,t)}}a&4&&e.stateNode!=null&&(t=e.memoizedProps,Nl(e,t,r===null?t:r.memoizedProps)),a&1024&&(su=!0);break;case 6:if(ku(t,e,n),Mu(e),a&4){if(e.stateNode===null)throw Error(i(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,zt=!0}catch(t){bf(e,e.return,t)}}break;case 3:if(zt=!1,Qm=null,o=Au,Au=Om(t.containerInfo),ku(t,e,n),Au=o,Mu(e),a&4&&r!==null&&r.memoizedState.isDehydrated)try{Xh(t.containerInfo)}catch(t){bf(e,e.return,t)}su&&(su=!1,Nu(e)),zt=!1;break;case 4:a=ou,ou=iu,r=Bt(),o=Au,Au=Om(e.stateNode.containerInfo),ku(t,e,n),Mu(e),Au=o,zt&&du&&(fu=!0),zt=r,ou=a;break;case 12:ku(t,e,n),Mu(e);break;case 31:ku(t,e,n),Mu(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Ou(e,t)));break;case 13:ku(t,e,n),Mu(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(bd=Pe()),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Ou(e,t)));break;case 22:o=e.memoizedState!==null,s=r!==null&&r.memoizedState!==null;var c=iu,l=au,u=ou;iu=c||o,ou=u||o,au=l||s,ku(t,e,n),au=l,ou=u,iu=c,Mu(e),a&8192&&(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,!o||r===null||s||iu||au||(t=s||au,n=iu,r=au,iu=o||iu,au=t,Lu(e,2),iu=n,au=r),!o&&ou||_u(e,o)),a&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,Ou(e,n))));break;case 19:ku(t,e,n),Mu(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Ou(e,t)));break;case 30:a&512&&(au||r===null||El(r,r.return)),a=Bt(),o=du,s=(n&335544064)===n,c=e.memoizedProps,du=s&&pi(c.default,c.update)!==`none`,ku(t,e,n),Mu(e),s&&r!==null&&zt&&(e.flags|=4),du=o,zt=a;break;case 21:break;case 7:a&512&&(au||r===null||El(r,r.return)),r&&r.stateNode!==null&&(r.stateNode._fragmentFiber=e);default:ku(t,e,n),Mu(e)}}function Mu(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Pl(r)){n=r;break}r=r.return}r=null;for(var a=e.return;a!==null;){if(jl(a)){var o=a.stateNode;r===null?r=[o]:r.push(o)}if(Al(a))break;a=a.return}var s=r;if(n==null)throw Error(i(160));switch(n.tag){case 27:var c=n.stateNode;Ll(e,Fl(e),c,s);break;case 5:var l=n.stateNode;n.flags&32&&(rn(l,``),n.flags&=-33),Ll(e,Fl(e),l,s);break;case 3:case 4:var u=n.stateNode.containerInfo;Il(e,Fl(e),u,s);break;default:throw Error(i(161))}}catch(t){bf(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Nu(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Nu(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,wh=!0,t.reset(),wh=!1),e=e.sibling}}function Pu(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)Fu(t,e),t=t.sibling;else ru(t,!1)}function Fu(e,t){var n=e.alternate;if(n===null)Yl(e,!1);else switch(e.tag){case 3:if(pu=uu=!1,Ul(),Pu(t,e),!uu&&!fu){if(e=Hl,e!==null)for(var r=0;r<e.length;r+=3){n=e[r];var i=e[r+1];Pp(n,e[r+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(`+i+`)`})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===``&&(e.style.viewTransitionName=`none`,e.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(root)`}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition`})),pu=!0}Hl=null;break;case 5:Pu(t,e);break;case 4:r=uu,uu=!1,Pu(t,e),uu&&(fu=!0),uu=r;break;case 22:e.memoizedState===null&&(n.memoizedState===null?Pu(t,e):Yl(e,!1));break;case 30:r=uu,i=Ul(),uu=!1,Pu(t,e),uu&&(e.flags|=4);var a=e.memoizedProps,o=e.stateNode;t=di(a,o),o=di(n.memoizedProps,o);var s=pi(a.default,a.update);s===`none`?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,Wl=0,t=nu(e,n,t,o,s,a,!0),Wl!==(a===null?0:a.length)&&(e.flags|=32)),e.flags&4&&t?(zd(e,e.memoizedProps.onUpdate),Hl=i):i!==null&&(i.push.apply(i,Hl),Hl=i),uu=e.flags&32?!0:r;break;default:Pu(t,e)}}function Iu(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)gu(e,t.alternate,t),t=t.sibling}function Lu(e,t){for(e=e.child;e!==null;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:Sl(4,n,n.return),Lu(n,r);break;case 1:El(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount==`function`&&wl(n,n.return,i),Lu(n,r);break;case 27:r&2&&wm(n.stateNode,n.type,n.memoizedProps);case 5:El(n,n.return),n.tag!==5&&n.tag!==27||kl(n),Lu(n,r);break;case 6:kl(n);break;case 26:El(n,n.return),i=n.stateNode,n.memoizedState!==null||i===null||au||i.parentNode.removeChild(i),Lu(n,r);break;case 22:n.memoizedState===null&&Lu(n,r);break;case 30:El(n,n.return),Lu(n,r);break;case 7:El(n,n.return);default:Lu(n,r)}e=e.sibling}}function Ru(e,t,n){for(n=t.subtreeFlags&8772?n:n&-2,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags,s=!!(n&1);switch(a.tag){case 0:case 11:case 15:Ru(i,a,n),xl(4,a);break;case 1:if(Ru(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){bf(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var c=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(l!==null)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)yo(l[i],c)}catch(e){bf(r,r.return,e)}}s&&o&64&&Cl(a),Tl(a,a.return);break;case 27:n&2&&Rl(a);case 5:a.tag!==5&&a.tag!==27||Ol(a),Ru(i,a,n),s&&r===null&&o&4&&Ml(a),Tl(a,a.return);break;case 6:Ol(a);break;case 26:c=a.stateNode,a.memoizedState!==null||c===null||iu||eh(Om(c.ownerDocument),a.type,c),Ru(i,a,n),s&&r===null&&o&4&&Ml(a),Tl(a,a.return);break;case 12:Ru(i,a,n);break;case 31:Ru(i,a,n),s&&o&4&&Tu(i,a);break;case 13:Ru(i,a,n),s&&o&4&&Eu(i,a);break;case 22:a.memoizedState===null&&Ru(i,a,n),Tl(a,a.return);break;case 30:Ru(i,a,n),Tl(a,a.return);break;case 7:Tl(a,a.return);default:Ru(i,a,n)}t=t.sibling}}function zu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Oa(n))}function Bu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Oa(e))}function Vu(e,t,n,r){var i=(n&335544064)===n;if(t.subtreeFlags&(i?10262:10256))for(t=t.child;t!==null;)Hu(e,t,n,r),t=t.sibling;else i&&tu(t)}function Hu(e,t,n,r){var i=(n&335544064)===n;i&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&eu(t);var a=t.flags;switch(t.tag){case 0:case 11:case 15:Vu(e,t,n,r),a&2048&&xl(9,t);break;case 1:Vu(e,t,n,r);break;case 3:Vu(e,t,n,r),i&&pu&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,e.style.viewTransitionName===`root`&&(e.style.viewTransitionName=``),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===`none`&&(e.style.viewTransitionName=``)),a&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(t.refCount++,a!=null&&Oa(a)));break;case 12:if(a&2048){Vu(e,t,n,r),a=t.stateNode;try{var o=t.memoizedProps,s=o.id,c=o.onPostCommit;typeof c==`function`&&c(s,t.alternate===null?`mount`:`update`,a.passiveEffectDuration,-0)}catch(e){bf(t,t.return,e)}}else Vu(e,t,n,r);break;case 31:Vu(e,t,n,r);break;case 13:Vu(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,s=t.alternate,t.memoizedState===null?(i&&s!==null&&s.memoizedState!==null&&eu(t),o._visibility&2?Vu(e,t,n,r):(o._visibility|=2,Uu(e,t,n,r,!!(t.subtreeFlags&10256)||!1))):(i&&s!==null&&s.memoizedState===null&&eu(s),o._visibility&2?Vu(e,t,n,r):Wu(e,t)),a&2048&&zu(s,t);break;case 24:Vu(e,t,n,r),a&2048&&Bu(t.alternate,t);break;case 30:i&&(a=t.alternate,a!==null&&(ql(a.child,!0),ql(t.child,!0))),Vu(e,t,n,r);break;default:Vu(e,t,n,r)}}function Uu(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Uu(a,o,s,c,i),xl(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Uu(a,o,s,c,i)):u._visibility&2?Uu(a,o,s,c,i):Wu(a,o),i&&l&2048&&zu(o.alternate,o);break;case 24:Uu(a,o,s,c,i),i&&l&2048&&Bu(o.alternate,o);break;default:Uu(a,o,s,c,i)}t=t.sibling}}function Wu(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Wu(n,r),i&2048&&zu(r.alternate,r);break;case 24:Wu(n,r),i&2048&&Bu(r.alternate,r);break;default:Wu(n,r)}t=t.sibling}}var Gu=8192;function Ku(e,t,n){if(e.subtreeFlags&Gu)for(e=e.child;e!==null;)qu(e,t,n),e=e.sibling}function qu(e,t,n){switch(e.tag){case 26:Ku(e,t,n),e.flags&Gu&&(e.memoizedState===null?(e=e.stateNode,(t&335544128)===t&&ah(n,e)):oh(n,Au,e.memoizedState,e.memoizedProps));break;case 5:Ku(e,t,n),e.flags&Gu&&(e=e.stateNode,(t&335544128)===t&&ah(n,e));break;case 3:case 4:var r=Au;Au=Om(e.stateNode.containerInfo),Ku(e,t,n),Au=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Gu,Gu=16777216,Ku(e,t,n),Gu=r):Ku(e,t,n));break;case 30:if((e.flags&Gu)!==0&&(r=e.memoizedProps.name,r!=null&&r!==`auto`)){var i=e.stateNode;i.paired=null,Bl===null&&(Bl=new Map),Bl.set(r,i)}Ku(e,t,n);break;default:Ku(e,t,n)}}function Ju(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Yu(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];lu=r,Qu(r,e)}Ju(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Xu(e),e=e.sibling}function Xu(e){switch(e.tag){case 0:case 11:case 15:Yu(e),e.flags&2048&&Sl(9,e,e.return);break;case 3:Yu(e);break;case 12:Yu(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Zu(e)):Yu(e);break;default:Yu(e)}}function Zu(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];lu=r,Qu(r,e)}Ju(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Sl(8,t,t.return),Zu(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Zu(t));break;default:Zu(t)}e=e.sibling}}function Qu(e,t){for(;lu!==null;){var n=lu;switch(n.tag){case 0:case 11:case 15:Sl(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Oa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,lu=r;else a:for(n=e;lu!==null;){r=lu;var i=r.sibling,a=r.return;if(bu(r),r===n){lu=null;break a}if(i!==null){i.return=a,lu=i;break a}lu=a}}}var $u={getCacheForType:function(e){var t=ba(Ea),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ba(Ea).controller.signal}},ed=typeof WeakMap==`function`?WeakMap:Map,td=0,nd=null,rd=null,id=0,ad=0,od=null,sd=!1,cd=!1,ld=!1,ud=0,dd=0,fd=0,pd=0,md=0,hd=0,gd=0,_d=null,vd=null,yd=!1,bd=0,xd=0,Sd=1/0,Cd=null,wd=null,Td=0,Ed=null,Dd=null,Od=0,kd=0,Ad=null,jd=null,Md=null,Nd=null,Pd=null,Fd=0,Id=null;function Ld(){return td&2&&id!==0?id&-id:H.T===null?pt():Vf()}function Rd(){if(hd===0){if(!(id&536870912)||$i){var e=Ze;Ze<<=1,!(Ze&3932160)&&(Ze=262144),hd=e}else hd=536870912}return e=Eo.current,e!==null&&(e.flags|=32),hd}function zd(e,t){if(t!=null){var n=e.stateNode,r=n.ref;r===null&&(r=n.ref=Hp(di(e.memoizedProps,n))),Nd===null&&(Nd=[]),Nd.push(t.bind(null,r))}}function Bd(e,t,n){(e===nd&&(ad===2||ad===9)||e.cancelPendingCommit!==null)&&(qd(e,0),Wd(e,id,hd,!1)),ot(e,n),td&2&&e===nd||(e===nd&&(!(td&2)&&(pd|=n),dd===4&&Wd(e,id,hd,!1)),Nf(e))}function Vd(e,t,n){if(td&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||tt(e,t),a=r?tf(e,t):$d(e,t,!0),o=r;do{if(a===0){cd&&!r&&Wd(e,t,0,!1);break}if(n=e.current.alternate,o&&!Ud(n))a=$d(e,t,!1),o=!1;else{if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=_d;var l=c.current.memoizedState.isDehydrated;if(l&&(qd(c,s).flags|=256),s=$d(c,s,!1),s!==2&&s!==6){if(ld&&!l){c.errorRecoveryDisabledLanes|=o,pd|=o,a=4;break a}o=vd,vd=a,o!==null&&(vd===null?vd=o:vd.push.apply(vd,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){qd(e,0),Wd(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Wd(r,t,hd,!sd);break a;case 2:vd=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=bd+300-Pe(),10<a)){if(Wd(r,t,hd,!sd),et(r,0,!0)!==0)break a;Od=t,r.timeoutHandle=wp(Hd.bind(null,r,n,vd,Cd,yd,t,hd,pd,gd,sd,o,`Throttled`,-0,0),a);break a}Hd(r,n,vd,Cd,yd,t,hd,pd,gd,sd,o,null,-0,0)}break}}while(1);Nf(e)}function Hd(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=-1;var m=t.subtreeFlags,h=(a&335544064)===a;d=null,(h||m&8192||(m&16785408)==16785408)&&(d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:fn},Bl=null,qu(t,a,d),h&&(m=d,h=e.containerInfo,h=(h.nodeType===9?h:h.ownerDocument).__reactViewTransition,h!=null&&(m.count++,m.waitingForViewTransition=!0,m=uh.bind(m),h.finished.then(m,m))),m=(a&62914560)===a?bd-Pe():(a&4194048)===a?xd-Pe():0,m=ch(d,m),m!==null)?(Od=a,e.cancelPendingCommit=m(lf.bind(null,e,t,a,n,r,i,o,s,c,l,u,d,null,f,p)),Wd(e,a,o,!l)):lf(e,t,a,n,r,i,o,s,c,l,u,d)}function Ud(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Fr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Wd(e,t,n,r){t=nt(e,t),t&=~md,t&=~pd,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ke(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&ct(e,n,t)}function Gd(){return td&6?!0:(Pf(0,!1),!1)}function Kd(){if(rd!==null){if(ad===0)var e=rd.return;else e=rd,fa=da=null,ns(e),eo=null,to=0,e=rd;for(;e!==null;)bl(e.alternate,e),e=e.return;rd=null}}function qd(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,Tp(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Od=0,Kd(),nd=e,rd=n=Oi(e.current,null),id=t,ad=0,od=null,sd=!1,cd=tt(e,t),ld=!1,gd=hd=md=pd=fd=dd=0,vd=_d=null,yd=!1,ud=nt(e,t),vi(),n}function Jd(e,t){Ro=null,H.H=pc,t===Wa||t===Ka?(t=Qa(),ad=3):t===Ga?(t=Qa(),ad=4):ad=t===jc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,od=t,rd===null&&(dd=1,Tc(e,Ii(t,e.current)))}function Yd(){var e=Eo.current;return e===null?!0:(id&4194048)===id?Do===null:(id&62914560)===id||id&536870912?e===Do:!1}function Xd(){var e=H.H;return H.H=pc,e===null?pc:e}function Zd(){var e=H.A;return H.A=$u,e}function Qd(){dd=4,sd||(id&4194048)!==id&&Eo.current!==null||(cd=!0),!(fd&134217727)&&!(pd&134217727)||nd===null||Wd(nd,id,hd,!1)}function $d(e,t,n){var r=td;td|=2;var i=Xd(),a=Zd();(nd!==e||id!==t)&&(Cd=null,qd(e,t)),t=!1;var o=dd;a:do try{if(ad!==0&&rd!==null){var s=rd,c=od;switch(ad){case 8:Kd(),o=6;break a;case 3:case 2:case 9:case 6:Eo.current===null&&(t=!0);var l=ad;if(ad=0,od=null,of(e,s,c,l),n&&cd){o=0;break a}break;default:l=ad,ad=0,od=null,of(e,s,c,l)}}ef(),o=dd;break}catch(t){Jd(e,t)}while(1);return t&&e.shellSuspendCounter++,fa=da=null,td=r,H.H=i,H.A=a,rd===null&&(nd=null,id=0,vi()),o}function ef(){for(;rd!==null;)rf(rd)}function tf(e,t){var n=td;td|=2;var r=Xd(),a=Zd();nd!==e||id!==t?(Cd=null,Sd=Pe()+500,qd(e,t)):cd=tt(e,t);a:do try{if(ad!==0&&rd!==null){t=rd;var o=od;b:switch(ad){case 1:ad=0,od=null,of(e,t,o,1);break;case 2:case 9:if(Ja(o)){ad=0,od=null,af(t);break}t=function(){ad!==2&&ad!==9||nd!==e||(ad=7),Nf(e)},o.then(t,t);break a;case 3:ad=7;break a;case 4:ad=5;break a;case 7:Ja(o)?(ad=0,od=null,af(t)):(ad=0,od=null,of(e,t,o,7));break;case 5:var s=null;switch(rd.tag){case 26:s=rd.memoizedState;case 5:case 27:var c=rd;if(s?rh(s):c.stateNode.complete){ad=0,od=null;var l=c.sibling;if(l!==null)rd=l;else{var u=c.return;u===null?rd=null:(rd=u,sf(u))}break b}}ad=0,od=null,of(e,t,o,5);break;case 6:ad=0,od=null,of(e,t,o,6);break;case 8:Kd(),dd=6;break a;default:throw Error(i(462))}}nf();break}catch(t){Jd(e,t)}while(1);return fa=da=null,H.H=r,H.A=a,td=n,rd===null?(nd=null,id=0,vi(),dd):0}function nf(){for(;rd!==null&&!Me();)rf(rd)}function rf(e){var t=dl(e.alternate,e,ud);e.memoizedProps=e.pendingProps,t===null?sf(e):rd=t}function af(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Gc(n,t,t.pendingProps,t.type,void 0,id);break;case 11:t=Gc(n,t,t.pendingProps,t.type.render,t.ref,id);break;case 5:ns(t);var r=t;r===Zi&&($i?(aa(r),r.tag===5&&r.stateNode!=null&&(Qi=r.stateNode)):(aa(r),$i=!0));default:bl(n,t),t=rd=ki(t,ud),t=dl(n,t,ud)}e.memoizedProps=e.pendingProps,t===null?sf(e):rd=t}function of(e,t,n,r){fa=da=null,ns(t),eo=null,to=0;var i=t.return;try{if(Ac(e,i,t,n,id)){dd=1,Tc(e,Ii(n,e.current)),rd=null;return}}catch(t){if(i!==null)throw rd=i,t;dd=1,Tc(e,Ii(n,e.current)),rd=null;return}t.flags&32768?($i||r===1?e=!0:cd||id&536870912?e=!1:(sd=e=!0,(r===2||r===9||r===3||r===6)&&(r=Eo.current,r!==null&&r.tag===13&&(r.flags|=16384))),cf(t,e)):sf(t)}function sf(e){var t=e;do{if(t.flags&32768){cf(t,sd);return}e=t.return;var n=vl(t.alternate,t,ud);if(n!==null){rd=n;return}if(t=t.sibling,t!==null){rd=t;return}rd=t=e}while(t!==null);dd===0&&(dd=5)}function cf(e,t){do{var n=yl(e.alternate,e);if(n!==null){n.flags&=32767,rd=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){rd=e;return}rd=e=n}while(e!==null);dd=6,rd=null}function lf(e,t,n,r,a,o,s,c,l,u,d,f){e.cancelPendingCommit=null;do _f();while(Td!==0);if(td&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));e===nd&&(rd=nd=null,id=0),Dd=t,Ed=e,Od=n,Ad=a,jd=r,uf(e,t,n,s,c,l,f)}}function uf(e,t,n,r,i,a,o){var s=t.lanes|t.childLanes;if(kd=s,s|=_i,st(e,n,s,r,i,a),Nd=null,(n&335544064)===n?(Pd=ja(e),r=10262):(Pd=null,r=10256),(t.subtreeFlags&r)!==0||(t.flags&r)!==0?(e.callbackNode=null,e.callbackPriority=0,Ef(Re,function(){return vf(),null})):(e.callbackNode=null,e.callbackPriority=0),zl=!1,r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=H.T,H.T=null,i=oe.p,oe.p=2,a=td,td|=4;try{mu(e,t,n)}finally{td=a,oe.p=i,H.T=r}}Td=1,zl?Md=Bp(o,e.containerInfo,Pd,pf,mf,ff,hf,vf,df,null,null):(pf(),mf(),hf())}function df(e){if(Td!==0){var t=Ed.onRecoverableError;t(e,{componentStack:null})}}function ff(){Td===3&&(Td=0,Fu(Dd,Ed),Td=4)}function pf(){if(Td===1){Td=0;var e=Ed,t=Dd,n=Od,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=H.T,H.T=null;var i=oe.p;oe.p=2;var a=td;td|=4;try{du=fu=!1,ju(t,e,n),n=gp;var o=Vr(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&Br(s.ownerDocument.documentElement,s)){if(c!==null&&Hr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=zr(s,h),v=zr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}wh=!!hp,gp=hp=null}finally{td=a,oe.p=i,H.T=r}}e.current=t,Td=2}}function mf(){if(Td===2){Td=0;var e=Ed,t=Dd,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=H.T,H.T=null;var r=oe.p;oe.p=2;var i=td;td|=4;try{gu(e,t.alternate,t)}finally{td=i,oe.p=r,H.T=n}}Td=3}}function hf(){if(Td===4||Td===3){Td=0;var e=Md;Md=null,Ne();var t=Ed,n=Dd,r=Od,i=jd,a=(r&335544064)===r?10262:10256;if((n.subtreeFlags&a)!==0||(n.flags&a)!==0?Td=5:(Td=0,Dd=Ed=null,gf(t,t.pendingLanes)),a=t.pendingLanes,a===0&&(wd=null),ft(r),n=n.stateNode,We&&typeof We.onCommitFiberRoot==`function`)try{We.onCommitFiberRoot(Ue,n,void 0,(n.current.flags&128)==128)}catch{}if(i!==null){n=H.T,a=oe.p,oe.p=2,H.T=null;try{for(var o=t.onRecoverableError,s=0;s<i.length;s++){var c=i[s];o(c.value,{componentStack:c.stack})}}finally{H.T=n,oe.p=a}}if(i=Nd,o=Pd,Pd=null,i!==null&&(Nd=null,o===null&&(o=[]),e!==null))for(c=0;c<i.length;c++)n=(0,i[c])(o),n!==void 0&&e.finished.finally(n);Od&3&&_f(),Nf(t),a=t.pendingLanes,r&261930&&a&42?t===Id?Fd++:(Fd=0,Id=t):(Fd=0,Id=null),Pf(0,!1)}}function gf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Oa(t)))}function _f(){return Md!==null&&(Md.skipTransition(),Md=null),pf(),mf(),hf(),vf()}function vf(){if(Td!==5)return!1;var e=Ed,t=kd;kd=0;var n=ft(Od),r=H.T,a=oe.p;try{oe.p=32>n?32:n,H.T=null,n=Ad,Ad=null;var o=Ed,s=Od;if(Td=0,Dd=Ed=null,Od=0,td&6)throw Error(i(331));var c=td;if(td|=4,Xu(o.current),Hu(o,o.current,s,n),td=c,Pf(0,!1),We&&typeof We.onPostCommitFiberRoot==`function`)try{We.onPostCommitFiberRoot(Ue,o)}catch{}return!0}finally{oe.p=a,H.T=r,gf(e,t)}}function yf(e,t,n){t=Ii(n,t),t=Dc(e.stateNode,t,2),e=po(e,t,2),e!==null&&(ot(e,2),Nf(e))}function bf(e,t,n){if(e.tag===3)yf(e,e,n);else for(;t!==null;){if(t.tag===3){yf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(wd===null||!wd.has(r))){e=Ii(n,e),n=Oc(2),r=po(t,n,2),r!==null&&(kc(n,r,t,e),ot(r,2),Nf(r));break}}t=t.return}}function xf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ed;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(ld=!0,i.add(n),e=Sf.bind(null,e,t,n),t.then(e,e))}function Sf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,nd===e&&(id&n)===n&&(dd===4||dd===3&&(id&62914560)===id&&300>Pe()-bd?td&2?md|=n:qd(e,0):md|=n,gd===id&&(gd=0)),Nf(e)}function Cf(e,t){t===0&&(t=it()),e=xi(e,t),e!==null&&(ot(e,t),Nf(e))}function wf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Cf(e,n)}function Tf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Cf(e,n)}function Ef(e,t){return Ae(e,t)}var Df=null,Of=null,kf=!1,Af=!1,jf=!1,Mf=0;function Nf(e){e!==Of&&e.next===null&&(Of===null?Df=Of=e:Of=Of.next=e),Af=!0,kf||(kf=!0,Bf())}function Pf(e,t){if(!jf&&Af){jf=!0;do for(var n=!1,r=Df;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ke(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,zf(r,a))}else a=id,a=et(r,r===nd?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||tt(r,a)||(n=!0,zf(r,a))}r=r.next}while(n);jf=!1}}function Ff(){If()}function If(){Af=kf=!1;var e=0;Mf!==0&&Cp()&&(e=Mf);for(var t=Pe(),n=null,r=Df;r!==null;){var i=r.next,a=Lf(r,t);a===0?(r.next=null,n===null?Df=i:n.next=i,i===null&&(Of=n)):(n=r,(e!==0||a&3)&&(Af=!0)),r=i}Td!==0&&Td!==5||Pf(e,!1),Mf!==0&&(Mf=0)}function Lf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ke(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=rt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=nd,n=id,n=et(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(ad===2||ad===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&je(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||tt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&je(r),ft(n)){case 2:case 8:n=Le;break;case 32:n=Re;break;case 268435456:n=Be;break;default:n=Re}return r=Rf.bind(null,e),n=Ae(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&je(r),e.callbackPriority=2,e.callbackNode=null,2}function Rf(e,t){if(Td!==0&&Td!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(_f()&&e.callbackNode!==n)return null;var r=id;return r=et(e,e===nd?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Vd(e,r,t),Lf(e,Pe()),e.callbackNode!=null&&e.callbackNode===n?Rf.bind(null,e):null)}function zf(e,t){if(_f())return null;Vd(e,t,!0)}function Bf(){Op(function(){td&6?Ae(Ie,Ff):If()})}function Vf(){if(Mf===0){var e=Pa;e===0&&(e=Xe,Xe<<=1,!(Xe&261888)&&(Xe=256)),Mf=e}return Mf}function Hf(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:dn(e)}function Uf(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Hf((i[_t]||null).action),o=r.submitter;o&&(t=(t=o[_t]||null)?Hf(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Nn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Mf!==0){var e=new FormData(i,o);$s(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=new FormData(i,o),$s(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Wf=0;Wf<ci.length;Wf++){var G=ci[Wf];li(G.toLowerCase(),`on`+(G[0].toUpperCase()+G.slice(1)))}li(ei,`onAnimationEnd`),li(ti,`onAnimationIteration`),li(ni,`onAnimationStart`),li(`dblclick`,`onDoubleClick`),li(`focusin`,`onFocus`),li(`focusout`,`onBlur`),li(ri,`onTransitionRun`),li(ii,`onTransitionStart`),li(ai,`onTransitionCancel`),li(oi,`onTransitionEnd`),Pt(`onMouseEnter`,[`mouseout`,`mouseover`]),Pt(`onMouseLeave`,[`mouseout`,`mouseover`]),Pt(`onPointerEnter`,[`pointerout`,`pointerover`]),Pt(`onPointerLeave`,[`pointerout`,`pointerover`]),Nt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Nt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Nt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Nt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Nt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Nt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var Gf=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),Kf=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(Gf));function qf(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){mi(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){mi(e)}i.currentTarget=null,a=c}}}}function Jf(e,t){var n=t[yt];n===void 0&&(n=t[yt]=new Set);var r=e+`__bubble`;n.has(r)||(Qf(t,e,2,!1),n.add(r))}function Yf(e,t,n){var r=0;t&&(r|=4),Qf(n,e,r,t)}var Xf=`_reactListening`+Math.random().toString(36).slice(2);function Zf(e){if(!e[Xf]){e[Xf]=!0,jt.forEach(function(t){t!==`selectionchange`&&(Kf.has(t)||Yf(t,!1,e),Yf(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Xf]||(t[Xf]=!0,Yf(`selectionchange`,!1,t))}}function Qf(e,t,n,r){switch(jh(t)){case 2:var i=Th;break;case 8:i=Eh;break;default:i=Dh}n=i.bind(null,t,n,e),i=void 0,!Sn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function $f(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=Tt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}yn(function(){var r=a,i=mn(n),s=[];a:{var c=si.get(e);if(c!==void 0){var l=Nn,u=e;switch(e){case`keypress`:if(On(n)===0)break a;case`keydown`:case`keyup`:l=Zn;break;case`focusin`:u=`focus`,l=Hn;break;case`focusout`:u=`blur`,l=Hn;break;case`beforeblur`:case`afterblur`:l=Hn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Bn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Vn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=er;break;case ei:case ti:case ni:l=Un;break;case oi:l=tr;break;case`scroll`:case`scrollend`:l=Fn;break;case`wheel`:l=nr;break;case`copy`:case`cut`:case`paste`:l=Wn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Qn;break;case`submit`:l=$n;break;case`toggle`:case`beforetoggle`:l=rr}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=bn(m,p),g!=null&&d.push(ep(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(l=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,l&&n!==pn&&(u=n.relatedTarget||n.fromElement)&&(Tt(u)||u[vt]))break a;(c||l)&&(u=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Tt(l):null,l!==null&&(f=o(l),d=l.tag,l!==f||d!==5&&d!==27&&d!==6)&&(l=null)):(c=null,l=r),c!==l&&(d=Bn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Qn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=c==null?u:Dt(c),h=l==null?u:Dt(l),u=new d(g,m+`leave`,c,n,i),u.target=f,u.relatedTarget=h,g=null,Tt(i)===r&&(d=new d(p,m+`enter`,l,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,d=c&&l?C(c,l,np):null,c!==null&&rp(s,u,c,d,!1),l!==null&&f!==null&&rp(s,f,l,d,!0)))}a:{if(c=r?Dt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var _=Cr;else if(_r(c)){if(wr)_=Nr;else{_=jr;var v=Ar}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&cn(r.elementType)&&(_=Cr):_=Mr;if(_&&=_(e,r)){vr(s,_,n,i);break a}v&&v(e,c,r)}switch(v=r?Dt(r):window,e){case`focusin`:(_r(v)||v.contentEditable===`true`)&&(Wr=v,Gr=r,Kr=null);break;case`focusout`:Kr=Gr=Wr=null;break;case`mousedown`:qr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:qr=!1,Jr(s,n,i);break;case`selectionchange`:if(Ur)break;case`keydown`:case`keyup`:Jr(s,n,i)}var y;if(ar)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else pr?dr(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(cr&&n.locale!==`ko`&&(pr||b!==`onCompositionStart`?b===`onCompositionEnd`&&pr&&(y=Dn()):(wn=i,Tn=`value`in wn?wn.value:wn.textContent,pr=!0)),v=tp(r,b),0<v.length&&(b=new Gn(b,e,null,n,i),s.push({event:b,listeners:v}),y?b.data=y:(y=fr(n),y!==null&&(b.data=y)))),(y=sr?mr(e,n):hr(e,n))&&(b=tp(r,`onBeforeInput`),0<b.length&&(v=new Gn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:v,listeners:b}),v.data=y)),Uf(s,e,r,n,i)}qf(s,t)})}function ep(e,t,n){return{instance:e,listener:t,currentTarget:n}}function tp(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=bn(e,n),i!=null&&r.unshift(ep(e,i,a)),i=bn(e,t),i!=null&&r.push(ep(e,i,a))),e.tag===3)return r;e=e.return}return[]}function np(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function rp(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=bn(n,a),l!=null&&o.unshift(ep(n,l,c))):i||(l=bn(n,a),l!=null&&o.push(ep(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var ip=/\r\n?/g,ap=/\u0000|\uFFFD/g;function op(e){return(typeof e==`string`?e:``+e).replace(ip,`-`).replace(ap,``)}function sp(e,t){return t=op(t),op(e)===t}function cp(e,t,n,r,a,o){switch(n){case`children`:if(typeof r==`string`)t===`body`||t===`textarea`&&r===``||rn(e,r);else if(typeof r==`number`||typeof r==`bigint`)t!==`body`&&rn(e,``+r);else return;break;case`className`:Ht(e,`class`,r);break;case`tabIndex`:Ht(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Ht(e,n,r);break;case`style`:sn(e,r,o);return;case`data`:if(t!==`object`){Ht(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)||r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=dn(r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&cp(e,t,`name`,a.name,a,null),cp(e,t,`formEncType`,a.formEncType,a,null),cp(e,t,`formMethod`,a.formMethod,a,null),cp(e,t,`formTarget`,a.formTarget,a,null)):(cp(e,t,`encType`,a.encType,a,null),cp(e,t,`method`,a.method,a,null),cp(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=dn(r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=fn);return;case`onScroll`:r!=null&&Jf(`scroll`,e);return;case`onScrollEnd`:r!=null&&Jf(`scrollend`,e);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=dn(r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Jf(`beforetoggle`,e),Jf(`toggle`,e),Vt(e,`popover`,r);break;case`xlinkActuate`:Ut(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Ut(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Ut(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Ut(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Ut(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Ut(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Ut(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Ut(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Ut(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Vt(e,`is`,r);break;case`innerText`:case`textContent`:return;default:if(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)n=ln.get(n)||n,Vt(e,n,r);else return}zt=!0}function lp(e,t,n,r,a,o){switch(n){case`style`:sn(e,r,o);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`children`:if(typeof r==`string`)rn(e,r);else if(typeof r==`number`||typeof r==`bigint`)rn(e,``+r);else return;break;case`onScroll`:r!=null&&Jf(`scroll`,e);return;case`onScrollEnd`:r!=null&&Jf(`scrollend`,e);return;case`onClick`:r!=null&&(e.onclick=fn);return;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:return;case`innerText`:case`textContent`:return;default:if(!Mt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),o=n.slice(2,a?n.length-7:void 0),t=e[_t]||null,t=t==null?null:t[n],typeof t==`function`&&e.removeEventListener(o,t,a),typeof r==`function`)){typeof t!=`function`&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(o,r,a);break a}zt=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,``):Vt(e,n,r)}return}zt=!0}function up(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Jf(`error`,e),Jf(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:cp(e,t,o,s,n,null)}}a&&cp(e,t,`srcSet`,n.srcSet,n,null),r&&cp(e,t,`src`,n.src,n,null);return;case`input`:Jf(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:cp(e,t,r,d,n,null)}}Qt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Jf(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:cp(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&en(e,!!r,n,!0):en(e,!!r,t,!1);return;case`textarea`:for(s in Jf(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:cp(e,t,s,c,n,null)}nn(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:cp(e,t,l,r,n,null)}return;case`dialog`:Jf(`beforetoggle`,e),Jf(`toggle`,e),Jf(`cancel`,e),Jf(`close`,e);break;case`iframe`:case`object`:Jf(`load`,e);break;case`video`:case`audio`:for(r=0;r<Gf.length;r++)Jf(Gf[r],e);break;case`image`:Jf(`error`,e),Jf(`load`,e);break;case`details`:Jf(`toggle`,e);break;case`embed`:case`source`:case`link`:Jf(`error`,e),Jf(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:cp(e,t,u,r,n,null)}return;default:if(cn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&lp(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&cp(e,t,c,r,n,null))}var dp={};function fp(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||cp(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:m!==f&&(zt=!0),o=m;break;case`name`:m!==f&&(zt=!0),a=m;break;case`checked`:m!==f&&(zt=!0),u=m;break;case`defaultChecked`:m!==f&&(zt=!0),d=m;break;case`value`:m!==f&&(zt=!0),s=m;break;case`defaultValue`:m!==f&&(zt=!0),c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&cp(e,t,p,m,r,f)}}Zt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||cp(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:o!==l&&(zt=!0),p=o;break;case`defaultValue`:o!==l&&(zt=!0),c=o;break;case`multiple`:o!==l&&(zt=!0),s=o;default:o!==l&&cp(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?en(e,!!n,n?[]:``,!1):en(e,!!n,t,!0)):en(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:cp(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:a!==o&&(zt=!0),p=a;break;case`defaultValue`:a!==o&&(zt=!0),m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&cp(e,t,s,a,r,o)}tn(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:cp(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:p!==m&&(zt=!0),e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:cp(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&cp(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:cp(e,t,u,p,r,m)}return;default:if(cn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&lp(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||lp(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&cp(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||cp(e,t,f,p,r,m)}function pp(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function mp(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&pp(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&pp(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var hp=null,gp=null;function _p(e){return e.nodeType===9?e:e.ownerDocument}function vp(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function yp(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function bp(e,t,n,r){return n=_p(n).createElement(e),n[gt]=r,n[_t]=t,up(n,e,t),kt(n),n}function xp(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Sp=null;function Cp(){var e=window.event;return e&&e.type===`popstate`?e!==Sp&&(Sp=e,!0):(Sp=null,!1)}var wp=typeof setTimeout==`function`?setTimeout:void 0,Tp=typeof clearTimeout==`function`?clearTimeout:void 0,Ep=typeof Promise==`function`?Promise:void 0,Dp=typeof requestAnimationFrame==`function`?requestAnimationFrame:wp,Op=typeof queueMicrotask==`function`?queueMicrotask:Ep===void 0?wp:function(e){return Ep.resolve(null).then(e).catch(kp)};function kp(e){setTimeout(function(){throw e})}function Ap(e){return e===`head`}function jp(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Xh(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)Tm(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,Tm(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[W]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&Tm(e.ownerDocument.body)}n=i}while(n);Xh(t)}function Mp(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function Np(e,t,n){if(t=CSS.escape(t)===t?t:`r-`+btoa(t).replace(/=/g,``),e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display===`inline`){if(t=e.getClientRects(),t.length===1)var r=1;else for(var i=r=0;i<t.length;i++){var a=t[i];0<a.width&&0<a.height&&r++}r===1&&(e=e.style,e.display=t.length===1?`inline-block`:`block`,e.marginTop=`-`+n.paddingTop,e.marginBottom=`-`+n.paddingBottom)}}function Pp(e,t){e=e.style,t=t.style;var n=t==null?null:t.hasOwnProperty(`viewTransitionName`)?t.viewTransitionName:t.hasOwnProperty(`view-transition-name`)?t[`view-transition-name`]:null;e.viewTransitionName=n==null||typeof n==`boolean`?``:(``+n).trim(),n=t==null?null:t.hasOwnProperty(`viewTransitionClass`)?t.viewTransitionClass:t.hasOwnProperty(`view-transition-class`)?t[`view-transition-class`]:null,e.viewTransitionClass=n==null||typeof n==`boolean`?``:(``+n).trim(),e.display===`inline-block`&&(t==null?e.display=e.margin=``:(n=t.display,e.display=n==null||typeof n==`boolean`?``:n,n=t.margin,n==null?(n=t.hasOwnProperty(`marginTop`)?t.marginTop:t[`margin-top`],e.marginTop=n==null||typeof n==`boolean`?``:n,t=t.hasOwnProperty(`marginBottom`)?t.marginBottom:t[`margin-bottom`],e.marginBottom=t==null||typeof t==`boolean`?``:t):e.margin=n))}function Fp(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position===`absolute`||t.position===`fixed`,clip:t.clipPath!==`none`||t.overflow!==`visible`||t.filter!==`none`||t.mask!==`none`||t.mask!==`none`||t.borderRadius!==`0px`,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Ip(e){return Fp(e.getBoundingClientRect(),getComputedStyle(e),e)}function Lp(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return Fp(t,n,e)}function Rp(e){return e.documentElement.clientHeight}function zp(e){this.addEventListener(`load`,e),this.addEventListener(`error`,e)}function Bp(e,t,n,r,i,a,o,s,c){var l=t.nodeType===9?t:t.ownerDocument;try{var u=l.startViewTransition({update:function(){var t=l.defaultView,n=t.navigation&&t.navigation.transition,o=l.fonts.status;r();var s=[];if(o===`loaded`&&(Rp(l),l.fonts.status===`loading`&&s.push(l.fonts.ready)),o=s.length,e!==null)for(var c=e.suspenseyImages,u=0,d=0;d<c.length;d++){var f=c[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if(u+=ih(f),u>sh){s.length=o;break}f=new Promise(zp.bind(f)),s.push(f)}}}if(0<s.length)return t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(i,i),(n?Promise.allSettled([n.finished,t]):t).then(a,a);if(i(),n)return n.finished.then(a,a);a()},types:n});l.__reactViewTransition=u;var d=[];return u.ready.then(function(){for(var e=l.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,i=r.pseudoElement;if(i!=null&&i.startsWith(`::view-transition`)){d.push(n),n=r.getKeyframes();for(var a=i=void 0,s=!0,c=0;c<n.length;c++){var u=n[c],f=u.width;if(i===void 0)i=f;else if(i!==f){s=!1;break}if(f=u.height,a===void 0)a=f;else if(a!==f){s=!1;break}delete u.width,delete u.height,u.transform===`none`&&delete u.transform}s&&i!==void 0&&a!==void 0&&(r.setKeyframes(n),s=getComputedStyle(r.target,r.pseudoElement),s.width!==i||s.height!==a)&&(s=n[0],s.width=i,s.height=a,s=n[n.length-1],s.width=i,s.height=a,r.setKeyframes(n))}}o()},function(e){l.__reactViewTransition===u&&(l.__reactViewTransition=null);try{if(typeof e==`object`&&e)switch(e.name){case`InvalidStateError`:(e.message===`View transition was skipped because document visibility state is hidden.`||e.message===`Skipping view transition because document visibility state has become hidden.`||e.message===`Skipping view transition because viewport size changed.`||e.message===`Transition was aborted because of invalid state`)&&(e=null)}e!==null&&c(e)}finally{r(),i(),o()}}),u.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();l.__reactViewTransition===u&&(l.__reactViewTransition=null),s()}),u}catch{return r(),i(),o(),null}}function Vp(e,t){this._scope=document.documentElement,this._selector=`::view-transition-`+e+`(`+t+`)`}Vp.prototype.animate=function(e,t){return t=typeof t==`number`?{duration:t}:w({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Vp.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],i=0;i<n.length;i++){var a=n[i].effect;a!==null&&a.target===e&&a.pseudoElement===t&&r.push(n[i])}return r},Vp.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Hp(e){return{name:e,group:new Vp(`group`,e),imagePair:new Vp(`image-pair`,e),old:new Vp(`old`,e),new:new Vp(`new`,e)}}function Up(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Up.prototype.addEventListener=function(e,t,n){var r=null,i=null;if(!(n!=null&&typeof n!=`boolean`&&(r=n.signal||null,r!==null&&r.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var a=this._eventListeners;if(Jp(a,e,t,n)===-1){var o=this,s=t;n!=null&&typeof n!=`boolean`&&!0===n.once&&(s=function(r){o.removeEventListener(e,t,n),typeof t==`function`?t.call(this,r):t.handleEvent(r)}),r!==null&&(i=o.removeEventListener.bind(o,e,t,n),r.addEventListener(`abort`,i,{once:!0}),i=r.removeEventListener.bind(r,`abort`,i)),r=Kp(n),a.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:i}),f(this._fragmentFiber.child,!1,Wp,e,s,r)}this._eventListeners=a}};function Wp(e,t,n,r){return _(e).addEventListener(t,n,r),!1}Up.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(r!==null&&(t=Jp(r,e,t,n),t!==-1)){var i=r[t];n=i.attachedListener;var a=i.cleanup;i=Kp(i.optionsOrUseCapture),f(this._fragmentFiber.child,!1,Gp,e,n,i),r.splice(t,1),a!==null&&a()}};function Gp(e,t,n,r){return _(e).removeEventListener(t,n,r),!1}function Kp(e){return e!=null&&typeof e!=`boolean`&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function qp(e){return e==null?`c=0`:typeof e==`boolean`?`c=`+(e?`1`:`0`):`c=`+(e.capture?`1`:`0`)}function Jp(e,t,n,r){if(e.length===0)return-1;r=qp(r);for(var i=0;i<e.length;i++){var a=e[i];if(a.type===t&&a.listener===n&&qp(a.optionsOrUseCapture)===r)return i}return-1}Up.prototype.dispatchEvent=function(e){var t=p(this._fragmentFiber);if(t===null)return!0;t=_(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var r=t.nodeType===9?t.createComment(``):document.createTextNode(``);if(n)for(var i=0;i<n.length;i++){var a=n[i];r.addEventListener(a.type,a.attachedListener,Kp(a.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(i=0;i<n.length;i++)a=n[i],r.removeEventListener(a.type,a.attachedListener,Kp(a.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},Up.prototype.focus=function(e){f(this._fragmentFiber.child,!0,Yp,e,void 0,void 0)};function Yp(e,t){return e.tag!==6&&(e=_(e),xm(e,t))}Up.prototype.focusLast=function(e){var t=[];f(this._fragmentFiber.child,!0,Xp,t,void 0,void 0);for(var n=t.length-1;0<=n&&!Yp(t[n],e);n--);};function Xp(e,t){return t.push(e),!1}Up.prototype.blur=function(){var e=p(this._fragmentFiber);e!==null&&(e=_(e),e=_p(e).activeElement,e!==null&&f(this._fragmentFiber.child,!1,Zp,e,void 0,void 0))};function Zp(e,t){return e.tag!==6&&(e=_(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Up.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),f(this._fragmentFiber.child,!1,Qp,e,void 0,void 0)};function Qp(e,t){return e.tag===6||(e=_(e),t.observe(e)),!1}Up.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),f(this._fragmentFiber.child,!1,$p,e,void 0,void 0);for(var n=t=0;n<em.length;n++){var r=em[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):em[t++]=r}em.length=t}};function $p(e,t){return e.tag===6||(e=_(e),t.unobserve(e)),!1}var em=[],tm=!1;function nm(e,t,n){em.push({fragmentInstance:e,observer:t,instance:n}),tm||(tm=!0,Sm(function(){tm=!1;var e=em;em=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}}))}Up.prototype.getClientRects=function(){var e=[];return f(this._fragmentFiber.child,!1,rm,e,void 0,void 0),e};function rm(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=_(e),t.push.apply(t,e.getClientRects());return!1}Up.prototype.getRootNode=function(e){var t=p(this._fragmentFiber);return t===null?this:_(t).getRootNode(e)},Up.prototype.compareDocumentPosition=function(e){var t=p(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];f(this._fragmentFiber.child,!1,Xp,n,void 0,void 0);var r=_(t);if(n.length===0){if(n=r,m(this._fragmentFiber)){a:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break a}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var i=r=n.compareDocumentPosition(e);return n===e?i=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=h(t)[1],n===null?i=Node.DOCUMENT_POSITION_PRECEDING:(e=_(n).compareDocumentPosition(e),i=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),i|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=_(n[0]),i=_(n[n.length-1]);var a=m(this._fragmentFiber)?t.parentElement:r;if(a==null)return Node.DOCUMENT_POSITION_DISCONNECTED;r=a.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=a.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY;var o=t.compareDocumentPosition(e),s=i.compareDocumentPosition(e),c=o&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&a&&o&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=r&&t===e||a&&i===e||c||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!a&&i===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:o,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||im(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function im(e,t,n,r,i){var a=Tt(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!a)a:{for(;a!==null;){if(a.tag===7&&(a===t||a.alternate===t)){n=!0;break a}a=a.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(a===null)return a=i.ownerDocument,i===a||i===a.documentElement||i===a.body;a:{for(a=t,t=p(t);a!==null;){if(!(a.tag!==5&&a.tag!==3&&a.tag!==27||a!==t&&a.alternate!==t)){a=!0;break a}a=a.return}a=!1}return a}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!a)&&!(t=a===n)&&(t=C(n,a,S),t===null?t=!1:(f(t,!0,b,a,n),a=v,v=null,t=a!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!a)&&!(t=a===r)&&(t=C(r,a,S),t===null?t=!1:(f(t,!0,x,a,r),a=v,y=v=null,t=a!==null)),t):!1}function am(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Up.prototype.scrollIntoView=function(e){if(typeof e==`object`)throw Error(i(566));var t=[];f(this._fragmentFiber.child,!1,Xp,t,void 0,void 0);var n=!1!==e;if(t.length===0){var r=h(this._fragmentFiber);if(r=n?r[1]||r[0]||p(this._fragmentFiber):r[0]||r[1],r===null)return;if(r.tag===6){e=_(r),am(e,n);return}if(r=_(r),r.nodeType!==9){if(r.nodeType===11){n=`host`in r?r.host:null,n!==null&&n.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var a=t[r];a.tag===6?(a=_(a),am(a,n)):_(a).scrollIntoView(e),r+=n?-1:1}};function om(e,t){return e=_(e),sm(e,t),!1}function sm(e,t){e.reactFragments??=new Set,e.reactFragments.add(t)}function cm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.addEventListener(i.type,i.attachedListener,Kp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){for(var r=0,i=0;i<em.length;i++){var a=em[i];(a.fragmentInstance!==t||a.observer!==n||a.instance!==e)&&(em[r++]=a)}em.length=r,n.observe(e)}),sm(e,t))}function lm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.removeEventListener(i.type,i.attachedListener,Kp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){typeof n.rootMargin==`string`?nm(t,n,e):n.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function um(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:um(n),wt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function dm(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[W])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=_m(e.nextSibling),e===null)break}return null}function fm(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=_m(e.nextSibling),e===null))return null;return e}function pm(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=_m(e.nextSibling),e===null))return null;return e}function mm(e){return e.data===`$?`||e.data===`$~`}function hm(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function gm(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function _m(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var vm=null;function ym(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return _m(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function bm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function xm(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener(`focus`,n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener(`focus`,n,!0)}return r}function Sm(e){Dp(function(){Dp(function(t){return e(t)})})}function Cm(e,t,n){switch(t=_p(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function wm(e,t,n){for(var r in n){var i=n[r];n.hasOwnProperty(r)&&i!=null&&cp(e,t,r,null,dp,i)}n.dangerouslySetInnerHTML!=null&&(e.textContent=``),e.onclick===fn&&(e.onclick=null),wt(e)}function Tm(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);wt(e)}var Em=new Map,Dm=new Set;function Om(e){if(typeof e.getRootNode==`function`){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var km=oe.d;oe.d={f:Am,r:jm,D:Pm,C:Fm,L:Im,m:Lm,X:zm,S:Rm,M:Bm};function Am(){var e=km.f(),t=Gd();return e||t}function jm(e){var t=Et(e);t!==null&&t.tag===5&&t.type===`form`?tc(t):km.r(e)}var Mm=typeof document>`u`?null:document;function Nm(e,t,n){var r=Mm;if(r&&typeof t==`string`&&t){var i=Xt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),Dm.has(i)||(Dm.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),up(t,`link`,e),kt(t),r.head.appendChild(t)))}}function Pm(e){km.D(e),Nm(`dns-prefetch`,e,null)}function Fm(e,t){km.C(e,t),Nm(`preconnect`,e,t)}function Im(e,t,n){km.L(e,t,n);var r=Mm;if(r&&e&&t){var i=`link[rel="preload"][as="`+Xt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Xt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Xt(n.imageSizes)+`"]`)):i+=`[href="`+Xt(e)+`"]`;var a=i;switch(t){case`style`:a=Hm(e);break;case`script`:a=Km(e)}if(!(Em.has(a)||(e=w({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),Em.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Um(a))||t===`script`&&r.querySelector(qm(a))))){var o=r.createElement(`link`);up(o,`link`,e),t===`style`&&(o[Ct]=!0,o.onload=o.onerror=function(){At(o)}),kt(o),r.head.appendChild(o)}}}function Lm(e,t){km.m(e,t);var n=Mm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Xt(r)+`"][href="`+Xt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Km(e)}if(!Em.has(a)&&(e=w({rel:`modulepreload`,href:e},t),Em.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(qm(a)))return}r=n.createElement(`link`),up(r,`link`,e),kt(r),n.head.appendChild(r)}}}function Rm(e,t,n){km.S(e,t,n);var r=Mm;if(r&&e){var i=Ot(r).hoistableStyles,a=Hm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Um(a)))s.loading=5;else{e=w({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=Em.get(a))&&Xm(e,n);var c=o=r.createElement(`link`);kt(c),up(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Ym(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function zm(e,t){km.X(e,t);var n=Mm;if(n&&e){var r=Ot(n).hoistableScripts,i=Km(e),a=r.get(i);a||(a=n.querySelector(qm(i)),a||(e=w({src:e,async:!0},t),(t=Em.get(i))&&Zm(e,t),a=n.createElement(`script`),kt(a),up(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Bm(e,t){km.M(e,t);var n=Mm;if(n&&e){var r=Ot(n).hoistableScripts,i=Km(e),a=r.get(i);a||(a=n.querySelector(qm(i)),a||(e=w({src:e,async:!0,type:`module`},t),(t=Em.get(i))&&Zm(e,t),a=n.createElement(`script`),kt(a),up(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Vm(e,t,n,r){var a=(a=he.current)?Om(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Hm(n.href),t=Ot(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Hm(n.href);var o=Ot(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Um(e)))?o._p||(s.instance=o,s.state.loading=5):(o=Em.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Em.set(e,o)),Gm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Km(n),t=Ot(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Hm(e){return`href="`+Xt(e)+`"`}function Um(e){return`link[rel="stylesheet"][`+e+`]`}function Wm(e){return w({},e,{"data-precedence":e.precedence,precedence:null})}function Gm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[Ct]){r.loading=1;return}}else t=e.createElement(`link`),t[Ct]=!0,t.onload=t.onerror=At.bind(null,t),up(t,`link`,n),kt(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Km(e){return`[src="`+Xt(e)+`"]`}function qm(e){return`script[async]`+e}function Jm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Xt(n.href)+`"]`);if(r)return t.instance=r,kt(r),r;var a=w({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),kt(r),up(r,`style`,a),Ym(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Hm(n.href);var o=e.querySelector(Um(a));if(o)return t.state.loading|=4,t.instance=o,kt(o),o;r=Wm(n),(a=Em.get(a))&&Xm(r,a),o=(e.ownerDocument||e).createElement(`link`),kt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),up(o,`link`,r),t.state.loading|=4,Ym(o,n.precedence,e),t.instance=o;case`script`:return o=Km(n.src),(a=e.querySelector(qm(o)))?(t.instance=a,kt(a),a):(r=n,(a=Em.get(o))&&(r=w({},n),Zm(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),kt(a),up(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Ym(r,n.precedence,e));return t.instance}function Ym(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Xm(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Zm(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Qm=null;function $m(e,t,n){if(Qm===null){var r=new Map,i=Qm=new Map;i.set(n,r)}else i=Qm,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[W]||a[gt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function eh(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function th(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function nh(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function rh(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function ih(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function ah(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=ih(t),e.suspenseyImages.push(t)),e=dh.bind(e),t.decode().then(e,e))}function oh(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Hm(r.href),a=t.querySelector(Um(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=uh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,kt(a);return}a=t.ownerDocument||t,r=Wm(r),(i=Em.get(i))&&Xm(r,i),a=a.createElement(`link`),kt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),up(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=uh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var sh=0;function ch(e,t){return e.stylesheets&&e.count===0&&ph(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&ph(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&sh===0&&(sh=62500*mp());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ph(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>sh?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function lh(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ph(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function uh(){this.count--,lh(this)}function dh(){this.imgCount--,lh(this)}var fh=null;function ph(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,fh=new Map,t.forEach(mh,e),fh=null,uh.call(e))}function mh(e,t){if(!(t.state.loading&4)){var n=fh.get(e);if(n)var r=n.get(null);else{n=new Map,fh.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=uh.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var hh={$$typeof:M,Provider:null,Consumer:null,_currentValue:se,_currentValue2:se,_threadCount:0};function gh(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=at(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=at(0),this.hiddenUpdates=at(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.transitionTypes=null,this.incompleteTransitions=new Map}function _h(e,t,n,r,i,a,o,s,c,l,u,d){return e=new gh(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=Ei(3,null,null,t),e.current=a,a.stateNode=e,t=Da(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},lo(a),e}function vh(e){return e?(e=wi,e):wi}function yh(e,t,n,r,i,a){i=vh(i),r.context===null?r.context=i:r.pendingContext=i,r=fo(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=po(e,r,t),n!==null&&(Bd(n,e,t),mo(n,e,t))}function bh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function xh(e,t){bh(e,t),(e=e.alternate)&&bh(e,t)}function Sh(e){if(e.tag===13||e.tag===31){var t=xi(e,67108864);t!==null&&Bd(t,e,67108864),xh(e,67108864)}}function Ch(e){if(e.tag===13||e.tag===31){var t=Ld();t=dt(t);var n=xi(e,t);n!==null&&Bd(n,e,t),xh(e,t)}}var wh=!0;function Th(e,t,n,r){var i=H.T;H.T=null;var a=oe.p;try{oe.p=2,Dh(e,t,n,r)}finally{oe.p=a,H.T=i}}function Eh(e,t,n,r){var i=H.T;H.T=null;var a=oe.p;try{oe.p=8,Dh(e,t,n,r)}finally{oe.p=a,H.T=i}}function Dh(e,t,n,r){if(wh){var i=Oh(r);if(i===null)$f(e,t,r,kh,n),Bh(e,r);else if(Hh(i,e,t,n,r))r.stopPropagation();else if(Bh(e,r),t&4&&-1<zh.indexOf(e)){for(;i!==null;){var a=Et(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=$e(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ke(o);s.entanglements[1]|=c,o&=~c}Nf(a),!(td&6)&&(Sd=Pe()+500,Pf(0,!1))}}break;case 31:case 13:s=xi(a,2),s!==null&&Bd(s,a,2),Gd(),xh(a,2)}if(a=Oh(r),a===null&&$f(e,t,r,kh,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else $f(e,t,r,null,n)}}function Oh(e){return e=mn(e),Ah(e)}var kh=null;function Ah(e){if(kh=null,e=Tt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return kh=e,null}function jh(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`fullscreenerror`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`resize`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Fe()){case Ie:return 2;case Le:return 8;case Re:case ze:return 32;case Be:return 268435456;default:return 32}default:return 32}}var Mh=!1,Nh=null,Ph=null,Fh=null,Ih=new Map,Lh=new Map,Rh=[],zh=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Bh(e,t){switch(e){case`focusin`:case`focusout`:Nh=null;break;case`dragenter`:case`dragleave`:Ph=null;break;case`mouseover`:case`mouseout`:Fh=null;break;case`pointerover`:case`pointerout`:Ih.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Lh.delete(t.pointerId)}}function Vh(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Et(t),t!==null&&Sh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Hh(e,t,n,r,i){switch(t){case`focusin`:return Nh=Vh(Nh,e,t,n,r,i),!0;case`dragenter`:return Ph=Vh(Ph,e,t,n,r,i),!0;case`mouseover`:return Fh=Vh(Fh,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Ih.set(a,Vh(Ih.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Lh.set(a,Vh(Lh.get(a)||null,e,t,n,r,i)),!0}return!1}function Uh(e){var t=Tt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,mt(e.priority,function(){Ch(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,mt(e.priority,function(){Ch(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Wh(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Oh(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);pn=r,n.target.dispatchEvent(r),pn=null}else return t=Et(n),t!==null&&Sh(t),e.blockedOn=n,!1;t.shift()}return!0}function Gh(e,t,n){Wh(e)&&n.delete(t)}function Kh(){Mh=!1,Nh!==null&&Wh(Nh)&&(Nh=null),Ph!==null&&Wh(Ph)&&(Ph=null),Fh!==null&&Wh(Fh)&&(Fh=null),Ih.forEach(Gh),Lh.forEach(Gh)}function qh(e,n){e.blockedOn===n&&(e.blockedOn=null,Mh||(Mh=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Kh)))}var Jh=null;function Yh(e){Jh!==e&&(Jh=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Jh===e&&(Jh=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(Ah(r||n)===null)continue;break}var a=Et(n);a!==null&&(e.splice(t,3),t-=3,$s(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Xh(e){function t(t){return qh(t,e)}Nh!==null&&qh(Nh,e),Ph!==null&&qh(Ph,e),Fh!==null&&qh(Fh,e),Ih.forEach(t),Lh.forEach(t);for(var n=0;n<Rh.length;n++){var r=Rh[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Rh.length&&(n=Rh[0],n.blockedOn===null);)Uh(n),n.blockedOn===null&&Rh.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[_t]||null;if(typeof a==`function`)o||Yh(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[_t]||null)s=o.formAction;else if(Ah(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Yh(n)}}}function Zh(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Qh(e){this._internalRoot=e}$h.prototype.render=Qh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;yh(n,Ld(),e,t,null,null)},$h.prototype.unmount=Qh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;yh(e.current,2,null,e,null,null),Gd(),t[vt]=null}};function $h(e){this._internalRoot=e}$h.prototype.unstable_scheduleHydration=function(e){if(e){var t=pt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rh.length&&t!==0&&t<Rh[n].priority;n++);Rh.splice(n,0,e),n===0&&Uh(e)}};var eg=n.version;if(eg!==`19.3.0`)throw Error(i(527,eg,`19.3.0`));oe.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var tg={bundleType:0,version:`19.3.0`,rendererPackageName:`react-dom`,currentDispatcherRef:H,reconcilerVersion:`19.3.0`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var ng=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ng.isDisabled&&ng.supportsFiber)try{Ue=ng.inject(tg),We=ng}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Sc,s=Cc,c=wc;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=_h(e,1,!1,null,null,n,r,null,o,s,c,Zh),e[vt]=t.current,Zf(e),new Qh(t)}})),NY=o(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=MY()}))();function PY({active:e,summary:t,generating:n,writing:r,resetting:i=!1,scroll:a,children:o}){let s=(0,U.useRef)(null),c=(0,U.useRef)(null),[l,u]=(0,U.useState)(!1);(0,U.useEffect)(()=>{if(!e||!n||!s.current){u(!1);return}let t=!1,r=()=>u(t&&!document.hidden),i=new IntersectionObserver(([e])=>{t=e.isIntersecting,r()});return i.observe(s.current),document.addEventListener(`visibilitychange`,r),()=>{i.disconnect(),document.removeEventListener(`visibilitychange`,r)}},[e,n]);let d=$J(a,c,e&&r&&l);return(0,U.useLayoutEffect)(()=>{r&&d.resume()},[r]),(0,U.useLayoutEffect)(()=>{i&&a.current&&(a.current.scrollTop=0)},[i,a]),(0,G.jsxs)(`div`,{ref:s,className:`note-reading-frame`,hidden:!e,"data-resetting":i,"data-generating":n,"data-active":e&&n&&l,children:[(0,G.jsx)(`div`,{className:`note-reading-clip`,children:(0,G.jsx)(Jh,{enabled:e,children:(0,G.jsx)(`section`,{ref:a,id:`note-notes-panel`,role:`tabpanel`,"aria-labelledby":t?`note-summary-tab`:`note-notes-tab`,className:`note-content note-notes-pane`,children:(0,G.jsx)(`div`,{ref:c,className:`note-page-width note-notes-body`,children:o})})})}),d.behind&&(0,G.jsxs)(`button`,{type:`button`,className:`workspace-button note-latest`,"data-testid":`note-summary-latest`,onClick:d.latest,children:[(0,G.jsx)(og,{size:12,"aria-hidden":`true`}),W(`Latest`)]})]})}function FY(e,t){return e?e.status!==t.status||e.status!==`done`&&(e.status!==`failed`&&e.status!==`stopped`||e.enhanced==null)||t.rewrittenFrom!==void 0&&(e.enhanced??``)===t.rewrittenFrom?{view:{...t,mine:e.mine}}:{view:{...t,mine:e.mine,enhanced:e.enhanced},...t.rewrittenFrom===void 0?{}:{keptEdits:!0}}:{view:t}}ch.transition.check,ch.transition.uncheck,{...ch.spring.checkPop},ch.transition.check.delay,ch.transition.popOut,ch.spring.bounce;var IY=ch.scale.icon,LY=2,RY=`path, line, polyline, polygon, circle, ellipse, rect`,zY=new WeakMap,BY=[`pathLength`,`stroke-dasharray`,`stroke-dashoffset`];function VY(e,t,n){let r=n===1;if(t.mode===`stroke`&&(r||t.reduce?BY.forEach((n,r)=>{let i=t.dash[r];i==null?e.removeAttribute(n):e.setAttribute(n,i)}):(e.setAttribute(`pathLength`,`1`),e.setAttribute(`stroke-dasharray`,`${Math.min(1,Math.max(0,n))} 1`),e.setAttribute(`stroke-dashoffset`,`0`))),t.mode===`pop`){let i=r||t.reduce||n===0&&t.blur>0;e.style.transform=i?t.inlineTransform:`scale(${t.from+(1-t.from)*n})`,t.blur&&(e.style.filter=i?t.inlineFilter:`blur(${t.blur*(1-Math.min(1,Math.max(0,n)))}px)`)}e.style.opacity=r?t.inlineOpacity:String(t.opacity*Math.min(1,Math.max(0,n)))}var HY=({kind:e,animation:t})=>e===`dot`||t===`pop`;function UY(e,t){return HY(t)?e:e.flatMap(e=>{let t=e.matches(RY)?[e]:Array.from(e.querySelectorAll(RY));return t.length>0?t:[e]})}function WY(e,t,n){let r=zY.get(e);if(!r){let i=HY(t);i&&t.kind===`check`&&e instanceof HTMLElement&&getComputedStyle(e).display===`inline`&&(e.style.display=`inline-block`),r={mode:i?`pop`:e instanceof SVGGeometryElement?`stroke`:`fade`,from:t.kind===`dot`?0:IY,blur:t.kind===`dot`?0:LY,progress:_o(1),opacity:Number(getComputedStyle(e).opacity),inlineOpacity:e.style.opacity,inlineTransform:e.style.transform,inlineFilter:e.style.filter,dash:BY.map(t=>e.getAttribute(t)),reduce:n,controls:null,unsubscribe:()=>{}};let a=r;r.unsubscribe=r.progress.on(`change`,t=>VY(e,a,t)),zY.set(e,r)}return r.reduce=n,r}function GY(e){for(let t of e)for(let e of[t,...Array.from(t.querySelectorAll(RY))]){let t=zY.get(e);t&&(t.controls?.stop(),t.unsubscribe(),VY(e,t,1),zY.delete(e))}}function KY(e,t,n,r,i){let a=e.map(e=>{let a=!zY.has(e),o=WY(e,t,i);o.controls?.stop(),a&&n&&o.progress.jump(0);let s=_f(o.progress,+!!n,r);return o.controls=s,s});return Promise.all(a).then(()=>void 0)}function qY(...e){return t=>{let n=e.map(e=>{if(typeof e==`function`)return e(t);e&&(e.current=t)});return()=>{n.forEach((t,n)=>{let r=e[n];typeof t==`function`?t():typeof r==`function`?r(null):r&&(r.current=null)})}}}var JY=`[data-slot="toast-icon"]`;function YY(e){return e.querySelector(JY)?.firstElementChild??null}function XY(e,t){let n=e.getAttribute(t);return n?e.ownerDocument.getElementById(n):null}var ZY=[`font`,`letterSpacing`,`lineHeight`,`textAlign`,`whiteSpace`,`overflowWrap`,`wordBreak`];function QY(e){if(!e||!e.isConnected)return null;let t=e.getBoundingClientRect();if(t.width===0&&t.height===0)return null;let n=getComputedStyle(e),r=e.cloneNode(!0);for(let e of[r,...r.querySelectorAll(`[id], [data-slot]`)])e.removeAttribute(`id`),e.removeAttribute(`data-slot`);if(r instanceof HTMLElement)for(let e of ZY)r.style[e]=n[e];let i=e.getAnimations().find(e=>e instanceof CSSAnimation)?.currentTime;return{element:r,rect:t,text:e.textContent??``,opacity:Number(n.opacity),filter:n.filter,color:n.color,time:typeof i==`number`?i:null}}function $Y(e){if(!e)return null;let t=e.getBoundingClientRect();return{root:t,height:e.offsetHeight,scale:e.offsetWidth?t.width/e.offsetWidth:1,icon:QY(YY(e)),title:QY(XY(e,`aria-labelledby`)),description:QY(XY(e,`aria-describedby`))}}var eX=class extends U.Component{getSnapshotBeforeUpdate(e){return this.props.watch.some((t,n)=>!Object.is(t,e.watch[n]))?this.props.take():null}componentDidUpdate(e,t,n){n&&this.props.onUpdate(n)}render(){return this.props.children}},tX=[`success`,`error`];function nX(e,t,n,r,i){GY([e]);let a=tX.includes(t??``),o={kind:`check`,animation:a?`draw`:`pop`},s=a?{...r.transition.check,delay:n}:{...r.spring.checkPop,delay:n};if(KY(UY([e],o),o,!0,s,i),t===`error`&&!i){let t=r.transition.check;rX(e,(n+t.duration/2)*1e3,r)}}function rX(e,t,n){let{duration:r,ease:i}=n.transition.shake,a=`cubic-bezier(${i.join(`, `)})`;e.animate([0,-1,1,-.66,.66,-.33,0].map(e=>({transform:`translateX(${e*n.shift.shake}px)`,easing:a})),{duration:r*1e3,delay:t})}function iX(e,t,n){let{element:r,rect:i}=t,a=n.scale||1,o=e.ownerDocument.createElement(`div`);if(o.setAttribute(`aria-hidden`,`true`),o.inert=!0,Object.assign(o.style,{position:`absolute`,left:`${(i.left-n.root.left)/a-e.clientLeft}px`,top:`${(i.top-n.root.top)/a-e.clientTop}px`,width:`${i.width/a}px`,height:`${i.height/a}px`,margin:`0`,pointerEvents:`none`,color:t.color,opacity:String(t.opacity),filter:t.filter}),r instanceof SVGElement&&(r.setAttribute(`width`,`100%`),r.setAttribute(`height`,`100%`),r.style.display=`block`),r instanceof HTMLElement&&(r.style.margin=`0`,r.style.width=`100%`),o.append(r),e.append(o),t.time!==null)for(let e of r.getAnimations())e.currentTime=t.time;return o}var aX=e=>_h(e);function oX(e,t,n,r){let{duration:i,easing:a}=aX(n.transition.swap),o={opacity:e.style.opacity},s={opacity:0};o.filter=e.style.filter===`none`?`blur(0px)`:e.style.filter,s.filter=n.blur.icon,t&&!r&&(o.transform=`scale(1)`,s.transform=`scale(${n.scale.icon})`),e.animate([o,s],{duration:i,easing:a,fill:`forwards`}).finished.then(()=>e.remove(),()=>e.remove())}function sX(e,t){let{duration:n,easing:r}=aX(t.transition.swap);e.animate([{opacity:0,filter:t.blur.icon},{opacity:1,filter:`blur(0px)`}],{duration:n,easing:r})}function cX(e,t,n){let r=e.style.height;e.style.height=`auto`;let i=e.offsetHeight;e.style.height=r,Math.abs(i-t)<1||e.animate([{height:`${t}px`},{height:`${i}px`}],{duration:n.duration,easing:n.easing})}function lX(e,t,n,r,i,a,o){if(!e)return;o||cX(e,t.height,a);let s=getComputedStyle(e).position!==`static`,c=[[t.title,XY(e,`aria-labelledby`)],[t.description,XY(e,`aria-describedby`)]];for(let[n,r]of c){let a=r?.textContent??``;n&&n.text===a&&r||(n&&s&&oX(iX(e,n,t),!1,i,o),r&&a&&sX(r,i))}if(!n)return;t.icon&&s&&oX(iX(e,t.icon,t),!0,i,o);let l=YY(e);l&&nX(l,r,t.icon?i.transition.swap.duration/2:0,i,o)}var uX=.5,dX=48,fX=360,pX=80,mX=100;function hX(e){let t=uX*Math.abs(e);return Math.sign(e)*(t*dX/(dX+t))}function gX(e,t,n){return e===`up`?-n:e===`down`?n:e===`left`?-t:t}function _X(e){let t=e.currentTarget,n=new DOMMatrix(getComputedStyle(t).transform.replace(`none`,``));return{pointerId:e.pointerId,start:{x:e.clientX,y:e.clientY},first:!0,axis:null,initial:{x:n.m41,y:n.m42,scale:Math.hypot(n.a,n.b)},width:t.offsetWidth,height:t.offsetHeight,points:[{t:e.timeStamp,x:e.clientX,y:e.clientY}],releasedAt:null}}function vX(e,t,n){if(t.pointerId!==e.pointerId||e.releasedAt!==null)return;e.first&&=(e.start={x:t.clientX,y:t.clientY},!1);let r=t.clientX-e.start.x,i=t.clientY-e.start.y,a=n.some(e=>e===`left`||e===`right`),o=n.some(e=>e===`up`||e===`down`);e.axis===null&&a&&o&&Math.hypot(r,i)>=1&&(e.axis=Math.abs(r)>Math.abs(i)?`x`:`y`),e.points.push({t:t.timeStamp,x:t.clientX,y:t.clientY}),e.points.length>32&&e.points.shift()}function yX(e,t){let n=e.points.at(-1),r=e.first?0:n.x-e.start.x,i=e.first?0:n.y-e.start.y,a=t.some(e=>e===`left`||e===`right`),o=t.some(e=>e===`up`||e===`down`),s=(e,n,r)=>e>0&&t.includes(n)||e<0&&t.includes(r)?e:hX(e);return{x:a&&e.axis!==`y`?s(r,`right`,`left`):0,y:o&&e.axis!==`x`?s(i,`down`,`up`):0}}function bX(e,t){let{x:n,y:r}=yX(e,t),i=Math.max(0,...t.map(t=>gX(t,n,r)/((t===`left`||t===`right`?e.width:e.height)||1))),{initial:a}=e;return{transform:`translateX(${a.x+n}px) translateY(${a.y+r}px) scale(${a.scale})`,opacity:1-Math.min(1,i)}}function xX(e,t){let n=e.releasedAt??e.points.at(-1).t,r=e.points.filter(e=>n-e.t<=mX),i=r[0],a=r.at(-1),o=i&&a&&a!==i&&n>i.t?gX(t,a.x-i.x,a.y-i.y)/(n-i.t):0,s=t===`left`||t===`right`?e.width:e.height,c=o>0?Math.min(fX,Math.max(pX,s/o)):fX;return{duration:Math.round(c),easing:`linear`}}var SX=`data-animate-ui-toast-progress`,CX=`data-animate-ui-toast-progress-bar`,wX=`-:where([${SX}]) {- position: absolute;- inset: 0;- border-radius: inherit;- overflow: hidden;- pointer-events: none;- opacity: calc(1 - min(1, var(--toast-index, 0)));- transition-property: opacity;- transition-duration: var(--animate-ui-toast-fade-duration, 200ms);- transition-timing-function: var(--animate-ui-toast-fade-ease, ease-out);- transition-delay: var(--animate-ui-toast-cascade, 0ms);-}-:where([data-expanded] > [${SX}]) { opacity: 1; }-:where([${CX}]) {- position: absolute;- inset-inline: 0;- bottom: 0;- height: 2px;- background-color: var(--animate-ui-toast-progress-color, currentColor);- opacity: 0.25;- transform-origin: left;-}-:where([${CX}][data-tinted]) { opacity: 0.8; }-:where([${CX}]:dir(rtl)) { transform-origin: right; }-`,TX=U.createContext(void 0);function EX(){let e=U.useContext(TX);if(!e)throw Error(DH(73));return e}var DX=0;function OX(e){return DX+=1,`${e}-${Math.random().toString(36).slice(2,6)}-${DX}`}function kX(e,t){if(typeof e==`string`)return{description:e};if(typeof e==`function`){let n=e(t);return typeof n==`string`?{description:n}:n}return e}function AX(e){let t=new Map,n=0,r=0;return e.forEach((e,i)=>{let a=e.transitionStatus===`ending`;t.set(e.id,{value:e,domIndex:i,visibleIndex:a?-1:n,offsetY:r}),r+=e.height||0,a||(n+=1)}),t}function jX(e,t){let n=0;return e.map(e=>{if(e.transitionStatus===`ending`)return e;let r=n>=t;return n+=1,e.limited===r?e:{...e,limited:r}})}var MX={toasts:e=>e.toasts,isEmpty:e=>e.toasts.length===0,toast:(e,t)=>e.toastMetadata.get(t)?.value,toastIndex:(e,t)=>e.toastMetadata.get(t)?.domIndex??-1,toastOffsetY:(e,t)=>e.toastMetadata.get(t)?.offsetY??0,toastVisibleIndex:(e,t)=>e.toastMetadata.get(t)?.visibleIndex??-1,focused:e=>e.focused,expanded:e=>e.hovering||e.focused,expandedOrOutOfFocus:e=>e.hovering||e.focused||!e.isWindowFocused,prevFocusElement:e=>e.prevFocusElement},NX=class extends iU{timers=new Map;areTimersPaused=!1;constructor(e){super({...e,toastMetadata:AX(e.toasts)},{},MX)}setViewport=e=>{this.set(`viewport`,e)};syncProviderProps(e,t){let n=this.state.limit!==t;if(this.state.timeout===e&&!n)return;let r={timeout:e,limit:t};if(n){let e=jX(this.state.toasts,t);r.toasts=e,r.toastMetadata=AX(e)}this.update(r)}disposeEffect=()=>()=>{this.timers.forEach(e=>{e.timeout?.clear()}),this.timers.clear()};removeToast(e,t=!1){let n=MX.toastIndex(this.state,e);if(n===-1)return;let r=this.state.toasts[n];t||r?.onRemove?.();let i=[...this.state.toasts];i.splice(n,1),this.setToasts(i)}addToast=e=>{let{timeout:t,limit:n}=this.state,r=e.id||OX(`toast`);if(e.id){let t=MX.toast(this.state,e.id);if(t){if(t.transitionStatus===`ending`)this.removeToast(e.id,!0);else{let{id:t,transitionStatus:n,...r}=e;return this.updateToastInternal(e.id,r,!0,!0),e.id}}}let i={...e,id:r,updateKey:0,transitionStatus:`starting`},a=[i,...this.state.toasts];this.setToasts(jX(a,n));let o=i.timeout??t;return i.type!==`loading`&&o>0&&this.scheduleTimer(r,o,()=>this.closeToast(r)),MX.expandedOrOutOfFocus(this.state)&&this.pauseTimers(),r};updateToast=(e,t)=>{let n=MX.toast(this.state,e);n&&n.transitionStatus!==`ending`&&this.updateToastInternal(e,typeof t==`function`?t(n):t,!1,!0)};updateToastInternal=(e,t,n=!1,r=!1)=>{let{timeout:i,toasts:a}=this.state,o=MX.toast(this.state,e);if(!o||o.transitionStatus===`ending`)return;let s={...o,...t,...r&&{updateKey:o.updateKey+1}};this.setToasts(a.map(t=>t.id===e?s:t));let c=s.timeout??i,l=o.timeout??i,u=Object.hasOwn(t,`timeout`),d=s.transitionStatus!==`ending`&&s.type!==`loading`&&c>0,f=this.timers.has(e),p=l!==c,m=o.type===`loading`;!d&&f?this.clearTimer(e):d&&(!f||p||u||m||n)&&(this.clearTimer(e),this.scheduleTimer(e,c,()=>this.closeToast(e)),MX.expandedOrOutOfFocus(this.state)&&this.pauseTimers())};closeToast=e=>{let t=e===void 0,{limit:n,toasts:r}=this.state,i;if(t)i=r,this.clearTimers();else{let t=MX.toast(this.state,e);if(!t)return;i=[t],this.clearTimer(e)}let a=jX(r.map(n=>t||n.id===e?{...n,transitionStatus:`ending`,height:0}:n),n);this.setToasts(a,!a.some(e=>e.transitionStatus!==`ending`)),i.forEach(e=>{e.transitionStatus!==`ending`&&e.onClose?.()}),this.handleFocusManagement(e)};promiseToast=(e,t)=>{let n=kX(t.loading),r=this.addToast({...n,type:`loading`}),i=e.then(e=>{let n=kX(t.success,e);return this.updateToast(r,{...n,type:`success`,timeout:n.timeout}),e}).catch(e=>{let n=kX(t.error,e);return this.updateToast(r,{...n,type:`error`,timeout:n.timeout}),Promise.reject(e)});return{}.hasOwnProperty.call(t,`setPromise`)&&t.setPromise(i),i};pauseTimers(){this.areTimersPaused||(this.areTimersPaused=!0,this.timers.forEach(e=>{e.timeout&&(e.timeout.clear(),e.remaining=Math.max(e.remaining-(Date.now()-e.start),0))}))}resumeTimers(){this.areTimersPaused&&(this.areTimersPaused=!1,this.timers.forEach((e,t)=>{e.remaining=e.remaining>0?e.remaining:e.delay,e.timeout??=fz.create(),e.timeout.start(e.remaining,()=>{this.handleTimerFired(t),e.callback()}),e.start=Date.now()}))}restoreFocusToPrevElement(){this.state.prevFocusElement?.focus({preventScroll:!0})}handleDocumentPointerDown=e=>{if(e.pointerType!==`touch`)return;let t=kz(e);Dz(this.state.viewport,t)||(this.resumeTimers(),this.update({hovering:!1,focused:!1}))};scheduleTimer(e,t,n){let r=Date.now(),i=MX.expandedOrOutOfFocus(this.state)?void 0:fz.create();i?.start(t,()=>{this.handleTimerFired(e),n()}),this.timers.set(e,{timeout:i,start:r,delay:t,remaining:t,callback:n})}clearTimers(){this.timers.forEach(e=>{e.timeout?.clear()}),this.timers.clear(),this.areTimersPaused=!1}clearTimer(e){this.timers.get(e)?.timeout?.clear(),this.timers.delete(e),this.resetPausedStateIfNoTimersRemain()}handleTimerFired(e){this.timers.delete(e),this.resetPausedStateIfNoTimersRemain()}resetPausedStateIfNoTimersRemain(){this.timers.size===0&&(this.areTimersPaused=!1)}setToasts(e,t=e.length===0){let n={toasts:e,toastMetadata:AX(e)};t&&(n.hovering=!1,n.focused=!1),this.update(n)}handleFocusManagement(e){let t=Ez(vB(this.state.viewport));if(!this.state.viewport||!Dz(this.state.viewport,t)||!Wz(t))return;if(e===void 0){this.restoreFocusToPrevElement();return}let n=MX.toasts(this.state),r=MX.toastIndex(this.state,e),i=(e,t)=>{for(let r=e;r>=0&&r<n.length;r+=t)if(n[r].transitionStatus!==`ending`)return n[r];return null},a=i(r+1,1)??i(r-1,-1);a?a.ref?.current?.focus():this.restoreFocusToPrevElement()}},PX=function(e){let{children:t,timeout:n=5e3,limit:r=3,toastManager:i}=e,a=nz(()=>new NX({timeout:n,limit:r,viewport:null,toasts:[],hovering:!1,focused:!1,isWindowFocused:!0,prevFocusElement:null})).current;return uz(a.disposeEffect),U.useEffect(function(){if(i)return i[` subscribe`](({action:e,options:t})=>{let n=t.id;e===`promise`&&t.promise?a.promiseToast(t.promise,t):e===`update`&&n?a.updateToast(n,t.updates):e===`close`?a.closeToast(n):a.addToast(t)})},[a,i]),(0,G.jsxs)(TX.Provider,{value:a,children:[(0,G.jsx)(FX,{store:a,timeout:n,limit:r}),t]})};function FX(e){let{store:t,timeout:n,limit:r}=e;return Y(()=>{t.syncProviderProps(n,r)},[t,n,r]),null}var IX=`--toast-frontmost-height`,LX=U.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,s=EX(),c=pz(),l=U.useRef(!1),u=U.useRef(!1),d=U.useRef(!1),f=s.useState(`isEmpty`),p=s.useState(`toasts`),m=s.useState(`focused`),h=s.useState(`expanded`),g=s.useState(`prevFocusElement`),_=p[0]?.height,v=p.some(e=>e.transitionStatus===`ending`),y=p.filter(e=>e.priority===`high`);U.useEffect(()=>{let e=s.state.viewport;if(!e||f)return;let t=pL(e),n=vB(e);function r(t){t.key===`F6`&&kz(t)!==e&&(t.preventDefault(),s.set(`prevFocusElement`,Ez(n)),e?.focus({preventScroll:!0}),s.pauseTimers(),s.set(`focused`,!0))}function i(e){kz(e)===t&&(s.set(`isWindowFocused`,!1),s.pauseTimers())}function a(n){if(n.relatedTarget)return;let r=kz(n),i=Ez(vB(e));r!==t&&Dz(e,r)&&Wz(i)||s.resumeTimers(),c.start(0,()=>s.set(`isWindowFocused`,!0))}return oB(aB(t,`keydown`,r),aB(t,`blur`,i,!0),aB(t,`focus`,a,!0),aB(n,`pointerdown`,s.handleDocumentPointerDown,!0))},[s,c,f]);function b(e){l.current=!0;let t=e.relatedTarget===s.state.viewport?p.find(e=>e.transitionStatus!==`ending`&&!e.limited):void 0;t?t.ref?.current?.focus():s.restoreFocusToPrevElement()}function x(e){e.key===`Tab`&&e.shiftKey&&kz(e.nativeEvent)===s.state.viewport&&(e.preventDefault(),s.restoreFocusToPrevElement())}function S(){s.state.toasts.some(e=>e.transitionStatus===`ending`)||d.current||!u.current||(s.set(`hovering`,!1),s.select(`expandedOrOutOfFocus`)||s.resumeTimers(),u.current=!1)}U.useEffect(S,[v,s]);function C(){s.pauseTimers(),s.set(`hovering`,!0),u.current=!1}function w(){u.current=!0,S()}function T(e){e.pointerType===`touch`&&(d.current=!0)}function E(e){e.pointerType===`touch`&&(d.current=!1,S())}function D(){l.current?l.current=!1:m||Wz(Ez(vB(s.state.viewport)))&&(s.set(`focused`,!0),s.pauseTimers())}function O(e){m&&!Dz(s.state.viewport,e.relatedTarget)&&(s.set(`focused`,!1),s.select(`expandedOrOutOfFocus`)||s.resumeTimers())}let k={tabIndex:-1,role:`region`,"aria-live":`polite`,"aria-atomic":!1,"aria-relevant":`additions text`,"aria-label":`Notifications`,onMouseEnter:C,onMouseMove:C,onMouseLeave:w,onFocus:D,onBlur:O,onKeyDown:x,onClick:D,onPointerDown:T,onPointerUp:E,onPointerCancel:E,style:{[IX]:_?`${_}px`:void 0}},A={expanded:h},j=!f&&g&&(0,G.jsx)(xB,{onFocus:b}),M=NV(`div`,e,{ref:[t,s.setViewport],state:A,props:[k,o,{children:(0,G.jsxs)(U.Fragment,{children:[j,a,j]})}]});return(0,G.jsxs)(U.Fragment,{children:[j,M,!m&&y.length>0&&(0,G.jsx)(`div`,{style:bB,children:y.map(e=>(0,G.jsxs)(`div`,{role:`alert`,"aria-atomic":!0,children:[(0,G.jsx)(`div`,{children:e.title}),(0,G.jsx)(`div`,{children:e.description})]},e.id))})]})}),RX=U.createContext(void 0);function zX(){let e=U.useContext(RX);if(!e)throw Error(DH(66));return e}function BX(e,t){let n=(t??pL(e).getComputedStyle(e)).transform,r=0,i=0,a=1;if(n&&n!==`none`){let e=n.match(/matrix(?:3d)?\(([^)]+)\)/);if(e){let t=e[1].split(`, `).map(parseFloat);t.length===6?(r=t[4],i=t[5],a=Math.sqrt(t[0]*t[0]+t[1]*t[1])):t.length===16&&(r=t[12],i=t[13],a=t[0])}}return{x:r,y:i,scale:a}}function VX(e,t,n){switch(e){case`up`:return-n;case`down`:return n;case`left`:return-t;case`right`:return t;default:return 0}}var HX=`--toast-index`,UX=`--toast-offset-y`,WX=`--toast-height`,GX=`--toast-swipe-movement-x`,KX=`--toast-swipe-movement-y`,qX=`data-swipe-direction`,JX={...Nz,swipeDirection(e){return e?{[qX]:e}:null}},YX=40,XX=10,ZX=.5,QX=1,$X=`${WV},${GV}`,eZ=U.forwardRef(function(e,t){let{toast:n,render:r,className:i,swipeDirection:a=[`down`,`right`],style:o,...s}=e,c=n.positionerProps?.anchor!==void 0,l=[];c||(l=Array.isArray(a)?a:[a]);let u=l.length>0,d=EX(),[f,p]=U.useState(void 0),[m,h]=U.useState(!1),[g,_]=U.useState(!1),[v,y]=U.useState({x:0,y:0}),[b,x]=U.useState({x:0,y:0,scale:1}),[S,C]=U.useState(),[w,T]=U.useState(),[E,D]=U.useState(null),O=U.useRef(null),k=U.useRef(void 0),A=U.useRef({x:0,y:0}),j=U.useRef({x:0,y:0,scale:1}),M=U.useRef(void 0),N=U.useRef(0),P=U.useRef(!1),F=U.useRef({x:0,y:0}),I=U.useRef(!1),L=U.useRef({x:0,y:0}),R=U.useRef(null),ee=U.useRef(null),z=d.useState(`toastIndex`,n.id),te=d.useState(`toastVisibleIndex`,n.id),ne=d.useState(`toastOffsetY`,n.id),re=d.useState(`focused`),ie=d.useState(`expanded`);FH({open:n.transitionStatus!==`ending`,ref:O,onComplete(){n.transitionStatus===`ending`&&d.removeToast(n.id)}});let B=pB((e=!1)=>{let t=O.current;if(!t)return;let r=t.style.height;t.style.height=`auto`;let i=t.offsetHeight;t.style.height=r;function a(){d.updateToastInternal(n.id,{ref:O,height:i,transitionStatus:void 0})}e?De.flushSync(a):a()});Y(()=>{let e=k.current;(n.transitionStatus===`starting`||e!==n.id)&&(e!==void 0&&(p(void 0),x({x:0,y:0,scale:1}),V({x:0,y:0})),k.current=n.id,B())},[B,n.id,n.transitionStatus]);function V(e){L.current=e,y(e)}Y(()=>()=>{ee.current?.abort()},[]);function ae(e,t){let n=e=>e>0?e**ZX:-(Math.abs(e)**ZX),r=e>0&&!l.includes(`right`)||e<0&&!l.includes(`left`),i=t>0&&!l.includes(`down`)||t<0&&!l.includes(`up`);return{x:r?n(e):e,y:i?n(t):t}}let H=pB(e=>{if(e.pointerId!==R.current)return;R.current=null,ee.current?.abort(),ee.current=null,h(!1),_(!1),D(null);let t=j.current;if(e.type===`pointercancel`||P.current){V({x:t.x,y:t.y}),p(void 0);return}let r=L.current,i=r.x-t.x,a=r.y-t.y,o;for(let e of l)if(VX(e,i,a)>YX){o=e;break}o?(p(o),d.closeToast(n.id)):(V({x:t.x,y:t.y}),p(void 0))});function oe(e){if(e.button!==0||(e.pointerType===`touch`&&d.pauseTimers(),Oz(kz(e.nativeEvent),`button,a,input,textarea,[role="button"],${$X}`)))return;P.current=!1,M.current=void 0,N.current=0,R.current=e.pointerId,A.current={x:e.clientX,y:e.clientY},F.current=A.current;let t=e.currentTarget,n=BX(t);j.current=n,x(n),V({x:n.x,y:n.y}),d.set(`hovering`,!0),h(!0),_(!1),D(null),I.current=!0,ee.current?.abort();let r=new AbortController;ee.current=r;let i=vB(t);i.addEventListener(`pointerup`,H,{signal:r.signal}),i.addEventListener(`pointercancel`,H,{signal:r.signal}),t.setPointerCapture?.(e.pointerId)}function se(e){if(e.pointerId!==R.current)return;e.preventDefault(),I.current&&=(A.current={x:e.clientX,y:e.clientY},!1);let{clientY:t,clientX:n,movementX:r,movementY:i}=e;(i<0&&t>F.current.y||i>0&&t<F.current.y)&&(F.current={x:F.current.x,y:t}),(r<0&&n>F.current.x||r>0&&n<F.current.x)&&(F.current={x:n,y:F.current.y});let a=n-A.current.x,o=t-A.current.y,s=t-F.current.y,c=n-F.current.x,u=E;if(!g&&Math.sqrt(a*a+o*o)>=QX){_(!0);let e=l.includes(`left`)||l.includes(`right`),t=l.includes(`up`)||l.includes(`down`);e&&t&&(u=Math.abs(a)>Math.abs(o)?`horizontal`:`vertical`,D(u))}let d;if(!M.current)u===`vertical`?o>0?d=`down`:o<0&&(d=`up`):u===`horizontal`?a>0?d=`right`:a<0&&(d=`left`):d=Math.abs(a)>=Math.abs(o)?a>0?`right`:`left`:o>0?`down`:`up`,d&&l.includes(d)&&(M.current=d,N.current=VX(d,a,o),p(d));else{let e=M.current,t=VX(e,c,s);t>YX?(P.current=!1,p(e)):!(l.includes(`left`)&&l.includes(`right`))&&!(l.includes(`up`)&&l.includes(`down`))&&N.current-t>=XX&&(P.current=!0)}let f=ae(a,o),m=j.current.x,h=j.current.y,v=l.includes(`left`)||l.includes(`right`),y=l.includes(`up`)||l.includes(`down`);u!==`vertical`&&v&&(m+=f.x),u!==`horizontal`&&y&&(h+=f.y),V({x:m,y:h})}function ce(e){if(e.key===`Escape`){if(!O.current||!Dz(O.current,Ez(vB(O.current))))return;d.closeToast(n.id)}}U.useEffect(()=>{let e=O.current;if(!u||!e)return;function t(t){R.current!==null&&Dz(e,kz(t))&&t.preventDefault()}return aB(e,`touchmove`,t,{passive:!1})},[u]);function le(){let e=v.x-b.x,t=v.y-b.y;return{transition:m?`none`:void 0,transform:m?`translateX(${v.x}px) translateY(${v.y}px) scale(${b.scale})`:void 0,[GX]:`${e}px`,[KX]:`${t}px`}}let ue=n.priority===`high`,de={role:ue?`alertdialog`:`dialog`,tabIndex:0,"aria-modal":!1,"aria-labelledby":S,"aria-describedby":w,"aria-hidden":ue&&!re?!0:void 0,onPointerDown:u?oe:void 0,onPointerMove:u?se:void 0,onPointerUp:u?H:void 0,onPointerCancel:u?H:void 0,onKeyDown:ce,inert:DW(n.limited),style:{...le(),[HX]:n.transitionStatus===`ending`?z:te,[UX]:`${ne}px`,[WX]:n.height?`${n.height}px`:void 0}},fe=U.useMemo(()=>({toast:n,setTitleId:C,setDescriptionId:T,recalculateHeight:B,visibleIndex:te,expanded:ie}),[n,C,T,B,te,ie]),pe={transitionStatus:n.transitionStatus,expanded:ie,limited:n.limited||!1,type:n.type,swiping:m,swipeDirection:f},me=NV(`div`,e,{ref:[t,O],state:pe,stateAttributesMapping:JX,props:[de,s]});return(0,G.jsx)(RX.Provider,{value:fe,children:me})}),tZ=U.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{visibleIndex:o,expanded:s,recalculateHeight:c}=zX(),l=U.useRef(null);return Y(()=>{c();let e=l.current;if(!e||typeof ResizeObserver!=`function`||typeof MutationObserver!=`function`)return;let t=new ResizeObserver(()=>c(!0)),n=new MutationObserver(()=>c(!0));return t.observe(e),n.observe(e,{childList:!0,subtree:!0,characterData:!0}),()=>{t.disconnect(),n.disconnect()}},[c]),NV(`div`,e,{ref:[t,l],state:{expanded:s,behind:o>0},props:a})});function nZ(e){return e==null||typeof e==`boolean`||e===``?!1:!Array.isArray(e)||e.some(nZ)}function rZ(e){return U.isValidElement(e)&&nZ(e.props.children)}function iZ(e,t,n){let{toast:r,setTitleId:i,setDescriptionId:a}=zX(),o=n===`title`?i:a,s=t??(n===`title`?r.title:r.description);return{id:dV(e),children:s,type:r.type,setId:o}}function aZ(e,t,n){let r=rZ(e);return Y(()=>{if(r)return n(t),()=>{n(e=>e===t?void 0:e)}},[r,t,n]),r?e:null}var oZ=U.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,children:o,...s}=e,{id:c,children:l,type:u,setId:d}=iZ(a,o,`description`);return aZ(NV(`p`,e,{ref:t,state:{type:u},props:{...s,id:c,children:l}}),c,d)}),sZ=U.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,children:o,...s}=e,{id:c,children:l,type:u,setId:d}=iZ(a,o,`title`);return aZ(NV(`h2`,e,{ref:t,state:{type:u},props:{...s,id:c,children:l}}),c,d)}),cZ=U.forwardRef(function(e,t){let{render:n,className:r,style:i,disabled:a,nativeButton:o=!0,...s}=e,c=EX(),{toast:l,expanded:u}=zX(),[d,f]=U.useState(!1),{getButtonProps:p,buttonRef:m}=mW({disabled:a,native:o}),h={type:l.type};return NV(`button`,e,{ref:[t,m],state:h,props:[{"aria-hidden":!u&&!d,onClick(){c.closeToast(l.id)},onFocus(){f(!0)},onBlur(){f(!1)}},s,p]})}),lZ=U.forwardRef(function(e,t){let{render:n,className:r,style:i,disabled:a,nativeButton:o=!0,...s}=e,{toast:c}=zX(),l=c.actionProps?.children??s.children,{getButtonProps:u,buttonRef:d}=mW({disabled:a,native:o}),f={type:c.type},p=NV(`button`,e,{ref:[t,d],state:f,props:[s,c.actionProps,u,{children:l}]});return rZ(p)?p:null}),uZ=U.forwardRef(function(e,t){let{children:n,container:r,className:i,render:a,style:o,...s}=e,{node:c,subtree:l}=QV({container:r,ref:t,componentProps:e,elementProps:s});return!l&&!c?null:(0,G.jsxs)(U.Fragment,{children:[l,c&&De.createPortal(n,c)]})}),dZ=U.forwardRef(function(e,t){return(0,G.jsx)(uZ,{ref:t,...e})}),fZ=U.createContext(void 0);function pZ(){let e=U.useContext(fZ);if(e===void 0)throw Error(DH(84));return e}var mZ=U.forwardRef(function(e,t){let{toast:n,...r}=e,i=EX(),a=n.positionerProps??lz,{render:o,className:s,anchor:c=a.anchor,positionMethod:l=a.positionMethod??`absolute`,side:u=a.side??`top`,align:d=a.align??`center`,sideOffset:f=a.sideOffset??0,alignOffset:p=a.alignOffset??0,collisionBoundary:m=a.collisionBoundary??`clipping-ancestors`,collisionPadding:h=a.collisionPadding??5,arrowPadding:g=a.arrowPadding??5,sticky:_=a.sticky??!1,disableAnchorTracking:v=a.disableAnchorTracking??!1,collisionAvoidance:y=a.collisionAvoidance??qV,style:b,...x}=r,[S,C]=U.useState(null),w=i.useState(`toastIndex`,n.id),T=i.useState(`toastVisibleIndex`,n.id),E=gL(c)?c:null,D=KW({anchor:E,positionMethod:l,floatingRootContext:hU({open:!0,onOpenChange:sz,elements:{floating:S,reference:E}}),mounted:!0,side:u,sideOffset:f,align:d,alignOffset:p,collisionBoundary:m,collisionPadding:h,sticky:_,arrowPadding:g,disableAnchorTracking:v,keepMounted:!0,collisionAvoidance:y}),O=QW(e,{side:D.side,align:D.align,anchorHidden:D.anchorHidden},{styles:{...D.positionerStyles,[HX]:n.transitionStatus===`ending`?w:T},transitionStatus:n.transitionStatus,props:x,refs:[t,C]});return(0,G.jsx)(fZ.Provider,{value:D,children:O})}),hZ=U.forwardRef(function(e,t){let{className:n,render:r,style:i,...a}=e,{arrowRef:o,side:s,align:c,arrowUncentered:l,arrowStyles:u}=pZ();return NV(`div`,e,{state:{side:s,align:c,uncentered:l},ref:[t,o],props:[{style:u,"aria-hidden":!0},a]})});function gZ(){let e=EX(),t=e.useState(`toasts`);return U.useMemo(()=>({toasts:t,add:e.addToast,close:e.closeToast,update:e.updateToast,promise:e.promiseToast}),[t,e])}function _Z(){let e=new Set;function t(t){e.forEach(e=>e(t))}return{" subscribe":function(t){return e.add(t),()=>{e.delete(t)}},add(e){let n=e.id||OX(`toast`);return t({action:`add`,options:{...e,id:n,transitionStatus:`starting`}}),n},close(e){t({action:`close`,options:{id:e}})},update(e,n){t({action:`update`,options:{id:e,updates:n}})},promise(e,n){let r=e;return t({action:`promise`,options:{...n,promise:e,setPromise(e){r=e}}}),r}}}var vZ=Cq({Action:()=>qZ,Arrow:()=>XZ,Close:()=>KZ,Content:()=>UZ,Description:()=>WZ,Portal:()=>JZ,Positioner:()=>YZ,Provider:()=>FZ,Root:()=>LZ,Title:()=>GZ,Viewport:()=>IZ,createToastManager:()=>QZ,useToastManager:()=>ZZ}),yZ=`0.75rem`,bZ=`0.75rem`,xZ=Eh.tooltip,SZ=ch.scale.toast,CZ=ch.blur.surface,wZ=ch.transition.fade,TZ=5e3,EZ=150,DZ=`animate-ui-base-ui-toast`,OZ=U.createContext({timeout:TZ,progressBar:!0});function kZ(e,t,n){return{transitionProperty:e.join(`, `),transitionDuration:`${t.duration}ms`,transitionTimingFunction:t.easing,transitionDelay:n??`0ms`}}function AZ(e){return Array.isArray(e)?e:e?[e]:[`down`,`right`]}function jZ(e){return e.includes(`up`)&&!e.includes(`down`)?`top`:`bottom`}function MZ(){let e=U.useRef({at:-1/0});return t=>{let n=e.current;return n.expanded!==void 0&&n.expanded!==t&&(n.at=performance.now()),n.expanded=t,performance.now()-n.at<EZ}}function NZ(e,{side:t,reduce:n,anchored:r,enter:i,exit:a,cascade:o,swipe:s,thrown:c}){let l=e.transitionStatus===`ending`,u=e.transitionStatus===`starting`,d=u||l||e.limited;if(e.swiping)return s??{opacity:+!d};if(r)return{opacity:+!d,...kZ(n?[`opacity`]:[`transform`,`opacity`,`height`],l?a:i),transform:`scale(${d&&!n?xZ:1})`,transformOrigin:`var(--transform-origin)`};let f=l?e.swipeDirection:void 0,p={opacity:+!d,...kZ(n?f?[`transform`,`opacity`]:[`opacity`,`filter`]:[`transform`,`opacity`,`height`,`filter`],f&&c?c:l?a:i,l?void 0:o)},m=t===`top`?-1:1,h=`max(0.9, calc(1 - var(--toast-index) * 0.05))`,g=e.expanded?`1`:h,_=e.expanded?`calc(var(--toast-swipe-movement-y, 0px) - ${m} * (var(--toast-offset-y, 0px) + var(--toast-index, 0) * ${yZ}))`:`calc(var(--toast-swipe-movement-y, 0px) - ${m} * (var(--toast-index, 0) * ${bZ} + (1 - ${h}) * var(--toast-frontmost-height, var(--toast-height, 0px))))`,v=`0px`,y=`0px`,b=g;return(u||l)&&!f&&(p.filter=CZ,n||(y=`${m*100}%`,b=`calc(${g} * ${SZ})`)),f===`down`&&(y=`100%`),f===`up`&&(y=`-100%`),f===`right`&&(v=`100%`),f===`left`&&(v=`-100%`),p.transform=`translateX(calc(var(--toast-swipe-movement-x, 0px) + ${v})) translateY(calc(${_} + ${y})) scale(${b})`,p.transformOrigin=t===`top`?`top`:`bottom`,p}function PZ(e,t){return typeof e==`function`?e(t):e}function FZ({progressBar:e=!0,...t}){let n=t.timeout??TZ,r=U.useMemo(()=>({timeout:n,progressBar:e}),[n,e]);return(0,G.jsx)(OZ,{value:r,children:(0,G.jsx)(PX,{...t})})}var IZ=LX;function LZ(e){return(0,G.jsx)(bh,{children:(0,G.jsx)(RZ,{...e})})}function RZ({ref:e,style:t,transition:n,exitTransition:r,progressBar:i,children:a,onPointerDown:o,onPointerMove:s,onPointerUp:c,onPointerCancel:l,...u}){let{toast:d}=u,f=wh(),p=ph(),m=U.use(OZ),h=d.positionerProps!=null,g=_h(fh(n??(h?Th:kq))),_=_h(fh(r??(h?n??Th:Dq))),v=_h(fh(wZ)),y=AZ(u.swipeDirection),b=jZ(y),x=MZ(),S=p.stagger.stack*1e3,C=U.useRef(null),w=U.useRef(null);U.useLayoutEffect(()=>{let e=C.current,t=e&&YY(e);t&&nX(t,d.type,p.transition.check.delay,p,f)},[]);let T=U.useRef(d.type),E=e=>{let t=T.current!==d.type;T.current=d.type,lX(C.current,e,t,d.type,p,g,f)},D=i??m.progressBar,O=d.timeout??m.timeout;return(0,G.jsx)(eX,{watch:[d.type,d.title,d.description],take:()=>$Y(C.current),onUpdate:E,children:(0,G.jsxs)(eZ,{...u,ref:qY(e,C),onPointerDown:e=>{o?.(e),e.button===0&&(w.current=_X(e))},onPointerMove:e=>{s?.(e),w.current&&vX(w.current,e,y)},onPointerUp:e=>{c?.(e);let t=w.current;t?.pointerId===e.pointerId&&(t.releasedAt=e.timeStamp)},onPointerCancel:e=>{l?.(e),w.current=null},style:e=>{let n=x(e.expanded)&&!f?`calc(var(--toast-index, 0) * ${S}ms)`:void 0,r=w.current;return{...NZ(e,{side:b,reduce:f,anchored:h,enter:g,exit:_,cascade:n,swipe:e.swiping&&r?bX(r,y):null,thrown:e.transitionStatus===`ending`&&e.swipeDirection&&r?xX(r,e.swipeDirection):null}),...D&&{"--animate-ui-toast-fade-duration":`${v.duration}ms`,"--animate-ui-toast-fade-ease":v.easing,"--animate-ui-toast-cascade":n??`0ms`},...PZ(t,e)}},children:[a,D&&!h&&(0,G.jsx)(HZ,{duration:O,running:d.type!==`loading`&&O>0,ending:d.transitionStatus===`ending`})]})})}function zZ(e){return window.addEventListener(`focus`,e,!0),window.addEventListener(`blur`,e,!0),()=>{window.removeEventListener(`focus`,e,!0),window.removeEventListener(`blur`,e,!0)}}var BZ=`--animate-ui-toast-progress-color`,VZ=`data-tinted`;function HZ({duration:e,running:t,ending:n}){let r=U.useRef(null),i=U.useRef(null),a=U.useSyncExternalStore(zZ,()=>document.hasFocus(),()=>!0),o=U.useRef({ending:n,windowFocused:a}),s=()=>r.current?.parentElement?.parentElement??null,c=U.useCallback(()=>{let e=i.current,t=s();if(!e||!t)return;let n=o.current.ending||!o.current.windowFocused||t.hasAttribute(`data-expanded`);n&&e.playState===`running`&&e.pause(),!n&&e.playState===`paused`&&e.play()},[]);return U.useLayoutEffect(()=>{let n=r.current;if(!t||!n)return;let a=n.animate([{transform:`scaleX(1)`},{transform:`scaleX(0)`}],{duration:e,easing:`linear`,fill:`forwards`});i.current=a;let o=s(),l=o?.querySelector(`[data-slot="toast-icon"] > *`),u=l&&o?getComputedStyle(l).color:null;return u&&u!==getComputedStyle(o).color?(n.style.setProperty(BZ,u),n.setAttribute(VZ,``)):(n.style.removeProperty(BZ),n.removeAttribute(VZ)),c(),()=>{a.cancel(),i.current=null}},[t,e,c]),U.useLayoutEffect(()=>{let e=s();if(!t||!e)return;let n=new MutationObserver(c);return n.observe(e,{attributeFilter:[`data-expanded`]}),()=>n.disconnect()},[t,c]),U.useLayoutEffect(()=>{o.current={ending:n,windowFocused:a},c()},[c,n,a]),t?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`style`,{href:DZ,precedence:`animate-ui`,children:wX}),(0,G.jsx)(`div`,{[SX]:``,"aria-hidden":`true`,children:(0,G.jsx)(`div`,{ref:r,[CX]:``})})]}):null}function UZ({style:e,transition:t,...n}){let r=wh(),i=MZ(),a=ph().stagger.stack*1e3,o=_h(fh(t??wZ));return(0,G.jsx)(tZ,{...n,style:t=>({...kZ([`opacity`],o,i(t.expanded)&&!r?`calc(var(--toast-index, 0) * ${a}ms)`:void 0),...PZ(e,t)})})}var WZ=oZ,GZ=sZ,KZ=cZ,qZ=lZ,JZ=dZ,YZ=mZ,XZ=hZ,ZZ=gZ,QZ=_Z,$Z=new Set,eQ=new Set,tQ=0;async function nQ(e,t,n,r=()=>t){tQ++;let i=Promise.resolve().then(n);eQ.add(i);try{let t=await i,n=r(t);if(n.length)for(let t of $Z)t({kind:e,ids:n});return t}finally{eQ.delete(i)}}async function rQ(e,t){let n=[],r=[],i;for(let a of new Set(e)){let e=await t(a).catch(()=>`failed`);e===`trashed`&&n.push(a),e===`trashed`||e===`missing`?r.push(a):i??=e}return{trashed:n,done:r,error:i}}var iQ;function aQ(e){iQ&&(e??document.body).append(iQ)}var oQ,sQ=vZ.createToastManager();async function cQ(e,t){return(await lQ([e],t,!1)).includes(e)}async function lQ(e,t,n=!0){let r=await nQ(`trash`,e,()=>rQ(e,e=>window.yogurt.meetings.trash(e)),e=>e.done),i=r.error===`recording`?W(`Stop the recording first, then try again.`):r.error===`save-pending`?W(`Open this note and finish saving before deleting it.`):r.error?W(`Yogurt couldn't move this note to the Trash. Try again.`):void 0;return(r.trashed.length||i)&&oQ?.({ids:r.trashed,from:t,bulk:n,error:i}),r.done}function uQ({id:e,recording:t,anchor:n,onSource:r}){let[i,a]=(0,U.useState)(!1),[o,s]=(0,U.useState)(),[c,l]=(0,U.useState)(0),[u,d]=(0,U.useState)(!1),[f,p]=(0,U.useState)(()=>window.matchMedia(`(max-width: 999px)`).matches),m=(0,U.useRef)(null),h=(0,U.useRef)(null),g=(0,U.useRef)(null),_=(0,U.useRef)(null),v=(0,U.useRef)([]),y=(0,U.useRef)(!1),b=(0,U.useRef)(!1);(0,U.useEffect)(()=>{a(!1),s(void 0),d(!1),b.current=!1},[e]),(0,U.useEffect)(()=>{let e=window.matchMedia(`(max-width: 999px)`),t=()=>p(e.matches);return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},[]),(0,U.useEffect)(()=>{if(!i||o)return;let t=!0;return window.yogurt.conversations.current([{kind:`meeting`,id:e}]).then(e=>{t&&s(e)}).catch(()=>{t&&d(!0)}),()=>{t=!1}},[i,e,o]);let x=(e,t=!0)=>{let n=g.current,r=_.current,i=h.current,a=m.current;if(!n||!r||!i||!a)return;let o=v.current.some(e=>e.playState===`running`),s=getComputedStyle(n),c={left:s.left,top:s.top,width:s.width,height:s.height,borderRadius:s.borderRadius,shell:s.opacity,dialog:getComputedStyle(i).opacity,body:getComputedStyle(r).opacity,clip:getComputedStyle(r).clipPath,button:getComputedStyle(a).opacity};if(v.current.forEach(e=>e.cancel()),v.current=[],!t)return;if(window.matchMedia(`(prefers-reduced-motion: reduce)`).matches){let t=i.animate([{opacity:o?c.dialog:+!e},{opacity:+!!e}],{duration:kf.micro,easing:kf.ease,fill:`both`});return v.current=[t],t}let l=a.getBoundingClientRect(),u=i.getBoundingClientRect(),d=r.getBoundingClientRect(),f=parseFloat(getComputedStyle(a).borderRadius),p={left:`${l.x-u.x-1}px`,top:`${l.y-u.y-1}px`,width:`${l.width}px`,height:`${l.height}px`,borderRadius:`${f}px`},y={left:`-1px`,top:`-1px`,width:`calc(100% + 2px)`,height:`calc(100% + 2px)`,borderRadius:`12px`},b=`inset(${l.top+1-d.top}px ${d.right-l.right+1}px ${d.bottom-l.bottom+1}px ${l.left+1-d.left}px round ${Math.max(0,f-1)}px)`,x=`inset(0px round 11px)`,S=e?kf.base:kf.askExit,C=kf.ease,w=kf.micro,T=n.animate([o?{left:c.left,top:c.top,width:c.width,height:c.height,borderRadius:c.borderRadius}:e?p:y,e?y:p],{duration:S,easing:C,fill:`both`}),E=r.animate([{clipPath:o&&c.clip!==`none`?c.clip:e?b:x},{clipPath:e?x:b}],{duration:S,easing:C,fill:e?`backwards`:`forwards`}),D=r.animate([{opacity:o?c.body:+!e},{opacity:+!!e}],{duration:kf.micro,easing:C,fill:`both`}),O={duration:w,delay:e?0:S-w,easing:C,fill:`both`},k=n.animate([{opacity:o?c.shell:+!e},{opacity:+!!e}],O),A=a.animate([{opacity:o?c.button:+!!e},{opacity:+!e}],O);return v.current=[T,E,D,k,A],T};(0,U.useEffect)(()=>()=>v.current.forEach(e=>e.cancel()),[]),(0,U.useLayoutEffect)(()=>{if(!i||!n||!h.current)return;let e=h.current,t=()=>{let t=n.getBoundingClientRect();e.style.setProperty(`--chat-bottom`,`${Math.max(16,innerHeight-t.bottom+12)}px`),e.style.setProperty(`--chat-height`,`${f?440:Math.max(0,t.height-24)}px`)};t(),f?e.showModal():e.show(),aQ(f?e:null),e.querySelector(`textarea`)?.focus({preventScroll:!0}),x(!0,y.current),y.current=!1;let r=new ResizeObserver(t);return r.observe(n),window.addEventListener(`resize`,t),()=>{r.disconnect(),window.removeEventListener(`resize`,t),aQ(null),e.close()}},[i,f,n]);let S=(e=!0)=>{if(b.current)return;b.current=!0;let t=x(!1,e),n=()=>{b.current&&(b.current=!1,h.current?.close(),a(!1),m.current?.focus({preventScroll:!0}))};t?t.finished.then(n,()=>{}):n()},C=i&&(0,G.jsxs)(`dialog`,{id:`meeting-chat`,ref:h,"data-testid":`chat-panel`,className:`chat-panel no-drag`,"aria-labelledby":`meeting-chat-title`,"aria-modal":f||void 0,onKeyDown:e=>{e.key!==`Escape`||e.defaultPrevented||h.current?.querySelector(`.citation-card:not([data-ending-style])`)||e.target.closest(`[role="alertdialog"], [role="dialog"], [role="menu"]`)||(e.preventDefault(),e.stopPropagation(),S())},onCancel:e=>{e.preventDefault(),S()},children:[(0,G.jsx)(`div`,{ref:g,className:`chat-morph-surface`,"aria-hidden":`true`}),(0,G.jsxs)(`div`,{ref:_,className:`chat-panel-contents`,children:[u&&(0,G.jsx)(`p`,{role:`alert`,children:W(`Yogurt couldn't answer that.`)}),(0,G.jsx)(dY,{id:o??``,pendingDraftKey:`meeting/${e}`,loadError:u,panel:!0,recording:t,onSelect:e=>{s(e),l(e=>e+1)},onClose:()=>S(),onExpand:o?()=>{Iv(),S(!1),window.yogurt.nav.go(`/chat/${o}`)}:void 0,onDeleted:()=>{S(!1),s(void 0),window.yogurt.nav.go(`/chat`)},onSource:(e,t)=>{S(!1),r(e,t)}},`${e}/${c}`)]})]});return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`button`,{id:`meeting-ask`,ref:m,"data-testid":`chat-open`,className:`workspace-button chat-trigger`,type:`button`,"aria-expanded":i,"aria-controls":`meeting-chat`,title:wv()?W(`Ask Yogurt (⌘J)`):`${W(`Ask Yogurt`)} (${Sv(`⌘J`)})`,onClick:()=>{i&&!b.current?S():(b.current&&(b.current=!1,x(!0)),y.current=!0,d(!1),a(!0),h.current?.querySelector(`textarea`)?.focus({preventScroll:!0}))},children:[(0,G.jsx)(JG,{size:16,strokeWidth:1.75,"aria-hidden":`true`}),(0,G.jsx)(`span`,{children:W(`Ask Yogurt`)}),(0,G.jsx)(`kbd`,{"aria-hidden":`true`,children:Sv(`⌘J`)})]}),n&&(0,De.createPortal)(C,n)]})}function dQ(e){let t=Math.max(0,Math.floor(e/1e3)),n=String(t%60).padStart(2,`0`),r=Math.floor(t/60);return r>=60?`${Math.floor(r/60)}:${String(r%60).padStart(2,`0`)}:${n}`:`${r}:${n}`}var fQ=60,pQ=220,mQ=class{target=0;level=0;step(e){let t=this.target>this.level?fQ:pQ;this.level+=(this.target-this.level)*(1-Math.exp(-e/t))}settled(){return this.target!==0||this.level>=.002?!1:(this.level=0,!0)}};function hQ(e){let t=e.paused||e.reduced;if(t&&!e.stillBars)return{heights:[0,0,0],alpha:[.5,.5,.5]};let n=e.bars===3?[.75,1,.75]:[.5,.75,1,.75,.5],r=t?.7:e.level;return{heights:n.map(e=>e*r),alpha:n.map(()=>.45+.55*r)}}var gQ=(e,t)=>e.heights.map(e=>Math.round(e*t)).join()+`|`+Math.round(e.alpha[0]*100),_Q=e=>Number.isFinite(e.me)?Math.max(0,Math.min(1,(e.me-.15)/.65)):0,vQ=3,yQ=3,bQ=()=>window.matchMedia(`(prefers-reduced-motion: reduce)`);function xQ({height:e,className:t,testId:n,paused:r=!1,bars:i=5,stillBars:a=!1}){let o=(0,U.useRef)(null),s=i*vQ+(i-1)*yQ;return(0,U.useEffect)(()=>{let t=o.current;if(!t)return;let n=new mQ,c=bQ(),l=window.devicePixelRatio||1,u=c.matches;t.width=s*l,t.height=e*l;let d=getComputedStyle(t).color,f=``,p=(o=!1)=>{let c=t.getContext(`2d`);if(!c)return;let p=hQ({reduced:u,paused:r,level:n.level,bars:i,stillBars:a}),m=gQ(p,e-vQ);(o||m!==f)&&(f=m,c.setTransform(l,0,0,l,0,0),c.clearRect(0,0,s,e),c.fillStyle=d,p.heights.forEach((t,n)=>{let r=vQ+Math.round(t*(e-vQ));c.globalAlpha=p.alpha[n],c.beginPath();let i=(s-p.heights.length*vQ-(p.heights.length-1)*yQ)/2;c.roundRect(i+n*6,(e-r)/2,vQ,r,vQ/2),c.fill()}),c.globalAlpha=1,t.dataset.level=n.level.toFixed(2))},m=performance.now(),h=window.yogurt.widget.onLevel(e=>{n.target=_Q(e),m=performance.now(),u?(n.level=n.target,p()):n.target>0&&x()}),g=0,_=performance.now(),v=e=>{e||(cancelAnimationFrame(g),g=0),t.dataset.live=e?`1`:`0`},y=e=>{let t=Math.min(100,e-_);_=e,e-m>300&&(n.target=0),n.step(t),n.settled()?(p(!0),v(!1)):(p(),g=requestAnimationFrame(y))},b=()=>{_=performance.now(),g=requestAnimationFrame(y),v(!0)},x=()=>{g||u||r||document.visibilityState!==`visible`||b()},S=()=>{v(!1),!u&&!r&&document.visibilityState===`visible`&&b(),p(!0)},C=()=>{u=c.matches,S()},w=()=>{document.visibilityState===`visible`?x():v(!1)},T=()=>{d=getComputedStyle(t).color,p(!0)},E=window.matchMedia(`(prefers-color-scheme: dark)`);return c.addEventListener(`change`,C),E.addEventListener(`change`,T),document.addEventListener(`visibilitychange`,w),S(),()=>{h(),cancelAnimationFrame(g),c.removeEventListener(`change`,C),E.removeEventListener(`change`,T),document.removeEventListener(`visibilitychange`,w)}},[e,s,r,i,a]),(0,G.jsx)(`canvas`,{ref:o,"data-testid":n,"aria-hidden":`true`,className:t,style:{width:s,height:e}})}function SQ({view:e,testId:t=`note-elapsed`,className:n=`note-elapsed`}){let[r,i]=(0,U.useState)(`—`);return(0,U.useEffect)(()=>{if(!e){i(`—`);return}let t=()=>i(dQ(e.elapsedMs+(e.kind===`recording`&&!e.paused?Math.max(0,Date.now()-e.at):0)));if(t(),e.kind!==`recording`||e.paused)return;let n=setInterval(t,250);return()=>clearInterval(n)},[e]),(0,G.jsx)(`time`,{"data-testid":t,className:n,"aria-label":W(`Recorded time`),children:r})}function CQ(e,t,n=!1){return e===`mine`?{side:`mine`,writing:!1,fellBack:!1}:t===`waiting`||t===`writing`?{side:`enhanced`,writing:!0,fellBack:!1}:t===`failed`&&!n||t===`empty`?{side:`mine`,writing:!1,fellBack:!0}:{side:`enhanced`,writing:!1,fellBack:!1}}function wQ({id:e,shown:t,status:n,hasEnhanced:r,beforeUse:i}){let[a,o]=(0,U.useState)(!1),s=Pf(a),[c,l]=(0,U.useState)(),u=(0,U.useRef)(null),d=(0,U.useRef)(null),f=(0,U.useRef)([]),p=(0,U.useRef)(void 0),m=CQ(t,n,r),h=(0,U.useCallback)((e,t=`notice`)=>{l({text:e,kind:t}),clearTimeout(p.current),p.current=setTimeout(()=>l(void 0),2e3)},[]);(0,U.useEffect)(()=>(l(void 0),o(!1),()=>clearTimeout(p.current)),[e]);let{side:g,writing:_,fellBack:v}=m,y=(0,U.useCallback)(async(a,o=t)=>{let{side:s,writing:c,fellBack:l}=CQ(o,n,r);if(a===`notes`&&c){h(W(`Still generating your summary`));return}if(a===`notes`&&!await i()){h(W(`Couldn't save your latest changes. Try again before copying.`),`error`);return}let u=await window.yogurt.share.copy(e,a,s);h(W(u===`failed`?`Couldn't copy. Try again.`:u===`nothing`?`Nothing to copy yet`:a===`notes`&&l?`Copied your notes`:`Copied`),u===`failed`?`error`:u===`nothing`?`notice`:`copied`)},[e,t,n,r,i,h]),b=async()=>{if(_){h(W(`Still generating your summary`));return}if(!await i()){h(W(`Couldn't save your latest changes. Try again before exporting.`),`error`);return}let t=await window.yogurt.share.save(e,g);t===`saved`?h(W(v?`Saved your notes`:`Saved`),`saved`):t===`failed`&&h(W(`Couldn't save the file`),`error`)},x=e=>{o(!1),d.current?.focus(),e()};(0,U.useEffect)(()=>{let e=e=>{!e.repeat&&Cv(e)&&e.shiftKey&&!e.altKey&&!(wv()&&e.ctrlKey)&&e.key.toLowerCase()===`c`&&(e.preventDefault(),y(`notes`))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[y]),(0,U.useEffect)(()=>{if(!a)return;f.current[0]?.focus();let e=e=>{u.current?.contains(e.target)||o(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[a]);let S=e=>{let t=f.current.filter(e=>e&&!e.disabled),n=t.indexOf(document.activeElement);e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),o(!1),d.current?.focus()):e.key===`ArrowDown`?(e.preventDefault(),t[(n+1)%t.length]?.focus()):e.key===`ArrowUp`?(e.preventDefault(),t[(n-1+t.length)%t.length]?.focus()):e.key===`Home`?(e.preventDefault(),t[0]?.focus()):e.key===`End`?(e.preventDefault(),t.at(-1)?.focus()):e.key===`Tab`&&(o(!1),d.current?.focus())},C=`flex w-full items-center gap-2.5 rounded-xl px-3 py-2 text-start text-sm hover:bg-[var(--line)] focus-visible:bg-[var(--line)] focus-visible:outline-none`,w=c?.kind===`copied`;return(0,G.jsxs)(`div`,{ref:u,className:`relative flex items-center gap-1.5`,children:[(0,G.jsx)(`span`,{"data-testid":`share-said`,"data-tone":c?.kind,role:`status`,"aria-live":`polite`,"aria-atomic":`true`,className:`pointer-events-none absolute end-0 top-full z-20 mt-2 flex w-max max-w-[min(280px,calc(100vw-48px))] items-start gap-1.5 rounded-md text-xs text-muted ${c?`border border-line bg-float px-2.5 py-1.5 shadow-[var(--shadow-soft)]`:``}`,children:c&&(0,G.jsxs)(G.Fragment,{children:[(c.kind===`copied`||c.kind===`saved`)&&(0,G.jsx)(yg,{"data-testid":`share-success`,size:12,strokeWidth:1.75,"aria-hidden":`true`,className:`mt-px shrink-0`}),c.kind===`error`&&(0,G.jsx)(kg,{size:12,strokeWidth:1.75,"aria-hidden":`true`,className:`mt-px shrink-0 text-danger`}),c.text]})}),(0,G.jsxs)(`button`,{ref:d,"data-testid":`share-button`,"data-state":w?`copied`:`idle`,"aria-haspopup":`menu`,"aria-expanded":!!a,title:W(`Copy and export`),onClick:e=>o(t=>t?!1:e.detail>0?`pointer`:`keyboard`),className:`ghost-btn`,children:[(0,G.jsx)(rK,{size:13,strokeWidth:1.75,"aria-hidden":`true`}),W(`Copy`),(0,G.jsx)(xg,{size:12,strokeWidth:1.75,"aria-hidden":`true`})]}),s.value&&(0,G.jsxs)(`div`,{"data-testid":`share-menu`,...s.props,role:`menu`,"aria-label":W(`Copy and export`),onKeyDown:S,className:`menu-entry absolute end-0 top-full z-30 mt-2 w-60 rounded-xl border border-line bg-float p-1.5 text-ink shadow-[var(--shadow)]`,children:[(0,G.jsxs)(`button`,{ref:e=>{f.current[0]=e},role:`menuitem`,"data-testid":`share-copy-notes`,onClick:()=>x(()=>void y(`notes`,`mine`)),className:C,children:[(0,G.jsx)(rK,{size:15,strokeWidth:1.75,"aria-hidden":`true`,className:`text-muted`}),(0,G.jsx)(`span`,{className:`flex-1`,children:W(`Copy my notes`)})]}),(0,G.jsxs)(`button`,{ref:e=>{f.current[1]=e},role:`menuitem`,"data-testid":`share-copy-summary`,disabled:!r&&!_,onClick:()=>x(()=>void y(`notes`,`enhanced`)),className:`${C} disabled:opacity-40`,children:[(0,G.jsx)(rK,{size:15,strokeWidth:1.75,"aria-hidden":`true`,className:`text-muted`}),W(`Copy summary`)]}),(0,G.jsxs)(`button`,{ref:e=>{f.current[2]=e},role:`menuitem`,"data-testid":`share-copy-transcript`,onClick:()=>x(()=>void y(`transcript`)),className:C,children:[(0,G.jsx)(rK,{size:15,strokeWidth:1.75,"aria-hidden":`true`,className:`text-muted`}),W(`Copy transcript`)]}),(0,G.jsxs)(`button`,{ref:e=>{f.current[3]=e},role:`menuitem`,"data-testid":`share-export`,onClick:()=>x(()=>void b()),className:C,children:[(0,G.jsx)(Vg,{size:15,strokeWidth:1.75,"aria-hidden":`true`,className:`text-muted`}),W(`Export Markdown…`)]})]})]})}var TQ=U.createContext(void 0);function EQ(e){let t=U.useContext(TQ);if(t===void 0&&!e)throw Error(DH(72));return t}var DQ={...pU,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,appliedTriggerProps:(e,t)=>t?e.activeTriggerProps:void 0,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},OQ=class extends iU{constructor(e,t,n){let r=new ZH;super(kQ(e,r,t,n),AQ(r),DQ)}setOpen=(e,t)=>{GH(this,e,t,{extraState:{openChangeReason:t.reason}})};cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,Yz(Zz,e))}};function kQ(e,t,n,r=!1){return{...sU(t,n,r),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:`none`,disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e}}function AQ(e){return{popupRef:U.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}var jQ=az(function(e){let{disabled:t=!1,defaultOpen:n=!1,open:r,disableHoverablePopup:i=!1,trackCursorAxis:a=`none`,actionsRef:o,onOpenChange:s,onOpenChangeComplete:c,handle:l,triggerId:u,defaultTriggerId:d=null,children:f}=e,p=zH((e,t)=>new OQ({open:n,openProp:r,activeTriggerId:d,triggerIdProp:u},e,t));p.useControlledProp(`openProp`,r),p.useControlledProp(`triggerIdProp`,u),p.useContextCallback(`onOpenChange`,s),p.useContextCallback(`onOpenChangeComplete`,c);let m=p.useState(`open`),h=!t&&m,g=p.useState(`activeTriggerId`),_=p.useState(`mounted`),v=p.useState(`payload`);p.useSyncedValues({trackCursorAxis:a,disableHoverablePopup:i,disabled:t}),qH(p,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:y,transitionStatus:b}=JH(h,p),x=p.useState(`isInstantPhase`),S=p.useState(`instantType`),C=p.useState(`lastOpenChangeReason`),w=U.useRef(null);Y(()=>{m&&t&&p.setOpen(!1,Yz(oae))},[m,t,p]),Y(()=>{b===`ending`&&C===`none`||b!==`ending`&&x?(S!==`delay`&&(w.current=S),p.set(`instantType`,`delay`)):w.current!==null&&(p.set(`instantType`,w.current),w.current=null)},[b,x,C,S,p]),Y(()=>{h&&(g??p.set(`payload`,void 0))},[p,g,h]),U.useImperativeHandle(o,()=>({unmount:y,close:()=>p.setOpen(!1,Yz(iB))}),[y,p]);let T=h||_||!t&&a!==`none`;return(0,G.jsxs)(TQ.Provider,{value:p,children:[l&&(0,G.jsx)(BH,{handle:l,store:p}),T&&(0,G.jsx)(MQ,{store:p,disabled:t,trackCursorAxis:a}),typeof f==`function`?f({payload:v}):f]})});function MQ({store:e,disabled:t,trackCursorAxis:n}){let r=e.useState(`floatingRootContext`),i=TH(r,{enabled:!t,referencePress:()=>e.select(`closeOnClick`)}),a=SH(r,{enabled:!t&&n!==`none`,axis:n===`none`?void 0:n}),o=U.useMemo(()=>bV(a.reference,i.reference),[a.reference,i.reference]);return YH(e,{activeTriggerProps:o,inactiveTriggerProps:o,popupProps:i.floating??lz}),null}var NQ=U.createContext(void 0);function PQ(){return U.useContext(NQ)}var FQ=`data-base-ui-tooltip-trigger`;function IQ(e){let t=kz(e);return gL(t)?t:null}var LQ=oz(function(e,t){let{render:n,className:r,style:i,handle:a,payload:o,disabled:s,delay:c,closeOnClick:l=!0,closeDelay:u,id:d,...f}=e,p=EQ(!0),m=mU(a)??p;if(!m)throw Error(DH(82));let h=_W(d),g=m.useState(`isTriggerActive`,h),_=m.useState(`isOpenedByTrigger`,h),v=m.useState(`floatingRootContext`),y=U.useRef(null),b=u??0,{registerTrigger:x,isMountedByThisTrigger:S}=KH(h,y,m,{payload:o,closeOnClick:l,closeDelay:b}),C=PQ(),{activeIdRef:w,delayRef:T,isInstantPhase:E,hasProvider:D}=lae(v,{open:_}),O=SU(v);m.useSyncedValue(`isInstantPhase`,E);let k=m.useState(`disabled`),A=s??k,j=uB(A),M=m.useState(`trackCursorAxis`),N=m.useState(`disableHoverablePopup`),P=U.useRef(!1),F=pz(),I=U.useRef(void 0);function L(){return D&&w.current!=null?0:c??C??600}function R(e){let t=y.current;if(!t||!e)return!1;let n=Oz(e,`[${FQ}]`);return n!==null&&n!==t&&Dz(t,n)}function ee(e){let t=R(e);return P.current=t,t&&(O.openChangeTimeout.clear(),O.restTimeout.clear(),O.restTimeoutPending=!1,F.clear()),t}let z=TU(v,{enabled:!A,mouseOnly:!0,move:!1,handleClose:!N&&M!==`both`?VU():null,restMs:L,delay(){return u==null&&D?{close:Kz(T.current,`close`)}:{close:b}},triggerElementRef:y,isActiveTrigger:g,isClosing:()=>m.select(`transitionStatus`)===`ending`,shouldOpen(){return!P.current}}),te=_U(v,{enabled:!A}).reference,ne=e=>{let t=P.current,n=IQ(e),r=ee(n),i=y.current,a=i&&n&&Dz(i,n);if(r&&m.select(`open`)&&m.select(`lastOpenChangeReason`)===`trigger-hover`)m.setOpen(!1,Yz(Qz,e));else if(t&&!r&&a&&!j.current&&!m.select(`open`)&&i&&Tz(I.current)){let t=()=>{P.current||j.current||m.select(`open`)||m.setOpen(!0,Yz(Qz,e,i))},n=L();n===0?(F.clear(),t()):F.start(n,t)}},re=m.useState(`appliedTriggerProps`,S||M!==`none`);return NV(`button`,e,{state:{open:_},ref:[t,x,y],props:[z,te,re,{onMouseOver(e){ne(e.nativeEvent)},onFocus(e){R(IQ(e.nativeEvent))&&e.preventBaseUIHandler()},onMouseLeave(){P.current=!1,F.clear(),I.current=void 0},onPointerEnter(e){I.current=e.pointerType},onPointerDown(e){I.current=e.pointerType,m.set(`closeOnClick`,l),l&&!m.select(`open`)&&m.cancelPendingOpen(e.nativeEvent)},onClick(e){l&&!m.select(`open`)&&m.cancelPendingOpen(e.nativeEvent)},id:h,[zz]:A?``:void 0,[FQ]:A?void 0:``},f],stateAttributesMapping:Fz})}),RQ=U.createContext(void 0);function zQ(){let e=U.useContext(RQ);if(e===void 0)throw Error(DH(70));return e}var BQ=U.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return EQ().useState(`mounted`)||n?(0,G.jsx)(RQ.Provider,{value:n,children:(0,G.jsx)(uZ,{ref:t,...r})}):null}),VQ=U.createContext(void 0);function HQ(){let e=U.useContext(VQ);if(e===void 0)throw Error(DH(71));return e}var UQ=U.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a=`absolute`,side:o=`top`,align:s=`center`,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m=!1,collisionAvoidance:h=qV,style:g,..._}=e,v=EQ(),y=zQ(),b=v.useState(`open`),x=v.useState(`mounted`),S=v.useState(`trackCursorAxis`),C=v.useState(`disableHoverablePopup`),w=v.useState(`floatingRootContext`),T=v.useState(`instantType`),E=v.useState(`transitionStatus`),D=KW({anchor:i,positionMethod:a,floatingRootContext:w,mounted:x,side:o,sideOffset:c,align:s,alignOffset:l,collisionBoundary:u,collisionPadding:d,sticky:p,arrowPadding:f,disableAnchorTracking:m,keepMounted:y,collisionAvoidance:h,adaptiveOrigin:v.useState(`adaptiveOrigin`)}),O=QW(e,U.useMemo(()=>({open:b,side:D.side,align:D.align,anchorHidden:D.anchorHidden,instant:S===`none`?T:`tracking-cursor`}),[b,D.side,D.align,D.anchorHidden,S,T]),{styles:D.positionerStyles,transitionStatus:E,props:_,refs:[t,v.useStateSetter(`positionerElement`)],hidden:!x,inert:!b||S===`both`||C});return(0,G.jsx)(VQ.Provider,{value:D,children:O})}),WQ=U.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=EQ(),{side:s,align:c}=HQ(),l=o.useState(`open`),u=o.useState(`instantType`),d=o.useState(`transitionStatus`),f=o.useState(`popupProps`),p=o.useState(`floatingRootContext`),m=o.useState(`disabled`),h=o.useState(`closeDelay`);FH({open:l,ref:o.context.popupRef,onComplete(){l&&o.context.onOpenChangeComplete?.(!0)}}),CU(p,{enabled:!m,closeDelay:h});let g=o.useStateSetter(`popupElement`);return NV(`div`,e,{state:{open:l,side:s,align:c,instant:u,transitionStatus:d},ref:[t,o.context.popupRef,g],props:[LH,f,ZW(d),a],stateAttributesMapping:Rz})});function GQ({active:e,edited:t,disabled:n,hasSummary:r,onClose:i,onSubmit:a}){let[o,s]=(0,U.useState)(``);(0,U.useLayoutEffect)(()=>{e&&s(``)},[e]);let c=W(r?`Regenerate summary`:`Generate summary`);return(0,G.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),n||a(o.trim())},children:[(0,G.jsxs)(`div`,{className:`summary-regenerate-heading`,children:[(0,G.jsx)(`span`,{children:c}),(0,G.jsx)(`button`,{type:`button`,className:`ghost-btn workspace-icon`,"aria-label":W(`Close`),onClick:i,children:(0,G.jsx)(av,{size:14,"aria-hidden":`true`})})]}),(0,G.jsx)(`input`,{autoFocus:!0,"data-testid":`note-regenerate-input`,className:`summary-regenerate-input`,"aria-label":W(`Note for the summary`),placeholder:W(`Add a note, like shorter or in Spanish`),maxLength:240,value:o,onChange:e=>s(e.target.value),onKeyDown:e=>{e.key===`Enter`&&e.nativeEvent.isComposing&&e.preventDefault()}}),t&&(0,G.jsx)(`p`,{id:`note-rewrite-description`,"data-testid":`note-confirm`,className:`summary-regenerate-warning`,children:W(`Your edits to the summary will be replaced.`)}),(0,G.jsx)(`div`,{className:`summary-regenerate-actions`,children:(0,G.jsx)(`button`,{"data-testid":`note-write-again-confirm`,type:`submit`,disabled:n,className:`workspace-button primary`,children:W(r?`Regenerate`:`Generate summary`)})})]})}function KQ({hasSummary:e,hasContent:t,recording:n,busy:r,downloading:i,trashed:a}){if(!(a||!e&&!t))return{label:W(e?`Regenerate summary`:`Generate summary`),reason:n?W(`Available after recording`):i?W(`Waiting for Yogurt AI to download`):r?W(`Writing the summary`):void 0}}function qQ({recording:e,savePending:t,onRename:n,onDelete:r,folders:i,trashed:a,generation:o,hasSummary:s,edited:c,rewriteOpen:l,setRewriteOpen:u,onWriteAgain:d}){let[f,p]=(0,U.useState)(!1),m=Pf(l&&o?`rewrite`:f),[h,g]=(0,U.useState)(!1),_=(0,U.useRef)(null),v=(0,U.useRef)(null),y=(0,U.useRef)(null),b=(e=!0)=>{p(!1),u(!1),e&&v.current?.focus({preventScroll:!0})};(0,U.useEffect)(()=>{o||u(!1)},[!!o]),(0,U.useEffect)(()=>{if(l&&_.current?.querySelector(`input`)?.focus({preventScroll:!0}),!f&&!l){m.value||g(!1);return}l||y.current?.focus();let e=e=>{_.current?.contains(e.target)||b(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[f,l,m.value]);let x=e=>{let t=Array.from(_.current?.querySelectorAll(`[role="menuitem"]:not(:disabled), [role="menuitemcheckbox"]`)??[]),n=t.indexOf(document.activeElement);e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),p(!1),v.current?.focus()):e.key===`ArrowDown`?(e.preventDefault(),t[(n+1)%t.length]?.focus()):e.key===`ArrowUp`?(e.preventDefault(),t[(n-1+t.length)%t.length]?.focus()):e.key===`Tab`&&p(!1)},S=e=>{p(!1),e()},C=`flex w-full items-center gap-2.5 rounded-xl px-3 py-2 text-start text-sm hover:bg-[var(--line)] focus-visible:bg-[var(--line)] focus-visible:outline-none disabled:opacity-50 disabled:hover:bg-transparent`;return(0,G.jsxs)(`div`,{ref:_,className:`relative`,children:[(0,G.jsx)(`button`,{ref:v,"data-testid":`note-menu-button`,"aria-haspopup":l?`dialog`:`menu`,"aria-expanded":!!f||l,"aria-label":W(`More`),title:W(`More`),onClick:e=>{l?b():p(t=>t?!1:e.detail>0?`pointer`:`keyboard`)},className:`ghost-btn workspace-icon`,children:(0,G.jsx)(Lg,{size:17,strokeWidth:1.75,"aria-hidden":`true`})}),m.value===`rewrite`?(0,G.jsx)(`div`,{role:`dialog`,"data-testid":`note-regenerate`,"aria-label":W(s?`Regenerate summary`:`Generate summary`),"aria-describedby":c?`note-rewrite-description`:void 0,...m.props,"data-anchor":`end`,className:`menu-entry summary-regenerate`,onKeyDown:e=>{e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),b())},children:(0,G.jsx)(GQ,{active:l,hasSummary:s,edited:c,disabled:!o||!!o.reason,onClose:b,onSubmit:e=>{o&&!o.reason&&(b(),d(e))}})},`rewrite`):m.value&&(0,G.jsx)(`div`,{"data-testid":`note-menu`,...m.props,role:`menu`,"data-anchor":`end`,"aria-label":W(`More`),onKeyDown:x,className:`menu-entry absolute end-0 top-full z-30 mt-2 w-max min-w-60 max-w-[calc(100vw-32px)] rounded-xl border border-line bg-float p-1.5 shadow-[var(--shadow)]`,children:h&&i?i(()=>{p(!1),v.current?.focus()}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`button`,{ref:y,role:`menuitem`,"data-testid":`note-rename`,onClick:()=>S(n),className:C,children:[(0,G.jsx)(F_,{size:15,strokeWidth:1.75,"aria-hidden":`true`,className:`text-muted`}),W(`Rename`)]}),i&&(0,G.jsxs)(`button`,{role:`menuitem`,"data-testid":`note-add-to-folder`,"aria-haspopup":`menu`,onClick:()=>{g(!0),requestAnimationFrame(()=>_.current?.querySelector(`[role="menuitemcheckbox"], [role="menuitem"]`)?.focus())},className:C,children:[(0,G.jsx)(Yg,{size:15,"aria-hidden":`true`,className:`text-muted`}),(0,G.jsx)(`span`,{className:`flex-1`,children:W(`Add to folder`)}),(0,G.jsx)(Tg,{size:14,"aria-hidden":`true`,className:`text-muted rtl:-scale-x-100`})]}),o&&(0,G.jsxs)(jQ,{disabled:!o.reason,children:[(0,G.jsxs)(LQ,{delay:180,closeOnClick:!1,role:`menuitem`,"data-testid":`note-write-again`,"aria-disabled":!!o.reason,"aria-description":o.reason,onClick:()=>{o.reason||(p(!1),u(!0))},className:`${C} whitespace-nowrap aria-disabled:opacity-50 aria-disabled:hover:bg-transparent`,children:[(0,G.jsx)(H_,{size:15,strokeWidth:1.75,"aria-hidden":`true`,className:`text-muted`}),o.label]}),(0,G.jsx)(BQ,{children:(0,G.jsx)(UQ,{side:`left`,align:`center`,sideOffset:6,collisionPadding:12,className:`z-[80]`,children:(0,G.jsx)(WQ,{role:`tooltip`,className:`rounded-md border border-line bg-float px-2 py-1 text-xs whitespace-nowrap text-ink shadow-[var(--shadow)]`,children:o.reason})})})]}),(0,G.jsxs)(`button`,{role:`menuitem`,"data-testid":`note-delete`,disabled:e||t,onClick:()=>S(()=>{v.current?.focus(),r()}),className:`${C} text-danger`,children:[(0,G.jsx)(Z_,{size:15,strokeWidth:1.75,"aria-hidden":`true`}),(0,G.jsxs)(`span`,{className:`flex flex-col`,children:[W(a?`Delete forever`:`Delete note`),e&&(0,G.jsx)(`span`,{className:`text-xs text-muted`,children:W(`Stop the recording first`)}),t&&(0,G.jsx)(`span`,{className:`text-xs text-muted`,children:W(`Finish saving first`)})]})]})]})},`menu`)]})}function JQ({testId:e,warningTestId:t,className:n=``,children:r}){return(0,G.jsxs)(`div`,{"data-testid":e,"data-state":`failed`,role:`alert`,className:`inline-error ${n}`,children:[(0,G.jsx)($_,{"data-testid":t,size:15,strokeWidth:1.75,"aria-hidden":`true`}),r]})}function YQ({id:e,title:t,onDone:n}){let[r,i]=(0,U.useState)(!1),[a,o]=(0,U.useState)(null),s=()=>n(!1),c=async()=>{i(!0),o(null);let t=await nQ(`delete`,[e],()=>window.yogurt.meetings.delete(e),t=>t===`deleted`||t===`missing`?[e]:[]).catch(()=>`failed`);i(!1),t===`deleted`||t===`missing`?n(!0):o(t)};return(0,G.jsxs)(GJ,{testId:`delete-confirm`,role:`alertdialog`,title:W(`Delete “{title}” forever?`,{title:t}),description:Tv({mac:W(`Its notes, transcript and recording are removed from this Mac for good.`),other:W(`Its notes, transcript and recording are removed from this computer for good.`)}),onCancel:s,busy:r,children:[a&&(0,G.jsx)(JQ,{testId:`delete-failed`,className:`inline-error-in-dialog`,children:(0,G.jsx)(`span`,{children:W(a===`recording`?`Stop the recording first, then try again.`:a===`save-pending`?`Open this note and finish saving before deleting it.`:`Yogurt couldn't finish deleting this note.`)})}),(0,G.jsxs)(`div`,{className:`modal-actions`,children:[(0,G.jsx)(`button`,{"data-testid":`delete-yes`,onClick:()=>void c(),disabled:r,className:`modal-button danger`,children:W(`Delete forever`)}),(0,G.jsx)(WJ,{"data-testid":`delete-cancel`,"data-dialog-cancel":!0,disabled:r,className:`workspace-button`,children:W(`Cancel`)})]})]})}function XQ(e){return e.status===`waiting`||e.status===`writing`?e.enhanced!=null&&!/[\p{L}\p{N}]/u.test(e.draft)?`rewriting`:e.draft?`streaming`:`waiting`:e.enhanced==null?e.status===`failed`?`failed`:e.status===`empty`?`empty`:e.status===`stopped`?`stopped`:`saved`:`saved`}function ZQ(e,t){let n=e?XQ(e):`saved`,r=e?.meetingId,[i,a]=(0,U.useState)({id:r,presentation:n,fading:!1,resetting:!1});return(i.id!==r||i.presentation!==n)&&a({id:r,presentation:n,resetting:t&&i.id===r&&i.presentation===`rewriting`&&n===`streaming`,fading:!t&&i.id===r&&i.presentation===`rewriting`&&n===`streaming`}),(0,U.useEffect)(()=>{if(i.resetting){let e=requestAnimationFrame(()=>a(e=>({...e,resetting:!1})));return()=>cancelAnimationFrame(e)}if(!i.fading)return;if(t){a(e=>({...e,fading:!1,resetting:!0}));return}let e=setTimeout(()=>a(e=>({...e,fading:!1,resetting:!0})),kf.micro);return()=>clearTimeout(e)},[i.fading,i.resetting,t,r]),i.resetting||i.fading&&t?`reset`:i.fading?`handoff`:n}var QQ=1e3,$Q=class{save;handoff;revision=0;pending;timer;flight;status=`saved`;reason;changed=()=>{};constructor(e,t){this.save=e,this.handoff=t}seed(e,t){!t||t.revision<this.revision||this.flight&&t.revision===this.revision||(t.revision!==this.revision||this.status!==`saved`||t.status!==`failed`)&&(this.revision=t.revision,t.status===`failed`?(this.pending={text:e,revision:t.revision},this.status=`failed`,this.reason=t.reason):this.pending&&this.pending.revision!==t.revision||(this.pending=void 0,this.status=`saved`,this.reason=void 0))}change(e){this.pending={text:e,revision:++this.revision},this.status=`saving`,this.reason=void 0,this.changed(),clearTimeout(this.timer),this.timer=setTimeout(()=>{this.flush()},QQ)}acknowledge(e,t){this.pending?.revision===e.revision&&(t.revision===e.revision&&t.status===`saved`?(this.pending=void 0,this.status=`saved`):this.status=`failed`,this.reason=t.reason,this.changed())}flush(){if(clearTimeout(this.timer),this.flight)return this.flight;let e=this.pending;if(!e)return Promise.resolve(!0);this.status=`saving`,this.changed();let t;try{t=this.save(e)}catch{t=Promise.resolve({revision:e.revision,status:`failed`})}return this.flight=t.catch(()=>({revision:e.revision,status:`failed`})).then(t=>(this.acknowledge(e,t),this.flight=void 0,this.pending&&this.pending.revision>e.revision?this.flush():!this.pending)),this.flight}flushSync(){clearTimeout(this.timer);let e=this.pending;if(!e)return!0;try{let t=this.handoff(e);return this.acknowledge(e,t),t.status===`saved`||t.retained===!0}catch{return this.status=`failed`,this.changed(),!1}}dispose(){return clearTimeout(this.timer),this.changed=()=>{},this.flushSync()}},e$=new Set,t$=e=>(e$.add(e),()=>{e.dispose()&&e$.delete(e)}),n$=e=>e.trim().toLowerCase(),r$=(e,t)=>e||t.includes(`@`);function i$(e){let t=e.split(`@`)[0],n=t.replace(/[._-]+/g,` `).trim()||t;return n.charAt(0).toUpperCase()+n.slice(1)}function a$(e){let t=new Map,n=new Set([`gmail.com`,`outlook.com`,`hotmail.com`,`icloud.com`,`yahoo.com`,`proton.me`,`protonmail.com`,`mail.example`]);for(let r of e){let e=r.p.email?.trim().toLowerCase()??``,i=/^[^\s@]+@([^\s@]+\.[^\s@]+)$/.exec(e),a=i&&!n.has(i[1])?i[1]:``,o=a?a.split(`.`)[0].replace(/[-_]+/g,` `).replace(/\b\w/g,e=>e.toUpperCase()):``;t.has(a)||t.set(a,{domain:a,label:o,people:[]}),t.get(a).people.push(r)}return[...t.values()].sort((e,t)=>e.domain?t.domain?e.label.localeCompare(t.label):-1:1)}function o$(e){return e.trim().split(/\s+/).filter(Boolean).filter((e,t,n)=>t===0||t===n.length-1).map(e=>Array.from(e)[0]).join(``).toLocaleUpperCase()}var X;(function(e){e[e.AM=0]=`AM`,e[e.PM=1]=`PM`})(X||={});var s$;(function(e){e[e.SUNDAY=0]=`SUNDAY`,e[e.MONDAY=1]=`MONDAY`,e[e.TUESDAY=2]=`TUESDAY`,e[e.WEDNESDAY=3]=`WEDNESDAY`,e[e.THURSDAY=4]=`THURSDAY`,e[e.FRIDAY=5]=`FRIDAY`,e[e.SATURDAY=6]=`SATURDAY`})(s$||={});var c$;(function(e){e[e.JANUARY=1]=`JANUARY`,e[e.FEBRUARY=2]=`FEBRUARY`,e[e.MARCH=3]=`MARCH`,e[e.APRIL=4]=`APRIL`,e[e.MAY=5]=`MAY`,e[e.JUNE=6]=`JUNE`,e[e.JULY=7]=`JULY`,e[e.AUGUST=8]=`AUGUST`,e[e.SEPTEMBER=9]=`SEPTEMBER`,e[e.OCTOBER=10]=`OCTOBER`,e[e.NOVEMBER=11]=`NOVEMBER`,e[e.DECEMBER=12]=`DECEMBER`})(c$||={});function l$(e,t){e.assign(`day`,t.getDate()),e.assign(`month`,t.getMonth()+1),e.assign(`year`,t.getFullYear())}function u$(e,t){e.assign(`hour`,t.getHours()),e.assign(`minute`,t.getMinutes()),e.assign(`second`,t.getSeconds()),e.assign(`millisecond`,t.getMilliseconds()),e.assign(`meridiem`,t.getHours()<12?X.AM:X.PM)}function d$(e,t){e.imply(`day`,t.getDate()),e.imply(`month`,t.getMonth()+1),e.imply(`year`,t.getFullYear())}function f$(e,t){e.imply(`hour`,t.getHours()),e.imply(`minute`,t.getMinutes()),e.imply(`second`,t.getSeconds()),e.imply(`millisecond`,t.getMilliseconds()),e.imply(`meridiem`,t.getHours()<12?X.AM:X.PM)}var p$={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:{timezoneOffsetDuringDst:120,timezoneOffsetNonDst:60,dstStart:e=>h$(e,c$.MARCH,s$.SUNDAY,2),dstEnd:e=>h$(e,c$.OCTOBER,s$.SUNDAY,3)},CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,CT:{timezoneOffsetDuringDst:-300,timezoneOffsetNonDst:-360,dstStart:e=>m$(e,c$.MARCH,s$.SUNDAY,2,2),dstEnd:e=>m$(e,c$.NOVEMBER,s$.SUNDAY,1,2)},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:{timezoneOffsetDuringDst:-240,timezoneOffsetNonDst:-300,dstStart:e=>m$(e,c$.MARCH,s$.SUNDAY,2,2),dstEnd:e=>m$(e,c$.NOVEMBER,s$.SUNDAY,1,2)},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,MT:{timezoneOffsetDuringDst:-360,timezoneOffsetNonDst:-420,dstStart:e=>m$(e,c$.MARCH,s$.SUNDAY,2,2),dstEnd:e=>m$(e,c$.NOVEMBER,s$.SUNDAY,1,2)},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:{timezoneOffsetDuringDst:-420,timezoneOffsetNonDst:-480,dstStart:e=>m$(e,c$.MARCH,s$.SUNDAY,2,2),dstEnd:e=>m$(e,c$.NOVEMBER,s$.SUNDAY,1,2)},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 m$(e,t,n,r,i=0){let a=0,o=0;for(;o<r;)a++,new Date(e,t-1,a).getDay()===n&&o++;return new Date(e,t-1,a,i)}function h$(e,t,n,r=0){let i=n===0?7:n,a=new Date(e,t-1+1,1,12),o=a.getDay()===0?7:a.getDay(),s;return s=o===i?7:o<i?7+o-i:o-i,a.setDate(a.getDate()-s),new Date(e,t-1,a.getDate(),r)}function g$(e,t,n={}){if(e==null)return null;if(typeof e==`number`)return e;let r=n[e]??p$[e];return r==null?null:typeof r==`number`?r:t==null?null:t>r.dstStart(t.getFullYear())&&!(t>r.dstEnd(t.getFullYear()))?r.timezoneOffsetDuringDst:r.timezoneOffsetNonDst}var _$={day:0,second:0,millisecond:0};function v$(e,t){let n=new Date(e);if(t.y&&(t.year=t.y,delete t.y),t.mo&&(t.month=t.mo,delete t.mo),t.M&&(t.month=t.M,delete t.M),t.w&&(t.week=t.w,delete t.w),t.d&&(t.day=t.d,delete t.d),t.h&&(t.hour=t.h,delete t.h),t.m&&(t.minute=t.m,delete t.m),t.s&&(t.second=t.s,delete t.s),t.ms&&(t.millisecond=t.ms,delete t.ms),`year`in t){let e=Math.floor(t.year);n.setFullYear(n.getFullYear()+e);let r=t.year-e;r>0&&(t.month=t?.month??0,t.month+=r*12)}if(`quarter`in t){let e=Math.floor(t.quarter);n.setMonth(n.getMonth()+e*3);let r=t.quarter-e;r>0&&(t.month=t?.month??0,t.month+=r*3)}if(`month`in t){let e=Math.floor(t.month);n.setMonth(n.getMonth()+e);let r=t.month-e;r>0&&(t.week=t?.week??0,t.week+=r*4)}if(`week`in t){let e=Math.floor(t.week);n.setDate(n.getDate()+e*7);let r=t.week-e;r>0&&(t.day=t?.day??0,t.day+=Math.round(r*7))}if(`day`in t){let e=Math.floor(t.day);n.setDate(n.getDate()+e);let r=t.day-e;r>0&&(t.hour=t?.hour??0,t.hour+=Math.round(r*24))}if(`hour`in t){let e=Math.floor(t.hour);n.setHours(n.getHours()+e);let r=t.hour-e;r>0&&(t.minute=t?.minute??0,t.minute+=Math.round(r*60))}if(`minute`in t){let e=Math.floor(t.minute);n.setMinutes(n.getMinutes()+e);let r=t.minute-e;r>0&&(t.second=t?.second??0,t.second+=Math.round(r*60))}if(`second`in t){let e=Math.floor(t.second);n.setSeconds(n.getSeconds()+e);let r=t.second-e;r>0&&(t.millisecond=t?.millisecond??0,t.millisecond+=Math.round(r*1e3))}if(`millisecond`in t){let e=Math.floor(t.millisecond);n.setMilliseconds(n.getMilliseconds()+e)}return n}function y$(e){let t={};for(let n in e)t[n]=-e[n];return t}var b$=class e{instant;timezoneOffset;constructor(e,t){this.instant=e??new Date,this.timezoneOffset=t??null}static fromDate(t){return new e(t)}static fromInput(t,n){if(t instanceof Date)return e.fromDate(t);let r=t?.instant??new Date,i=g$(t?.timezone,r,n);return new e(r,i)}getDateWithAdjustedTimezone(){let e=new Date(this.instant);return this.timezoneOffset!==null&&e.setMinutes(e.getMinutes()-this.getSystemTimezoneAdjustmentMinute(this.instant)),e}getSystemTimezoneAdjustmentMinute(e,t){e||=new Date;let n=-e.getTimezoneOffset();return n-(t??this.timezoneOffset??n)}getTimezoneOffset(){return this.timezoneOffset??-this.instant.getTimezoneOffset()}},Z=class e{knownValues;impliedValues;reference;_tags=new Set;constructor(e,t){if(this.reference=e,this.knownValues={},this.impliedValues={},t)for(let e in t)this.knownValues[e]=t[e];let n=e.getDateWithAdjustedTimezone();this.imply(`day`,n.getDate()),this.imply(`month`,n.getMonth()+1),this.imply(`year`,n.getFullYear()),this.imply(`hour`,12),this.imply(`minute`,0),this.imply(`second`,0),this.imply(`millisecond`,0)}static createRelativeFromReference(t,n=_$){let r=v$(t.getDateWithAdjustedTimezone(),n),i=new e(t);return i.addTag(`result/relativeDate`),`hour`in n||`minute`in n||`second`in n||`millisecond`in n?(i.addTag(`result/relativeDateAndTime`),u$(i,r),l$(i,r),i.assign(`timezoneOffset`,t.getTimezoneOffset())):(f$(i,r),i.imply(`timezoneOffset`,t.getTimezoneOffset()),`day`in n?(i.assign(`day`,r.getDate()),i.assign(`month`,r.getMonth()+1),i.assign(`year`,r.getFullYear()),i.assign(`weekday`,r.getDay())):`week`in n?(i.assign(`day`,r.getDate()),i.assign(`month`,r.getMonth()+1),i.assign(`year`,r.getFullYear()),i.imply(`weekday`,r.getDay())):(i.imply(`day`,r.getDate()),`month`in n?(i.assign(`month`,r.getMonth()+1),i.assign(`year`,r.getFullYear())):(i.imply(`month`,r.getMonth()+1),`year`in n?i.assign(`year`,r.getFullYear()):i.imply(`year`,r.getFullYear())))),i}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.impliedValues[e]=t),this}assign(e,t){return this.knownValues[e]=t,delete this.impliedValues[e],this}addDurationAsImplied(e){let t=v$(this.dateWithoutTimezoneAdjustment(),e);return(`day`in e||`week`in e||`month`in e||`year`in e)&&(this.delete([`day`,`weekday`,`month`,`year`]),this.imply(`day`,t.getDate()),this.imply(`weekday`,t.getDay()),this.imply(`month`,t.getMonth()+1),this.imply(`year`,t.getFullYear())),(`second`in e||`minute`in e||`hour`in e)&&(this.delete([`second`,`minute`,`hour`]),this.imply(`second`,t.getSeconds()),this.imply(`minute`,t.getMinutes()),this.imply(`hour`,t.getHours())),this}delete(e){typeof e==`string`&&(e=[e]);for(let t of e)delete this.knownValues[t],delete this.impliedValues[t]}clone(){let t=new e(this.reference);t.knownValues={},t.impliedValues={};for(let e in this.knownValues)t.knownValues[e]=this.knownValues[e];for(let e in this.impliedValues)t.impliedValues[e]=this.impliedValues[e];return t}isOnlyDate(){return!this.isCertain(`hour`)&&!this.isCertain(`minute`)&&!this.isCertain(`second`)}isOnlyTime(){return!this.isCertain(`weekday`)&&!this.isCertain(`day`)&&!this.isCertain(`month`)&&!this.isCertain(`year`)}isOnlyWeekdayComponent(){return this.isCertain(`weekday`)&&!this.isCertain(`day`)&&!this.isCertain(`month`)}isDateWithUnknownYear(){return this.isCertain(`month`)&&!this.isCertain(`year`)}isValidDate(){let e=new Date(Date.UTC(this.get(`year`),this.get(`month`)-1,this.get(`day`),this.get(`hour`),this.get(`minute`),this.get(`second`),this.get(`millisecond`)));return e.setUTCFullYear(this.get(`year`)),!(e.getUTCFullYear()!==this.get(`year`)||e.getUTCMonth()!==this.get(`month`)-1||e.getUTCDate()!==this.get(`day`)||this.get(`hour`)!=null&&e.getUTCHours()!=this.get(`hour`)||this.get(`minute`)!=null&&e.getUTCMinutes()!=this.get(`minute`))}toString(){return`[ParsingComponents {- tags: ${JSON.stringify(Array.from(this._tags).sort())},- knownValues: ${JSON.stringify(this.knownValues)},- impliedValues: ${JSON.stringify(this.impliedValues)}},- reference: ${JSON.stringify(this.reference)}]`}date(){let e=this.get(`timezoneOffset`)??this.reference.timezoneOffset;if(e==null)return this.dateWithoutTimezoneAdjustment();let t=new Date(Date.UTC(this.get(`year`),this.get(`month`)-1,this.get(`day`),this.get(`hour`),this.get(`minute`),this.get(`second`),this.get(`millisecond`)));return t.setUTCFullYear(this.get(`year`)),new Date(t.getTime()-e*6e4)}addTag(e){return this._tags.add(e),this}addTags(e){for(let t of e)this._tags.add(t);return this}tags(){return new Set(this._tags)}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}},x$=class e{refDate;index;text;reference;start;end;constructor(e,t,n,r,i){this.reference=e,this.refDate=e.instant,this.index=t,this.text=n,this.start=r||new Z(e),this.end=i}clone(){let t=new e(this.reference,this.index,this.text);return t.start=this.start?this.start.clone():null,t.end=this.end?this.end.clone():null,t}date(){return this.start.date()}addTag(e){return this.start.addTag(e),this.end&&this.end.addTag(e),this}addTags(e){return this.start.addTags(e),this.end&&this.end.addTags(e),this}tags(){let e=new Set(this.start.tags());if(this.end)for(let t of this.end.tags())e.add(t);return e}toString(){let e=Array.from(this.tags()).sort();return`[ParsingResult {index: ${this.index}, text: '${this.text}', tags: ${JSON.stringify(e)} ...}]`}};function S$(e,t,n=`\\s{0,5},?\\s{0,5}`){let r=t.replace(/\((?!\?)/g,`(?:`);return`${e}${r}(?:${n}${r}){0,10}`}function C$(e){let t;return t=e instanceof Array?[...e]:e instanceof Map?Array.from(e.keys()):Object.keys(e),t}function Q(e){return`(?:${C$(e).sort((e,t)=>t.length-e.length).join(`|`).replace(/\./g,`\\.`)})`}function w$(e){return e<100&&(e+=e>50?1900:2e3),e}function T$(e,t,n){let r=new Date(e);r.setMonth(n-1),r.setDate(t);let i=v$(r,{year:1}),a=v$(r,{year:-1});return Math.abs(i.getTime()-e.getTime())<Math.abs(r.getTime()-e.getTime())?r=i:Math.abs(a.getTime()-e.getTime())<Math.abs(r.getTime()-e.getTime())&&(r=a),r.getFullYear()}var E$={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},D$={january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12},O$={...D$,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},k$={one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,ten:10,eleven:11,twelve:12},A$={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},j$={second:`second`,seconds:`second`,minute:`minute`,minutes:`minute`,hour:`hour`,hours:`hour`,day:`day`,days:`day`,week:`week`,weeks:`week`,month:`month`,months:`month`,quarter:`quarter`,quarters:`quarter`,year:`year`,years:`year`},M$={s:`second`,sec:`second`,second:`second`,seconds:`second`,m:`minute`,min:`minute`,mins:`minute`,minute:`minute`,minutes:`minute`,h:`hour`,hr:`hour`,hrs:`hour`,hour:`hour`,hours:`hour`,d:`day`,day:`day`,days:`day`,w:`week`,week:`week`,weeks:`week`,mo:`month`,mon:`month`,mos:`month`,month:`month`,months:`month`,qtr:`quarter`,quarter:`quarter`,quarters:`quarter`,y:`year`,yr:`year`,year:`year`,years:`year`,...j$},N$=`(?:${Q(k$)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s{0,2}an?)?|an?\\b(?:\\s{0,2}few)?|few|several|the|a?\\s{0,2}couple\\s{0,2}(?:of)?)`;function P$(e){let t=e.toLowerCase();return k$[t]===void 0?t===`a`||t===`an`||t==`the`?1:t.match(/few/)?3:t.match(/half/)?.5:t.match(/couple/)?2:t.match(/several/)?7:parseFloat(t):k$[t]}var F$=`(?:${Q(A$)}|[0-9]{1,2}(?:st|nd|rd|th)?)`;function I$(e){let t=e.toLowerCase();return A$[t]===void 0?(t=t.replace(/(?:st|nd|rd|th)$/i,``),parseInt(t)):A$[t]}var L$=`(?:[1-9][0-9]{0,3}\\s{0,2}(?:BE|AD|BC|BCE|CE)|[1-9][0-9]{3}|[0-9]{2}(?!\\w|:\\d|\\s+(?:am|pm|o\\s*clock|jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)))`;function R$(e){return/BE/i.test(e)?(e=e.replace(/BE/i,``),parseInt(e)-543):/BCE?/i.test(e)?(e=e.replace(/BCE?/i,``),-parseInt(e)):/(AD|CE)/i.test(e)?(e=e.replace(/(AD|CE)/i,``),parseInt(e)):w$(parseInt(e))}var z$=`(${N$})\\s{0,3}(${Q(M$)})`,B$=new RegExp(z$,`i`),V$=`(${N$})\\s{0,3}(${Q(j$)})`,H$=`\\s{0,5},?(?:\\s*and)?\\s{0,5}`,U$=S$(`(?:(?:about|around)\\s{0,3})?`,z$,H$),W$=S$(`(?:(?:about|around)\\s{0,3})?`,V$,H$);function G$(e){let t={},n=e,r=B$.exec(n);for(;r;)K$(t,r),n=n.substring(r[0].length).trim(),r=B$.exec(n);return Object.keys(t).length==0?null:t}function K$(e,t){if(t[0].match(/^[a-zA-Z]+$/))return;let n=P$(t[1]),r=M$[t[2].toLowerCase()];e[r]=n}var $=class{innerPatternHasChange(e,t){return this.innerPattern(e)!==t}patternLeftBoundary(){return`(\\W|^)`}cachedInnerPattern=null;cachedPattern=null;pattern(e){return this.cachedInnerPattern&&!this.innerPatternHasChange(e,this.cachedInnerPattern)||(this.cachedInnerPattern=this.innerPattern(e),this.cachedPattern=RegExp(`${this.patternLeftBoundary()}${this.cachedInnerPattern.source}`,this.cachedInnerPattern.flags)),this.cachedPattern}extract(e,t){let n=t[1]??``;t.index+=n.length,t[0]=t[0].substring(n.length);for(let e=2;e<t.length;e++)t[e-1]=t[e];return this.innerExtract(e,t)}},q$=RegExp(`(?:(?:within|in|for)\\s*)?(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${U$})(?=\\W|$)`,`i`),J$=RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${U$})(?=\\W|$)`,`i`),Y$=RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${W$})(?=\\W|$)`,`i`),X$=class extends ${strictMode;constructor(e){super(),this.strictMode=e}innerPattern(e){return this.strictMode?Y$:e.option.forwardDate?q$:J$}innerExtract(e,t){if(t[0].match(/^for\s*the\s*\w+/i))return null;let n=G$(t[1]);return n?Z.createRelativeFromReference(e.reference,n):null}},Z$=RegExp(`(?:on\\s{0,3})?(${F$})(?:\\s{0,3}(?:to|\\-|\\–|until|through|till)\\s{0,3}(${F$}))?(?:-|/|\\s{0,3}(?:of)?\\s{0,3})(${Q(O$)})(?:(?:-|/|,?\\s{0,3})(${L$}(?!\\w)))?(?=\\W|$)`,`i`),Q$=1,$$=2,e1=3,t1=4,n1=class extends ${innerPattern(){return Z$}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=O$[t[e1].toLowerCase()],i=I$(t[Q$]);if(i>31)return t.index+=t[Q$].length,null;if(n.start.assign(`month`,r),n.start.assign(`day`,i),t[t1]){let e=R$(t[t1]);n.start.assign(`year`,e)}else{let t=T$(e.refDate,i,r);n.start.imply(`year`,t)}if(t[$$]){let e=I$(t[$$]);n.end=n.start.clone(),n.end.assign(`day`,e)}return n}},r1=RegExp(`(${Q(O$)})(?:-|/|\\s*,?\\s*)(${F$})(?!\\s*(?:am|pm))\\s*(?:(?:to|\\-)\\s*(${F$})\\s*)?(?:(?:-|/|\\s*,\\s*|\\s+)(${L$}))?(?=\\W|$)(?!\\:\\d)`,`i`),i1=1,a1=2,o1=3,s1=4,c1=class extends ${shouldSkipYearLikeDate;constructor(e){super(),this.shouldSkipYearLikeDate=e}innerPattern(){return r1}innerExtract(e,t){let n=O$[t[i1].toLowerCase()],r=I$(t[a1]);if(r>31||this.shouldSkipYearLikeDate&&!t[o1]&&!t[s1]&&t[a1].match(/^\d{2}$/))return null;let i=e.createParsingComponents({day:r,month:n}).addTag(`parser/ENMonthNameMiddleEndianParser`);if(t[s1]){let e=R$(t[s1]);i.assign(`year`,e)}else{let t=T$(e.refDate,r,n);i.imply(`year`,t)}if(!t[o1])return i;let a=I$(t[o1]),o=e.createParsingResult(t.index,t[0]);return o.start=i,o.end=i.clone(),o.end.assign(`day`,a),o}},l1=RegExp(`((?:in)\\s*)?(${Q(O$)})\\s*(?:(?:,|-|of)?\\s*(${L$})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,`i`),u1=1,d1=2,f1=3,p1=class extends ${innerPattern(){return l1}innerExtract(e,t){let n=t[d1].toLowerCase();if(t[0].length<=3&&!D$[n])return null;let r=e.createParsingResult(t.index+(t[u1]||``).length,t.index+t[0].length);r.start.imply(`day`,1),r.start.addTag(`parser/ENMonthNameParser`);let i=O$[n];if(r.start.assign(`month`,i),t[f1]){let e=R$(t[f1]);r.start.assign(`year`,e)}else{let t=T$(e.refDate,1,i);r.start.imply(`year`,t)}return r}},m1=RegExp(`([0-9]{4})[-\\.\\/\\s](?:(${Q(O$)})|([0-9]{1,2}))[-\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,`i`),h1=1,g1=2,_1=3,v1=4,y1=class extends ${strictMonthDateOrder;constructor(e){super(),this.strictMonthDateOrder=e}innerPattern(){return m1}innerExtract(e,t){let n=parseInt(t[h1]),r=parseInt(t[v1]),i=t[_1]?parseInt(t[_1]):O$[t[g1].toLowerCase()];if(i<1||i>12){if(this.strictMonthDateOrder)return null;r>=1&&r<=12&&([i,r]=[r,i])}return r<1||r>31?null:{day:r,month:i,year:n}}},b1=RegExp(`((?:[1-9][0-9]{0,3}\\s{0,2}(?:BE|AD|BC|BCE|CE)|[1-9][0-9]{3}))(?:\\s*[-.\\/,]?\\s*|\\s+of\\s+)(${Q(O$)})(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,`i`),x1=1,S1=2,C1=class extends ${innerPattern(){return b1}innerExtract(e,t){let n=R$(t[x1]),r=O$[t[S1].toLowerCase()],i=e.createParsingResult(t.index,t[0]);return i.start.imply(`day`,1),i.start.assign(`month`,r),i.start.assign(`year`,n),i.start.addTag(`parser/ENYearMonthNameParser`),i}},w1=RegExp(`([0-9]|0[1-9]|1[012])/([0-9]{4})`,`i`),T1=1,E1=2,D1=class extends ${innerPattern(){return w1}innerExtract(e,t){if(/\d\/?$/.test(e.text.substring(0,t.index)))return null;let n=parseInt(t[E1]),r=parseInt(t[T1]);return e.createParsingComponents().imply(`day`,1).assign(`month`,r).assign(`year`,n)}};function O1(e,t,n,r){return RegExp(`${e}${t}(\\d{1,4})(?:(?:\\.|:|:)(\\d{1,2})(?:(?::|:)(\\d{2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${n}`,r)}function k1(e,t){return RegExp(`^(${e})(\\d{1,4})(?:(?:\\.|\\:|\\:)(\\d{1,2})(?:(?:\\.|\\:|\\:)(\\d{1,2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${t}`,`i`)}var A1=2,j1=3,M1=4,N1=5,P1=6,F1=class{strictMode;constructor(e=!1){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[0].match(/^\d{4}/)?(t.index+=4,null):(t.index+=t[0].length,null);let r=t.index+t[1].length,i=t[0].substring(t[1].length),a=e.createParsingResult(r,i,n);t.index+=t[0].length;let o=e.text.substring(t.index),s=this.getFollowingTimePatternThroughCache().exec(o);return i.match(/^\d{3,4}/)&&s&&(s[0].match(/^\s*([+-])\s*\d{2,4}$/)||s[0].match(/^\s*([+-])\s*\d{2}\W\d{2}/))?null:!s||s[0].match(/^\s*([+-])\s*\d{3,4}$/)?this.checkAndReturnWithoutFollowingPattern(a):(a.end=this.extractFollowingTimeComponents(e,s,a),a.end&&(a.text+=s[0]),this.checkAndReturnWithFollowingPattern(a))}extractPrimaryTimeComponents(e,t,n=!1){let r=e.createParsingComponents(),i=0,a=null,o=parseInt(t[A1]);if(o>100){if(t[A1].length==4&&t[j1]==null&&!t[P1]||this.strictMode||t[j1]!=null)return null;i=o%100,o=Math.floor(o/100)}if(o>24)return null;if(t[j1]!=null){if(t[j1].length==1&&!t[P1])return null;i=parseInt(t[j1])}if(i>=60)return null;if(o>12&&(a=X.PM),t[P1]!=null){if(o>12)return null;let e=t[P1][0].toLowerCase();e==`a`&&(a=X.AM,o==12&&(o=0)),e==`p`&&(a=X.PM,o!=12&&(o+=12))}if(r.assign(`hour`,o),r.assign(`minute`,i),a===null?o<12?r.imply(`meridiem`,X.AM):r.imply(`meridiem`,X.PM):r.assign(`meridiem`,a),t[N1]!=null){let e=parseInt(t[N1].substring(0,3));if(e>=1e3)return null;r.assign(`millisecond`,e)}if(t[M1]!=null){let e=parseInt(t[M1]);if(e>=60)return null;r.assign(`second`,e)}return r}extractFollowingTimeComponents(e,t,n){let r=e.createParsingComponents();if(t[N1]!=null){let e=parseInt(t[N1].substring(0,3));if(e>=1e3)return null;r.assign(`millisecond`,e)}if(t[M1]!=null){let e=parseInt(t[M1]);if(e>=60)return null;r.assign(`second`,e)}let i=parseInt(t[A1]),a=0,o=-1;if(t[j1]==null?i>100&&(a=i%100,i=Math.floor(i/100)):a=parseInt(t[j1]),a>=60||i>24)return null;if(i>=12&&(o=X.PM),t[P1]!=null){if(i>12)return null;let e=t[P1][0].toLowerCase();e==`a`&&(o=X.AM,i==12&&(i=0,r.isCertain(`day`)||r.addDurationAsImplied({day:1}))),e==`p`&&(o=X.PM,i!=12&&(i+=12)),n.start.isCertain(`meridiem`)||(o==X.AM?(n.start.imply(`meridiem`,X.AM),n.start.get(`hour`)==12&&n.start.assign(`hour`,0)):(n.start.imply(`meridiem`,X.PM),n.start.get(`hour`)!=12&&n.start.assign(`hour`,n.start.get(`hour`)+12)))}return r.assign(`hour`,i),r.assign(`minute`,a),o>=0?r.assign(`meridiem`,o):n.start.isCertain(`meridiem`)&&n.start.get(`hour`)>12?n.start.get(`hour`)-12>i?r.imply(`meridiem`,X.AM):i<=12&&(r.assign(`hour`,i+12),r.assign(`meridiem`,X.PM)):i>12?r.imply(`meridiem`,X.PM):i<=12&&r.imply(`meridiem`,X.AM),r.date().getTime()<n.start.date().getTime()&&r.addDurationAsImplied({day:1}),r}checkAndReturnWithoutFollowingPattern(e){if(e.text.match(/^\d$/)||e.text.match(/^\d\d\d+$/)||e.text.match(/\d[apAP]$/))return null;let t=e.text.match(/[^\d:.](\d[\d.]+)$/);if(t){let e=t[1];if(this.strictMode||e.includes(`.`)&&!e.match(/\d(\.\d{2})+$/)||parseInt(e)>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 e=t[1],n=t[2];if(n.includes(`.`)&&!n.match(/\d(\.\d{2})+$/)||parseInt(n)>24||parseInt(e)>24)return null}return e}cachedPrimaryPrefix=null;cachedPrimarySuffix=null;cachedPrimaryTimePattern=null;getPrimaryTimePatternThroughCache(){let e=this.primaryPrefix(),t=this.primarySuffix();return this.cachedPrimaryPrefix===e&&this.cachedPrimarySuffix===t||(this.cachedPrimaryTimePattern=O1(this.primaryPatternLeftBoundary(),e,t,this.patternFlags()),this.cachedPrimaryPrefix=e,this.cachedPrimarySuffix=t),this.cachedPrimaryTimePattern}cachedFollowingPhase=null;cachedFollowingSuffix=null;cachedFollowingTimePatten=null;getFollowingTimePatternThroughCache(){let e=this.followingPhase(),t=this.followingSuffix();return this.cachedFollowingPhase===e&&this.cachedFollowingSuffix===t||(this.cachedFollowingTimePatten=k1(e,t),this.cachedFollowingPhase=e,this.cachedFollowingSuffix=t),this.cachedFollowingTimePatten}},I1=class extends F1{constructor(e){super(e)}followingPhase(){return`\\s*(?:\\-|\\–|\\~|\\〜|to|until|through|till|\\?)\\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)return n;if(t[0].endsWith(`night`)){let e=n.get(`hour`);e>=6&&e<12?(n.assign(`hour`,n.get(`hour`)+12),n.assign(`meridiem`,X.PM)):e<6&&n.assign(`meridiem`,X.AM)}if(t[0].endsWith(`afternoon`)){n.assign(`meridiem`,X.PM);let e=n.get(`hour`);e>=0&&e<=6&&n.assign(`hour`,n.get(`hour`)+12)}return t[0].endsWith(`morning`)&&(n.assign(`meridiem`,X.AM),n.get(`hour`)<12&&n.assign(`hour`,n.get(`hour`))),n.addTag(`parser/ENTimeExpressionParser`)}extractFollowingTimeComponents(e,t,n){let r=super.extractFollowingTimeComponents(e,t,n);return r&&r.addTag(`parser/ENTimeExpressionParser`),r}},L1=RegExp(`(${U$})\\s{0,5}(?:ago|before|earlier)(?=\\W|$)`,`i`),R1=RegExp(`(${W$})\\s{0,5}(?:ago|before|earlier)(?=\\W|$)`,`i`),z1=class extends ${strictMode;constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?R1:L1}innerExtract(e,t){let n=G$(t[1]);return n?Z.createRelativeFromReference(e.reference,y$(n)):null}},B1=RegExp(`(${U$})\\s{0,5}(?:later|after|from now|henceforth|forward|out)(?=(?:\\W|$))`,`i`),V1=RegExp(`(${W$})\\s{0,5}(later|after|from now)(?=\\W|$)`,`i`),H1=1,U1=class extends ${strictMode;constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?V1:B1}innerExtract(e,t){let n=G$(t[H1]);return n?Z.createRelativeFromReference(e.reference,n):null}},W1=class{refine(e,t){return t.filter(t=>this.isValid(e,t))}},G1=class{refine(e,t){if(t.length<2)return t;let n=[],r=t[0],i=null;for(let a=1;a<t.length;a++){i=t[a];let o=e.text.substring(r.index+r.text.length,i.index);if(!this.shouldMergeResults(o,r,i,e))n.push(r),r=i;else{let t=r,n=i,a=this.mergeResults(o,t,n,e);e.debug(()=>{console.log(`${this.constructor.name} merged ${t} and ${n} into ${a}`)}),r=a}}return r!=null&&n.push(r),n}},K1=class extends G1{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(e=>{t.start.isCertain(e)||t.start.imply(e,n.start.get(e))}),t.start.getCertainComponents().forEach(e=>{n.start.isCertain(e)||n.start.imply(e,t.start.get(e))})),t.start.date()>n.start.date()){let e=t.start.date(),r=n.start.date();n.start.isOnlyWeekdayComponent()&&v$(r,{day:7})>e?(r=v$(r,{day:7}),n.start.imply(`day`,r.getDate()),n.start.imply(`month`,r.getMonth()+1),n.start.imply(`year`,r.getFullYear())):t.start.isOnlyWeekdayComponent()&&v$(e,{day:-7})<r?(e=v$(e,{day:-7}),t.start.imply(`day`,e.getDate()),t.start.imply(`month`,e.getMonth()+1),t.start.imply(`year`,e.getFullYear())):n.start.isDateWithUnknownYear()&&v$(r,{year:1})>e?(r=v$(r,{year:1}),n.start.imply(`year`,r.getFullYear())):t.start.isDateWithUnknownYear()&&v$(e,{year:-1})<r?(e=v$(e,{year:-1}),t.start.imply(`year`,e.getFullYear())):[n,t]=[t,n]}let r=t.clone();return r.start=t.start,r.end=n.start,r.index=Math.min(t.index,n.index),r.text=t.index<n.index?t.text+e+n.text:n.text+e+t.text,r}},q1=class extends K1{patternBetween(){return/^\s*(to|-|–|until|through|till)\s*$/i}};function J1(e,t){let n=e.clone(),r=e.start,i=t.start;if(n.start=Y1(r,i),e.end!=null||t.end!=null){let r=Y1(e.end==null?e.start:e.end,t.end==null?t.start:t.end);if(e.end==null&&r.date().getTime()<n.start.date().getTime()){let e=new Date(r.date().getTime());e.setDate(e.getDate()+1),r.isCertain(`day`)?l$(r,e):d$(r,e)}n.end=r}return n}function Y1(e,t){let n=e.clone();t.isCertain(`hour`)?(n.assign(`hour`,t.get(`hour`)),n.assign(`minute`,t.get(`minute`)),t.isCertain(`second`)?(n.assign(`second`,t.get(`second`)),t.isCertain(`millisecond`)?n.assign(`millisecond`,t.get(`millisecond`)):n.imply(`millisecond`,t.get(`millisecond`))):(n.imply(`second`,t.get(`second`)),n.imply(`millisecond`,t.get(`millisecond`)))):(n.imply(`hour`,t.get(`hour`)),n.imply(`minute`,t.get(`minute`)),n.imply(`second`,t.get(`second`)),n.imply(`millisecond`,t.get(`millisecond`))),t.isCertain(`timezoneOffset`)&&n.assign(`timezoneOffset`,t.get(`timezoneOffset`));let r=e.get(`meridiem`)!=null&&(e.isCertain(`meridiem`)||Array.from(e.tags()).some(e=>e.startsWith(`casualReference/`)));return t.isCertain(`meridiem`)?n.assign(`meridiem`,t.get(`meridiem`)):t.get(`meridiem`)!=null&&!r&&n.imply(`meridiem`,t.get(`meridiem`)),n.get(`meridiem`)==X.PM&&n.get(`hour`)<12&&(t.isCertain(`hour`)?n.assign(`hour`,n.get(`hour`)+12):n.imply(`hour`,n.get(`hour`)+12)),n.addTags(e.tags()),n.addTags(t.tags()),n}var X1=class extends G1{shouldMergeResults(e,t,n){let r=t.start.isOnlyDate()&&n.start.isOnlyTime(),i=t.start.isOnlyTime()&&n.start.isOnlyDate();return i&&e.trim()===`:`?!1:(r||i)&&e.match(this.patternBetween())!=null}mergeResults(e,t,n){let r=t.start.isOnlyDate()?J1(t,n):J1(n,t);return r.index=t.index,r.text=t.text+e+n.text,r}},Z1=class extends X1{patternBetween(){return RegExp(`^\\s*(T|at|after|before|on|of|,|-|\\.|∙|:)?\\s*$`)}},Q1=RegExp(`^\\s*,?\\s*\\(?([A-Z]{2,4})\\)?(?=\\W|$)`,`i`),$1=class{timezoneOverrides;constructor(e){this.timezoneOverrides=e}refine(e,t){let n=e.option.timezones??{};return t.forEach(t=>{let r=e.text.substring(t.index+t.text.length),i=Q1.exec(r);if(!i)return;let a=i[1].toUpperCase(),o=g$(a,t.start.date()??t.refDate??new Date,{...this.timezoneOverrides,...n});if(o==null)return;e.debug(()=>{console.log(`Extracting timezone: '${a}' into: ${o} for: ${t.start}`)});let s=t.start.get(`timezoneOffset`);s!==null&&o!=s&&(t.start.isCertain(`timezoneOffset`)||a!=i[1])||t.start.isOnlyDate()&&a!=i[1]||(t.text+=i[0],t.start.isCertain(`timezoneOffset`)||t.start.assign(`timezoneOffset`,o),t.end!=null&&!t.end.isCertain(`timezoneOffset`)&&t.end.assign(`timezoneOffset`,o))}),t}},e0=RegExp(`^\\s*(?:\\(?(?:GMT|UTC)\\s?)?([+-])(\\d{1,2})(?::?(\\d{2}))?\\)?`,`i`),t0=1,n0=2,r0=3,i0=class{refine(e,t){return t.forEach(function(t){if(t.start.isCertain(`timezoneOffset`))return;let n=e.text.substring(t.index+t.text.length),r=e0.exec(n);if(!r)return;e.debug(()=>{console.log(`Extracting timezone: '${r[0]}' into : ${t}`)});let i=parseInt(r[n0]),a=parseInt(r[r0]||`0`),o=i*60+a;o>840||(r[t0]===`-`&&(o=-o),t.end!=null&&t.end.assign(`timezoneOffset`,o),t.start.assign(`timezoneOffset`,o),t.text+=r[0])}),t}},a0=class{refine(e,t){if(t.length<2)return t;let n=[],r=t[0];for(let i=1;i<t.length;i++){let a=t[i];if(a.index>=r.index+r.text.length){n.push(r),r=a;continue}let o=null,s=null;a.text.length>r.text.length?(o=a,s=r):(o=r,s=a),e.debug(()=>{console.log(`${this.constructor.name} remove ${s} by ${o}`)}),r=o}return r!=null&&n.push(r),n}};function o0(e,t,n){let r=s0(e.getDateWithAdjustedTimezone(),t,n),i=new Z(e);return i=i.addDurationAsImplied({day:r}),i.assign(`weekday`,t),i}function s0(e,t,n){let r=e.getDay();switch(n){case`this`:return l0(e,t);case`last`:return u0(e,t);case`next`:return r==s$.SUNDAY?t==s$.SUNDAY?7:t:r==s$.SATURDAY?t==s$.SATURDAY?7:t==s$.SUNDAY?8:1+t:t<r&&t!=s$.SUNDAY?l0(e,t):l0(e,t)+7}return c0(e,t)}function c0(e,t){let n=u0(e,t),r=l0(e,t);return r<-n?r:n}function l0(e,t){let n=t-e.getDay();return n<0&&(n+=7),n}function u0(e,t){let n=t-e.getDay();return n>=0&&(n-=7),n}var d0=class{refine(e,t){return e.option.forwardDate&&t.forEach(t=>{let n=e.reference.getDateWithAdjustedTimezone();if(t.start.isOnlyTime()&&e.reference.instant>t.start.date()){let n=e.reference.getDateWithAdjustedTimezone(),r=new Date(n);r.setDate(r.getDate()+1),d$(t.start,r),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${t} time from the ref date (${n}) to the following day (${r})`)}),t.end&&t.end.isOnlyTime()&&(d$(t.end,r),t.start.date()>t.end.date()&&(r.setDate(r.getDate()+1),d$(t.end,r)))}if(t.start.isOnlyWeekdayComponent()&&n>t.start.date()){let r=v$(n,{day:l0(n,t.start.get(`weekday`))||7});if(d$(t.start,r),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${t} weekday (${t.start})`)}),t.end&&t.start.date()>t.end.date()){let r=v$(n,{day:l0(n,t.start.get(`weekday`))||7});d$(t.end,r),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${t} weekday (${t.end})`)})}}if(t.start.isDateWithUnknownYear()&&n>t.start.date())for(let r=0;r<3&&n>t.start.date();r++)t.start.imply(`year`,t.start.get(`year`)+1),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${t} year (${t.start})`)}),t.end&&!t.end.isCertain(`year`)&&(t.end.imply(`year`,t.end.get(`year`)+1),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${t} month (${t.start})`)}))}),t}},f0=class extends W1{strictMode;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):(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)}},p0=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`),m0=1,h0=2,g0=3,_0=4,v0=5,y0=6,b0=7,x0=8,S0=9,C0=10,w0=class extends ${innerPattern(){return p0}innerExtract(e,t){let n=e.createParsingComponents({year:parseInt(t[m0]),month:parseInt(t[h0]),day:parseInt(t[g0])});if(t[_0]!=null&&(n.assign(`hour`,parseInt(t[_0])),n.assign(`minute`,parseInt(t[v0])),t[y0]!=null&&n.assign(`second`,parseInt(t[y0])),t[b0]!=null&&n.assign(`millisecond`,parseInt(t[b0])),t[x0]!=null)){let e=0;if(t[S0]){let n=parseInt(t[S0]),r=0;t[C0]!=null&&(r=parseInt(t[C0])),e=n*60,e<0?e-=r:e+=r}n.assign(`timezoneOffset`,e)}return n.addTag(`parser/ISOFormatParser`)}},T0=class extends G1{mergeResults(e,t,n){let r=n.clone();return r.index=t.index,r.text=t.text+e+r.text,r.start.assign(`weekday`,t.start.get(`weekday`)),r.end&&r.end.assign(`weekday`,t.start.get(`weekday`)),r}shouldMergeResults(e,t,n){return t.start.isOnlyWeekdayComponent()&&!t.start.isCertain(`hour`)&&n.start.isCertain(`day`)&&!n.start.tags().has(`result/relativeDate`)&&e.match(/^,?\s*$/)!=null}};function E0(e,t=!1){return e.parsers.unshift(new w0),e.refiners.unshift(new T0),e.refiners.unshift(new i0),e.refiners.unshift(new a0),e.refiners.push(new $1),e.refiners.push(new a0),e.refiners.push(new d0),e.refiners.push(new f0(t)),e}function D0(e){let t=e.getDateWithAdjustedTimezone(),n=new Z(e,{});return l$(n,t),u$(n,t),n.assign(`timezoneOffset`,e.getTimezoneOffset()),n.addTag(`casualReference/now`),n}function O0(e){let t=e.getDateWithAdjustedTimezone(),n=new Z(e,{});return l$(n,t),f$(n,t),n.delete(`meridiem`),n.addTag(`casualReference/today`),n}function k0(e){return j0(e,1).addTag(`casualReference/yesterday`)}function A0(e){return M0(e,1).addTag(`casualReference/tomorrow`)}function j0(e,t){return M0(e,-t)}function M0(e,t){let n=e.getDateWithAdjustedTimezone(),r=new Z(e,{}),i=new Date(n.getTime());return i.setDate(i.getDate()+t),l$(r,i),f$(r,i),r.delete(`meridiem`),r}function N0(e,t=22){let n=e.getDateWithAdjustedTimezone(),r=new Z(e,{});return l$(r,n),r.imply(`hour`,t),r.imply(`meridiem`,X.PM),r.addTag(`casualReference/tonight`),r}function P0(e,t=0){let n=e.getDateWithAdjustedTimezone(),r=new Z(e,{});return n.getHours()<6&&(n=new Date(n.getTime()-864e5)),l$(r,n),r.imply(`hour`,t),r}function F0(e,t=20){let n=new Z(e,{});return n.imply(`meridiem`,X.PM),n.imply(`hour`,t),n.addTag(`casualReference/evening`),n}function I0(e,t=20){let n=e.getDateWithAdjustedTimezone(),r=new Z(e,{});return n=new Date(n.getTime()-864e5),l$(r,n),r.imply(`hour`,t),r.imply(`meridiem`,X.PM),r.addTag(`casualReference/yesterday`),r.addTag(`casualReference/evening`),r}function L0(e){let t=new Z(e,{});return e.getDateWithAdjustedTimezone().getHours()>2&&t.addDurationAsImplied({day:1}),t.assign(`hour`,0),t.imply(`minute`,0),t.imply(`second`,0),t.imply(`millisecond`,0),t.addTag(`casualReference/midnight`),t}function R0(e,t=6){let n=new Z(e,{});return n.imply(`meridiem`,X.AM),n.imply(`hour`,t),n.imply(`minute`,0),n.imply(`second`,0),n.imply(`millisecond`,0),n.addTag(`casualReference/morning`),n}function z0(e,t=15){let n=new Z(e,{});return n.imply(`meridiem`,X.PM),n.imply(`hour`,t),n.imply(`minute`,0),n.imply(`second`,0),n.imply(`millisecond`,0),n.addTag(`casualReference/afternoon`),n}function B0(e){let t=new Z(e,{});return t.imply(`meridiem`,X.AM),t.assign(`hour`,12),t.imply(`minute`,0),t.imply(`second`,0),t.imply(`millisecond`,0),t.addTag(`casualReference/noon`),t}var V0=/(now|today|tonight|tomorrow|overmorrow|tmr|tmrw|yesterday|last\s*night)(?=\W|$)/i,H0=class extends ${innerPattern(e){return V0}innerExtract(e,t){let n=e.refDate,r=t[0].toLowerCase(),i=e.createParsingComponents();switch(r){case`now`:i=D0(e.reference);break;case`today`:i=O0(e.reference);break;case`yesterday`:i=k0(e.reference);break;case`tomorrow`:case`tmr`:case`tmrw`:i=A0(e.reference);break;case`tonight`:i=N0(e.reference);break;case`overmorrow`:i=M0(e.reference,2);break;default:if(r.match(/last\s*night/)){if(n.getHours()>6){let e=new Date(n.getTime());e.setDate(e.getDate()-1),n=e}l$(i,n),i.imply(`hour`,0)}}return i.addTag(`parser/ENCasualDateParser`),i}},U0=/(?:this)?\s{0,3}(morning|afternoon|evening|night|midnight|midday|noon)(?=\W|$)/i,W0=class extends ${innerPattern(){return U0}innerExtract(e,t){let n=null;switch(t[1].toLowerCase()){case`afternoon`:n=z0(e.reference);break;case`evening`:case`night`:n=F0(e.reference);break;case`midnight`:n=L0(e.reference);break;case`morning`:n=R0(e.reference);break;case`noon`:case`midday`:n=B0(e.reference)}return n&&n.addTag(`parser/ENCasualTimeParser`),n}},G0=RegExp(`(?:(?:\\,|\\(|\\()\\s*)?(?:on\\s*?)?(?:(this|last|past|next)\\s*)?(${Q(E$)}|weekend|weekday)(?:\\s*(?:\\,|\\)|\\)))?(?:\\s*(?:of\\s*)?(this|last|past|next)\\s*week)?(?=\\W|$)`,`i`),K0=1,q0=2,J0=3,Y0=class extends ${innerPattern(){return G0}innerExtract(e,t){let n=t[K0],r=t[J0],i=n||r;i||=``,i=i.toLowerCase();let a=null;i==`last`||i==`past`?a=`last`:i==`next`?a=`next`:i==`this`&&(a=`this`);let o=t[q0].toLowerCase(),s;if(E$[o]!==void 0)s=E$[o];else if(o==`weekend`)s=a==`last`?s$.SUNDAY:s$.SATURDAY;else if(o==`weekday`){let t=e.reference.getDateWithAdjustedTimezone().getDay();t==s$.SUNDAY||t==s$.SATURDAY?s=a==`last`?s$.FRIDAY:s$.MONDAY:(s=t-1,s=a==`last`?s-1:s+1,s=s%5+1)}else return null;return o0(e.reference,s,a)}},X0=RegExp(`(this|last|past|next|after\\s*this)\\s*(${Q(M$)})(?=\\s*)(?=\\W|$)`,`i`),Z0=1,Q0=2,$0=class extends ${innerPattern(){return X0}innerExtract(e,t){let n=t[Z0].toLowerCase(),r=t[Q0].toLowerCase(),i=M$[r];if(n==`next`||n.startsWith(`after`)){let t={};return t[i]=1,Z.createRelativeFromReference(e.reference,t)}if(n==`last`||n==`past`){let t={};return t[i]=-1,Z.createRelativeFromReference(e.reference,t)}let a=e.createParsingComponents(),o=new Date(e.reference.instant.getTime());return r.match(/week/i)?(o.setDate(o.getDate()-o.getDay()),a.imply(`day`,o.getDate()),a.imply(`month`,o.getMonth()+1),a.imply(`year`,o.getFullYear())):r.match(/month/i)?(o.setDate(1),a.imply(`day`,o.getDate()),a.assign(`year`,o.getFullYear()),a.assign(`month`,o.getMonth()+1)):r.match(/year/i)&&(o.setDate(1),o.setMonth(0),a.imply(`day`,o.getDate()),a.imply(`month`,o.getMonth()+1),a.assign(`year`,o.getFullYear())),a}},e2=RegExp(`([^\\d]|^)([0-3]{0,1}[0-9]{1})[\\/\\.\\-]([0-3]{0,1}[0-9]{1})(?:[\\/\\.\\-]([0-9]{4}|[0-9]{2}))?(\\W|$)`,`i`),t2=1,n2=5,r2=2,i2=3,a2=4,o2=class{groupNumberMonth;groupNumberDay;constructor(e){this.groupNumberMonth=e?i2:r2,this.groupNumberDay=e?r2:i2}pattern(){return e2}extract(e,t){let n=t.index+t[t2].length,r=t.index+t[0].length-t[n2].length;if(n>0&&e.text.substring(0,n).match(`\\d/?$`)||r<e.text.length&&e.text.substring(r).match(`^/?\\d`))return;let i=e.text.substring(n,r);if(i.match(/^\d\.\d$/)||i.match(/^\d\.\d{1,2}\.\d{1,2}\s*$/)||!t[a2]&&i.indexOf(`/`)<0)return;let a=e.createParsingResult(n,i),o=parseInt(t[this.groupNumberMonth]),s=parseInt(t[this.groupNumberDay]);if((o<1||o>12)&&o>12){if(s>=1&&s<=12&&o<=31)[s,o]=[o,s];else return null}if(s<1||s>31)return null;if(a.start.assign(`day`,s),a.start.assign(`month`,o),t[a2]){let e=w$(parseInt(t[a2]));a.start.assign(`year`,e)}else{let t=T$(e.refDate,s,o);a.start.imply(`year`,t)}return a.addTag(`parser/SlashDateFormatParser`)}},s2=RegExp(`(this|last|past|next|after|\\+|-)\\s*(${U$})(?=\\W|$)`,`i`),c2=RegExp(`(this|last|past|next|after|\\+|-)\\s*(${W$})(?=\\W|$)`,`i`),l2=class extends ${allowAbbreviations;constructor(e=!0){super(),this.allowAbbreviations=e}innerPattern(){return this.allowAbbreviations?s2:c2}innerExtract(e,t){let n=t[1].toLowerCase(),r=G$(t[2]);if(!r)return null;switch(n){case`last`:case`past`:case`-`:r=y$(r)}return Z.createRelativeFromReference(e.reference,r)}};function u2(e){return e.text.match(/^[+-]/i)!=null}function d2(e){return e.text.match(/^-/i)!=null}var f2=class extends G1{shouldMergeResults(e,t,n){return e.match(/^\s*$/i)?u2(n)||d2(n):!1}mergeResults(e,t,n,r){let i=G$(n.text);d2(n)&&(i=y$(i));let a=Z.createRelativeFromReference(b$.fromDate(t.start.date()),i);return new x$(t.reference,t.index,`${t.text}${e}${n.text}`,a)}};function p2(e){return e.text.match(/\s+(before|from)$/i)!=null}function m2(e){return e.text.match(/\s+(after|since)$/i)!=null}var h2=class extends G1{patternBetween(){return/^\s*$/i}shouldMergeResults(e,t,n){return!e.match(this.patternBetween())||!p2(t)&&!m2(t)?!1:!!n.start.get(`day`)&&!!n.start.get(`month`)&&!!n.start.get(`year`)}mergeResults(e,t,n){let r=G$(t.text);p2(t)&&(r=y$(r));let i=Z.createRelativeFromReference(b$.fromDate(n.start.date()),r);return new x$(n.reference,t.index,`${t.text}${e}${n.text}`,i)}},g2=RegExp(`^\\s*(${L$})`,`i`),_2=1,v2=class{refine(e,t){return t.forEach(function(t){if(!t.start.isDateWithUnknownYear())return;let n=e.text.substring(t.index+t.text.length),r=g2.exec(n);if(!r||r[0].trim().length<=3)return;e.debug(()=>{console.log(`Extracting year: '${r[0]}' into : ${t}`)});let i=R$(r[_2]);t.end!=null&&t.end.assign(`year`,i),t.start.assign(`year`,i),t.text+=r[0]}),t}},y2=class extends W1{constructor(){super()}isValid(e,t){let n=t.text.trim();return n===e.text.trim()?!0:n.toLowerCase()===`may`&&!e.text.substring(0,t.index).trim().match(/\b(in)$/i)?(e.debug(()=>{console.log(`Removing unlikely result: ${t}`)}),!1):!n.toLowerCase().endsWith(`the second`)||(e.text.substring(t.index+t.text.length).trim().length>0&&e.debug(()=>{console.log(`Removing unlikely result: ${t}`)}),!1)}},b2=/\b(?:last\s+day|end)\s+of\s+(?:the\s+)?$/i,x2=/^(this|last|past|next)\s*(week|month|year)$/i,S2=/^\s+(this|last|past|next)\s+year(?=\W|$)/i;function C2(e){return e===`next`?1:e===`last`||e===`past`?-1:0}var w2=class{refine(e,t){return t.forEach(t=>{let n=e.text.substring(0,t.index).match(b2);if(!n)return;let r=t.text.match(x2);if(r){let n=r[1].toLowerCase();this.moveToEndOfRelativePeriod(e,t,n,r[2].toLowerCase())}else if(t.start.isCertain(`month`)&&!t.start.isCertain(`day`))this.moveToEndOfMonth(e,t);else return;t.start.imply(`hour`,12),t.start.imply(`minute`,0),t.start.imply(`second`,0),t.start.imply(`millisecond`,0),t.start.isCertain(`timezoneOffset`)||t.start.delete(`timezoneOffset`),t.index-=n[0].length,t.text=n[0]+t.text,t.addTag(`refiner/ENEndOfPeriodRefiner`)}),t}moveToEndOfRelativePeriod(e,t,n,r){let i=C2(n),a=e.reference.getDateWithAdjustedTimezone(),o;r===`week`?(o=new Date(a.getTime()),o.setDate(a.getDate()+(6-a.getDay())+i*7)):o=r===`month`?new Date(a.getFullYear(),a.getMonth()+i+1,0):new Date(a.getFullYear()+i,11,31),t.start.assign(`day`,o.getDate()),t.start.assign(`month`,o.getMonth()+1),t.start.assign(`year`,o.getFullYear()),t.start.delete(`weekday`),t.start.imply(`weekday`,o.getDay())}moveToEndOfMonth(e,t){let n=t.start.get(`year`),r=t.start.get(`month`),i=e.text.substring(t.index+t.text.length).match(S2);if(i){let r=i[1].toLowerCase();n=e.reference.getDateWithAdjustedTimezone().getFullYear()+C2(r),t.start.assign(`year`,n),t.text+=i[0]}if(!t.start.isCertain(`year`)){let i=new Date(n,r,0).getDate();n=T$(e.reference.getDateWithAdjustedTimezone(),i,r),t.start.imply(`year`,n)}t.start.assign(`day`,new Date(n,r,0).getDate())}},T2=/(?:last\s+day|end)\s+of\s+(?:the\s+)?month(?=\W|$)/i,E2=class extends ${innerPattern(){return T2}innerExtract(e){let t=e.reference.getDateWithAdjustedTimezone(),n=t.getFullYear(),r=t.getMonth()+1,i=new Date(n,r,0).getDate(),a=e.createParsingComponents();return a.assign(`day`,i),a.assign(`month`,r),a.assign(`year`,n),a.addTag(`parser/ENEndOfCurrentMonthParser`),a}},D2=class{createCasualConfiguration(e=!1){let t=this.createConfiguration(!1,e);return t.parsers.push(new H0),t.parsers.push(new W0),t.parsers.push(new E2),t.parsers.push(new p1),t.parsers.push(new $0),t.parsers.push(new l2),t.refiners.unshift(new w2),t.refiners.push(new y2),t}createConfiguration(e=!0,t=!1){let n=E0({parsers:[new o2(t),new X$(e),new n1,new c1(t),new Y0,new D1,new I1(e),new z1(e),new U1(e),new C1],refiners:[new Z1]},e);return n.parsers.unshift(new y1(e)),n.refiners.unshift(new h2),n.refiners.unshift(new f2),n.refiners.unshift(new a0),n.refiners.push(new Z1),n.refiners.push(new v2),n.refiners.push(new q1),n}},O2=class e{parsers;refiners;defaultConfig=new D2;constructor(e){e||=this.defaultConfig.createCasualConfiguration(),this.parsers=[...e.parsers],this.refiners=[...e.refiners]}clone(){return new e({parsers:[...this.parsers],refiners:[...this.refiners]})}parseDate(e,t,n){let r=this.parse(e,t,n);return r.length>0?r[0].start.date():null}parse(t,n,r){let i=new k2(t,n,r),a=[];return this.parsers.forEach(t=>{let n=e.executeParser(i,t);a=a.concat(n)}),a.sort((e,t)=>e.index-t.index),this.refiners.forEach(function(e){a=e.refine(i,a)}),a}static executeParser(e,t){let n=[],r=t.pattern(e),i=e.text,a=e.text,o=r.exec(a);for(;o;){let s=o.index+i.length-a.length;o.index=s;let c=t.extract(e,o);if(!c){a=i.substring(o.index+1),o=r.exec(a);continue}let l=null;c instanceof x$?l=c:c instanceof Z?(l=e.createParsingResult(o.index,o[0]),l.start=c):l=e.createParsingResult(o.index,o[0],c);let u=l.index,d=l.text;e.debug(()=>console.log(`${t.constructor.name} extracted (at index=${u}) '${d}'`)),n.push(l),a=i.substring(u+d.length),o=r.exec(a)}return n}},k2=class{text;option;reference;refDate;constructor(e,t,n){this.text=e,this.option=n??{},this.reference=b$.fromInput(t,this.option.timezones),this.refDate=this.reference.instant}createParsingComponents(e){return e instanceof Z?e:new Z(this.reference,e)}createParsingResult(e,t,n,r){let i=typeof t==`string`?t:this.text.substring(e,t),a=n?this.createParsingComponents(n):null,o=r?this.createParsingComponents(r):null;return new x$(this.reference,e,i,a,o)}debug(e){this.option.debug&&(this.option.debug instanceof Function?this.option.debug(e):this.option.debug.debug(e))}},A2=new D2,j2=new O2(A2.createCasualConfiguration(!1));new O2(A2.createConfiguration(!0,!1));var M2=new O2(A2.createCasualConfiguration(!0)),N2=class extends F1{primaryPrefix(){return`(?:(?:um|von)\\s*)?`}followingPhase(){return`\\s*(?:\\-|\\–|\\~|\\〜|bis)\\s*`}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}},P2={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},F2={januar:1,jänner:1,janner:1,jan:1,"jan.":1,februar:2,feber:2,feb:2,"feb.":2,märz:3,maerz:3,mär:3,"mär.":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},I2={eins:1,eine:1,einem:1,einen:1,einer:1,zwei:2,drei:3,vier:4,fünf:5,fuenf:5,sechs:6,sieben:7,acht:8,neun:9,zehn:10,elf:11,zwölf:12,zwoelf:12},L2={sek:`second`,sekunde:`second`,sekunden:`second`,min:`minute`,minute:`minute`,minuten:`minute`,h:`hour`,std:`hour`,stunde:`hour`,stunden:`hour`,tag:`day`,tage:`day`,tagen:`day`,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`},R2=`(?:${Q(I2)}|[0-9]+|[0-9]+\\.[0-9]+|halb?|halbe?|einigen?|wenigen?|mehreren?)`;function z2(e){let t=e.toLowerCase();return I2[t]===void 0?t===`ein`||t===`einer`||t===`einem`||t===`einen`||t===`eine`?1:t.match(/wenigen/)?2:t.match(/halb/)||t.match(/halben/)?.5:t.match(/einigen/)?3:t.match(/mehreren/)?7:parseFloat(t):I2[t]}var B2=`(?:[0-9]{1,4}(?:\\s*[vn]\\.?\\s*(?:C(?:hr)?|(?:u\\.?|d\\.?(?:\\s*g\\.?)?)?\\s*Z)\\.?|\\s*(?:u\\.?|d\\.?(?:\\s*g\\.)?)\\s*Z\\.?)?)`;function V2(e){return/v/i.test(e)?-parseInt(e.replace(/[^0-9]+/gi,``)):/n/i.test(e)||/z/i.test(e)?parseInt(e.replace(/[^0-9]+/gi,``)):w$(parseInt(e))}var H2=`(${R2})\\s{0,5}(${Q(L2)})\\s{0,5}`,U2=new RegExp(H2,`i`),W2=S$(``,H2);function G2(e){let t={},n=e,r=U2.exec(n);for(;r;)K2(t,r),n=n.substring(r[0].length),r=U2.exec(n);return t}function K2(e,t){let n=z2(t[1]),r=L2[t[2].toLowerCase()];e[r]=n}var q2=RegExp(`(?:(?:\\,|\\(|\\()\\s*)?(?:a[mn]\\s*?)?(?:(diese[mn]|letzte[mn]|n(?:ä|ae)chste[mn])\\s*)?(${Q(P2)})(?:\\s*(?:\\,|\\)|\\)))?(?:\\s*(diese|letzte|n(?:ä|ae)chste)\\s*woche)?(?=\\W|$)`,`i`),J2=1,Y2=3,X2=2,Z2=class extends ${innerPattern(){return q2}innerExtract(e,t){let n=P2[t[X2].toLowerCase()],r=t[J2],i=t[Y2],a=r||i;a||=``,a=a.toLowerCase();let o=null;return a.match(/letzte/)?o=`last`:a.match(/chste/)?o=`next`:a.match(/diese/)&&(o=`this`),o0(e.reference,n,o)}},Q2=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`),$2=RegExp(`^\\s*(\\-|\\–|\\~|\\〜|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`),e4=2,t4=3,n4=4,r4=5,i4=class e{pattern(e){return Q2}extract(t,n){let r=t.createParsingResult(n.index+n[1].length,n[0].substring(n[1].length));if(r.text.match(/^\d{4}$/)||(r.start=e.extractTimeComponent(r.start.clone(),n),!r.start))return n.index+=n[0].length,null;let i=t.text.substring(n.index+n[0].length),a=$2.exec(i);return a&&(r.end=e.extractTimeComponent(r.start.clone(),a),r.end&&(r.text+=a[0])),r}static extractTimeComponent(e,t){let n=0,r=0,i=null;if(n=parseInt(t[e4]),t[t4]!=null&&(r=parseInt(t[t4])),r>=60||n>24)return null;if(n>=12&&(i=X.PM),t[r4]!=null){if(n>12)return null;let e=t[r4].toLowerCase();e.match(/morgen|vormittag/)&&(i=X.AM,n==12&&(n=0)),e.match(/nachmittag|abend/)&&(i=X.PM,n!=12&&(n+=12)),e.match(/nacht/)&&(n==12?(i=X.AM,n=0):n<6?i=X.AM:(i=X.PM,n+=12))}if(e.assign(`hour`,n),e.assign(`minute`,r),i===null?n<12?e.imply(`meridiem`,X.AM):e.imply(`meridiem`,X.PM):e.assign(`meridiem`,i),t[n4]!=null){let n=parseInt(t[n4]);if(n>=60)return null;e.assign(`second`,n)}return e}},a4=class extends K1{patternBetween(){return/^\s*(bis(?:\s*(?:am|zum))?|-)\s*$/i}},o4=class extends X1{patternBetween(){return RegExp(`^\\s*(T|um|am|,|-)?\\s*$`)}},s4=class e extends ${innerPattern(e){return/(diesen)?\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht)(?=\W|$)/i}innerExtract(t,n){let r=t.refDate,i=n[2].toLowerCase(),a=t.createParsingComponents();return f$(a,r),e.extractTimeComponents(a,i)}static extractTimeComponents(e,t){switch(t){case`morgen`:e.imply(`hour`,6),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.AM),e.addTag(`casualReference/morning`);break;case`vormittag`:e.imply(`hour`,9),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.AM),e.addTag(`casualReference/morning`);break;case`mittag`:case`mittags`:e.imply(`hour`,12),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.AM),e.addTag(`casualReference/noon`);break;case`nachmittag`:e.imply(`hour`,15),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.PM),e.addTag(`casualReference/afternoon`);break;case`abend`:e.imply(`hour`,18),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.PM),e.addTag(`casualReference/evening`);break;case`nacht`:e.imply(`hour`,22),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.PM),e.addTag(`casualReference/evening`);break;case`mitternacht`:e.get(`hour`)>1&&e.addDurationAsImplied({day:1}),e.imply(`hour`,0),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.AM),e.addTag(`casualReference/midnight`)}return e}},c4=RegExp(`(jetzt|heute|morgen|übermorgen|uebermorgen|gestern|vorgestern|letzte\\s*nacht)(?:\\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht))?(?=\\W|$)`,`i`),l4=1,u4=2,d4=class extends ${innerPattern(e){return c4}innerExtract(e,t){let n=e.reference.getDateWithAdjustedTimezone(),r=(t[l4]||``).toLowerCase(),i=(t[u4]||``).toLowerCase(),a=e.createParsingComponents();switch(r){case`jetzt`:a=D0(e.reference);break;case`heute`:a=O0(e.reference);break;case`morgen`:n=v$(n,{day:1}),l$(a,n),f$(a,n);break;case`übermorgen`:case`uebermorgen`:n=v$(n,{day:2}),l$(a,n),f$(a,n);break;case`gestern`:n=v$(n,{day:-1}),l$(a,n),f$(a,n);break;case`vorgestern`:n=v$(n,{day:-2}),l$(a,n),f$(a,n);break;default:r.match(/letzte\s*nacht/)&&(n.getHours()>6&&(n=v$(n,{day:-1})),l$(a,n),a.imply(`hour`,0))}return i&&(a=s4.extractTimeComponents(a,i)),a}},f4=RegExp(`(?:am\\s*?)?(?:den\\s*?)?([0-9]{1,2})\\.(?:\\s*(?:bis(?:\\s*(?:am|zum))?|\\-|\\–|\\s)\\s*([0-9]{1,2})\\.?)?\\s*(${Q(F2)})(?:(?:-|/|,?\\s*)(${B2}(?![^\\s]\\d)))?(?=\\W|$)`,`i`),p4=1,m4=2,h4=3,g4=4,_4=class extends ${innerPattern(){return f4}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=F2[t[h4].toLowerCase()],i=parseInt(t[p4]);if(i>31)return t.index+=t[p4].length,null;if(n.start.assign(`month`,r),n.start.assign(`day`,i),t[g4]){let e=V2(t[g4]);n.start.assign(`year`,e)}else{let t=T$(e.refDate,i,r);n.start.imply(`year`,t)}if(t[m4]){let e=parseInt(t[m4]);n.end=n.start.clone(),n.end.assign(`day`,e)}return n}},v4=class extends ${constructor(){super()}innerPattern(){return RegExp(`(?:\\s*((?:nächste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?|vor|in)\\s*)?(${R2})?(?:\\s*(nächste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?)?\\s*(${Q(L2)})(?=\\W|$)`,`i`)}innerExtract(e,t){let n=t[2]?z2(t[2]):1,r=L2[t[4].toLowerCase()],i={};i[r]=n;let a=t[1]||t[3]||``;if(a=a.toLowerCase(),a)return(/vor/.test(a)||/letzte/.test(a)||/vergangen/.test(a))&&(i=y$(i)),Z.createRelativeFromReference(e.reference,i)}},y4=class extends ${innerPattern(){return RegExp(`(?:in|für|während)\\s*(${W2})(?=\\W|$)`,`i`)}innerExtract(e,t){let n=G2(t[1]);return Z.createRelativeFromReference(e.reference,n)}},b4=new O2(x4());new O2(S4(!0));function x4(e=!0){let t=S4(!1,e);return t.parsers.unshift(new s4),t.parsers.unshift(new d4),t.parsers.unshift(new v4),t}function S4(e=!0,t=!0){return E0({parsers:[new w0,new o2(t),new N2,new i4,new _4,new Z2,new y4],refiners:[new a4,new o4]},e)}var C4=class extends ${innerPattern(e){return/(maintenant|aujourd'hui|demain|hier|cette\s*nuit|la\s*veille)(?=\W|$)/i}innerExtract(e,t){let n=e.refDate,r=t[0].toLowerCase(),i=e.createParsingComponents();switch(r){case`maintenant`:return D0(e.reference);case`aujourd'hui`:return O0(e.reference);case`hier`:return k0(e.reference);case`demain`:return A0(e.reference);default:if(r.match(/cette\s*nuit/))l$(i,n),i.imply(`hour`,22),i.imply(`meridiem`,X.PM);else if(r.match(/la\s*veille/)){let e=new Date(n.getTime());e.setDate(e.getDate()-1),l$(i,e),i.imply(`hour`,0)}}return i}},w4=class extends ${innerPattern(e){return/(cet?)?\s*(matin|soir|après-midi|aprem|a midi|à minuit)(?=\W|$)/i}innerExtract(e,t){let n=t[2].toLowerCase(),r=e.createParsingComponents();switch(n){case`après-midi`:case`aprem`:r.imply(`hour`,14),r.imply(`minute`,0),r.imply(`meridiem`,X.PM),r.addTag(`casualReference/afternoon`);break;case`soir`:r.imply(`hour`,18),r.imply(`minute`,0),r.imply(`meridiem`,X.PM),r.addTag(`casualReference/evening`);break;case`matin`:r.imply(`hour`,8),r.imply(`minute`,0),r.imply(`meridiem`,X.AM),r.addTag(`casualReference/morning`);break;case`a midi`:r.imply(`hour`,12),r.imply(`minute`,0),r.imply(`meridiem`,X.AM),r.addTag(`casualReference/noon`);break;case`à minuit`:r.imply(`hour`,0),r.imply(`meridiem`,X.AM),r.addTag(`casualReference/midnight`)}return r}},T4=class extends F1{primaryPrefix(){return`(?:(?:[àa])\\s*)?`}followingPhase(){return`\\s*(?:\\-|\\–|\\~|\\〜|[àa]|\\?)\\s*`}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}},E4=class extends X1{patternBetween(){return RegExp(`^\\s*(T|à|a|au|vers|de|,|-)?\\s*$`)}},D4=class extends K1{patternBetween(){return/^\s*(à|a|au|-)\s*$/i}},O4={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},k4={janvier:1,jan:1,"jan.":1,janv:1,"janv.":1,février:2,fév:2,"fév.":2,févr:2,"févr.":2,fevrier:2,fev:2,"fev.":2,fevr:2,"fevr.":2,mars:3,mar:3,"mar.":3,avril:4,avr:4,"avr.":4,mai:5,juin:6,"juin.":6,jun:6,"jun.":6,juillet:7,juil:7,"juil.":7,jul:7,"jul.":7,août:8,"août.":8,aout: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écembre:12,decembre:12,dec:12,"dec.":12,déc:12,"déc.":12},A4={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},j4={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:`day`,jours:`day`,semaine:`week`,semaines:`week`,mois:`month`,trimestre:`quarter`,trimestres:`quarter`,ans:`year`,année:`year`,années:`year`},M4=`(?:${Q(A4)}|[0-9]+|[0-9]+\\.[0-9]+|une?\\b|quelques?|demi-?)`;function N4(e){let t=e.toLowerCase();return A4[t]===void 0?t===`une`||t===`un`?1:t.match(/quelques?/)?3:t.match(/demi-?/)?.5:parseFloat(t):A4[t]}var P4=`(?:[0-9]{1,2}(?:er)?)`;function F4(e){let t=e.toLowerCase();return t=t.replace(/(?:er)$/i,``),parseInt(t)}var I4=`(?:[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 L4(e){if(/AC/i.test(e))return e=e.replace(/BC/i,``),-parseInt(e);if(/AD/i.test(e)||/C/i.test(e))return e=e.replace(/[^\d]+/i,``),parseInt(e);let t=parseInt(e);return t<100&&(t+=t>50?1900:2e3),t}var R4=`(${M4})\\s{0,5}(${Q(j4)})\\s{0,5}`,z4=new RegExp(R4,`i`),B4=S$(``,R4);function V4(e){let t={},n=e,r=z4.exec(n);for(;r;)H4(t,r),n=n.substring(r[0].length),r=z4.exec(n);return t}function H4(e,t){let n=N4(t[1]),r=j4[t[2].toLowerCase()];e[r]=n}var U4=RegExp(`(?:(?:\\,|\\(|\\()\\s*)?(?:(?:ce)\\s*)?(${Q(O4)})(?:\\s*(?:\\,|\\)|\\)))?(?:\\s*(dernier|prochain)\\s*)?(?=\\W|\\d|$)`,`i`),W4=1,G4=2,K4=class extends ${innerPattern(){return U4}innerExtract(e,t){let n=O4[t[W4].toLowerCase()];if(n===void 0)return null;let r=t[G4];r||=``,r=r.toLowerCase();let i=null;return r==`dernier`?i=`last`:r==`prochain`&&(i=`next`),o0(e.reference,n,i)}},q4=RegExp(`(^|\\s|T)(?:(?:[àa])\\s*)?(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s|:)?)?(?:\\s*(A\\.M\\.|P\\.M\\.|AM?|PM?))?(?=\\W|$)`,`i`),J4=RegExp(`^\\s*(\\-|\\–|\\~|\\〜|[àa]|\\?)\\s*(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s|:)?)?(?:\\s*(A\\.M\\.|P\\.M\\.|AM?|PM?))?(?=\\W|$)`,`i`),Y4=2,X4=3,Z4=4,Q4=5,$4=class e{pattern(e){return q4}extract(t,n){let r=t.createParsingResult(n.index+n[1].length,n[0].substring(n[1].length));if(r.text.match(/^\d{4}$/)||(r.start=e.extractTimeComponent(r.start.clone(),n),!r.start))return n.index+=n[0].length,null;let i=t.text.substring(n.index+n[0].length),a=J4.exec(i);return a&&(r.end=e.extractTimeComponent(r.start.clone(),a),r.end&&(r.text+=a[0])),r}static extractTimeComponent(e,t){let n=0,r=0,i=null;if(n=parseInt(t[Y4]),t[X4]!=null&&(r=parseInt(t[X4])),r>=60||n>24)return null;if(n>=12&&(i=X.PM),t[Q4]!=null){if(n>12)return null;let e=t[Q4][0].toLowerCase();e==`a`&&(i=X.AM,n==12&&(n=0)),e==`p`&&(i=X.PM,n!=12&&(n+=12))}if(e.assign(`hour`,n),e.assign(`minute`,r),i===null?n<12?e.imply(`meridiem`,X.AM):e.imply(`meridiem`,X.PM):e.assign(`meridiem`,i),t[Z4]!=null){let n=parseInt(t[Z4]);if(n>=60)return null;e.assign(`second`,n)}return e}},e3=RegExp(`(?:on\\s*?)?(${P4})(?:\\s*(?:au|\\-|\\–|jusqu'au?|\\s)\\s*(${P4}))?(?:-|/|\\s*(?:de)?\\s*)(${Q(k4)})(?:(?:-|/|,?\\s*)(${I4}(?![^\\s]\\d)))?(?=\\W|$)`,`i`),t3=1,n3=2,r3=3,i3=4,a3=class extends ${innerPattern(){return e3}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=k4[t[r3].toLowerCase()],i=F4(t[t3]);if(i>31)return t.index+=t[t3].length,null;if(n.start.assign(`month`,r),n.start.assign(`day`,i),t[i3]){let e=L4(t[i3]);n.start.assign(`year`,e)}else{let t=T$(e.refDate,i,r);n.start.imply(`year`,t)}if(t[n3]){let e=F4(t[n3]);n.end=n.start.clone(),n.end.assign(`day`,e)}return n}},o3=class extends ${constructor(){super()}innerPattern(){return RegExp(`il y a\\s*(${B4})(?=(?:\\W|$))`,`i`)}innerExtract(e,t){let n=y$(V4(t[1]));return Z.createRelativeFromReference(e.reference,n)}},s3=class extends ${innerPattern(){return RegExp(`(?:dans|en|pour|pendant|de)\\s*(${B4})(?=\\W|$)`,`i`)}innerExtract(e,t){let n=V4(t[1]);return Z.createRelativeFromReference(e.reference,n)}},c3=class extends ${constructor(){super()}innerPattern(){return RegExp(`(?:les?|la|l'|du|des?)\\s*(${M4})?(?:\\s*(prochaine?s?|derni[eè]re?s?|pass[ée]e?s?|pr[ée]c[ée]dents?|suivante?s?))?\\s*(${Q(j4)})(?:\\s*(prochaine?s?|derni[eè]re?s?|pass[ée]e?s?|pr[ée]c[ée]dents?|suivante?s?))?(?=\\W|$)`,`i`)}innerExtract(e,t){let n=t[1]?N4(t[1]):1,r=j4[t[3].toLowerCase()],i={};i[r]=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))&&(i=y$(i)),Z.createRelativeFromReference(e.reference,i)}},l3=new O2(u3());new O2(d3(!0));function u3(e=!0){let t=d3(!1,e);return t.parsers.unshift(new C4),t.parsers.unshift(new w4),t.parsers.unshift(new c3),t}function d3(e=!0,t=!0){return E0({parsers:[new o2(t),new a3,new T4,new $4,new o3,new s3,new K4],refiners:[new E4,new D4]},e)}var f3={零:0,〇:0,一:1,二:2,三:3,四:4,五:5,六:6,七:7,八:8,九:9,十:10},p3={日:0,月:1,火:2,水:3,木:4,金:5,土:6};function m3(e){return String(e).replace(/\u2019/g,`'`).replace(/\u201D/g,`"`).replace(/\u3000/g,` `).replace(/\uFFE5/g,`¥`).replace(/[\uFF01\uFF03-\uFF06\uFF08\uFF09\uFF0C-\uFF19\uFF1C-\uFF1F\uFF21-\uFF3B\uFF3D\uFF3F\uFF41-\uFF5B\uFF5D\uFF5E]/g,h3)}function h3(e){return String.fromCharCode(e.charCodeAt(0)-65248)}function g3(e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];r===`十`?t=t===0?f3[r]:t*f3[r]:t+=f3[r]}return t}var _3=/(?:(?:([同今本])|((昭和|平成|令和)?([0-90-9]{1,4}|元)))年\s*)?([0-90-9]{1,2})月\s*([0-90-9]{1,2})日/i,v3=1,y3=2,b3=3,x3=4,S3=5,C3=6,w3=class{pattern(){return _3}extract(e,t){let n=parseInt(m3(t[S3])),r=parseInt(m3(t[C3])),i=e.createParsingComponents({day:r,month:n});if(t[v3]&&t[v3].match(`同|今|本`)&&i.assign(`year`,e.reference.getDateWithAdjustedTimezone().getFullYear()),t[y3]){let e=t[x3],n=e==`元`?1:parseInt(m3(e));t[b3]==`令和`?n+=2018:t[b3]==`平成`?n+=1988:t[b3]==`昭和`&&(n+=1925),i.assign(`year`,n)}else{let t=T$(e.refDate,r,n);i.imply(`year`,t)}return i}},T3=class extends K1{patternBetween(){return/^\s*(から|-|ー|-|~|~)\s*$/i}},E3=/今日|きょう|本日|ほんじつ|昨日|きのう|明日|あした|今夜|こんや|今夕|こんゆう|今晩|こんばん|今朝|けさ/i;function D3(e){switch(e){case`きょう`:return`今日`;case`ほんじつ`:return`本日`;case`きのう`:return`昨日`;case`あした`:return`明日`;case`こんや`:return`今夜`;case`こんゆう`:return`今夕`;case`こんばん`:return`今晩`;case`けさ`:return`今朝`;default:return e}}var O3=class{pattern(){return E3}extract(e,t){let n=D3(t[0]),r=e.createParsingComponents();switch(n){case`昨日`:return k0(e.reference);case`明日`:return A0(e.reference);case`本日`:case`今日`:return O0(e.reference)}n==`今夜`||n==`今夕`||n==`今晩`?(r.imply(`hour`,22),r.assign(`meridiem`,X.PM)):n.match(`今朝`)&&(r.imply(`hour`,6),r.assign(`meridiem`,X.AM));let i=e.refDate;return r.assign(`day`,i.getDate()),r.assign(`month`,i.getMonth()+1),r.assign(`year`,i.getFullYear()),r}},k3=RegExp(`((?<prefix>前の|次の|今週))?(?<weekday>`+Object.keys(p3).join(`|`)+`)(?:曜日|曜)`,`i`),Tae=class{pattern(){return k3}extract(e,t){let n=p3[t.groups.weekday];if(n===void 0)return null;let r=t.groups.prefix||``,i=null;return r.match(/前の/)?i=`last`:r.match(/次の/)?i=`next`:r.match(/今週/)&&(i=`this`),o0(e.reference,n,i)}},Eae=RegExp(`([0-90-9]{4}[\\/|\\/])?([0-10-1]{0,1}[0-90-9]{1})(?:[\\/|\\/]([0-30-3]{0,1}[0-90-9]{1}))`,`i`),A3=1,Dae=2,Oae=3,kae=class{pattern(){return Eae}extract(e,t){let n=e.createParsingComponents(),r=parseInt(m3(t[Dae])),i=parseInt(m3(t[Oae]));if(r<1||r>12||i<1||i>31)return null;if(n.assign(`day`,i),n.assign(`month`,r),t[A3]){let e=w$(parseInt(m3(t[A3])));n.assign(`year`,e)}else{let t=T$(e.reference.instant,i,r);n.imply(`year`,t)}return n}},Aae=RegExp(`(?:(午前|午後|A.M.|P.M.|AM|PM))?(?:[\\s,,、]*)(?:([0-90-9]+|[`+Object.keys(f3).join(``)+`]+)(?:\\s*)(?:時(?!間)|:|:)(?:\\s*)([0-90-9]+|半|[`+Object.keys(f3).join(``)+`]+)?(?:\\s*)(?:分|:|:)?(?:\\s*)([0-90-9]+|[`+Object.keys(f3).join(``)+`]+)?(?:\\s*)(?:秒)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?`,`i`),jae=RegExp(`(?:^\\s*(?:から|\\-|\\–|\\-|\\~|\\〜)\\s*)(?:(午前|午後|A.M.|P.M.|AM|PM))?(?:[\\s,,、]*)(?:([0-90-9]+|[`+Object.keys(f3).join(``)+`]+)(?:\\s*)(?:時|:|:)(?:\\s*)([0-90-9]+|半|[`+Object.keys(f3).join(``)+`]+)?(?:\\s*)(?:分|:|:)?(?:\\s*)([0-90-9]+|[`+Object.keys(f3).join(``)+`]+)?(?:\\s*)(?:秒)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?`,`i`),j3=1,M3=2,N3=3,P3=4,F3=5,Mae=class extends ${innerPattern(){return Aae}innerExtract(e,t){if(t.index>0&&e.text[t.index-1].match(/\w/))return null;let n=e.createParsingResult(t.index,t[0]);return n.start=I3(e,t[M3],t[N3],t[P3],t[j3]??t[F3]),n.start?(t=jae.exec(e.text.substring(n.index+n.text.length)),t?(n.text+=t[0],n.end=I3(e,t[M3],t[N3],t[P3],t[j3]??t[F3]),n.end?(!n.end.isCertain(`meridiem`)&&n.start.isCertain(`meridiem`)&&(n.end.imply(`meridiem`,n.start.get(`meridiem`)),n.start.get(`meridiem`)===X.PM&&(n.start.get(`hour`)-12>n.end.get(`hour`)?n.end.imply(`meridiem`,X.AM):n.end.get(`hour`)<12&&n.end.assign(`hour`,n.end.get(`hour`)+12))),n.end.date().getTime()<n.start.date().getTime()&&n.end.addDurationAsImplied({day:1}),n):null):n):(t.index+=t[0].length,null)}};function I3(e,t,n,r,i){let a=0,o=-1,s=e.createParsingComponents();if(a=parseInt(m3(t)),isNaN(a)&&(a=g3(t)),a>24)return null;if(n){let e;if(n===`半`?e=30:(e=parseInt(m3(n)),isNaN(e)&&(e=g3(n))),e>=60)return null;s.assign(`minute`,e)}if(r){let e=parseInt(m3(r));if(isNaN(e)&&(e=g3(r)),e>=60)return null;s.assign(`second`,e)}if(i){if(a>12)return null;let e=i;e===`午前`||e[0].toLowerCase()===`a`?(o=X.AM,a===12&&(a=0)):(e===`午後`||e[0].toLowerCase()===`p`)&&(o=X.PM,a!=12&&(a+=12))}return s.assign(`hour`,a),o>=0?s.assign(`meridiem`,o):a<12?s.imply(`meridiem`,X.AM):s.imply(`meridiem`,X.PM),s}var Nae=class extends X1{patternBetween(){return/^\s*(の)?\s*$/i}},Pae=class extends G1{mergeResults(e,t,n){let r=t.clone();return r.text=t.text+e+n.text,r.start.assign(`weekday`,n.start.get(`weekday`)),r.end&&r.end.assign(`weekday`,n.start.get(`weekday`)),r}shouldMergeResults(e,t,n){return t.start.isCertain(`day`)&&n.start.isOnlyWeekdayComponent()&&!n.start.isCertain(`hour`)&&e.match(/^[,、の]?\s*$/)!==null}},Fae=RegExp(`(?:\\(|\\()(?<weekday>`+Object.keys(p3).join(`|`)+`)(?:\\)|\\))`,`i`),Iae=class{pattern(){return Fae}extract(e,t){let n=p3[t.groups.weekday];return n===void 0?null:o0(e.reference,n)}},Lae=new O2(Rae());new O2(L3(!0));function Rae(){let e=L3(!1);return e.parsers.unshift(new O3),e}function L3(e=!0){let t=E0({parsers:[new w3,new Tae,new Iae,new kae,new Mae],refiners:[new Pae,new Nae,new T3]},e);return t.refiners=t.refiners.filter(e=>!(e instanceof T0)),t}var R3={domingo:0,dom:0,segunda:1,"segunda-feira":1,seg:1,terça:2,"terça-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ábado:6,sabado:6,sab:6},z3={janeiro:1,jan:1,"jan.":1,fevereiro:2,fev:2,"fev.":2,março: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},zae=`[0-9]{1,4}(?![^\\s]\\d)(?:\\s*[a|d]\\.?\\s*c\\.?|\\s*a\\.?\\s*d\\.?)?`;function Bae(e){if(e.match(/^[0-9]{1,4}$/)){let t=parseInt(e);return t<100&&(t+=t>50?1900:2e3),t}return e.match(/a\.?\s*c\.?/i)?(e=e.replace(/a\.?\s*c\.?/i,``),-parseInt(e)):parseInt(e)}var Vae=RegExp(`(?:(?:\\,|\\(|\\()\\s*)?(?:(este|esta|passado|pr[oó]ximo)\\s*)?(${Q(R3)})(?:\\s*(?:\\,|\\)|\\)))?(?:\\s*(este|esta|passado|pr[óo]ximo)\\s*semana)?(?=\\W|\\d|$)`,`i`),Hae=1,Uae=2,Wae=3,Gae=class extends ${innerPattern(){return Vae}innerExtract(e,t){let n=R3[t[Uae].toLowerCase()];if(n===void 0)return null;let r=t[Hae],i=t[Wae],a=r||i||``;a=a.toLowerCase();let o=null;return a==`passado`?o=`this`:a==`próximo`||a==`proximo`?o=`next`:a==`este`&&(o=`this`),o0(e.reference,n,o)}},Kae=class extends F1{primaryPrefix(){return`(?:(?:ao?|às?|das|da|de|do)\\s*)?`}followingPhase(){return`\\s*(?:\\-|\\–|\\~|\\〜|a(?:o)?|\\?)\\s*`}},qae=class extends X1{patternBetween(){return RegExp(`^\\s*(?:,|à)?\\s*$`)}},Jae=class extends K1{patternBetween(){return/^\s*(?:-)\s*$/i}},Yae=RegExp(`([0-9]{1,2})(?:º|ª|°)?(?:\\s*(?:desde|de|\\-|\\–|ao?|\\s)\\s*([0-9]{1,2})(?:º|ª|°)?)?\\s*(?:de)?\\s*(?:-|/|\\s*(?:de|,)?\\s*)(${Q(z3)})(?:\\s*(?:de|,)?\\s*(${zae}))?(?=\\W|$)`,`i`),B3=1,V3=2,Xae=3,H3=4,Zae=class extends ${innerPattern(){return Yae}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=z3[t[Xae].toLowerCase()],i=parseInt(t[B3]);if(i>31)return t.index+=t[B3].length,null;if(n.start.assign(`month`,r),n.start.assign(`day`,i),t[H3]){let e=Bae(t[H3]);n.start.assign(`year`,e)}else{let t=T$(e.refDate,i,r);n.start.imply(`year`,t)}if(t[V3]){let e=parseInt(t[V3]);n.end=n.start.clone(),n.end.assign(`day`,e)}return n}},Qae=class extends ${innerPattern(e){return/(agora|hoje|amanha|amanhã|ontem)(?=\W|$)/i}innerExtract(e,t){let n=t[0].toLowerCase(),r=e.createParsingComponents();switch(n){case`agora`:return D0(e.reference);case`hoje`:return O0(e.reference);case`amanha`:case`amanhã`:return A0(e.reference);case`ontem`:return k0(e.reference)}return r}},$ae=class extends ${innerPattern(){return/(?:esta\s*)?(manha|manhã|tarde|meia-noite|meio-dia|noite)(?=\W|$)/i}innerExtract(e,t){let n=e.refDate,r=e.createParsingComponents();switch(t[1].toLowerCase()){case`tarde`:r.imply(`meridiem`,X.PM),r.imply(`hour`,15),r.addTag(`casualReference/afternoon`);break;case`noite`:r.imply(`meridiem`,X.PM),r.imply(`hour`,22),r.addTag(`casualReference/evening`);break;case`manha`:case`manhã`:r.imply(`meridiem`,X.AM),r.imply(`hour`,6),r.addTag(`casualReference/morning`);break;case`meia-noite`:let e=new Date(n.getTime());e.setDate(e.getDate()+1),l$(r,e),f$(r,e),r.imply(`hour`,0),r.imply(`minute`,0),r.imply(`second`,0),r.addTag(`casualReference/midnight`);break;case`meio-dia`:r.imply(`meridiem`,X.AM),r.imply(`hour`,12),r.addTag(`casualReference/noon`)}return r}},eoe=new O2(toe());new O2(U3(!0));function toe(e=!0){let t=U3(!1,e);return t.parsers.push(new Qae),t.parsers.push(new $ae),t}function U3(e=!0,t=!0){return E0({parsers:[new o2(t),new Gae,new Kae,new Zae],refiners:[new qae,new Jae]},e)}var noe=class extends K1{patternBetween(){return/^\s*(tot|-)\s*$/i}},roe=class extends X1{patternBetween(){return RegExp(`^\\s*(om|na|voor|in de|,|-)?\\s*$`)}},ioe=class extends ${innerPattern(e){return/(nu|vandaag|morgen|morgend|gisteren)(?=\W|$)/i}innerExtract(e,t){let n=t[0].toLowerCase(),r=e.createParsingComponents();switch(n){case`nu`:return D0(e.reference);case`vandaag`:return O0(e.reference);case`morgen`:case`morgend`:return A0(e.reference);case`gisteren`:return k0(e.reference)}return r}},aoe=1,ooe=2,soe=class extends ${innerPattern(){return/(deze)?\s*(namiddag|avond|middernacht|ochtend|middag|'s middags|'s avonds|'s ochtends)(?=\W|$)/i}innerExtract(e,t){let n=e.refDate,r=e.createParsingComponents();switch(t[aoe]===`deze`&&(r.assign(`day`,e.refDate.getDate()),r.assign(`month`,e.refDate.getMonth()+1),r.assign(`year`,e.refDate.getFullYear())),t[ooe].toLowerCase()){case`namiddag`:case`'s namiddags`:r.imply(`meridiem`,X.PM),r.imply(`hour`,15),r.addTag(`casualReference/afternoon`);break;case`avond`:case`'s avonds'`:r.imply(`meridiem`,X.PM),r.imply(`hour`,20),r.addTag(`casualReference/evening`);break;case`middernacht`:let e=new Date(n.getTime());e.setDate(e.getDate()+1),l$(r,e),f$(r,e),r.imply(`hour`,0),r.imply(`minute`,0),r.imply(`second`,0),r.addTag(`casualReference/midnight`);break;case`ochtend`:case`'s ochtends`:r.imply(`meridiem`,X.AM),r.imply(`hour`,6),r.addTag(`casualReference/morning`);break;case`middag`:case`'s middags`:r.imply(`meridiem`,X.AM),r.imply(`hour`,12),r.addTag(`casualReference/noon`)}return r}},W3={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},G3={januari:1,jan:1,"jan.":1,februari:2,feb:2,"feb.":2,maart:3,mar:3,"mar.":3,mrt:3,"mrt.":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},K3={een:1,twee:2,drie:3,vier:4,vijf:5,zes:6,zeven:7,acht:8,negen:9,tien:10,elf:11,twaalf:12},q3={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ëntwintigste:22,drieentwintigste:23,vierentwintigste:24,vijfentwintigste:25,zesentwintigste:26,zevenentwintigste:27,achtentwintig:28,negenentwintig:29,dertigste:30,eenendertigste:31},J3={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:`day`,dagen:`day`,week:`week`,weken:`week`,maand:`month`,maanden:`month`,jaar:`year`,jr:`year`,jaren:`year`},coe=`(?:${Q(K3)}|[0-9]+|[0-9]+[\\.,][0-9]+|halve?|half|paar)`;function loe(e){let t=e.toLowerCase();return K3[t]===void 0?t===`paar`?2:t===`half`||t.match(/halve?/)?.5:parseFloat(t.replace(`,`,`.`)):K3[t]}var Y3=`(?:${Q(q3)}|[0-9]{1,2}(?:ste|de)?)`;function X3(e){let t=e.toLowerCase();return q3[t]===void 0?(t=t.replace(/(?:ste|de)$/i,``),parseInt(t)):q3[t]}var Z3=`(?:[1-9][0-9]{0,3}\\s*(?:voor Christus|na Christus)|[1-2][0-9]{3}|[5-9][0-9])`;function Q3(e){return/voor Christus/i.test(e)?(e=e.replace(/voor Christus/i,``),-parseInt(e)):/na Christus/i.test(e)?(e=e.replace(/na Christus/i,``),parseInt(e)):w$(parseInt(e))}var $3=`(${coe})\\s{0,5}(${Q(J3)})\\s{0,5}`,e6=new RegExp($3,`i`),t6=S$(`(?:(?:binnen|in)\\s*)?`,$3);function n6(e){let t={},n=e,r=e6.exec(n);for(;r;)uoe(t,r),n=n.substring(r[0].length),r=e6.exec(n);return t}function uoe(e,t){let n=loe(t[1]),r=J3[t[2].toLowerCase()];e[r]=n}var doe=class extends ${innerPattern(){return RegExp(`(?:binnen|in|binnen de|voor)\\s*(`+t6+`)(?=\\W|$)`,`i`)}innerExtract(e,t){let n=n6(t[1]);return Z.createRelativeFromReference(e.reference,n)}},foe=RegExp(`(?:(?:\\,|\\(|\\()\\s*)?(?:op\\s*?)?(?:(deze|vorige|volgende)\\s*(?:week\\s*)?)?(${Q(W3)})(?=\\W|$)`,`i`),poe=1,moe=2,hoe=3,goe=class extends ${innerPattern(){return foe}innerExtract(e,t){let n=W3[t[moe].toLowerCase()],r=t[poe],i=t[hoe],a=r||i;a||=``,a=a.toLowerCase();let o=null;return a==`vorige`?o=`last`:a==`volgende`?o=`next`:a==`deze`&&(o=`this`),o0(e.reference,n,o)}},_oe=RegExp(`(?:on\\s*?)?(${Y3})(?:\\s*(?:tot|\\-|\\–|until|through|till|\\s)\\s*(${Y3}))?(?:-|/|\\s*(?:of)?\\s*)(`+Q(G3)+`)(?:(?:-|/|,?\\s*)(${Z3}(?![^\\s]\\d)))?(?=\\W|$)`,`i`),voe=3,r6=1,i6=2,a6=4,yoe=class extends ${innerPattern(){return _oe}innerExtract(e,t){let n=G3[t[voe].toLowerCase()],r=X3(t[r6]);if(r>31)return t.index+=t[r6].length,null;let i=e.createParsingComponents({day:r,month:n});if(t[a6]){let e=Q3(t[a6]);i.assign(`year`,e)}else{let t=T$(e.refDate,r,n);i.imply(`year`,t)}if(!t[i6])return i;let a=X3(t[i6]),o=e.createParsingResult(t.index,t[0]);return o.start=i,o.end=i.clone(),o.end.assign(`day`,a),o}},boe=RegExp(`(${Q(G3)})\\s*(?:[,-]?\\s*(${Z3})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,`i`),xoe=1,o6=2,s6=class extends ${innerPattern(){return boe}innerExtract(e,t){let n=e.createParsingComponents();n.imply(`day`,1);let r=G3[t[xoe].toLowerCase()];if(n.assign(`month`,r),t[o6]){let e=Q3(t[o6]);n.assign(`year`,e)}else{let t=T$(e.refDate,1,r);n.imply(`year`,t)}return n}},Soe=RegExp(`([0-9]|0[1-9]|1[012])/([0-9]{4})`,`i`),Coe=1,woe=2,Toe=class extends ${innerPattern(){return Soe}innerExtract(e,t){let n=parseInt(t[woe]),r=parseInt(t[Coe]);return e.createParsingComponents().imply(`day`,1).assign(`month`,r).assign(`year`,n)}},Eoe=class extends F1{primaryPrefix(){return`(?:(?:om)\\s*)?`}followingPhase(){return`\\s*(?:\\-|\\–|\\~|\\〜|om|\\?)\\s*`}primarySuffix(){return`(?:\\s*(?:uur))?(?!/)(?=\\W|$)`}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}},Doe=RegExp(`([0-9]{4})[\\.\\/\\s](?:(${Q(G3)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,`i`),Ooe=1,koe=2,c6=3,Aoe=4,joe=class extends ${innerPattern(){return Doe}innerExtract(e,t){let n=t[c6]?parseInt(t[c6]):G3[t[koe].toLowerCase()];if(n<1||n>12)return null;let r=parseInt(t[Ooe]);return{day:parseInt(t[Aoe]),month:n,year:r}}},Moe=1,Noe=2,Poe=class extends ${innerPattern(e){return/(gisteren|morgen|van)(ochtend|middag|namiddag|avond|nacht)(?=\W|$)/i}innerExtract(e,t){let n=t[Moe].toLowerCase(),r=t[Noe].toLowerCase(),i=e.createParsingComponents(),a=e.refDate;switch(n){case`gisteren`:let e=new Date(a.getTime());e.setDate(e.getDate()-1),l$(i,e);break;case`van`:l$(i,a);break;case`morgen`:let t=new Date(a.getTime());t.setDate(t.getDate()+1),l$(i,t),f$(i,t)}switch(r){case`ochtend`:i.imply(`meridiem`,X.AM),i.imply(`hour`,6);break;case`middag`:i.imply(`meridiem`,X.AM),i.imply(`hour`,12);break;case`namiddag`:i.imply(`meridiem`,X.PM),i.imply(`hour`,15);break;case`avond`:i.imply(`meridiem`,X.PM),i.imply(`hour`,20)}return i}},Foe=RegExp(`(dit|deze|vorig|afgelopen|(?:aan)?komend|over|\\+|-)e?\\s*(${t6})(?=\\W|$)`,`i`),Ioe=1,Loe=2,Roe=class extends ${innerPattern(){return Foe}innerExtract(e,t){let n=t[Ioe].toLowerCase(),r=n6(t[Loe]);switch(n){case`vorig`:case`afgelopen`:case`-`:r=y$(r)}return Z.createRelativeFromReference(e.reference,r)}},zoe=RegExp(`(dit|deze|(?:aan)?komend|volgend|afgelopen|vorig)e?\\s*(${Q(J3)})(?=\\s*)(?=\\W|$)`,`i`),Boe=1,Voe=2,Hoe=class extends ${innerPattern(){return zoe}innerExtract(e,t){let n=t[Boe].toLowerCase(),r=t[Voe].toLowerCase(),i=J3[r];if(n==`volgend`||n==`komend`||n==`aankomend`){let t={};return t[i]=1,Z.createRelativeFromReference(e.reference,t)}if(n==`afgelopen`||n==`vorig`){let t={};return t[i]=-1,Z.createRelativeFromReference(e.reference,t)}let a=e.createParsingComponents(),o=new Date(e.reference.instant.getTime());return r.match(/week/i)?(o.setDate(o.getDate()-o.getDay()),a.imply(`day`,o.getDate()),a.imply(`month`,o.getMonth()+1),a.imply(`year`,o.getFullYear())):r.match(/maand/i)?(o.setDate(1),a.imply(`day`,o.getDate()),a.assign(`year`,o.getFullYear()),a.assign(`month`,o.getMonth()+1)):r.match(/jaar/i)&&(o.setDate(1),o.setMonth(0),a.imply(`day`,o.getDate()),a.imply(`month`,o.getMonth()+1),a.assign(`year`,o.getFullYear())),a}},Uoe=RegExp(`(`+t6+`)(?:geleden|voor|eerder)(?=(?:\\W|$))`,`i`),Woe=RegExp(`(`+t6+`)geleden(?=(?:\\W|$))`,`i`),Goe=class extends ${strictMode;constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?Woe:Uoe}innerExtract(e,t){let n=y$(n6(t[1]));return Z.createRelativeFromReference(e.reference,n)}},Koe=RegExp(`(`+t6+`)(later|na|vanaf nu|voortaan|vooruit|uit)(?=(?:\\W|$))`,`i`),qoe=RegExp(`(`+t6+`)(later|vanaf nu)(?=(?:\\W|$))`,`i`),Joe=1,Yoe=class extends ${strictMode;constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?qoe:Koe}innerExtract(e,t){let n=n6(t[Joe]);return Z.createRelativeFromReference(e.reference,n)}},Xoe=new O2(Zoe());new O2(l6(!0));function Zoe(e=!0){let t=l6(!1,e);return t.parsers.unshift(new ioe),t.parsers.unshift(new soe),t.parsers.unshift(new Poe),t.parsers.unshift(new s6),t.parsers.unshift(new Hoe),t.parsers.unshift(new Roe),t}function l6(e=!0,t=!0){return E0({parsers:[new o2(t),new doe,new yoe,new s6,new goe,new joe,new Toe,new Eoe(e),new Goe(e),new Yoe(e)],refiners:[new roe,new noe]},e)}var u6={leftBoundary:`([^\\p{L}\\p{N}_]|^)`,rightBoundary:`(?=[^\\p{L}\\p{N}_]|$)`,flags:`iu`},d6={воскресенье:0,воскресенья:0,вск:0,"вск.":0,понедельник:1,понедельника:1,пн:1,"пн.":1,вторник:2,вторника:2,вт:2,"вт.":2,среда:3,среды:3,среду:3,ср:3,"ср.":3,четверг:4,четверга:4,чт:4,"чт.":4,пятница:5,пятницу:5,пятницы:5,пт:5,"пт.":5,суббота:6,субботу:6,субботы:6,сб:6,"сб.":6},f6={январь:1,января:1,январе:1,февраль:2,февраля:2,феврале:2,март:3,марта:3,марте:3,апрель:4,апреля:4,апреле:4,май:5,мая:5,мае:5,июнь:6,июня:6,июне:6,июль:7,июля:7,июле:7,август:8,августа:8,августе:8,сентябрь:9,сентября:9,сентябре:9,октябрь:10,октября:10,октябре:10,ноябрь:11,ноября:11,ноябре:11,декабрь:12,декабря:12,декабре:12},p6={...f6,янв:1,"янв.":1,фев:2,"фев.":2,мар:3,"мар.":3,апр:4,"апр.":4,авг:8,"авг.":8,сен:9,"сен.":9,окт:10,"окт.":10,ноя:11,"ноя.":11,дек:12,"дек.":12},m6={один:1,одна:1,одной:1,одну:1,две:2,два:2,двух:2,три:3,трех:3,трёх:3,четыре:4,четырех:4,четырёх:4,пять:5,пяти:5,шесть:6,шести:6,семь:7,семи:7,восемь:8,восьми:8,девять:9,девяти:9,десять:10,десяти:10,одиннадцать:11,одиннадцати:11,двенадцать:12,двенадцати:12},h6={первое:1,первого:1,второе:2,второго:2,третье:3,третьего:3,четвертое:4,четвертого:4,пятое:5,пятого:5,шестое:6,шестого:6,седьмое:7,седьмого:7,восьмое:8,восьмого:8,девятое:9,девятого:9,десятое:10,десятого:10,одиннадцатое:11,одиннадцатого:11,двенадцатое:12,двенадцатого:12,тринадцатое:13,тринадцатого:13,четырнадцатое:14,четырнадцатого:14,пятнадцатое:15,пятнадцатого:15,шестнадцатое:16,шестнадцатого:16,семнадцатое:17,семнадцатого:17,восемнадцатое:18,восемнадцатого:18,девятнадцатое:19,девятнадцатого:19,двадцатое:20,двадцатого:20,"двадцать первое":21,"двадцать первого":21,"двадцать второе":22,"двадцать второго":22,"двадцать третье":23,"двадцать третьего":23,"двадцать четвертое":24,"двадцать четвертого":24,"двадцать пятое":25,"двадцать пятого":25,"двадцать шестое":26,"двадцать шестого":26,"двадцать седьмое":27,"двадцать седьмого":27,"двадцать восьмое":28,"двадцать восьмого":28,"двадцать девятое":29,"двадцать девятого":29,тридцатое:30,тридцатого:30,"тридцать первое":31,"тридцать первого":31},g6={сек:`second`,секунда:`second`,секунд:`second`,секунды:`second`,секунду:`second`,секундочка:`second`,секундочки:`second`,секундочек:`second`,секундочку:`second`,мин:`minute`,минута:`minute`,минут:`minute`,минуты:`minute`,минуту:`minute`,минуток:`minute`,минутки:`minute`,минутку:`minute`,минуточек:`minute`,минуточки:`minute`,минуточку:`minute`,час:`hour`,часов:`hour`,часа:`hour`,часу:`hour`,часиков:`hour`,часика:`hour`,часике:`hour`,часик:`hour`,день:`day`,дня:`day`,дней:`day`,суток:`day`,сутки:`day`,неделя:`week`,неделе:`week`,недели:`week`,неделю:`week`,недель:`week`,недельке:`week`,недельки:`week`,неделек:`week`,месяц:`month`,месяце:`month`,месяцев:`month`,месяца:`month`,квартал:`quarter`,квартале:`quarter`,кварталов:`quarter`,год:`year`,года:`year`,году:`year`,годов:`year`,лет:`year`,годик:`year`,годика:`year`,годиков:`year`},Qoe=`(?:${Q(m6)}|[0-9]+|[0-9]+\\.[0-9]+|пол|несколько|пар(?:ы|у)|\\s{0,3})`;function $oe(e){let t=e.toLowerCase();return m6[t]===void 0?t.match(/несколько/)?3:t.match(/пол/)?.5:t.match(/пар/)?2:t===``?1:parseFloat(t):m6[t]}var _6=`(?:${Q(h6)}|[0-9]{1,2}(?:го|ого|е|ое)?)`;function v6(e){let t=e.toLowerCase();return h6[t]===void 0?parseInt(t):h6[t]}var y6=`(?:\\s+(?:году|года|год|г|г.))?`,b6=`(?:[1-9][0-9]{0,3}${y6}\\s*(?:н.э.|до н.э.|н. э.|до н. э.)|[1-2][0-9]{3}${y6}|[5-9][0-9]${y6})`;function x6(e){return/(год|года|г|г.)/i.test(e)&&(e=e.replace(/(год|года|г|г.)/i,``)),/(до н.э.|до н. э.)/i.test(e)?(e=e.replace(/(до н.э.|до н. э.)/i,``),-parseInt(e)):/(н. э.|н.э.)/i.test(e)?(e=e.replace(/(н. э.|н.э.)/i,``),parseInt(e)):w$(parseInt(e))}var S6=`(${Qoe})\\s{0,3}(${Q(g6)})`,C6=new RegExp(S6,`i`),w6=S$(`(?:(?:около|примерно)\\s{0,3})?`,S6);function T6(e){let t={},n=e,r=C6.exec(n);for(;r;)ese(t,r),n=n.substring(r[0].length).trim(),r=C6.exec(n);return t}function ese(e,t){let n=$oe(t[1]),r=g6[t[2].toLowerCase()];e[r]=n}var E6=`(?:(?:около|примерно)\\s*(?:~\\s*)?)?(${w6})${u6.rightBoundary}`,tse=class extends ${patternLeftBoundary(){return u6.leftBoundary}innerPattern(e){return e.option.forwardDate?new RegExp(E6,u6.flags):RegExp(`(?:в течение|в течении)\\s*${E6}`,u6.flags)}innerExtract(e,t){let n=T6(t[1]);return Z.createRelativeFromReference(e.reference,n)}},D6=class extends ${patternLeftBoundary(){return u6.leftBoundary}innerPattern(e){return new RegExp(this.innerPatternString(e),u6.flags)}innerPatternHasChange(e,t){return!1}},O6=class extends D6{innerPattern(e){return RegExp(`${this.innerPatternString(e)}${u6.rightBoundary}`,u6.flags)}},k6=1,A6=2,nse=3,j6=4,rse=class extends O6{innerPatternString(e){return`(?:с)?\\s*(${_6})(?:\\s{0,3}(?:по|-|–|до)?\\s{0,3}(${_6}))?(?:-|\\/|\\s{0,3}(?:of)?\\s{0,3})(${Q(p6)})(?:(?:-|\\/|,?\\s{0,3})(${b6}(?![^\\s]\\d)))?`}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=p6[t[nse].toLowerCase()],i=v6(t[k6]);if(i>31)return t.index+=t[k6].length,null;if(n.start.assign(`month`,r),n.start.assign(`day`,i),t[j6]){let e=x6(t[j6]);n.start.assign(`year`,e)}else{let t=T$(e.refDate,i,r);n.start.imply(`year`,t)}if(t[A6]){let e=v6(t[A6]);n.end=n.start.clone(),n.end.assign(`day`,e)}return n}},ise=2,M6=3,ase=class extends D6{innerPatternString(e){return`((?:в)\\s*)?(${Q(p6)})\\s*(?:[,-]?\\s*(${b6})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`}innerExtract(e,t){let n=t[ise].toLowerCase();if(t[0].length<=3&&!f6[n])return null;let r=e.createParsingResult(t.index,t.index+t[0].length);r.start.imply(`day`,1);let i=p6[n];if(r.start.assign(`month`,i),t[M6]){let e=x6(t[M6]);r.start.assign(`year`,e)}else{let t=T$(e.refDate,1,i);r.start.imply(`year`,t)}return r}},ose=class extends F1{constructor(e){super(e)}patternFlags(){return u6.flags}primaryPatternLeftBoundary(){return`(^|\\s|T|(?:[^\\p{L}\\p{N}_]))`}followingPhase(){return`\\s*(?:\\-|\\–|\\~|\\〜|до|и|по|\\?)\\s*`}primaryPrefix(){return`(?:(?:в|с)\\s*)??`}primarySuffix(){return`(?:\\s*(?:утра|вечера|после полудня))?(?!\\/)${u6.rightBoundary}`}extractPrimaryTimeComponents(e,t){let n=super.extractPrimaryTimeComponents(e,t);if(n){if(t[0].endsWith(`вечера`)){let e=n.get(`hour`);e>=6&&e<12?(n.assign(`hour`,n.get(`hour`)+12),n.assign(`meridiem`,X.PM)):e<6&&n.assign(`meridiem`,X.AM)}if(t[0].endsWith(`после полудня`)){n.assign(`meridiem`,X.PM);let e=n.get(`hour`);e>=0&&e<=6&&n.assign(`hour`,n.get(`hour`)+12)}t[0].endsWith(`утра`)&&(n.assign(`meridiem`,X.AM),n.get(`hour`)<12&&n.assign(`hour`,n.get(`hour`)))}return n}},sse=class extends D6{innerPatternString(e){return`(${w6})\\s{0,5}назад(?=(?:\\W|$))`}innerExtract(e,t){let n=y$(T6(t[1]));return Z.createRelativeFromReference(e.reference,n)}},cse=class extends K1{patternBetween(){return/^\s*(и до|и по|до|по|-)\s*$/i}},lse=class extends X1{patternBetween(){return RegExp(`^\\s*(T|в|,|-)?\\s*$`)}},use=class extends O6{innerPatternString(e){return`(?:с|со)?\\s*(сегодня|вчера|завтра|послезавтра|послепослезавтра|позапозавчера|позавчера)`}innerExtract(e,t){let n=t[1].toLowerCase(),r=e.createParsingComponents();switch(n){case`сегодня`:return O0(e.reference);case`вчера`:return k0(e.reference);case`завтра`:return A0(e.reference);case`послезавтра`:return M0(e.reference,2);case`послепослезавтра`:return M0(e.reference,3);case`позавчера`:return j0(e.reference,2);case`позапозавчера`:return j0(e.reference,3)}return r}},dse=class extends O6{innerPatternString(e){return`(сейчас|прошлым\\s*вечером|прошлой\\s*ночью|следующей\\s*ночью|сегодня\\s*ночью|этой\\s*ночью|ночью|этим утром|утром|утра|в\\s*полдень|вечером|вечера|в\\s*полночь)`}innerExtract(e,t){let n=e.refDate,r=t[0].toLowerCase(),i=e.createParsingComponents();if(r===`сейчас`)return D0(e.reference);if(r===`вечером`||r===`вечера`)return F0(e.reference);if(r.endsWith(`утром`)||r.endsWith(`утра`))return R0(e.reference);if(r.match(/в\s*полдень/))return B0(e.reference);if(r.match(/прошлой\s*ночью/))return P0(e.reference);if(r.match(/прошлым\s*вечером/))return I0(e.reference);if(r.match(/следующей\s*ночью/)){let e=n.getHours()<22?1:2,t=new Date(n.getTime());t.setDate(t.getDate()+e),l$(i,t),i.imply(`hour`,0)}return r.match(/в\s*полночь/)||r.endsWith(`ночью`)?L0(e.reference):i}},fse=1,pse=2,mse=3,hse=class extends O6{innerPatternString(e){return`(?:(?:,|\\(|()\\s*)?(?:в\\s*?)?(?:(эту|этот|прошлый|прошлую|следующий|следующую|следующего)\\s*)?(${Q(d6)})(?:\\s*(?:,|\\)|)))?(?:\\s*на\\s*(этой|прошлой|следующей)\\s*неделе)?`}innerExtract(e,t){let n=d6[t[pse].toLowerCase()],r=t[fse],i=t[mse],a=r||i;a||=``,a=a.toLowerCase();let o=null;return a==`прошлый`||a==`прошлую`||a==`прошлой`?o=`last`:a==`следующий`||a==`следующую`||a==`следующей`||a==`следующего`?o=`next`:(a==`этот`||a==`эту`||a==`этой`)&&(o=`this`),o0(e.reference,n,o)}},gse=1,_se=2,vse=class extends O6{innerPatternString(e){return`(в прошлом|на прошлой|на следующей|в следующем|на этой|в этом)\\s*(${Q(g6)})`}innerExtract(e,t){let n=t[gse].toLowerCase(),r=g6[t[_se].toLowerCase()];if(n==`на следующей`||n==`в следующем`){let t={};return t[r]=1,Z.createRelativeFromReference(e.reference,t)}if(n==`в прошлом`||n==`на прошлой`){let t={};return t[r]=-1,Z.createRelativeFromReference(e.reference,t)}let i=e.createParsingComponents(),a=new Date(e.reference.instant.getTime());return r.match(/week/i)?(a.setDate(a.getDate()-a.getDay()),i.imply(`day`,a.getDate()),i.imply(`month`,a.getMonth()+1),i.imply(`year`,a.getFullYear())):r.match(/month/i)?(a.setDate(1),i.imply(`day`,a.getDate()),i.assign(`year`,a.getFullYear()),i.assign(`month`,a.getMonth()+1)):r.match(/year/i)&&(a.setDate(1),a.setMonth(0),i.imply(`day`,a.getDate()),i.imply(`month`,a.getMonth()+1),i.assign(`year`,a.getFullYear())),i}},yse=class extends O6{innerPatternString(e){return`(эти|последние|прошлые|следующие|после|спустя|через|\\+|-)\\s*(${w6})`}innerExtract(e,t){let n=t[1].toLowerCase(),r=T6(t[2]);switch(n){case`последние`:case`прошлые`:case`-`:r=y$(r)}return Z.createRelativeFromReference(e.reference,r)}},bse=new O2(xse());new O2(N6(!0));function xse(){let e=N6(!1);return e.parsers.unshift(new use),e.parsers.unshift(new dse),e.parsers.unshift(new ase),e.parsers.unshift(new vse),e.parsers.unshift(new yse),e}function N6(e=!0){return E0({parsers:[new o2(!0),new tse,new rse,new hse,new ose(e),new sse],refiners:[new lse,new cse]},e)}var P6={domingo:0,dom:0,lunes:1,lun:1,martes:2,mar:2,miércoles:3,miercoles:3,mié:3,mie:3,jueves:4,jue:4,viernes:5,vie:5,sábado:6,sabado:6,sáb:6,sab:6},F6={enero:1,febrero:2,marzo:3,abril:4,mayo:5,junio:6,julio:7,agosto:8,septiembre:9,setiembre:9,octubre:10,noviembre:11,diciembre:12},I6={...F6,ene:1,"ene.":1,feb:2,"feb.":2,mar:3,"mar.":3,abr:4,"abr.":4,may:5,"may.":5,jun:6,"jun.":6,jul:7,"jul.":7,ago:8,"ago.":8,sep:9,"sep.":9,oct:10,"oct.":10,nov:11,"nov.":11,dic:12,"dic.":12},L6={uno:1,dos:2,tres:3,cuatro:4,cinco:5,seis:6,siete:7,ocho:8,nueve:9,diez:10,once:11,doce:12,trece:13},R6={primero:1,primera:1,segundo:2,segunda:2,tercero:3,tercera:3,cuarto:4,cuarta:4,quinto:5,quinta:5,sexto:6,sexta:6,séptimo:7,septimo:7,séptima:7,septima:7,octavo:8,octava:8,noveno:9,novena:9,décimo:10,decimo:10,décima:10,decima:10,undécimo:11,undecimo:11,duodécimo:12,duodecimo:12,decimotercero:13,decimocuarto:14,decimoquinto:15,decimosexto:16,decimoséptimo:17,decimoseptimo:17,decimoctavo:18,decimonoveno:19,vigésimo:20,vigesimo:20,"vigésimo primero":21,"vigesimo primero":21,"vigésimo segundo":22,"vigesimo segundo":22,"vigésimo tercero":23,"vigesimo tercero":23,"vigésimo cuarto":24,"vigesimo cuarto":24,"vigésimo quinto":25,"vigesimo quinto":25,"vigésimo sexto":26,"vigesimo sexto":26,"vigésimo séptimo":27,"vigesimo septimo":27,"vigésimo octavo":28,"vigesimo octavo":28,"vigésimo noveno":29,"vigesimo noveno":29,trigésimo:30,trigesimo:30,"trigésimo primero":31,"trigesimo primero":31},z6={sec:`second`,segundo:`second`,segundos:`second`,min:`minute`,mins:`minute`,minuto:`minute`,minutos:`minute`,h:`hour`,hr:`hour`,hrs:`hour`,hora:`hour`,horas:`hour`,día:`day`,días:`day`,dia:`day`,dias:`day`,semana:`week`,semanas:`week`,mes:`month`,meses:`month`,cuarto:`quarter`,cuartos:`quarter`,año:`year`,años:`year`,ano:`year`,anos:`year`},Sse=`(?:${Q(L6)}|[0-9]+|[0-9]+\\.[0-9]+|un?|uno?|una?|algunos?|unos?|demi-?)`;function Cse(e){let t=e.toLowerCase();return L6[t]===void 0?t===`un`||t===`una`||t===`uno`?1:t.match(/algunos?/)||t.match(/unos?/)?3:t.match(/media?/)?.5:parseFloat(t):L6[t]}var B6=`(?:${Q(R6)}|[0-9]{1,2}(?:º|ª|°|ro|do|to|mo|er|vo|no|ma|era|ero|avo|ava)?)`;function V6(e){let t=e.toLowerCase();return R6[t]===void 0?(t=t.replace(/(?:º|ª|°|ro|do|to|mo|er|vo|no|ma|era|ero|avo|ava)$/i,``),parseInt(t)):R6[t]}var H6=`[0-9]{1,4}(?![^\\s]\\d)(?:\\s*[a|d]\\.?\\s*c\\.?|\\s*a\\.?\\s*d\\.?)?`;function U6(e){if(e.match(/^[0-9]{1,4}$/)){let t=parseInt(e);return t<100&&(t+=t>50?1900:2e3),t}return e.match(/a\.?\s*c\.?/i)?(e=e.replace(/a\.?\s*c\.?/i,``),-parseInt(e)):parseInt(e)}var W6=`(${Sse})\\s{0,5}(${Q(z6)})\\s{0,5}`,G6=new RegExp(W6,`i`),K6=S$(``,W6);function wse(e){let t={},n=e,r=G6.exec(n);for(;r;)Tse(t,r),n=n.substring(r[0].length),r=G6.exec(n);return t}function Tse(e,t){let n=Cse(t[1]),r=z6[t[2].toLowerCase()];e[r]=n}var Ese=RegExp(`(?:(?:\\,|\\(|\\()\\s*)?(?:(este|esta|pasado|pr[oó]ximo)\\s*)?(${Q(P6)})(?:\\s*(?:\\,|\\)|\\)))?(?:\\s*(este|esta|pasado|pr[óo]ximo)\\s*semana)?(?=\\W|\\d|$)`,`i`),Dse=1,Ose=2,kse=3,Ase=class extends ${innerPattern(){return Ese}innerExtract(e,t){let n=P6[t[Ose].toLowerCase()];if(n===void 0)return null;let r=t[Dse],i=t[kse],a=r||i||``;a=a.toLowerCase();let o=null;return a==`pasado`?o=`this`:a==`próximo`||a==`proximo`?o=`next`:a==`este`&&(o=`this`),o0(e.reference,n,o)}},jse=class extends F1{primaryPrefix(){return`(?:(?:aslas|deslas|las?|al?|de|del)\\s*)?`}followingPhase(){return`\\s*(?:\\-|\\–|\\~|\\〜|a(?:l)?|\\?)\\s*`}},Mse=class extends X1{patternBetween(){return RegExp(`^\\s*(?:,|de|aslas|a|a\\s+la|en\\s+la)?\\s*$`,`i`)}},Nse=class extends K1{patternBetween(){return/^\s*(?:-)\s*$/i}},Pse=RegExp(`(${B6})(?:\\s*(?:desde|de|\\-|\\–|ao?|\\s)\\s*(${B6}))?\\s*(?:de)?\\s*(?:-|/|\\s*(?:de|,)?\\s*)(${Q(I6)})(?:\\s*(?:de|,)?\\s*(${H6}))?(?=\\W|$)`,`i`),q6=1,J6=2,Fse=3,Y6=4,Ise=class extends ${innerPattern(){return Pse}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=I6[t[Fse].toLowerCase()],i=V6(t[q6]);if(i>31)return t.index+=t[q6].length,null;if(n.start.assign(`month`,r),n.start.assign(`day`,i),t[Y6]){let e=U6(t[Y6]);n.start.assign(`year`,e)}else{let t=T$(e.refDate,i,r);n.start.imply(`year`,t)}if(t[J6]){let e=V6(t[J6]);n.end=n.start.clone(),n.end.assign(`day`,e)}return n}},Lse=class extends ${innerPattern(e){return/(ahora|hoy|mañana|manana|ayer)(?=\W|$)/i}innerExtract(e,t){let n=t[0].toLowerCase(),r=e.createParsingComponents();if((n===`mañana`||n===`manana`)&&e.text.substring(0,t.index).match(/(?:^|[^\p{L}\p{N}\p{M}_])(?:a|en)\s+la\s*$/iu))return null;switch(n){case`ahora`:return D0(e.reference);case`hoy`:return O0(e.reference);case`mañana`:case`manana`:return A0(e.reference);case`ayer`:return k0(e.reference)}return r}},Rse=class extends ${innerPattern(){return/(?:esta\s*)?(mañana|manana|tarde|medianoche|mediodia|mediodía|noche)(?=\W|$)/i}innerExtract(e,t){let n=e.refDate,r=e.createParsingComponents();switch(t[1].toLowerCase()){case`tarde`:r.imply(`meridiem`,X.PM),r.imply(`hour`,15),r.addTag(`casualReference/afternoon`);break;case`noche`:r.imply(`meridiem`,X.PM),r.imply(`hour`,22),r.addTag(`casualReference/evening`);break;case`mañana`:case`manana`:r.imply(`meridiem`,X.AM),r.imply(`hour`,6),r.addTag(`casualReference/morning`);break;case`medianoche`:let e=new Date(n.getTime());e.setDate(e.getDate()+1),l$(r,e),f$(r,e),r.imply(`hour`,0),r.imply(`minute`,0),r.imply(`second`,0),r.addTag(`casualReference/midnight`);break;case`mediodia`:case`mediodía`:r.imply(`meridiem`,X.AM),r.imply(`hour`,12),r.addTag(`casualReference/noon`)}return r}},zse=RegExp(`(?:(?:en|por|durante|de|dentro de)\\s*)?(${K6})(?=\\W|$)`,`i`),Bse=RegExp(`(?:en|por|durante|de|dentro de)\\s*(${K6})(?=\\W|$)`,`i`),Vse=class extends ${strictMode;constructor(e){super(),this.strictMode=e}innerPattern(e){return!this.strictMode&&e.option.forwardDate?zse:Bse}innerExtract(e,t){let n=wse(t[1]);return Z.createRelativeFromReference(e.reference,n)}},Hse=RegExp(`((?:en)\\s*)?(${Q(I6)})\\s*(?:(?:,|-|de)?\\s*(${H6})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,`i`),Use=1,Wse=2,X6=3,Gse=RegExp(`(?:^|[^\\p{L}\\p{N}\\p{M}_])${B6}(?:\\s*(?:desde|de|-|–|ao?|\\s)\\s*${B6})?\\s*(?:de)?\\s*(?:-|/|\\s*(?:de|,)?\\s*)$`,`iu`),Kse=class extends ${innerPattern(){return Hse}innerExtract(e,t){let n=t[Wse].toLowerCase();if(e.text.substring(0,t.index).match(Gse)||t[0].length<=3&&!F6[n])return null;let r=e.createParsingResult(t.index+(t[Use]||``).length,t.index+t[0].length);r.start.imply(`day`,1),r.start.addTag(`parser/ESMonthNameParser`);let i=I6[n];if(r.start.assign(`month`,i),t[X6]){let e=U6(t[X6]);r.start.assign(`year`,e)}else{let t=T$(e.refDate,1,i);r.start.imply(`year`,t)}return r}},qse=new O2(Jse());new O2(Z6(!0));function Jse(e=!0){let t=Z6(!1,e);return t.parsers.push(new Lse),t.parsers.push(new Rse),t.parsers.push(new Kse),t}function Z6(e=!0,t=!0){return E0({parsers:[new o2(t),new Ase,new jse,new Ise,new Vse(e)],refiners:[new Mse,new Nse]},e)}var Q6={leftBoundary:`([^\\p{L}\\p{N}_]|^)`,rightBoundary:`(?=[^\\p{L}\\p{N}_]|$)`,flags:`iu`},$6={неділя:0,неділі:0,неділю:0,нд:0,"нд.":0,понеділок:1,понеділка:1,пн:1,"пн.":1,вівторок:2,вівторка:2,вт:2,"вт.":2,середа:3,середи:3,середу:3,ср:3,"ср.":3,четвер:4,четверга:4,четвергу:4,чт:4,"чт.":4,"п'ятниця":5,"п'ятниці":5,"п'ятницю":5,пт:5,"пт.":5,субота:6,суботи:6,суботу:6,сб:6,"сб.":6},e8={січень:1,січня:1,січні:1,лютий:2,лютого:2,лютому:2,березень:3,березня:3,березні:3,квітень:4,квітня:4,квітні:4,травень:5,травня:5,травні:5,червень:6,червня:6,червні:6,липень:7,липня:7,липні:7,серпень:8,серпня:8,серпні:8,вересень:9,вересня:9,вересні:9,жовтень:10,жовтня:10,жовтні:10,листопад:11,листопада:11,листопаду:11,грудень:12,грудня:12,грудні:12},t8={...e8,січ:1,"січ.":1,лют:2,"лют.":2,бер:3,"бер.":3,квіт:4,"квіт.":4,трав:5,"трав.":5,черв:6,"черв.":6,лип:7,"лип.":7,серп:8,"серп.":8,сер:8,"cер.":8,вер:9,"вер.":9,верес:9,"верес.":9,жовт:10,"жовт.":10,листоп:11,"листоп.":11,груд:12,"груд.":12},n8={один:1,одна:1,одної:1,одну:1,дві:2,два:2,двох:2,три:3,трьох:3,чотири:4,чотирьох:4,"п'ять":5,"п'яти":5,шість:6,шести:6,сім:7,семи:7,вісім:8,восьми:8,"дев'ять":9,"дев'яти":9,десять:10,десяти:10,одинадцять:11,одинадцяти:11,дванадцять:12,дванадцяти:12},r8={перше:1,першого:1,друге:2,другого:2,третє:3,третього:3,четверте:4,четвертого:4,"п'яте":5,"п'ятого":5,шосте:6,шостого:6,сьоме:7,сьомого:7,восьме:8,восьмого:8,"дев'яте":9,"дев'ятого":9,десяте:10,десятого:10,одинадцяте:11,одинадцятого:11,дванадцяте:12,дванадцятого:12,тринадцяте:13,тринадцятого:13,чотирнадцяте:14,чотинрнадцятого:14,"п'ятнадцяте":15,"п'ятнадцятого":15,шістнадцяте:16,шістнадцятого:16,сімнадцяте:17,сімнадцятого:17,вісімнадцяте:18,вісімнадцятого:18,"дев'ятнадцяте":19,"дев'ятнадцятого":19,двадцяте:20,двадцятого:20,"двадцять перше":21,"двадцять першого":21,"двадцять друге":22,"двадцять другого":22,"двадцять третє":23,"двадцять третього":23,"двадцять четверте":24,"двадцять четвертого":24,"двадцять п'яте":25,"двадцять п'ятого":25,"двадцять шосте":26,"двадцять шостого":26,"двадцять сьоме":27,"двадцять сьомого":27,"двадцять восьме":28,"двадцять восьмого":28,"двадцять дев'яте":29,"двадцять дев'ятого":29,тридцяте:30,тридцятого:30,"тридцять перше":31,"тридцять першого":31},i8={сек:`second`,секунда:`second`,секунд:`second`,секунди:`second`,секунду:`second`,секундочок:`second`,секундочки:`second`,секундочку:`second`,хв:`minute`,хвилина:`minute`,хвилин:`minute`,хвилини:`minute`,хвилину:`minute`,хвилинок:`minute`,хвилинки:`minute`,хвилинку:`minute`,хвилиночок:`minute`,хвилиночки:`minute`,хвилиночку:`minute`,год:`hour`,година:`hour`,годин:`hour`,години:`hour`,годину:`hour`,годинка:`hour`,годинок:`hour`,годинки:`hour`,годинку:`hour`,день:`day`,дня:`day`,днів:`day`,дні:`day`,доба:`day`,добу:`day`,тиждень:`week`,тижню:`week`,тижня:`week`,тижні:`week`,тижнів:`week`,місяць:`month`,місяців:`month`,місяці:`month`,місяця:`month`,квартал:`quarter`,кварталу:`quarter`,квартала:`quarter`,кварталів:`quarter`,кварталі:`quarter`,рік:`year`,року:`year`,році:`year`,років:`year`,роки:`year`},Yse=`(?:${Q(n8)}|[0-9]+|[0-9]+\\.[0-9]+|пів|декілька|пар(?:у)|\\s{0,3})`;function Xse(e){let t=e.toLowerCase();return n8[t]===void 0?t.match(/декілька/)?2:t.match(/пів/)?.5:t.match(/пар/)?2:t===``?1:parseFloat(t):n8[t]}var a8=`(?:${Q(r8)}|[0-9]{1,2}(?:го|ого|е)?)`;function o8(e){let t=e.toLowerCase();return r8[t]===void 0?parseInt(t):r8[t]}var s8=`(?:\\s+(?:року|рік|р|р.))?`,c8=`(?:[1-9][0-9]{0,3}${s8}\\s*(?:н.е.|до н.е.|н. е.|до н. е.)|[1-2][0-9]{3}${s8}|[5-9][0-9]${s8})`;function l8(e){return/(рік|року|р|р.)/i.test(e)&&(e=e.replace(/(рік|року|р|р.)/i,``)),/(до н.е.|до н. е.)/i.test(e)?(e=e.replace(/(до н.е.|до н. е.)/i,``),-parseInt(e)):/(н. е.|н.е.)/i.test(e)?(e=e.replace(/(н. е.|н.е.)/i,``),parseInt(e)):w$(parseInt(e))}var u8=`(${Yse})\\s{0,3}(${Q(i8)})`,d8=new RegExp(u8,`i`),f8=S$(`(?:(?:близько|приблизно)\\s{0,3})?`,u8);function p8(e){let t={},n=e,r=d8.exec(n);for(;r;)Zse(t,r),n=n.substring(r[0].length).trim(),r=d8.exec(n);return t}function Zse(e,t){let n=Xse(t[1]),r=i8[t[2].toLowerCase()];e[r]=n}var m8=`(?:(?:приблизно|орієнтовно)\\s*(?:~\\s*)?)?(${f8})${Q6.rightBoundary}`,Qse=class extends ${patternLeftBoundary(){return Q6.leftBoundary}innerPattern(e){return e.option.forwardDate?new RegExp(m8,Q6.flags):RegExp(`(?:протягом|на протязі|протягом|упродовж|впродовж)\\s*${m8}`,Q6.flags)}innerExtract(e,t){let n=p8(t[1]);return Z.createRelativeFromReference(e.reference,n)}},h8=class extends ${patternLeftBoundary(){return Q6.leftBoundary}innerPattern(e){return new RegExp(this.innerPatternString(e),Q6.flags)}innerPatternHasChange(e,t){return!1}},g8=class extends h8{innerPattern(e){return RegExp(`${this.innerPatternString(e)}${Q6.rightBoundary}`,Q6.flags)}},_8=1,v8=2,$se=3,y8=4,ece=class extends g8{innerPatternString(e){return`(?:з|із)?\\s*(${a8})(?:\\s{0,3}(?:по|-|–|до)?\\s{0,3}(${a8}))?(?:-|\\/|\\s{0,3}(?:of)?\\s{0,3})(${Q(t8)})(?:(?:-|\\/|,?\\s{0,3})(${c8}(?![^\\s]\\d)))?`}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=t8[t[$se].toLowerCase()],i=o8(t[_8]);if(i>31)return t.index+=t[_8].length,null;if(n.start.assign(`month`,r),n.start.assign(`day`,i),t[y8]){let e=l8(t[y8]);n.start.assign(`year`,e)}else{let t=T$(e.reference.instant,i,r);n.start.imply(`year`,t)}if(t[v8]){let e=o8(t[v8]);n.end=n.start.clone(),n.end.assign(`day`,e)}return n}},tce=2,b8=3,nce=class extends h8{innerPatternString(e){return`((?:в|у)\\s*)?(${Q(t8)})\\s*(?:[,-]?\\s*(${c8})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`}innerExtract(e,t){let n=t[tce].toLowerCase();if(t[0].length<=3&&!e8[n])return null;let r=e.createParsingResult(t.index,t.index+t[0].length);r.start.imply(`day`,1);let i=t8[n];if(r.start.assign(`month`,i),t[b8]){let e=l8(t[b8]);r.start.assign(`year`,e)}else{let t=T$(e.reference.instant,1,i);r.start.imply(`year`,t)}return r}},rce=class extends F1{constructor(e){super(e)}patternFlags(){return Q6.flags}primaryPatternLeftBoundary(){return`(^|\\s|T|(?:[^\\p{L}\\p{N}_]))`}followingPhase(){return`\\s*(?:\\-|\\–|\\~|\\〜|до|і|по|\\?)\\s*`}primaryPrefix(){return`(?:(?:в|у|о|об|з|із|від)\\s*)??`}primarySuffix(){return`(?:\\s*(?:ранку|вечора|по обіді|після обіду))?(?!\\/)${Q6.rightBoundary}`}extractPrimaryTimeComponents(e,t){let n=super.extractPrimaryTimeComponents(e,t);if(n){if(t[0].endsWith(`вечора`)){let e=n.get(`hour`);e>=6&&e<12?(n.assign(`hour`,n.get(`hour`)+12),n.assign(`meridiem`,X.PM)):e<6&&n.assign(`meridiem`,X.AM)}if(t[0].endsWith(`по обіді`)||t[0].endsWith(`після обіду`)){n.assign(`meridiem`,X.PM);let e=n.get(`hour`);e>=0&&e<=6&&n.assign(`hour`,n.get(`hour`)+12)}t[0].endsWith(`ранку`)&&(n.assign(`meridiem`,X.AM),n.get(`hour`)<12&&n.assign(`hour`,n.get(`hour`)))}return n}},ice=class extends h8{innerPatternString(e){return`(${f8})\\s{0,5}тому(?=(?:\\W|$))`}innerExtract(e,t){let n=y$(p8(t[1]));return Z.createRelativeFromReference(e.reference,n)}},ace=class extends K1{patternBetween(){return/^\s*(і до|і по|до|по|-)\s*$/i}},oce=class extends X1{patternBetween(){return RegExp(`^\\s*(T|в|у|о|,|-)?\\s*$`)}},sce=class extends g8{innerPatternString(e){return`(?:з|із|від)?\\s*(сьогодні|вчора|завтра|післязавтра|післяпіслязавтра|позапозавчора|позавчора)`}innerExtract(e,t){let n=t[1].toLowerCase(),r=e.createParsingComponents();switch(n){case`сьогодні`:return O0(e.reference);case`вчора`:return k0(e.reference);case`завтра`:return A0(e.reference);case`післязавтра`:return M0(e.reference,2);case`післяпіслязавтра`:return M0(e.reference,3);case`позавчора`:return j0(e.reference,2);case`позапозавчора`:return j0(e.reference,3)}return r}},cce=class extends g8{innerPatternString(e){return`(зараз|минулого\\s*вечора|минулої\\s*ночі|наступної\\s*ночі|сьогодні\\s*вночі|цієї\\s*ночі|цього ранку|вранці|ранку|зранку|опівдні|ввечері|вечора|опівночі|вночі)`}innerExtract(e,t){let n=e.refDate,r=t[0].toLowerCase(),i=e.createParsingComponents();if(r===`зараз`)return D0(e.reference);if(r===`ввечері`||r===`вечора`)return F0(e.reference);if(r.endsWith(`вранці`)||r.endsWith(`ранку`)||r.endsWith(`зранку`))return R0(e.reference);if(r.endsWith(`опівдні`))return B0(e.reference);if(r.match(/минулої\s*ночі/))return P0(e.reference);if(r.match(/минулого\s*вечора/))return I0(e.reference);if(r.match(/наступної\s*ночі/)){let e=n.getHours()<22?1:2,t=new Date(n.getTime());t.setDate(t.getDate()+e),l$(i,t),i.imply(`hour`,1)}return r.match(/цієї\s*ночі/)||r.endsWith(`опівночі`)||r.endsWith(`вночі`)?L0(e.reference):i}},lce=1,uce=2,dce=3,fce=class extends g8{innerPatternString(e){return`(?:(?:,|\\(|()\\s*)?(?:в\\s*?)?(?:у\\s*?)?(?:(цей|минулого|минулий|попередній|попереднього|наступного|наступний|наступному)\\s*)?(${Q($6)})(?:\\s*(?:,|\\)|)))?(?:\\s*(на|у|в)\\s*(цьому|минулому|наступному)\\s*тижні)?`}innerExtract(e,t){let n=$6[t[uce].toLocaleLowerCase()],r=t[lce],i=t[dce],a=r||i;a||=``,a=a.toLocaleLowerCase();let o=null;return a==`минулого`||a==`минулий`||a==`попередній`||a==`попереднього`?o=`last`:a==`наступного`||a==`наступний`?o=`next`:(a==`цей`||a==`цього`||a==`цьому`)&&(o=`this`),o0(e.reference,n,o)}},pce=1,mce=2,hce=class extends g8{innerPatternString(e){return`(в минулому|у минулому|на минулому|минулого|на наступному|в наступному|у наступному|наступного|на цьому|в цьому|у цьому|цього)\\s*(${Q(i8)})(?=\\s*)`}innerExtract(e,t){let n=t[pce].toLowerCase(),r=i8[t[mce].toLowerCase()];if(n==`на наступному`||n==`в наступному`||n==`у наступному`||n==`наступного`){let t={};return t[r]=1,Z.createRelativeFromReference(e.reference,t)}if(n==`на минулому`||n==`в минулому`||n==`у минулому`||n==`минулого`){let t={};return t[r]=-1,Z.createRelativeFromReference(e.reference,t)}let i=e.createParsingComponents(),a=new Date(e.reference.instant.getTime());return r.match(/week/i)?(a.setDate(a.getDate()-a.getDay()),i.imply(`day`,a.getDate()),i.imply(`month`,a.getMonth()+1),i.imply(`year`,a.getFullYear())):r.match(/month/i)?(a.setDate(1),i.imply(`day`,a.getDate()),i.assign(`year`,a.getFullYear()),i.assign(`month`,a.getMonth()+1)):r.match(/year/i)&&(a.setDate(1),a.setMonth(0),i.imply(`day`,a.getDate()),i.imply(`month`,a.getMonth()+1),i.assign(`year`,a.getFullYear())),i}},gce=class extends g8{innerPatternString(e){return`(ці|останні|минулі|майбутні|наступні|після|через|\\+|-)\\s*(${f8})`}innerExtract(e,t){let n=t[1].toLowerCase(),r=p8(t[3]);switch(n){case`останні`:case`минулі`:case`-`:r=y$(r)}return Z.createRelativeFromReference(e.reference,r)}},_ce=new O2(vce());new O2(x8(!0));function vce(){let e=x8(!1);return e.parsers.unshift(new sce),e.parsers.unshift(new cce),e.parsers.unshift(new nce),e.parsers.unshift(new hce),e.parsers.unshift(new gce),e}function x8(e){return E0({parsers:[new w0,new o2(!0),new Qse,new ece,new fce,new rce(e),new ice],refiners:[new oce,new ace]},e)}var S8={domenica:0,dom:0,"dom.":0,lunedì:1,lunedi:1,lun:1,"lun.":1,martedì:2,martedi:2,mar:2,"mar.":2,mercoledì:3,mercoledi:3,mer:3,"mer.":3,giovedì:4,giovedi:4,gio:4,"gio.":4,venerdì:5,venerdi:5,ven:5,"ven.":5,sabato:6,sab:6,"sab.":6},C8={gennaio:1,febbraio:2,marzo:3,aprile:4,maggio:5,giugno:6,luglio:7,agosto:8,settembre:9,ottobre:10,novembre:11,dicembre:12},w8={...C8,gen:1,"gen.":1,feb:2,"feb.":2,mar:3,"mar.":3,apr:4,"apr.":4,mag:5,"mag.":5,giu:6,"giu.":6,lug:7,"lug.":7,ago:8,"ago.":8,set:9,"set.":9,sett:9,"sett.":9,ott:10,"ott.":10,nov:11,"nov.":11,dic:12,"dic.":12},T8={uno:1,una:1,un:1,due:2,tre:3,quattro:4,cinque:5,sei:6,sette:7,otto:8,nove:9,dieci:10,undici:11,dodici:12},E8={primo:1,prima:1,"1°":1,"1ª":1,secondo:2,seconda:2,"2°":2,"2ª":2,terzo:3,terza:3,"3°":3,"3ª":3,quarto:4,quarta:4,"4°":4,"4ª":4,quinto:5,quinta:5,"5°":5,"5ª":5,sesto:6,sesta:6,"6°":6,"6ª":6,settimo:7,settima:7,"7°":7,"7ª":7,ottavo:8,ottava:8,"8°":8,"8ª":8,nono:9,nona:9,"9°":9,"9ª":9,decimo:10,decima:10,"10°":10,"10ª":10,undicesimo:11,undicesima:11,"11°":11,"11ª":11,dodicesimo:12,dodicesima:12,"12°":12,"12ª":12,tredicesimo:13,tredicesima:13,"13°":13,"13ª":13,quattordicesimo:14,quattordicesima:14,"14°":14,"14ª":14,quindicesimo:15,quindicesima:15,"15°":15,"15ª":15,sedicesimo:16,sedicesima:16,"16°":16,"16ª":16,diciassettesimo:17,diciassettesima:17,"17°":17,"17ª":17,diciottesimo:18,diciottesima:18,"18°":18,"18ª":18,diciannovesimo:19,diciannovesima:19,"19°":19,"19ª":19,ventesimo:20,ventesima:20,"20°":20,"20ª":20,ventunesimo:21,ventunesima:21,"21°":21,"21ª":21,ventiduesimo:22,ventiduesima:22,"22°":22,"22ª":22,ventitreesimo:23,ventitreesima:23,"23°":23,"23ª":23,ventiquattresimo:24,ventiquattresima:24,"24°":24,"24ª":24,venticinquesimo:25,venticinquesima:25,"25°":25,"25ª":25,ventiseiesimo:26,ventiseiesima:26,"26°":26,"26ª":26,ventisettesimo:27,ventisettesima:27,"27°":27,"27ª":27,ventottesimo:28,ventottesima:28,"28°":28,"28ª":28,ventinovesimo:29,ventinovesima:29,"29°":29,"29ª":29,trentesimo:30,trentesima:30,"30°":30,"30ª":30,trentunesimo:31,trentunesima:31,"31°":31,"31ª":31},D8={secondo:`second`,secondi:`second`,minuto:`minute`,minuti:`minute`,ora:`hour`,ore:`hour`,giorno:`day`,giorni:`day`,settimana:`week`,settimane:`week`,mese:`month`,mesi:`month`,trimestre:`quarter`,trimestri:`quarter`,anno:`year`,anni:`year`},O8={s:`second`,sec:`second`,secondo:`second`,secondi:`second`,m:`minute`,min:`minute`,minuto:`minute`,minuti:`minute`,h:`hour`,ora:`hour`,ore:`hour`,g:`day`,gg:`day`,giorno:`day`,giorni:`day`,sett:`week`,settimana:`week`,settimane:`week`,mese:`month`,mesi:`month`,trim:`quarter`,trimestre:`quarter`,trimestri:`quarter`,anno:`year`,anni:`year`,...D8},k8=`(?:${Q(T8)}|[0-9]+|[0-9]+\\.[0-9]+|mezz[oa]?(?:\\s{0,2})?|un(?:'|\\s{0,2})?|qualche|alcuni|paio\\s{0,2}(?:di)?)`;function yce(e){let t=e.toLowerCase();return T8[t]===void 0?t===`un`||t===`un'`||t===`una`||t===`uno`?1:t.match(/qualche/)?3:t.match(/mezz/)?.5:t.match(/paio/)?2:t.match(/alcuni/)?7:parseFloat(t):T8[t]}var A8=`(?:${Q(E8)}|[0-9]{1,2}(?:°|ª|º)?)`;function j8(e){let t=e.toLowerCase();return E8[t]===void 0?(t=t.replace(/(?:°|ª|º)$/i,``),parseInt(t)):E8[t]}var M8=`(?:[1-9][0-9]{0,3}\\s{0,2}(?:BE|AD|BC|BCE|CE)|[1-2][0-9]{3}|[5-9][0-9]|2[0-5])`;function N8(e){return/BE/i.test(e)?(e=e.replace(/BE/i,``),parseInt(e)-543):/BCE?/i.test(e)?(e=e.replace(/BCE?/i,``),-parseInt(e)):/(AD|CE)/i.test(e)?(e=e.replace(/(AD|CE)/i,``),parseInt(e)):w$(parseInt(e))}var P8=`(${k8})\\s{0,3}(${Q(O8)})`,F8=new RegExp(P8,`i`),bce=`(${k8})\\s{0,3}(${Q(D8)})`,I8=`\\s{0,5},?(?:\\s*e)?\\s{0,5}`,L8=S$(`(?:(?:circa|approssimativamente)\\s{0,3})?`,P8,I8),R8=S$(`(?:(?:circa|approssimativamente)\\s{0,3})?`,bce,I8);function z8(e){let t={},n=e,r=F8.exec(n);for(;r;)xce(t,r),n=n.substring(r[0].length).trim(),r=F8.exec(n);return Object.keys(t).length==0?null:t}function xce(e,t){if(t[0].match(/^[a-zA-Z]+$/))return;let n=yce(t[1]),r=O8[t[2].toLowerCase()];e[r]=n}var Sce=RegExp(`(?:(?:entro|tra|fra|in|per)\\s*)?(?:(?:circa|approssimativamente)\\s*(?:~\\s*)?)?(${L8})(?=\\W|$)`,`i`),Cce=RegExp(`(?:entro|tra|fra|in|per)\\s*(?:(?:circa|approssimativamente)\\s*(?:~\\s*)?)?(${L8})(?=\\W|$)`,`i`),wce=RegExp(`(?:entro|tra|fra|in|per)\\s*(?:(?:circa|approssimativamente)\\s*(?:~\\s*)?)?(${R8})(?=\\W|$)`,`i`),Tce=class extends ${strictMode;constructor(e){super(),this.strictMode=e}innerPattern(e){return this.strictMode?wce:e.option.forwardDate?Sce:Cce}innerExtract(e,t){if(t[0].match(/^per\s*(il|la|l')\s*\w+/))return null;let n=z8(t[1]);return n?Z.createRelativeFromReference(e.reference,n):null}},Ece=RegExp(`(?:il\\s{0,3})?(${A8})(?:\\s{0,3}(?:al|\\-|\\–|fino\\s*al?)?\\s{0,3}(${A8}))?(?:-|/|\\s{0,3}(?:di)?\\s{0,3})(${Q(w8)})(?:(?:-|/|,?\\s{0,3})(${M8}(?!\\w)))?(?=\\W|$)`,`i`),B8=1,V8=2,Dce=3,H8=4,Oce=class extends ${innerPattern(){return Ece}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=w8[t[Dce].toLowerCase()],i=j8(t[B8]);if(i>31)return t.index+=t[B8].length,null;if(n.start.assign(`month`,r),n.start.assign(`day`,i),t[H8]){let e=N8(t[H8]);n.start.assign(`year`,e)}else{let t=T$(e.refDate,i,r);n.start.imply(`year`,t)}if(t[V8]){let e=j8(t[V8]);n.end=n.start.clone(),n.end.assign(`day`,e)}return n}},kce=RegExp(`(${Q(w8)})(?:-|/|\\s*,?\\s*)(${A8})(?!\\s*(?:am|pm))\\s*(?:(?:al|\\-)\\s*(${A8})\\s*)?(?:(?:-|/|\\s*,\\s*|\\s+)(${M8}))?(?=\\W|$)(?!\\:\\d)`,`i`),Ace=1,U8=2,W8=3,G8=4,jce=class extends ${shouldSkipYearLikeDate;constructor(e){super(),this.shouldSkipYearLikeDate=e}innerPattern(){return kce}innerExtract(e,t){let n=w8[t[Ace].toLowerCase()],r=j8(t[U8]);if(r>31||this.shouldSkipYearLikeDate&&!t[W8]&&!t[G8]&&t[U8].match(/^2[0-5]$/))return null;let i=e.createParsingComponents({day:r,month:n}).addTag(`parser/ITMonthNameMiddleEndianParser`);if(t[G8]){let e=N8(t[G8]);i.assign(`year`,e)}else{let t=T$(e.refDate,r,n);i.imply(`year`,t)}if(!t[W8])return i;let a=j8(t[W8]),o=e.createParsingResult(t.index,t[0]);return o.start=i,o.end=i.clone(),o.end.assign(`day`,a),o}},Mce=RegExp(`((?:a|in|di|del)\\s*)?(${Q(w8)})\\s*(?:(?:,|-|del)?\\s*(${M8})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,`i`),Nce=1,Pce=2,K8=3,Fce=class extends ${innerPattern(){return Mce}innerExtract(e,t){let n=t[Pce].toLowerCase();if(t[0].length<=3&&!C8[n])return null;let r=e.createParsingResult(t.index+(t[Nce]||``).length,t.index+t[0].length);r.start.imply(`day`,1),r.start.addTag(`parser/ITMonthNameParser`);let i=w8[n];if(r.start.assign(`month`,i),t[K8]){let e=N8(t[K8]);r.start.assign(`year`,e)}else{let t=T$(e.refDate,1,i);r.start.imply(`year`,t)}return r}},Ice=RegExp(`([0-9]{4})[-\\.\\/\\s](?:(${Q(w8)})|([0-9]{1,2}))[-\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,`i`),Lce=1,Rce=2,q8=3,zce=4,Bce=class extends ${strictMonthDateOrder;constructor(e){super(),this.strictMonthDateOrder=e}innerPattern(){return Ice}innerExtract(e,t){let n=parseInt(t[Lce]),r=parseInt(t[zce]),i=t[q8]?parseInt(t[q8]):w8[t[Rce].toLowerCase()];if(i<1||i>12){if(this.strictMonthDateOrder)return null;r>=1&&r<=12&&([i,r]=[r,i])}return r<1||r>31?null:{day:r,month:i,year:n}}},Vce=RegExp(`([0-9]|0[1-9]|1[012])/([0-9]{4})`,`i`),Hce=1,Uce=2,Wce=class extends ${innerPattern(){return Vce}innerExtract(e,t){let n=parseInt(t[Uce]),r=parseInt(t[Hce]);return e.createParsingComponents().imply(`day`,1).assign(`month`,r).assign(`year`,n)}},Gce=class extends F1{constructor(e){super(e)}followingPhase(){return`\\s*(?:\\-|\\–|\\~|\\〜|a|fino\\s*a|alle?|\\?)\\s*`}primaryPrefix(){return`(?:(?:alle?|dalle?)\\s*)??`}primarySuffix(){return`(?:\\s*(?:di\\s*(?:sera|notte|mattina|pomeriggio)))?(?!/)(?=\\W|$)`}extractPrimaryTimeComponents(e,t){let n=super.extractPrimaryTimeComponents(e,t);if(!n)return n;if(t[0].match(/di\s*(?:sera|notte)/i)){let e=n.get(`hour`);e>=6&&e<12?(n.assign(`hour`,n.get(`hour`)+12),n.assign(`meridiem`,X.PM)):e<6&&n.assign(`meridiem`,X.AM)}if(t[0].match(/di\s*pomeriggio/i)){n.assign(`meridiem`,X.PM);let e=n.get(`hour`);e>=0&&e<=6&&n.assign(`hour`,n.get(`hour`)+12)}return t[0].match(/di\s*mattina/i)&&(n.assign(`meridiem`,X.AM),n.get(`hour`)<12&&n.assign(`hour`,n.get(`hour`))),n.addTag(`parser/ITTimeExpressionParser`)}extractFollowingTimeComponents(e,t,n){let r=super.extractFollowingTimeComponents(e,t,n);return r&&r.addTag(`parser/ITTimeExpressionParser`),r}},Kce=RegExp(`(${L8})\\s{0,5}(?:fa|prima)(?=\\W|$)`,`i`),qce=RegExp(`(${R8})\\s{0,5}(?:fa|prima)(?=\\W|$)`,`i`),Jce=class extends ${strictMode;constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?qce:Kce}innerExtract(e,t){let n=z8(t[1]);return n?Z.createRelativeFromReference(e.reference,y$(n)):null}},Yce=RegExp(`(${L8})\\s{0,5}(?:dopo|più\\s*tardi|da\\s*adesso|da\\s*ora)(?=(?:\\W|$))`,`i`),Xce=RegExp(`(${R8})\\s{0,5}(dopo|più\\s*tardi|da\\s*adesso|da\\s*ora)(?=\\W|$)`,`i`),Zce=1,Qce=class extends ${strictMode;constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?Xce:Yce}innerExtract(e,t){let n=z8(t[Zce]);return n?Z.createRelativeFromReference(e.reference,n):null}},$ce=class extends K1{patternBetween(){return/^\s*(a|al|-|–|fino\s*a|fino\s*al)\s*$/i}},J8=class extends X1{patternBetween(){return RegExp(`^\\s*(T|alle?|dopo\\s*le|prima\\s*delle?|,|-|\\.|∙|:)?\\s*$`)}},ele=/(adesso|ora|oggi|stasera|stanotte|domani|dopodomani|ieri|ieri\s*sera|ieri\s*notte)(?=\W|$)/i,tle=class extends ${innerPattern(e){return ele}innerExtract(e,t){let n=e.refDate,r=t[0].toLowerCase(),i=e.createParsingComponents();switch(r){case`adesso`:case`ora`:i=D0(e.reference);break;case`oggi`:i=O0(e.reference);break;case`ieri`:i=k0(e.reference);break;case`domani`:i=A0(e.reference);break;case`stasera`:case`stanotte`:i=N0(e.reference);break;case`dopodomani`:i=M0(e.reference,2);break;default:if(r.match(/ieri\s*sera/)||r.match(/ieri\s*notte/)){if(n.getHours()>6){let e=new Date(n.getTime());e.setDate(e.getDate()-1),n=e}l$(i,n),i.imply(`hour`,0)}}return i.addTag(`parser/ITCasualDateParser`),i}},nle=/(stamattina|stasera|stanotte|stamani)|(questa\s*)?(mattina|pomeriggio|sera|notte|mezzanotte|mezzogiorno)(?=\W|$)/i,rle=class extends ${innerPattern(){return nle}innerExtract(e,t){let n=null;if(t[1])switch(t[1].toLowerCase()){case`stamattina`:case`stamani`:n=R0(e.reference);break;case`stasera`:case`stanotte`:n=F0(e.reference)}else if(t[3])switch(t[3].toLowerCase()){case`pomeriggio`:n=z0(e.reference);break;case`sera`:case`notte`:n=F0(e.reference);break;case`mezzanotte`:n=L0(e.reference);break;case`mattina`:n=R0(e.reference);break;case`mezzogiorno`:n=B0(e.reference)}return n&&n.addTag(`parser/ITCasualTimeParser`),n}},ile=RegExp(`(?:(?:\\,|\\(|\\()\\s*)?(?:(questo|questa|quest'|scorso|scorsa|prossimo|prossima)\\s*)?(${Q(S8)}|weekend|fine\\s*settimana)(?:\\s*(?:\\,|\\)|\\)))?(?:\\s*(scorso|scorsa|prossimo|prossima)(?:\\s*settimana)?)?(?=\\W|$)`,`i`),ale=1,ole=2,sle=3,cle=class extends ${innerPattern(){return ile}innerExtract(e,t){let n=t[ale],r=t[sle],i=n||r;i||=``,i=i.toLowerCase();let a=null;i==`scorso`||i==`scorsa`?a=`last`:i==`prossimo`||i==`prossima`?a=`next`:(i==`questo`||i==`questa`||i==`quest'`)&&(a=`this`);let o=t[ole].toLowerCase(),s;if(S8[o]!==void 0)s=S8[o];else if(o==`weekend`||o.match(/fine\s*settimana/))s=a==`last`?s$.SUNDAY:s$.SATURDAY;else return null;return o0(e.reference,s,a)}},lle=RegExp(`(?:(?:il\\s*|la\\s*|l'\\s*)?(questo|questa|quest'|scorso|scorsa|prossimo|prossima|dopo\\s*questo|dopo\\s*questa)\\s*(${Q(O8)})|(?:il\\s*|la\\s*|l'\\s*)(${Q(O8)})\\s*(scorso|scorsa|prossimo|prossima))(?=\\W|$)`,`i`),Y8=1,ule=2,dle=3,fle=4,ple=class extends ${innerPattern(){return lle}innerExtract(e,t){let n,r;t[Y8]?(n=t[Y8].toLowerCase(),r=t[ule].toLowerCase()):(n=t[fle].toLowerCase(),r=t[dle].toLowerCase());let i=O8[r];if(n==`prossimo`||n==`prossima`||n.startsWith(`dopo`)){let t={};return t[i]=1,Z.createRelativeFromReference(e.reference,t)}if(n==`scorso`||n==`scorsa`){let t={};return t[i]=-1,Z.createRelativeFromReference(e.reference,t)}let a=e.createParsingComponents(),o=new Date(e.reference.instant.getTime());return r.match(/settimana/i)?(o.setDate(o.getDate()-o.getDay()),a.imply(`day`,o.getDate()),a.imply(`month`,o.getMonth()+1),a.imply(`year`,o.getFullYear())):r.match(/mese/i)?(o.setDate(1),a.imply(`day`,o.getDate()),a.assign(`year`,o.getFullYear()),a.assign(`month`,o.getMonth()+1)):r.match(/anno/i)&&(o.setDate(1),o.setMonth(0),a.imply(`day`,o.getDate()),a.imply(`month`,o.getMonth()+1),a.assign(`year`,o.getFullYear())),a}},mle=RegExp(`(?:il\\s*|la\\s*|l'\\s*)?(questo|questa|quest'|scorso|scorsa|prossimo|prossima|dopo|\\+|-)\\s*(${L8})(?=\\W|$)`,`i`),hle=RegExp(`(?:il\\s*|la\\s*|l'\\s*)?(questo|questa|quest'|scorso|scorsa|prossimo|prossima|dopo|\\+|-)\\s*(${R8})(?=\\W|$)`,`i`),gle=class extends ${allowAbbreviations;constructor(e=!0){super(),this.allowAbbreviations=e}innerPattern(){return this.allowAbbreviations?mle:hle}innerExtract(e,t){let n=t[1].toLowerCase(),r=z8(t[2]);if(!r)return null;switch(n){case`scorso`:case`scorsa`:case`-`:r=y$(r)}return Z.createRelativeFromReference(e.reference,r)}};function _le(e){return e.text.match(/^[+-]/i)!=null}function X8(e){return e.text.match(/^-/i)!=null}var vle=class extends G1{shouldMergeResults(e,t,n){return e.match(/^\s*$/i)?_le(n)||X8(n):!1}mergeResults(e,t,n,r){let i=z8(n.text);X8(n)&&(i=y$(i));let a=Z.createRelativeFromReference(b$.fromDate(t.start.date()),i);return new x$(t.reference,t.index,`${t.text}${e}${n.text}`,a)}};function Z8(e){return e.text.match(/\s+(prima|da)$/i)!=null}function yle(e){return e.text.match(/\s+(dopo|dal?)$/i)!=null}var ble=class extends G1{patternBetween(){return/^\s*$/i}shouldMergeResults(e,t,n){return!e.match(this.patternBetween())||!Z8(t)&&!yle(t)?!1:!!n.start.get(`day`)&&!!n.start.get(`month`)&&!!n.start.get(`year`)}mergeResults(e,t,n){let r=z8(t.text);Z8(t)&&(r=y$(r));let i=Z.createRelativeFromReference(b$.fromDate(n.start.date()),r);return new x$(n.reference,t.index,`${t.text}${e}${n.text}`,i)}},xle=RegExp(`^\\s*(${M8})`,`i`),Sle=1,Cle=class{refine(e,t){return t.forEach(function(t){if(!t.start.isDateWithUnknownYear())return;let n=e.text.substring(t.index+t.text.length),r=xle.exec(n);if(!r||r[0].trim().length<=3)return;e.debug(()=>{console.log(`Extracting year: '${r[0]}' into : ${t}`)});let i=N8(r[Sle]);t.end!=null&&t.end.assign(`year`,i),t.start.assign(`year`,i),t.text+=r[0]}),t}},wle=class extends W1{constructor(){super()}isValid(e,t){let n=t.text.trim();return n===e.text.trim()?!0:n.toLowerCase().endsWith(`il secondo`)||n.toLowerCase()===`secondo`?(e.text.substring(t.index+t.text.length).trim().length>0&&e.debug(()=>{console.log(`Removing unlikely result: ${t}`)}),!1):!0}},Q8=new class{createCasualConfiguration(){let e=this.createConfiguration(!1);return e.parsers.push(new tle),e.parsers.push(new rle),e.parsers.push(new Fce),e.parsers.push(new ple),e.parsers.push(new gle),e.refiners.push(new wle),e}createConfiguration(e=!0){let t=E0({parsers:[new o2(!0),new Tce(e),new Oce,new jce(!0),new cle,new Wce,new Gce(e),new Jce(e),new Qce(e)],refiners:[new J8]},e);return t.parsers.unshift(new Bce(e)),t.refiners.unshift(new ble),t.refiners.unshift(new vle),t.refiners.unshift(new a0),t.refiners.push(new J8),t.refiners.push(new Cle),t.refiners.push(new $ce),t}},Tle=new O2(Q8.createCasualConfiguration());new O2(Q8.createConfiguration(!0));var $8={söndag:0,sön:0,so:0,måndag:1,mån:1,må:1,tisdag:2,tis:2,ti:2,onsdag:3,ons:3,on:3,torsdag:4,tors:4,to:4,fredag:5,fre:5,fr:5,lördag:6,lör:6,lö:6},e5={januari:1,jan:1,"jan.":1,februari:2,feb:2,"feb.":2,mars:3,mar:3,"mar.":3,april:4,apr:4,"apr.":4,maj:5,juni:6,jun:6,"jun.":6,juli:7,jul:7,"jul.":7,augusti:8,aug:8,"aug.":8,september:9,sep:9,"sep.":9,sept:9,oktober:10,okt:10,"okt.":10,november:11,nov:11,"nov.":11,december:12,dec:12,"dec.":12},Ele={första:1,andra:2,tredje:3,fjärde:4,femte:5,sjätte:6,sjunde:7,åttonde:8,nionde:9,tionde:10,elfte:11,tolfte:12,trettonde:13,fjortonde:14,femtonde:15,sextonde:16,sjuttonde:17,artonde:18,nittonde:19,tjugonde:20,tjugoförsta:21,tjugoandra:22,tjugotredje:23,tjugofjärde:24,tjugofemte:25,tjugosjätte:26,tjugosjunde:27,tjugoåttonde:28,tjugonionde:29,trettionde:30,trettioförsta:31},t5={en:1,ett:1,två:2,tre:3,fyra:4,fem:5,sex:6,sju:7,åtta:8,nio:9,tio:10,elva:11,tolv:12,tretton:13,fjorton:14,femton:15,sexton:16,sjutton:17,arton:18,nitton:19,tjugo:20,trettiо:30,fyrtio:40,femtio:50,sextio:60,sjuttio:70,åttio:80,nittio:90,hundra:100,tusen:1e3},n5={sek:`second`,sekund:`second`,sekunder:`second`,min:`minute`,minut:`minute`,minuter:`minute`,tim:`hour`,timme:`hour`,timmar:`hour`,dag:`day`,dagar:`day`,vecka:`week`,veckor:`week`,mån:`month`,månad:`month`,månader:`month`,år:`year`,kvartаl:`quarter`,kvartal:`quarter`},Dle={sekund:`second`,sekunder:`second`,minut:`minute`,minuter:`minute`,timme:`hour`,timmar:`hour`,dag:`day`,dagar:`day`,vecka:`week`,veckor:`week`,månad:`month`,månader:`month`,år:`year`,kvartal:`quarter`};function Ole(e){let t={},n=e,r=a5.exec(n);for(;r;)kle(t,r),n=n.substring(r[0].length),r=a5.exec(n);return t}function kle(e,t){let n=Nle(t[1]),r=n5[t[2].toLowerCase()];e[r]=n}var r5=`(?:${Q(t5)}|\\d+)`;`${Q(Ele)}`,`${Q(n5)}`;var i5=`(${r5})\\s{0,5}(${Q(n5)})\\s{0,5}`,a5=new RegExp(i5,`i`),Ale=`(${r5})\\s{0,5}(${Q(Dle)})\\s{0,5}`,jle=S$(``,i5),Mle=S$(``,Ale);function Nle(e){let t=e.toLowerCase();return t5[t]===void 0?parseInt(t):t5[t]}function Ple(e){if(/\d+/.test(e)){let t=parseInt(e);return t<100&&(t=w$(t)),t}let t=e.toLowerCase();return t5[t]===void 0?parseInt(e):t5[t]}var Fle=RegExp(`(?:(?:\\,|\\(|\\()\\s*)?(?:på\\s*?)?(?:(förra|senaste|nästa|kommande)\\s*)?(${Q($8)})(?:\\s*(?:\\,|\\)|\\)))?(?:\\s*(förra|senaste|nästa|kommande)\\s*vecka)?(?=\\W|$)`,`i`),Ile=1,Lle=3,Rle=2,zle=class extends ${innerPattern(){return Fle}innerExtract(e,t){let n=$8[t[Rle].toLowerCase()],r=t[Ile],i=t[Lle],a=r||i;a||=``,a=a.toLowerCase();let o=null;return a.match(/förra|senaste/)?o=`last`:a.match(/nästa|kommande/)&&(o=`next`),o0(e.reference,n,o)}},Ble=RegExp(`(?:den\\s*?)?([0-9]{1,2})(?:\\s*(?:till|\\-|\\–|\\s)\\s*([0-9]{1,2}))?\\s*(${Q(e5)})(?:(?:-|/|,?\\s*)([0-9]{4}(?![^\\s]\\d)))?(?=\\W|$)`,`i`),o5=1,s5=2,Vle=3,c5=4,Hle=class extends ${innerPattern(){return Ble}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=e5[t[Vle].toLowerCase()],i=parseInt(t[o5]);if(i>31)return t.index+=t[o5].length,null;if(n.start.assign(`month`,r),n.start.assign(`day`,i),t[c5]){let e=Ple(t[c5]);n.start.assign(`year`,e)}else{let t=T$(e.refDate,i,r);n.start.imply(`year`,t)}if(t[s5]){let e=parseInt(t[s5]);n.end=n.start.clone(),n.end.assign(`day`,e)}return n}},Ule=RegExp(`(denna|den här|förra|passerade|nästa|kommande|efter|\\+|-)\\s*(${jle})(?=\\W|$)`,`i`),Wle=RegExp(`(denna|den här|förra|passerade|nästa|kommande|efter|\\+|-)\\s*(${Mle})(?=\\W|$)`,`i`),Gle=class extends ${allowAbbreviations;constructor(e=!0){super(),this.allowAbbreviations=e}innerPattern(){return this.allowAbbreviations?Ule:Wle}innerExtract(e,t){let n=t[1].toLowerCase(),r=Ole(t[2]);if(!r)return null;switch(n){case`förra`:case`passerade`:case`-`:r=y$(r)}return Z.createRelativeFromReference(e.reference,r)}},Kle=RegExp(`(nu|idag|imorgon|övermorgon|igår|förrgår|i\\s*förrgår)(?:\\s*(?:på\\s*)?(morgonen?|förmiddagen?|middagen?|eftermiddagen?|kvällen?|natten?|midnatt))?(?=\\W|$)`,`i`),qle=1,Jle=2,Yle=class extends ${innerPattern(e){return Kle}innerExtract(e,t){let n=e.refDate,r=(t[qle]||``).toLowerCase(),i=(t[Jle]||``).toLowerCase(),a=e.createParsingComponents();switch(r){case`nu`:a=D0(e.reference);break;case`idag`:a=O0(e.reference);break;case`imorgon`:case`imorn`:let t=new Date(n.getTime());t.setDate(t.getDate()+1),l$(a,t),f$(a,t);break;case`igår`:let r=new Date(n.getTime());r.setDate(r.getDate()-1),l$(a,r),f$(a,r);break;case`förrgår`:case`i förrgår`:let i=new Date(n.getTime());i.setDate(i.getDate()-2),l$(a,i),f$(a,i)}switch(i){case`morgon`:case`morgonen`:a.imply(`hour`,6),a.imply(`minute`,0),a.imply(`second`,0),a.imply(`millisecond`,0);break;case`förmiddag`:case`förmiddagen`:a.imply(`hour`,9),a.imply(`minute`,0),a.imply(`second`,0),a.imply(`millisecond`,0);break;case`middag`:case`middagen`:a.imply(`hour`,12),a.imply(`minute`,0),a.imply(`second`,0),a.imply(`millisecond`,0);break;case`eftermiddag`:case`eftermiddagen`:a.imply(`hour`,15),a.imply(`minute`,0),a.imply(`second`,0),a.imply(`millisecond`,0);break;case`kväll`:case`kvällen`:a.imply(`hour`,20),a.imply(`minute`,0),a.imply(`second`,0),a.imply(`millisecond`,0);break;case`natt`:case`natten`:case`midnatt`:i===`midnatt`?a.imply(`hour`,0):a.imply(`hour`,2),a.imply(`minute`,0),a.imply(`second`,0),a.imply(`millisecond`,0)}return a}},Xle=new O2(Zle());new O2(l5(!0));function Zle(e=!0){let t=l5(!1,e);return t.parsers.unshift(new Yle),t}function l5(e=!0,t=!0){return E0({parsers:[new w0,new o2(t),new Hle,new zle,new Gle],refiners:[]},e)}var Qle=class extends F1{primaryPrefix(){return`(?:(?:klo|kello)\\s*)?`}followingPhase(){return`\\s*(?:\\-|\\–|\\~|\\〜)\\s*`}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}},u5={sunnuntai:0,sunnuntaina:0,su:0,maanantai:1,maanantaina:1,ma:1,tiistai:2,tiistaina:2,ti:2,keskiviikko:3,keskiviikkona:3,ke:3,torstai:4,torstaina:4,to:4,perjantai:5,perjantaina:5,pe:5,lauantai:6,lauantaina:6,la:6},d5={tammikuu:1,tammikuuta:1,tammikuun:1,tammi:1,helmikuu:2,helmikuuta:2,helmikuun:2,helmi:2,maaliskuu:3,maaliskuuta:3,maaliskuun:3,maalis:3,huhtikuu:4,huhtikuuta:4,huhtikuun:4,huhti:4,toukokuu:5,toukokuuta:5,toukokuun:5,touko:5,kesäkuu:6,kesäkuuta:6,kesäkuun:6,kesä:6,heinäkuu:7,heinäkuuta:7,heinäkuun:7,heinä:7,elokuu:8,elokuuta:8,elokuun:8,elo:8,syyskuu:9,syyskuuta:9,syyskuun:9,syys:9,lokakuu:10,lokakuuta:10,lokakuun:10,loka:10,marraskuu:11,marraskuuta:11,marraskuun:11,marras:11,joulukuu:12,joulukuuta:12,joulukuun:12,joulu:12},f5={yksi:1,yhden:1,kaksi:2,kahden:2,kolme:3,kolmen:3,neljä:4,neljän:4,viisi:5,viiden:5,kuusi:6,kuuden:6,seitsemän:7,kahdeksan:8,yhdeksän:9,kymmenen:10},p5={s:`second`,sek:`second`,sekunti:`second`,sekuntia:`second`,sekunnin:`second`,min:`minute`,minuutti:`minute`,minuuttia:`minute`,minuutin:`minute`,t:`hour`,tunti:`hour`,tuntia:`hour`,tunnin:`hour`,pv:`day`,päivä:`day`,päivää:`day`,päivän:`day`,vk:`week`,viikko:`week`,viikkoa:`week`,viikon:`week`,kk:`month`,kuukausi:`month`,kuukautta:`month`,kuukauden:`month`,vuosi:`year`,vuotta:`year`,vuoden:`year`},$le={sekunti:`second`,sekuntia:`second`,sekunnin:`second`,minuutti:`minute`,minuuttia:`minute`,minuutin:`minute`,tunti:`hour`,tuntia:`hour`,tunnin:`hour`,päivä:`day`,päivää:`day`,päivän:`day`,viikko:`week`,viikkoa:`week`,viikon:`week`,kuukausi:`month`,kuukautta:`month`,kuukauden:`month`,vuosi:`year`,vuotta:`year`,vuoden:`year`};function m5(e){let t={},n=e,r=_5.exec(n);for(;r;)eue(t,r),n=n.substring(r[0].length),r=_5.exec(n);return t}function eue(e,t){let n=rue(t[1]),r=p5[t[2].toLowerCase()];e[r]=n}var h5=`(?:${Q(f5)}|\\d+)`;`${Q(p5)}`;var g5=`(${h5})\\s{0,5}(${Q(p5)})\\s{0,5}`,_5=new RegExp(g5,`i`),tue=`(${h5})\\s{0,5}(${Q($le)})\\s{0,5}`,v5=S$(``,g5),nue=S$(``,tue);function rue(e){let t=e.toLowerCase();return f5[t]===void 0?parseInt(t):f5[t]}function iue(e){if(/\d+/.test(e)){let t=parseInt(e);return t<100&&(t=w$(t)),t}let t=e.toLowerCase();return f5[t]===void 0?parseInt(e):f5[t]}var aue=RegExp(`(?:(?:\\,|\\(|\\()\\s*)?(?:(viime|edellinen|edellisenä|ensi|seuraava|seuraavana|tämä|tänä)\\s*)?(${Q(u5)})(?:\\s*(?:\\,|\\)|\\)))?(?:\\s*(viime|ensi|seuraava)\\s*viikolla)?(?=\\W|$)`,`i`),oue=1,sue=2,cue=3,lue=class extends ${innerPattern(){return aue}innerExtract(e,t){let n=u5[t[sue].toLowerCase()],r=t[oue],i=t[cue],a=r||i;a||=``,a=a.toLowerCase();let o=null;return a.match(/viime|edellinen|edellisenä/)?o=`last`:a.match(/ensi|seuraava|seuraavana/)&&(o=`next`),o0(e.reference,n,o)}},uue=RegExp(`([0-9]{1,2})\\.?(?:\\s*(?:\\-|\\–|\\s)\\s*([0-9]{1,2})\\.?)?\\s*(${Q(d5)})(?:(?:-|/|,?\\s*)([0-9]{4}(?![^\\s]\\d)))?(?=\\W|$)`,`i`),y5=1,b5=2,due=3,x5=4,fue=class extends ${innerPattern(){return uue}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=d5[t[due].toLowerCase()],i=parseInt(t[y5]);if(i>31)return t.index+=t[y5].length,null;if(n.start.assign(`month`,r),n.start.assign(`day`,i),t[x5]){let e=iue(t[x5]);n.start.assign(`year`,e)}else{let t=T$(e.refDate,i,r);n.start.imply(`year`,t)}if(t[b5]){let e=parseInt(t[b5]);n.end=n.start.clone(),n.end.assign(`day`,e)}return n}},pue=RegExp(`(seuraava|seuraavat|seuraavien|edellinen|edelliset|edellisten|viimeiset|viimeisten|kuluneet|kuluneiden|\\+|-)\\s*(${v5})(?=\\W|$)`,`i`),mue=RegExp(`(seuraava|seuraavat|seuraavien|edellinen|edelliset|edellisten|viimeiset|viimeisten|kuluneet|kuluneiden|\\+|-)\\s*(${nue})(?=\\W|$)`,`i`),hue=class extends ${allowAbbreviations;constructor(e=!0){super(),this.allowAbbreviations=e}innerPattern(){return this.allowAbbreviations?pue:mue}innerExtract(e,t){let n=t[1].toLowerCase(),r=m5(t[2]);if(!r)return null;switch(n){case`edellinen`:case`edelliset`:case`edellisten`:case`viimeiset`:case`viimeisten`:case`kuluneet`:case`kuluneiden`:case`-`:r=y$(r)}return Z.createRelativeFromReference(e.reference,r)}},gue=class extends ${innerPattern(){return RegExp(`(${v5})\\s*sitten(?=\\W|$)`,`i`)}innerExtract(e,t){let n=y$(m5(t[1]));return Z.createRelativeFromReference(e.reference,n)}},_ue=class extends ${innerPattern(){return RegExp(`(${v5})\\s*(?:sisällä|kuluessa|päästä)(?=\\W|$)`,`i`)}innerExtract(e,t){let n=m5(t[1]);return Z.createRelativeFromReference(e.reference,n)}},S5=class e extends ${innerPattern(e){return/(tänä\s*)?(aamulla|aamuna|aamupäivällä|päivällä|iltapäivällä|illalla|yöllä|keskiyöllä)(?=\W|$)/i}innerExtract(t,n){let r=t.refDate,i=n[2].toLowerCase(),a=t.createParsingComponents();return f$(a,r),e.extractTimeComponents(a,i)}static extractTimeComponents(e,t){switch(t){case`aamulla`:case`aamuna`:e.imply(`hour`,6),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.AM),e.addTag(`casualReference/morning`);break;case`aamupäivällä`:e.imply(`hour`,9),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.AM),e.addTag(`casualReference/morning`);break;case`päivällä`:e.imply(`hour`,12),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.AM),e.addTag(`casualReference/noon`);break;case`iltapäivällä`:e.imply(`hour`,15),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.PM),e.addTag(`casualReference/afternoon`);break;case`illalla`:e.imply(`hour`,18),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.PM),e.addTag(`casualReference/evening`);break;case`yöllä`:e.imply(`hour`,22),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.PM),e.addTag(`casualReference/evening`);break;case`keskiyöllä`:e.get(`hour`)>1&&e.addDurationAsImplied({day:1}),e.imply(`hour`,0),e.imply(`minute`,0),e.imply(`second`,0),e.imply(`meridiem`,X.AM),e.addTag(`casualReference/midnight`)}return e}},vue=RegExp(`(nyt|tänään|huomenna|ylihuomenna|eilen|toissapäivänä|viime\\s*yönä)(?:\\s*(aamulla|aamuna|aamupäivällä|päivällä|iltapäivällä|illalla|yöllä|keskiyöllä))?(?=\\W|$)`,`i`),yue=1,bue=2,xue=class extends ${innerPattern(e){return vue}innerExtract(e,t){let n=e.reference.getDateWithAdjustedTimezone(),r=(t[yue]||``).toLowerCase(),i=(t[bue]||``).toLowerCase(),a=e.createParsingComponents();switch(r){case`nyt`:a=D0(e.reference);break;case`tänään`:a=O0(e.reference);break;case`huomenna`:n=v$(n,{day:1}),l$(a,n),f$(a,n);break;case`ylihuomenna`:n=v$(n,{day:2}),l$(a,n),f$(a,n);break;case`eilen`:n=v$(n,{day:-1}),l$(a,n),f$(a,n);break;case`toissapäivänä`:n=v$(n,{day:-2}),l$(a,n),f$(a,n);break;default:r.match(/viime\s*yönä/)&&(n.getHours()>6&&(n=v$(n,{day:-1})),l$(a,n),a.imply(`hour`,0))}return i&&(a=S5.extractTimeComponents(a,i)),a}},Sue=class extends K1{patternBetween(){return/^\s*(-|–)\s*$/i}},Cue=class extends X1{patternBetween(){return RegExp(`^\\s*(T|klo|kello|,|-)?\\s*$`)}},wue=new O2(Tue());new O2(C5(!0));function Tue(e=!0){let t=C5(!1,e);return t.parsers.unshift(new S5),t.parsers.unshift(new xue),t.parsers.unshift(new hue),t}function C5(e=!0,t=!0){return E0({parsers:[new w0,new o2(t),new Qle,new fue,new lue,new _ue,new gue],refiners:[new Sue,new Cue]},e)}var w5={"chủ nhật":0,cn:0,"thứ hai":1,t2:1,"thứ ba":2,t3:2,"thứ tư":3,t4:3,"thứ năm":4,t5:4,"thứ sáu":5,t6:5,"thứ bảy":6,t7:6},T5={"tháng 1":1,"tháng một":1,"tháng giêng":1,"tháng 2":2,"tháng hai":2,"tháng 3":3,"tháng ba":3,"tháng 4":4,"tháng tư":4,"tháng 5":5,"tháng năm":5,"tháng 6":6,"tháng sáu":6,"tháng 7":7,"tháng bảy":7,"tháng 8":8,"tháng tám":8,"tháng 9":9,"tháng chín":9,"tháng 10":10,"tháng mười":10,"tháng 11":11,"tháng mười một":11,"tháng 12":12,"tháng mười hai":12,"tháng chạp":12},E5={một:1,hai:2,ba:3,bốn:4,năm:5,sáu:6,bảy:7,tám:8,chín:9,mười:10,"mười một":11,"mười hai":12},D5={giây:`second`,phút:`minute`,giờ:`hour`,ngày:`day`,tuần:`week`,tháng:`month`,năm:`year`},O5=`(?:`+Q(E5)+`|[0-9]+|[0-9]+\\.[0-9]+)`;function Eue(e){let t=e.toLowerCase();return E5[t]===void 0?parseFloat(t):E5[t]}var k5=`(?:[0-9]{1,4}(?:\\s*TCN)?)`;function A5(e){let t=e.toUpperCase(),n=parseInt(e.replace(/[^0-9]+/g,``));return/TCN/.test(t)?-n:w$(n)}var j5=`(`+O5+`)\\s{0,5}(`+Q(D5)+`)\\s{0,5}`,M5=new RegExp(j5,`i`),N5=S$(``,j5);function P5(e){let t={},n=e,r=M5.exec(n);for(;r;){let e=Eue(r[1]),i=D5[r[2].toLowerCase()];t[i]=e,n=n.substring(r[0].length),r=M5.exec(n)}return t}var Due=RegExp(`(?:ngày\\s*)?([0-9]{1,2})\\s*tháng\\s*([0-9]{1,2})(?:\\s*năm\\s*(`+k5+`))?(?=\\W|$)`,`i`),Oue=1,kue=2,F5=3,Aue=class extends ${innerPattern(){return Due}innerExtract(e,t){let n=parseInt(t[Oue]),r=parseInt(t[kue]);if(n>31||r>12)return null;let i=e.createParsingResult(t.index,t[0]);return i.start.assign(`day`,n),i.start.assign(`month`,r),t[F5]?i.start.assign(`year`,A5(t[F5])):i.start.imply(`year`,T$(e.refDate,n,r)),i}},jue=RegExp(`(`+Q(T5)+`)(?:\\s*(?:năm|/)\\s*(`+k5+`))?(?=\\W|$)`,`i`),Mue=1,I5=2,Nue=class extends ${innerPattern(){return jue}innerExtract(e,t){let n=T5[t[Mue].toLowerCase()];if(!n)return null;let r=e.createParsingResult(t.index,t[0]);return r.start.assign(`month`,n),r.start.imply(`day`,1),t[I5]?r.start.assign(`year`,A5(t[I5])):r.start.imply(`year`,e.reference.getDateWithAdjustedTimezone().getFullYear()),r}},Pue=RegExp(`(?:\\bnăm\\s*(`+k5+`)|\\b([0-9]{1,4})\\s*(TCN))(?=\\W|$)`,`i`),L5=1,Fue=2,Iue=3,Lue=class extends ${innerPattern(){return Pue}innerExtract(e,t){let n;n=t[L5]?t[L5]:t[Fue]+` `+t[Iue];let r=e.createParsingResult(t.index,t[0]);return r.start.assign(`year`,A5(n)),r.start.imply(`month`,1),r.start.imply(`day`,1),r}},Rue=/\b(hôm nay|hôm qua|hôm kia|ngày mai|ngày kia|bây giờ|lúc này)(?=\W|$)/i,zue=class extends ${innerPattern(){return Rue}innerExtract(e,t){switch(t[1].toLowerCase()){case`bây giờ`:case`lúc này`:return D0(e.reference);case`hôm nay`:return O0(e.reference);case`hôm qua`:return k0(e.reference);case`hôm kia`:return j0(e.reference,2);case`ngày mai`:return A0(e.reference);case`ngày kia`:return M0(e.reference,2)}return e.createParsingComponents()}},Bue=/(buổi\s*)?(sáng sớm|sáng|trưa|chiều|tối|đêm|nửa đêm|bình minh)(?=\W|$)/i,Vue=class e extends ${innerPattern(){return Bue}innerExtract(t,n){let r=t.createParsingComponents();return f$(r,t.refDate),e.extractTimeComponents(r,n[2].toLowerCase())}static extractTimeComponents(e,t){switch(t){case`bình minh`:case`sáng sớm`:e.imply(`hour`,6),e.imply(`minute`,0),e.imply(`meridiem`,X.AM);break;case`sáng`:e.imply(`hour`,9),e.imply(`minute`,0),e.imply(`meridiem`,X.AM);break;case`trưa`:e.imply(`hour`,12),e.imply(`minute`,0),e.imply(`meridiem`,X.PM);break;case`chiều`:e.imply(`hour`,15),e.imply(`minute`,0),e.imply(`meridiem`,X.PM);break;case`tối`:e.imply(`hour`,19),e.imply(`minute`,0),e.imply(`meridiem`,X.PM);break;case`đêm`:e.imply(`hour`,22),e.imply(`minute`,0),e.imply(`meridiem`,X.PM);break;case`nửa đêm`:e.imply(`hour`,0),e.imply(`minute`,0),e.imply(`meridiem`,X.AM)}return e}},Hue=RegExp(`(`+Q(w5)+`)(?:\\s*(này|tới|sau(?!\\s*khi)|qua))?(?=\\W|$)`,`i`),Uue=1,Wue=2,Gue=class extends ${innerPattern(){return Hue}innerExtract(e,t){let n=w5[t[Uue].toLowerCase()];if(n===void 0)return null;let r=t[Wue],i=null;if(r){let e=r.toLowerCase();e.includes(`tới`)||e.includes(`sau`)?i=`next`:e.includes(`qua`)&&(i=`last`)}return o0(e.reference,n,i)}},Kue=RegExp(`(?:lúc\\s*|vào\\s*)?([0-9]{1,2})(?:\\s*giờ\\s*([0-9]{1,2})?\\s*(?:phút\\s*)?(sáng|trưa|chiều|tối|đêm)?|:([0-9]{2}))(?=\\W|$)`,`i`),que=1,R5=2,Jue=3,z5=4,Yue=class extends ${innerPattern(){return Kue}innerExtract(e,t){let n=parseInt(t[que]);if(n>23)return null;let r=e.createParsingResult(t.index,t[0]);r.start.assign(`hour`,n);let i=t[z5]?parseInt(t[z5]):t[R5]?parseInt(t[R5]):0;if(i>=60)return null;r.start.assign(`minute`,i);let a=t[Jue]?.toLowerCase();return a===`sáng`?(r.start.assign(`meridiem`,X.AM),n===12&&r.start.assign(`hour`,0)):a===`trưa`?n<10?(r.start.assign(`meridiem`,X.PM),r.start.assign(`hour`,n+12)):r.start.assign(`meridiem`,n>=12?X.PM:X.AM):(a===`chiều`||a===`tối`||a===`đêm`)&&(r.start.assign(`meridiem`,X.PM),n<12&&r.start.assign(`hour`,n+12)),r.start.imply(`second`,0),r.start.imply(`millisecond`,0),r}},Xue=RegExp(`(`+N5+`)\\s{0,5}(?:trước|qua)(?=\\W|$)`,`i`),Zue=class extends ${strictMode;constructor(e=!1){super(),this.strictMode=e}innerPattern(){return Xue}innerExtract(e,t){let n=P5(t[1]);return n?Z.createRelativeFromReference(e.reference,y$(n)):null}},Que=RegExp(`(`+N5+`)\\s{0,5}(?:sau|nữa|tới|tiếp)(?=\\W|$)`,`i`),$ue=class extends ${strictMode;constructor(e=!1){super(),this.strictMode=e}innerPattern(){return Que}innerExtract(e,t){let n=P5(t[1]);return n?Z.createRelativeFromReference(e.reference,n):null}},ede=RegExp(`(?:trong\\s*(?:vòng\\s*)?)(`+N5+`)(?=\\W|$)`,`i`),tde=class extends ${strictMode;constructor(e=!1){super(),this.strictMode=e}innerPattern(){return ede}innerExtract(e,t){let n=P5(t[1]);return n?Z.createRelativeFromReference(e.reference,n):null}},B5=`(?:`+O5+`\\s{0,5})?(?:`+Q(D5)+`)`,nde=RegExp(`(này|trước|qua|sau|tới|tiếp)\\s*(`+B5+`)|(`+B5+`)\\s*(này|trước|qua|sau|tới|tiếp)(?=\\W|$)`,`i`),rde=class extends ${innerPattern(){return nde}innerExtract(e,t){let n=(t[1]||t[4]||``).toLowerCase(),r=(t[2]||t[3]||``).toLowerCase(),i=P5(r);if(Object.keys(i).length===0){let e=D5[r];if(!e)return null;i={[e]:1}}return(n===`trước`||n===`qua`)&&(i=y$(i)),Z.createRelativeFromReference(e.reference,i)}},ide=class extends K1{patternBetween(){return/^\s*(?:–|-|đến|tới|và)\s*$/}},ade=class extends X1{patternBetween(){return/^\s*(?:lúc|vào|,|T|-)?\s*$/}},ode=class extends T0{},sde=new O2(cde());new O2(V5(!0));function cde(e=!0){let t=V5(!1,e);return t.parsers.unshift(new Vue),t.parsers.unshift(new zue),t.parsers.unshift(new rde),t}function V5(e=!0,t=!0){return E0({parsers:[new w0,new o2(t),new Aue,new Nue,new Lue,new Gue,new Yue,new Zue(e),new $ue(e),new tde(e)],refiners:[new ode,new ide,new ade]},e)}var lde=/(sekarang|saat\s+ini|hari\s+ini|kemarin\s+lusa|kemarin|besok\s+lusa|besok|lusa|nanti\s+malam|malam\s+ini|tadi\s+malam|semalam)(?=\W|$)/i,ude=class extends ${innerPattern(){return lde}innerExtract(e,t){switch(t[1].toLowerCase().replace(/\s+/g,` `)){case`sekarang`:case`saat ini`:return D0(e.reference);case`hari ini`:return O0(e.reference);case`kemarin`:return k0(e.reference);case`kemarin lusa`:return j0(e.reference,2);case`besok`:return A0(e.reference);case`lusa`:case`besok lusa`:return M0(e.reference,2);case`nanti malam`:case`malam ini`:return N0(e.reference);case`tadi malam`:case`semalam`:return P0(e.reference)}return e.createParsingComponents()}},dde=/(?:(?:pada|di)\s+)?(tengah\s+malam|tengah\s+hari|pagi|siang|sore|petang|malam(?!\s+ini))(?:\s+ini)?(?=\W|$)/i,fde=class extends ${innerPattern(){return dde}innerExtract(e,t){switch(t[1].toLowerCase().replace(/\s+/g,` `)){case`pagi`:return R0(e.reference);case`siang`:case`tengah hari`:return B0(e.reference);case`sore`:case`petang`:return z0(e.reference);case`malam`:return F0(e.reference);case`tengah malam`:return L0(e.reference)}return null}},H5={minggu:0,ahad:0,senin:1,selasa:2,rabu:3,kamis:4,jumat:5,"jum'at":5,sabtu:6},U5={januari:1,jan:1,"jan.":1,februari:2,pebruari:2,feb:2,"feb.":2,peb:2,"peb.":2,maret: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,agustus:8,agu:8,"agu.":8,agt:8,"agt.":8,ags:8,"ags.":8,september:9,sep:9,"sep.":9,sept:9,"sept.":9,oktober:10,okt:10,"okt.":10,november:11,nopember:11,nov:11,"nov.":11,nop:11,"nop.":11,desember:12,des:12,"des.":12},W5={satu:1,dua:2,tiga:3,empat:4,lima:5,enam:6,tujuh:7,delapan:8,sembilan:9,sepuluh:10,sebelas:11,"dua belas":12},G5={detik:`second`,menit:`minute`,jam:`hour`,hari:`day`,minggu:`week`,pekan:`week`,bulan:`month`,tahun:`year`},pde=`(?:${Q(W5)}|[0-9]+|[0-9]+[\\.,][0-9]+|setengah)`;function mde(e){let t=e.toLowerCase();return W5[t]===void 0?t===`setengah`?.5:parseFloat(t.replace(`,`,`.`)):W5[t]}var K5=`(?:[1-9][0-9]{0,3}\\s*(?:SM|M)(?=\\W|$)|[1-2][0-9]{3}|[5-9][0-9])`;function q5(e){return/SM/i.test(e)?-parseInt(e.replace(/SM/i,``)):/M/i.test(e)?parseInt(e.replace(/M/i,``)):w$(parseInt(e))}var J5=`(?:(${pde})\\s{0,5}|se)(${Q(G5)})\\s{0,5}`,Y5=new RegExp(J5,`i`),X5=S$(``,J5,`\\s{0,5}(?:,|dan)?\\s{0,5}`);function Z5(e){let t={},n=e,r=Y5.exec(n);for(;r;){let e=r[1]?mde(r[1]):1,i=G5[r[2].toLowerCase()];t[i]=e,n=n.substring(r.index+r[0].length),r=Y5.exec(n)}return t}var hde=RegExp(`(?:(?:pada\\s+)?(?:tanggal|tgl\\.?)\\s*)?([0-9]{1,2})(?:\\s*(?:-|–|s\\.d\\.?|s/d|sampai(?:\\s+dengan)?|hingga)\\s*([0-9]{1,2}))?(?:\\s*|-|/)(${Q(U5)})(?:(?:\\s*|-|/|,\\s*)(?:tahun\\s+)?(${K5}))?(?=\\W|$)`,`i`),Q5=1,$5=2,gde=3,e7=4,_de=class extends ${innerPattern(){return hde}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=U5[t[gde].toLowerCase()],i=parseInt(t[Q5]);if(i>31)return t.index+=t[Q5].length,null;if(n.start.assign(`month`,r),n.start.assign(`day`,i),t[e7]?n.start.assign(`year`,q5(t[e7])):n.start.imply(`year`,T$(e.refDate,i,r)),t[$5]){let e=parseInt(t[$5]);if(e>31)return null;n.end=n.start.clone(),n.end.assign(`day`,e)}return n}},vde=RegExp(`(?:(?:pada\\s+)?bulan\\s+)?(${Q(U5)})(?:\\s*[,-]?\\s*(?:tahun\\s+)?(${K5}))?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,`i`),yde=1,t7=2,bde=class extends ${innerPattern(){return vde}innerExtract(e,t){let n=t[yde].toLowerCase();if(n.length<=3&&n!==`mei`&&!t[t7])return null;let r=e.createParsingComponents(),i=U5[n];return r.imply(`day`,1),r.assign(`month`,i),t[t7]?r.assign(`year`,q5(t[t7])):r.imply(`year`,T$(e.refDate,1,i)),r}},xde=RegExp(`(${Q(U5)})(?:-|/|\\s*,?\\s*)([0-9]{1,2})(?:\\s*(?:-|–|s\\.d\\.?|s/d|sampai(?:\\s+dengan)?|hingga)\\s*([0-9]{1,2}))?(?:(?:-|/|\\s*,\\s*|\\s+)(?:tahun\\s+)?(${K5}))?(?=\\W|$)(?![.:]\\d)`,`i`),Sde=1,Cde=2,n7=3,r7=4,wde=class extends ${innerPattern(){return xde}innerExtract(e,t){let n=U5[t[Sde].toLowerCase()],r=parseInt(t[Cde]);if(r>31)return null;let i=e.createParsingComponents({day:r,month:n});if(t[r7]?i.assign(`year`,q5(t[r7])):i.imply(`year`,T$(e.refDate,r,n)),!t[n7])return i;let a=parseInt(t[n7]);if(a>31)return null;let o=e.createParsingResult(t.index,t[0]);return o.start=i,o.end=i.clone(),o.end.assign(`day`,a),o}},Tde=RegExp(`(?:pada\\s+)?(hari\\s+)?(${Q(H5)})(?:\\s+(?:(?:minggu|pekan)\\s+)?(ini|depan|berikutnya|mendatang|yang\\s+lalu|lalu|kemarin))?(?=\\W|$)`,`i`),Ede=1,Dde=2,Ode=3,kde=class extends ${innerPattern(){return Tde}innerExtract(e,t){let n=t[Dde].toLowerCase();if(n===`minggu`&&!t[Ede])return null;let r=H5[n],i=(t[Ode]||``).toLowerCase().replace(/\s+/g,` `),a=null;return i===`ini`?a=`this`:i===`depan`||i===`berikutnya`||i===`mendatang`?a=`next`:(i===`lalu`||i===`yang lalu`||i===`kemarin`)&&(a=`last`),o0(e.reference,r,a)}},i7=7,Ade=class extends F1{primaryPrefix(){return`(?:(?:pada\\s+)?(?:pukul|pkl\\.?|jam)\\s*)?`}followingPhase(){return`\\s*(?:\\-|\\–|\\~|\\〜|s\\.d\\.?|s/d|sampai(?:\\s+dengan)?|hingga)\\s*(?:(?:pukul|pkl\\.?|jam)\\s*)?`}primarySuffix(){return`(?:\\s*(pagi|siang|sore|petang|malam))?(?!/)(?=\\W|$)`}extractPrimaryTimeComponents(e,t){if(t[0].match(/^\s*\d{4}\s*$/))return null;let n=super.extractPrimaryTimeComponents(e,t);if(!n||!t[i7]||n.isCertain(`meridiem`))return n;let r=n.get(`hour`);if(r>12)return n;switch(t[i7].toLowerCase()){case`pagi`:r==12&&(r=0);break;case`siang`:r<10&&(r+=12);break;case`sore`:case`petang`:r<12&&(r+=12);break;case`malam`:r==12?r=0:r>=5&&(r+=12)}return n.assign(`hour`,r),n.assign(`meridiem`,r>=12?X.PM:X.AM),n}},jde=RegExp(`(${X5})\\s{0,5}(?:yang\\s+)?(?:lalu|silam|sebelumnya)(?=\\W|$)`,`i`),Mde=class extends ${innerPattern(){return jde}innerExtract(e,t){let n=Z5(t[1]);return Z.createRelativeFromReference(e.reference,y$(n))}},Nde=RegExp(`(${X5})\\s{0,5}(?:lagi|kemudian|setelahnya|sesudahnya|mendatang|ke\\s*depan)(?=\\W|$)`,`i`),Pde=class extends ${innerPattern(){return Nde}innerExtract(e,t){let n=Z5(t[1]);return Z.createRelativeFromReference(e.reference,n)}},Fde=RegExp(`(?:dalam\\s+(?:waktu\\s+)?)(${X5})(?=\\W|$)`,`i`),Ide=class extends ${innerPattern(){return Fde}innerExtract(e,t){let n=Z5(t[1]);return Z.createRelativeFromReference(e.reference,n)}},Lde=RegExp(`(minggu|pekan|bulan|tahun)\\s+(ini|depan|berikutnya|mendatang|yang\\s+lalu|lalu|kemarin)(?=\\W|$)`,`i`),Rde=1,zde=2,Bde={minggu:`week`,pekan:`week`,bulan:`month`,tahun:`year`},Vde=class extends ${innerPattern(){return Lde}innerExtract(e,t){let n=t[Rde].toLowerCase(),r=t[zde].toLowerCase().replace(/\s+/g,` `),i=Bde[n];if(r==`depan`||r==`berikutnya`||r==`mendatang`)return Z.createRelativeFromReference(e.reference,{[i]:1});if(r==`lalu`||r==`yang lalu`||r==`kemarin`)return Z.createRelativeFromReference(e.reference,{[i]:-1});let a=e.createParsingComponents(),o=new Date(e.reference.instant.getTime());return i==`week`?(o.setDate(o.getDate()-o.getDay()),a.imply(`day`,o.getDate()),a.imply(`month`,o.getMonth()+1),a.imply(`year`,o.getFullYear())):i==`month`?(o.setDate(1),a.imply(`day`,o.getDate()),a.assign(`year`,o.getFullYear()),a.assign(`month`,o.getMonth()+1)):i==`year`&&(o.setDate(1),o.setMonth(0),a.imply(`day`,o.getDate()),a.imply(`month`,o.getMonth()+1),a.assign(`year`,o.getFullYear())),a}},Hde=class extends K1{patternBetween(){return/^\s*(?:-|–|s\.d\.?|s\/d|sampai(?:\s+dengan)?|hingga)\s*$/i}},Ude=class extends X1{patternBetween(){return/^\s*(?:pada|,|-|T)?\s*$/i}},Wde=new O2(Gde());new O2(a7(!0));function Gde(e=!0){let t=a7(!1,e);return t.parsers.unshift(new ude),t.parsers.unshift(new fde),t.parsers.unshift(new bde),t.parsers.unshift(new Vde),t}function a7(e=!0,t=!0){return E0({parsers:[new o2(t),new _de,new wde,new kde,new Ade(e),new Ide,new Mde,new Pde],refiners:[new Ude,new Hde]},e)}var o7={leftBoundary:`([^\\p{L}\\p{N}_]|^)`,rightBoundary:`(?=[^\\p{L}\\p{N}_]|$)`,flags:`iu`};function s7(e){return e.replace(/[٠-٩]/g,e=>(e.charCodeAt(0)-1632).toString())}var c7={الأحد:0,الاحد:0,أحد:0,احد:0,الإثنين:1,الاثنين:1,إثنين:1,اثنين:1,الثلاثاء:2,ثلاثاء:2,الأربعاء:3,الاربعاء:3,أربعاء:3,اربعاء:3,الخميس:4,خميس:4,الجمعة:5,جمعة:5,السبت:6,سبت:6},l7={يناير:1,فبراير:2,مارس:3,أبريل:4,ابريل:4,مايو:5,يونيو:6,يوليو:7,أغسطس:8,اغسطس:8,سبتمبر:9,أكتوبر:10,اكتوبر:10,نوفمبر:11,ديسمبر:12,"كانون الثاني":1,شباط:2,آذار:3,اذار:3,نيسان:4,أيار:5,ايار:5,حزيران:6,تموز:7,آب:8,اب:8,أيلول:9,ايلول:9,"تشرين الأول":10,"تشرين الاول":10,"تشرين الثاني":11,"كانون الأول":12,"كانون الاول":12},u7={واحد:1,واحدة:1,اثنان:2,اثنين:2,اثنتان:2,اثنتين:2,ثلاثة:3,ثلاث:3,أربعة:4,اربعة:4,أربع:4,اربع:4,خمسة:5,خمس:5,ستة:6,ست:6,سبعة:7,سبع:7,ثمانية:8,ثماني:8,ثمان:8,تسعة:9,تسع:9,عشرة:10,عشر:10,"أحد عشر":11,"احد عشر":11,"إحدى عشرة":11,"احدى عشرة":11,"اثنا عشر":12,"اثني عشر":12,"اثنتا عشرة":12,"اثنتي عشرة":12,نصف:.5,نص:.5,ربع:.25},d7={الأول:1,الاول:1,الأولى:1,الاولى:1,أول:1,اول:1,حادي:1,الحادي:1,الثاني:2,الثانية:2,ثاني:2,الثالث:3,الثالثة:3,ثالث:3,الرابع:4,الرابعة:4,رابع:4,الخامس:5,الخامسة:5,خامس:5,السادس:6,السادسة:6,سادس:6,السابع:7,السابعة:7,سابع:7,الثامن:8,الثامنة:8,ثامن:8,التاسع:9,التاسعة:9,تاسع:9,العاشر:10,العاشرة:10,عاشر:10,"الحادي عشر":11,"الحادية عشرة":11,"الثاني عشر":12,"الثانية عشرة":12,"الثالث عشر":13,"الثالثة عشرة":13,"الرابع عشر":14,"الرابعة عشرة":14,"الخامس عشر":15,"الخامسة عشرة":15,"السادس عشر":16,"السادسة عشرة":16,"السابع عشر":17,"السابعة عشرة":17,"الثامن عشر":18,"الثامنة عشرة":18,"التاسع عشر":19,"التاسعة عشرة":19,العشرون:20,العشرين:20,"الحادي والعشرون":21,"الحادية والعشرون":21,"الواحد والعشرون":21,"الثاني والعشرون":22,"الثانية والعشرون":22,"الثالث والعشرون":23,"الثالثة والعشرون":23,"الرابع والعشرون":24,"الرابعة والعشرون":24,"الخامس والعشرون":25,"الخامسة والعشرون":25,"السادس والعشرون":26,"السادسة والعشرون":26,"السابع والعشرون":27,"السابعة والعشرون":27,"الثامن والعشرون":28,"الثامنة والعشرون":28,"التاسع والعشرون":29,"التاسعة والعشرون":29,الثلاثون:30,الثلاثين:30,"الحادي والثلاثون":31,"الحادية والثلاثون":31,"الواحد والثلاثون":31},f7={ثانية:`second`,ثانيةً:`second`,ثواني:`second`,ثوان:`second`,ثوانٍ:`second`,دقيقة:`minute`,دقيقةً:`minute`,دقائق:`minute`,ساعة:`hour`,ساعةً:`hour`,ساعات:`hour`,يوم:`day`,يوماً:`day`,يوما:`day`,أيام:`day`,ايام:`day`,أسبوع:`week`,اسبوع:`week`,أسبوعاً:`week`,أسبوعا:`week`,اسبوعاً:`week`,اسبوعا:`week`,أسابيع:`week`,اسابيع:`week`,شهر:`month`,شهراً:`month`,شهرا:`month`,أشهر:`month`,اشهر:`month`,شهور:`month`,سنة:`year`,سنةً:`year`,سنوات:`year`,سنين:`year`,عام:`year`,عاماً:`year`,عاما:`year`,أعوام:`year`,اعوام:`year`},p7={ثانيتان:`second`,ثانيتين:`second`,دقيقتان:`minute`,دقيقتين:`minute`,ساعتان:`hour`,ساعتين:`hour`,يومان:`day`,يومين:`day`,أسبوعان:`week`,اسبوعان:`week`,أسبوعين:`week`,اسبوعين:`week`,شهران:`month`,شهرين:`month`,سنتان:`year`,سنتين:`year`,عامان:`year`,عامين:`year`},Kde=`(?:${Q(u7)}|[0-9٠-٩]+|[0-9٠-٩]+[\\.,][0-9٠-٩]+|\\s{0,3})`;function qde(e){let t=e.trim();if(u7[t]!==void 0)return u7[t];if(t===``)return 1;let n=s7(t).replace(`,`,`.`);return parseFloat(n)}var m7=`(?:${Q(d7)}|[0-9٠-٩]{1,2})`;function h7(e){let t=e.trim();if(d7[t]!==void 0)return d7[t];let n=s7(t);return parseInt(n,10)}var g7=`(?:\\s*(?:ميلادية|ميلادي|م))?`,_7=`(?:[1-9١-٩][0-9٠-٩]{0,3}${g7}(?:\\s*(?:قبل الميلاد|ق\\.م))|[1-2١-٢][0-9٠-٩]{3}${g7}|[5-9٥-٩][0-9٠-٩]${g7})`;function v7(e){let t=e.trim(),n=/(قبل الميلاد|ق\.م)/i.test(t);t=t.replace(/(قبل الميلاد|ق\.م|ميلادية|ميلادي|م)/gi,``).trim();let r=s7(t),i=parseInt(r,10);return n?-i:w$(i)}var y7=`(?:${`(${Q(p7)})`}|${`(?:(${Kde})\\s{0,3})?(${Q(f7)})`}|(?:و\\s*)?(نصف|نص|ربع))`,b7=new RegExp(y7,o7.flags),x7=S$(`(?:(?:خلال|في غضون|في خلال|حوالي|تقريباً|تقريبا)\\s{0,3})?`,y7,`\\s{0,5},?(?:\\s*و)?\\s{0,5}`);function S7(e){let t={},n=e,r=b7.exec(n),i;for(;r&&(i=Jde(t,r,i),n=n.substring(r.index+r[0].length).trim(),n);)r=b7.exec(n);return t}function Jde(e,t,n){if(t[1]){let n=p7[t[1].trim()];if(n)return e[n]=(e[n]||0)+2,n}else if(t[3]){let n=qde(t[2]?t[2].trim():``),r=f7[t[3].trim()];if(r)return e[r]=(e[r]||0)+n,r}else if(t[4]){let r=t[4].trim()===`ربع`?.25:.5;if(n)return e[n]=(e[n]||0)+r,n}return n}var Yde=class extends ${patternLeftBoundary(){return o7.leftBoundary}innerPattern(e){return new RegExp(this.innerPatternString(e),o7.flags)}innerPatternHasChange(e,t){return!1}},C7=class extends Yde{innerPattern(e){return RegExp(`${this.innerPatternString(e)}${o7.rightBoundary}`,o7.flags)}},Xde=class extends C7{innerPatternString(e){return`(الآن|الان|حالياً|حاليا|اليوم|أول\\s*(?:من\\s*)?أمس|اول\\s*(?:من\\s*)?امس|أول\\s*(?:من\\s*)?البارحة|اول\\s*(?:من\\s*)?البارحة|قبل\\s*(?:من\\s*)?أمس|قبل\\s*(?:من\\s*)?امس|أمس|امس|البارحة|بعد\\s*غد(?:اً|ا)?|بعد\\s*بكر[ةا]|غداً|غدا|بكر[ةا])`}innerExtract(e,t){let n=t[1].toLowerCase(),r=e.createParsingComponents();return n===`الآن`||n===`الان`||n===`حالياً`||n===`حاليا`?D0(e.reference):n===`اليوم`?O0(e.reference):n.match(/أول\s*(?:من\s*)?أمس/)||n.match(/اول\s*(?:من\s*)?امس/)||n.match(/أول\s*(?:من\s*)?البارحة/)||n.match(/اول\s*(?:من\s*)?البارحة/)||n.match(/قبل\s*(?:من\s*)?أمس/)||n.match(/قبل\s*(?:من\s*)?امس/)?j0(e.reference,2):n===`أمس`||n===`امس`||n===`البارحة`?k0(e.reference):n.match(/بعد\s*غد/)||n.match(/بعد\s*بكر/)?M0(e.reference,2):n===`غداً`||n===`غدا`||n.match(/^بكر[ةا]$/)?A0(e.reference):r}},Zde=class extends C7{innerPatternString(e){return`(مساء\\s*(?:أمس|امس|البارحة)|(?:أمس|امس|البارحة)\\s*مساءً?|ليلة\\s*(?:أمس|امس|البارحة)|(?:أمس|امس|البارحة)\\s*ليلاً?|الليلة\\s*الماضية|منتصف\\s*النهار|منتصف\\s*الليل|هذا\\s*الصباح|هذا\\s*المساء|هذه\\s*الليلة|بعد\\s*الظهر|ظهر\\s*اليوم|الصباح|صباحاً|صباحا|الظهر|ظهراً|ظهرا|العصر|عصراً|عصرا|المساء|مساءً|مساء|الليلة|الليل|ليلاً|ليلا)`}innerExtract(e,t){let n=t[1].toLowerCase(),r=e.createParsingComponents();return n.match(/مساء\s*(?:أمس|امس|البارحة)/)||n.match(/(?:أمس|امس|البارحة)\s*مساء/)?I0(e.reference):n.match(/ليلة\s*(?:أمس|امس|البارحة)/)||n.match(/(?:أمس|امس|البارحة)\s*ليلاً?/)||n===`الليلة الماضية`?P0(e.reference):n===`هذه الليلة`||n===`الليلة`?N0(e.reference):n===`منتصف الليل`?L0(e.reference):n===`منتصف النهار`||n===`ظهر اليوم`||n===`الظهر`||n===`ظهراً`||n===`ظهرا`?B0(e.reference):n===`بعد الظهر`||n===`العصر`||n===`عصراً`||n===`عصرا`?z0(e.reference):n===`هذا الصباح`||n===`الصباح`||n===`صباحاً`||n===`صباحا`?R0(e.reference):n===`هذا المساء`||n===`المساء`||n===`مساءً`||n===`مساء`?F0(e.reference):n===`الليل`||n===`ليلاً`||n===`ليلا`?F0(e.reference,22):r}},Qde=1,$de=2,efe=3,tfe=class extends C7{innerPatternString(e){return`(?:(?:,|\\(|()\\s*)?(?:يوم\\s*)?(?:(هذا|هذه|الماضي|الماضية|السابق|السابقة|القادم|القادمة|المقبل|المقبلة)\\s+)?(${Q(c7)})(?:\\s+(هذا|هذه|الماضي|الماضية|السابق|السابقة|المنصرم|المنصرمة|القادم|القادمة|المقبل|المقبلة))?(?:\\s*(?:,|\\)|)))?`}innerExtract(e,t){let n=c7[t[$de].toLowerCase()],r=t[Qde],i=t[efe],a=(r||i||``).toLowerCase(),o=null;return a===`الماضي`||a===`الماضية`||a===`السابق`||a===`السابقة`||a===`المنصرم`||a===`المنصرمة`?o=`last`:a===`القادم`||a===`القادمة`||a===`المقبل`||a===`المقبلة`?o=`next`:(a===`هذا`||a===`هذه`)&&(o=`this`),o0(e.reference,n,o)}},w7=1,T7=2,nfe=3,E7=4,rfe=class extends C7{innerPatternString(e){return`(?:(?:في|من)\\s*)?(${m7})(?:\\s*(?:إلى|وحتى|حتى|-|–)\\s*(${m7}))?(?:\\s*(?:من)?\\s*)(${Q(l7)})(?:(?:\\s*(?:،|,)?\\s*(?:سنة|عام)?\\s*)(${_7}(?![^\\s]\\d)))?`}innerExtract(e,t){let n=l7[t[nfe].toLowerCase()],r=h7(t[w7]);if(r>31||r<1)return t.index+=t[w7].length,null;let i=e.createParsingResult(t.index,t[0]);if(i.start.assign(`month`,n),i.start.assign(`day`,r),t[E7]){let e=v7(t[E7]);i.start.assign(`year`,e)}else{let t=T$(e.refDate,r,n);i.start.imply(`year`,t)}if(t[T7]){let e=h7(t[T7]);i.end=i.start.clone(),i.end.assign(`day`,e)}return i}},ife=1,D7=2,afe=class extends C7{innerPatternString(e){return`(?:(?:في|خلال)\\s*)?(?:شهر\\s*)?(${Q(l7)})(?:(?:\\s*(?:،|,)?\\s*(?:سنة|عام)?\\s*)(${_7}))?`}innerExtract(e,t){if(e.text.substring(0,t.index).match(/[0-9٠-٩]+\s*$/))return null;let n=l7[t[ife].toLowerCase()];if(!n)return null;let r=e.createParsingResult(t.index,t[0]);if(r.start.imply(`day`,1),r.start.assign(`month`,n),t[D7]){let e=v7(t[D7]);r.start.assign(`year`,e)}else{let t=T$(e.refDate,1,n);r.start.imply(`year`,t)}return r}},O7=2,k7=3,A7=4,j7=5,M7=6;function ofe(e,t,n,r){return RegExp(`${e}${t}([0-9٠-٩]{1,4})(?:(?:\\.|:|:)([0-9٠-٩]{1,2})(?:(?::|:)([0-9٠-٩]{2})(?:\\.([0-9٠-٩]{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?|ص|م))?${n}`,r)}function sfe(e,t){return RegExp(`^(${e})([0-9٠-٩]{1,4})(?:(?:\\.|:|:)([0-9٠-٩]{1,2})(?:(?::|:)([0-9٠-٩]{1,2})(?:\\.([0-9٠-٩]{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?|ص|م))?${t}`,`iu`)}var cfe=class extends F1{constructor(e=!1){super(e)}patternFlags(){return o7.flags}primaryPatternLeftBoundary(){return`(^|\\s|T|(?:[^\\p{L}\\p{N}_]))`}followingPhase(){return`\\s*(?:-|–|~|إلى|وحتى|حتى)\\s*`}primaryPrefix(){return`(?:(?:في\\s*تمام|في|الساعة|ساعة|من)\\s*)??`}primarySuffix(){return`(?:\\s*(?:صباحاً|صباحا|مساءً|مساء|ليلاً|ليلا|عصراً|عصرا|ظهراً|ظهرا))?(?!/)${o7.rightBoundary}`}followingSuffix(){return`(?:\\s*(?:صباحاً|صباحا|مساءً|مساء|ليلاً|ليلا|عصراً|عصرا|ظهراً|ظهرا))?(?!/)${o7.rightBoundary}`}getPrimaryTimePatternThroughCache(){return ofe(this.primaryPatternLeftBoundary(),this.primaryPrefix(),this.primarySuffix(),this.patternFlags())}getFollowingTimePatternThroughCache(){return sfe(this.followingPhase(),this.followingSuffix())}extractPrimaryTimeComponents(e,t){t[O7]&&(t[O7]=s7(t[O7])),t[k7]&&(t[k7]=s7(t[k7])),t[A7]&&(t[A7]=s7(t[A7])),t[j7]&&(t[j7]=s7(t[j7]));let n=super.extractPrimaryTimeComponents(e,t);if(n){let e=(t[M7]||``).toLowerCase(),r=t[0].toLowerCase(),i=e===`م`||e===`pm`||e===`p`||e===`p.m.`||/(?:مساءً|مساء|ليلاً|ليلا|عصراً|عصرا)/.test(r),a=e===`ص`||e===`am`||e===`a`||e===`a.m.`||/(?:صباحاً|صباحا)/.test(r),o=/(?:ظهراً|ظهرا)/.test(r);if(i){let e=n.get(`hour`);e<12&&n.assign(`hour`,e+12),n.assign(`meridiem`,X.PM)}else if(a)n.get(`hour`)===12&&n.assign(`hour`,0),n.assign(`meridiem`,X.AM);else if(o){let e=n.get(`hour`);e<12&&e!==0&&n.assign(`hour`,e+12),n.assign(`meridiem`,X.PM)}}return n}extractFollowingTimeComponents(e,t,n){t[O7]&&(t[O7]=s7(t[O7])),t[k7]&&(t[k7]=s7(t[k7])),t[A7]&&(t[A7]=s7(t[A7])),t[j7]&&(t[j7]=s7(t[j7]));let r=super.extractFollowingTimeComponents(e,t,n);if(r){let e=(t[M7]||``).toLowerCase(),i=t[0].toLowerCase(),a=e===`م`||e===`pm`||e===`p`||e===`p.m.`||/(?:مساءً|مساء|ليلاً|ليلا|عصراً|عصرا)/.test(i),o=e===`ص`||e===`am`||e===`a`||e===`a.m.`||/(?:صباحاً|صباحا)/.test(i),s=/(?:ظهراً|ظهرا)/.test(i);if(a){let e=r.get(`hour`);e<12&&r.assign(`hour`,e+12),r.assign(`meridiem`,X.PM)}else if(o)r.get(`hour`)===12&&r.assign(`hour`,0),r.assign(`meridiem`,X.AM);else if(s){let e=r.get(`hour`);e<12&&e!==0&&r.assign(`hour`,e+12),r.assign(`meridiem`,X.PM)}n.start.isCertain(`meridiem`)||(a?(n.start.imply(`meridiem`,X.PM),n.start.get(`hour`)<12&&n.start.assign(`hour`,n.start.get(`hour`)+12)):o&&(n.start.imply(`meridiem`,X.AM),n.start.get(`hour`)===12&&n.start.assign(`hour`,0)))}return r}},lfe=class extends C7{innerPatternString(e){return`(?:(?:منذ|قبل)\\s*(${x7})|(${x7})\\s*(?:مضت|سابقاً))`}innerExtract(e,t){let n=y$(S7(t[1]||t[2]));return Z.createRelativeFromReference(e.reference,n)}},ufe=class extends C7{innerPatternString(e){return`(?:(?:بعد)\\s*(${x7})(?:\\s*من\\s*الآن)?|(${x7})\\s*(?:من\\s*الآن|لاحقاً|لاحقا))`}innerExtract(e,t){let n=S7(t[1]||t[2]);return Z.createRelativeFromReference(e.reference,n)}},dfe=class extends C7{innerPatternString(e){return`(?:في\\s*خلال|في\\s*غضون|في\\s*ظرف|خلال)\\s*(${x7})`}innerExtract(e,t){let n=S7(t[1]);return Z.createRelativeFromReference(e.reference,n)}},ffe=1,pfe=2,mfe=3,hfe=class extends C7{innerPatternString(e){return`(?:في\\s+)?(?:(هذا|هذه)\\s+)?(الشهر|الاسبوع|الأسبوع|العام|السنة)(?:\\s+(الماضي|الماضية|السابق|السابقة|المنصرم|المنصرمة|القادم|القادمة|المقبل|المقبلة|التالي|التالية))?`}innerExtract(e,t){(t[ffe]||``).toLowerCase();let n=t[pfe].toLowerCase(),r=(t[mfe]||``).toLowerCase(),i=`month`;if(n===`الاسبوع`||n===`الأسبوع`?i=`week`:(n===`العام`||n===`السنة`)&&(i=`year`),r===`القادم`||r===`القادمة`||r===`المقبل`||r===`المقبلة`||r===`التالي`||r===`التالية`){let t={};return t[i]=1,Z.createRelativeFromReference(e.reference,t)}if(r===`الماضي`||r===`الماضية`||r===`السابق`||r===`السابقة`||r===`المنصرم`||r===`المنصرمة`){let t={};return t[i]=-1,Z.createRelativeFromReference(e.reference,t)}let a=e.createParsingComponents(),o=new Date(e.reference.instant.getTime());return i===`week`?(o.setDate(o.getDate()-o.getDay()),a.imply(`day`,o.getDate()),a.imply(`month`,o.getMonth()+1),a.imply(`year`,o.getFullYear())):i===`month`?(o.setDate(1),a.imply(`day`,o.getDate()),a.assign(`year`,o.getFullYear()),a.assign(`month`,o.getMonth()+1)):i===`year`&&(o.setDate(1),o.setMonth(0),a.imply(`day`,o.getDate()),a.imply(`month`,o.getMonth()+1),a.assign(`year`,o.getFullYear())),a}},gfe=class extends X1{patternBetween(){return RegExp(`^\\s*(T|في\\s*تمام|في|الساعة|ساعة|,|-)?\\s*$`,`iu`)}},_fe=class extends K1{patternBetween(){return/^\s*(إلى|وحتى|حتى|-|–)\s*$/iu}},vfe=new O2(yfe());new O2(N7(!0));function yfe(e=!0){let t=N7(!1,e);return t.parsers.unshift(new Xde),t.parsers.unshift(new Zde),t.parsers.unshift(new afe),t.parsers.unshift(new hfe),t}function N7(e=!0,t=!0){return E0({parsers:[new o2(t),new dfe,new rfe,new tfe,new cfe(e),new lfe,new ufe],refiners:[new gfe,new _fe]},e)}var bfe=1,P7=2,xfe=3,F7=4,I7=5,Sfe=6,Cfe=class extends ${innerPattern(e){return RegExp(`(现在|立(?:刻|即)|即刻)|(今|明|前|大前|后|大后|昨)(早|晚)|(上(?:午)|早(?:上)|下(?:午)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨))|(今|明|前|大前|后|大后|昨)(?:日|天)(?:[\\s|,|,]*)(?:(上(?:午)|早(?:上)|下(?:午)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨)))?`,`i`)}innerExtract(e,t){let n=t.index,r=e.createParsingResult(n,t[0]),i=e.refDate,a=new Date(i.getTime());if(t[bfe])r.start.imply(`hour`,i.getHours()),r.start.imply(`minute`,i.getMinutes()),r.start.imply(`second`,i.getSeconds()),r.start.imply(`millisecond`,i.getMilliseconds());else if(t[P7]){let e=t[P7],n=t[xfe];e==`明`?i.getHours()>1&&a.setDate(a.getDate()+1):e==`昨`?a.setDate(a.getDate()-1):e==`前`?a.setDate(a.getDate()-2):e==`大前`?a.setDate(a.getDate()-3):e==`后`?a.setDate(a.getDate()+2):e==`大后`&&a.setDate(a.getDate()+3),n==`早`?r.start.imply(`hour`,6):n==`晚`&&(r.start.imply(`hour`,22),r.start.imply(`meridiem`,1))}else if(t[F7]){let e=t[F7][0];e==`早`||e==`上`?r.start.imply(`hour`,6):e==`下`?(r.start.imply(`hour`,15),r.start.imply(`meridiem`,1)):e==`中`?(r.start.imply(`hour`,12),r.start.imply(`meridiem`,1)):e==`夜`||e==`晚`?(r.start.imply(`hour`,22),r.start.imply(`meridiem`,1)):e==`凌`&&r.start.imply(`hour`,0)}else if(t[I7]){let e=t[I7];e==`明`?i.getHours()>1&&a.setDate(a.getDate()+1):e==`昨`?a.setDate(a.getDate()-1):e==`前`?a.setDate(a.getDate()-2):e==`大前`?a.setDate(a.getDate()-3):e==`后`?a.setDate(a.getDate()+2):e==`大后`&&a.setDate(a.getDate()+3);let n=t[Sfe];if(n){let e=n[0];e==`早`||e==`上`?r.start.imply(`hour`,6):e==`下`?(r.start.imply(`hour`,15),r.start.imply(`meridiem`,1)):e==`中`?(r.start.imply(`hour`,12),r.start.imply(`meridiem`,1)):e==`夜`||e==`晚`?(r.start.imply(`hour`,22),r.start.imply(`meridiem`,1)):e==`凌`&&r.start.imply(`hour`,0)}}return r.start.assign(`day`,a.getDate()),r.start.assign(`month`,a.getMonth()+1),r.start.assign(`year`,a.getFullYear()),r}},L7={零:0,〇:0,一:1,二:2,两:2,三:3,四:4,五:5,六:6,七:7,八:8,九:9,十:10},R7={天:0,日:0,一:1,二:2,三:3,四:4,五:5,六:6};function z7(e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];r===`十`?t=t===0?L7[r]:t*L7[r]:t+=L7[r]}return t}function wfe(e){let t=``;for(let n=0;n<e.length;n++){let r=e[n];t+=L7[r]}return parseInt(t)}var B7=1,V7=2,H7=3,Tfe=class extends ${patternLeftBoundary(){return`()`}innerPattern(){return RegExp(`(\\d{2,4}|[`+Object.keys(L7).join(``)+`]{4}|[`+Object.keys(L7).join(``)+`]{2})?(?:\\s*)(?:年)?(?:[\\s|,|,]*)(\\d{1,2}|[`+Object.keys(L7).join(``)+`]{1,3})(?:\\s*)(?:月)(?:\\s*)(\\d{1,2}|[`+Object.keys(L7).join(``)+`]{1,3})?(?:\\s*)(?:日|号)?`)}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=parseInt(t[V7]);if(isNaN(r)&&(r=z7(t[V7])),n.start.assign(`month`,r),t[H7]){let e=parseInt(t[H7]);isNaN(e)&&(e=z7(t[H7])),n.start.assign(`day`,e)}else n.start.imply(`day`,e.refDate.getDate());if(t[B7]){let e=parseInt(t[B7]);isNaN(e)&&(e=wfe(t[B7])),n.start.assign(`year`,e)}else n.start.imply(`year`,e.refDate.getFullYear());return n}},Efe=RegExp(`(\\d+|[`+Object.keys(L7).join(``)+`]+|半|几)(?:\\s*)(?:个)?(秒(?:钟)?|分钟|小时|钟|日|天|星期|礼拜|月|年)(?:(?:之|过)?后|(?:之)?内)`,`i`),U7=1,Dfe=2,Ofe=class extends ${patternLeftBoundary(){return`()`}innerPattern(){return Efe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=parseInt(t[U7]);if(isNaN(r)&&(r=z7(t[U7])),isNaN(r)){let e=t[U7];if(e===`几`)r=3;else if(e===`半`)r=.5;else return null}let i={},a=t[Dfe][0];if(a.match(/[日天星礼月年]/)){a==`日`||a==`天`?i.day=r:a==`星`||a==`礼`?i.week=r:a==`月`?i.month=r:a==`年`&&(i.year=r);let t=v$(e.refDate,i);return n.start.assign(`year`,t.getFullYear()),n.start.assign(`month`,t.getMonth()+1),n.start.assign(`day`,t.getDate()),n}a==`秒`?i.second=r:a==`分`?i.minute=r:(a==`小`||a==`钟`)&&(i.hour=r);let o=v$(e.refDate,i);return n.start.imply(`year`,o.getFullYear()),n.start.imply(`month`,o.getMonth()+1),n.start.imply(`day`,o.getDate()),n.start.assign(`hour`,o.getHours()),n.start.assign(`minute`,o.getMinutes()),n.start.assign(`second`,o.getSeconds()),n}},kfe=RegExp(`(\\d+|[`+Object.keys(L7).join(``)+`]+|半|几)(?:\\s*)(?:个)?(秒(?:钟)?|分钟|小时|钟|日|天|星期|礼拜|月|年)(?:之)?前`,`i`),W7=1,Afe=2,jfe=class extends ${patternLeftBoundary(){return`()`}innerPattern(){return kfe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=parseInt(t[W7]);if(isNaN(r)&&(r=z7(t[W7])),isNaN(r)){let e=t[W7];if(e===`几`)r=3;else if(e===`半`)r=.5;else return null}let i={},a=t[Afe][0];if(a.match(/[日天星礼月年]/)){a==`日`||a==`天`?i.day=r:a==`星`||a==`礼`?i.week=r:a==`月`?i.month=r:a==`年`&&(i.year=r),i=y$(i);let t=v$(e.refDate,i);return n.start.assign(`year`,t.getFullYear()),n.start.assign(`month`,t.getMonth()+1),n.start.assign(`day`,t.getDate()),n}a==`秒`?i.second=r:a==`分`?i.minute=r:(a==`小`||a==`钟`)&&(i.hour=r),i=y$(i);let o=v$(e.refDate,i);return n.start.imply(`year`,o.getFullYear()),n.start.imply(`month`,o.getMonth()+1),n.start.imply(`day`,o.getDate()),n.start.assign(`hour`,o.getHours()),n.start.assign(`minute`,o.getMinutes()),n.start.assign(`second`,o.getSeconds()),n}},Mfe=RegExp(`(?<prefix>上|下|这)(?:个)?(?:星期|礼拜|周)(?<weekday>`+Object.keys(R7).join(`|`)+`)`),Nfe=class extends ${innerPattern(){return Mfe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=R7[t.groups.weekday];if(r===void 0)return null;let i=null,a=t.groups.prefix;a==`上`?i=`last`:a==`下`?i=`next`:a==`这`&&(i=`this`);let o=new Date(e.refDate.getTime()),s=!1,c=o.getDay();if(i==`last`||i==`past`)o.setDate(o.getDate()+(r-7-c)),s=!0;else if(i==`next`)o.setDate(o.getDate()+(r+7-c)),s=!0;else if(i==`this`)o.setDate(o.getDate()+(r-c));else{let e=r-c;Math.abs(e-7)<Math.abs(e)&&(e-=7),Math.abs(e+7)<Math.abs(e)&&(e+=7),o.setDate(o.getDate()+e)}return n.start.assign(`weekday`,r),s?(n.start.assign(`day`,o.getDate()),n.start.assign(`month`,o.getMonth()+1),n.start.assign(`year`,o.getFullYear())):(n.start.imply(`day`,o.getDate()),n.start.imply(`month`,o.getMonth()+1),n.start.imply(`year`,o.getFullYear())),n}},Pfe=RegExp(`(?:从|自)?(?:(今|明|前|大前|后|大后|昨)(早|朝|晚)|(上(?:午)|早(?:上)|下(?:午)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨))|(今|明|前|大前|后|大后|昨)(?:日|天)(?:[\\s,,]*)(?:(上(?:午)|早(?:上)|下(?:午)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨)))?)?(?:[\\s,,]*)(?:(\\d+|[`+Object.keys(L7).join(``)+`]+)(?:\\s*)(?:点|时|:|:)(?:\\s*)(\\d+|半|正|整|[`+Object.keys(L7).join(``)+`]+)?(?:\\s*)(?:分|:|:)?(?:\\s*)(\\d+|[`+Object.keys(L7).join(``)+`]+)?(?:\\s*)(?:秒)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?`,`i`),Ffe=RegExp(`(?:^\\s*(?:到|至|\\-|\\–|\\~|\\〜)\\s*)(?:(今|明|前|大前|后|大后|昨)(早|朝|晚)|(上(?:午)|早(?:上)|下(?:午)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨))|(今|明|前|大前|后|大后|昨)(?:日|天)(?:[\\s,,]*)(?:(上(?:午)|早(?:上)|下(?:午)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨)))?)?(?:[\\s,,]*)(?:(\\d+|[`+Object.keys(L7).join(``)+`]+)(?:\\s*)(?:点|时|:|:)(?:\\s*)(\\d+|半|正|整|[`+Object.keys(L7).join(``)+`]+)?(?:\\s*)(?:分|:|:)?(?:\\s*)(\\d+|[`+Object.keys(L7).join(``)+`]+)?(?:\\s*)(?:秒)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?`,`i`),G7=1,K7=2,q7=3,J7=4,Y7=5,X7=6,Z7=7,Q7=8,$7=9,Ife=class extends ${patternLeftBoundary(){return`()`}innerPattern(){return Pfe}innerExtract(e,t){if(t.index>0&&e.text[t.index-1].match(/\w/))return null;let n=e.createParsingResult(t.index,t[0]),r=new Date(e.reference.instant.getTime());if(t[G7]){let i=t[G7];i==`明`?e.reference.instant.getHours()>1&&r.setDate(r.getDate()+1):i==`昨`?r.setDate(r.getDate()-1):i==`前`?r.setDate(r.getDate()-2):i==`大前`?r.setDate(r.getDate()-3):i==`后`?r.setDate(r.getDate()+2):i==`大后`&&r.setDate(r.getDate()+3),n.start.assign(`day`,r.getDate()),n.start.assign(`month`,r.getMonth()+1),n.start.assign(`year`,r.getFullYear())}else if(t[J7]){let e=t[J7];e==`明`?r.setDate(r.getDate()+1):e==`昨`?r.setDate(r.getDate()-1):e==`前`?r.setDate(r.getDate()-2):e==`大前`?r.setDate(r.getDate()-3):e==`后`?r.setDate(r.getDate()+2):e==`大后`&&r.setDate(r.getDate()+3),n.start.assign(`day`,r.getDate()),n.start.assign(`month`,r.getMonth()+1),n.start.assign(`year`,r.getFullYear())}else n.start.imply(`day`,r.getDate()),n.start.imply(`month`,r.getMonth()+1),n.start.imply(`year`,r.getFullYear());let i=0,a=0,o=-1;if(t[Q7]){let e=parseInt(t[Q7]);if(isNaN(e)&&(e=z7(t[Q7])),e>=60)return null;n.start.assign(`second`,e)}if(i=parseInt(t[X7]),isNaN(i)&&(i=z7(t[X7])),t[Z7]?t[Z7]==`半`?a=30:t[Z7]==`正`||t[Z7]==`整`?a=0:(a=parseInt(t[Z7]),isNaN(a)&&(a=z7(t[Z7]))):i>100&&(a=i%100,i=Math.floor(i/100)),a>=60||i>24)return null;if(i>=12&&(o=1),t[$7]){if(i>12)return null;let e=t[$7][0].toLowerCase();e==`a`&&(o=0,i==12&&(i=0)),e==`p`&&(o=1,i!=12&&(i+=12))}else if(t[K7]){let e=t[K7][0];e==`早`?(o=0,i==12&&(i=0)):e==`晚`&&(o=1,i!=12&&(i+=12))}else if(t[q7]){let e=t[q7][0];e==`上`||e==`早`||e==`凌`?(o=0,i==12&&(i=0)):(e==`下`||e==`晚`)&&(o=1,i!=12&&(i+=12))}else if(t[Y7]){let e=t[Y7][0];e==`上`||e==`早`||e==`凌`?(o=0,i==12&&(i=0)):(e==`下`||e==`晚`)&&(o=1,i!=12&&(i+=12))}n.start.assign(`hour`,i),n.start.assign(`minute`,a),o>=0?n.start.assign(`meridiem`,o):i<12?n.start.imply(`meridiem`,0):n.start.imply(`meridiem`,1);let s=Ffe.exec(e.text.substring(n.index+n.text.length));if(!s)return n.text.match(/^\d+$/)?null:n;let c=new Date(r.getTime());if((s[G7]||s[J7])&&(c=new Date(e.reference.instant.getTime())),n.end=e.createParsingComponents(),s[G7]){let t=s[G7];t==`明`?e.reference.instant.getHours()>1&&c.setDate(c.getDate()+1):t==`昨`?c.setDate(c.getDate()-1):t==`前`?c.setDate(c.getDate()-2):t==`大前`?c.setDate(c.getDate()-3):t==`后`?c.setDate(c.getDate()+2):t==`大后`&&c.setDate(c.getDate()+3),n.end.assign(`day`,c.getDate()),n.end.assign(`month`,c.getMonth()+1),n.end.assign(`year`,c.getFullYear())}else if(s[J7]){let e=s[J7];e==`明`?c.setDate(c.getDate()+1):e==`昨`?c.setDate(c.getDate()-1):e==`前`?c.setDate(c.getDate()-2):e==`大前`?c.setDate(c.getDate()-3):e==`后`?c.setDate(c.getDate()+2):e==`大后`&&c.setDate(c.getDate()+3),n.end.assign(`day`,c.getDate()),n.end.assign(`month`,c.getMonth()+1),n.end.assign(`year`,c.getFullYear())}else n.end.imply(`day`,c.getDate()),n.end.imply(`month`,c.getMonth()+1),n.end.imply(`year`,c.getFullYear());if(i=0,a=0,o=-1,s[Q7]){let e=parseInt(s[Q7]);if(isNaN(e)&&(e=z7(s[Q7])),e>=60)return null;n.end.assign(`second`,e)}if(i=parseInt(s[X7]),isNaN(i)&&(i=z7(s[X7])),s[Z7]?s[Z7]==`半`?a=30:s[Z7]==`正`||s[Z7]==`整`?a=0:(a=parseInt(s[Z7]),isNaN(a)&&(a=z7(s[Z7]))):i>100&&(a=i%100,i=Math.floor(i/100)),a>=60||i>24)return null;if(i>=12&&(o=1),s[$7]){if(i>12)return null;let e=s[$7][0].toLowerCase();e==`a`&&(o=0,i==12&&(i=0)),e==`p`&&(o=1,i!=12&&(i+=12)),n.start.isCertain(`meridiem`)||(o==0?(n.start.imply(`meridiem`,0),n.start.get(`hour`)==12&&n.start.assign(`hour`,0)):(n.start.imply(`meridiem`,1),n.start.get(`hour`)!=12&&n.start.assign(`hour`,n.start.get(`hour`)+12)))}else if(s[K7]){let e=s[K7][0];e==`早`?(o=0,i==12&&(i=0)):e==`晚`&&(o=1,i!=12&&(i+=12))}else if(s[q7]){let e=s[q7][0];e==`上`||e==`早`||e==`凌`?(o=0,i==12&&(i=0)):(e==`下`||e==`晚`)&&(o=1,i!=12&&(i+=12))}else if(s[Y7]){let e=s[Y7][0];e==`上`||e==`早`||e==`凌`?(o=0,i==12&&(i=0)):(e==`下`||e==`晚`)&&(o=1,i!=12&&(i+=12))}return n.text+=s[0],n.end.assign(`hour`,i),n.end.assign(`minute`,a),o>=0?n.end.assign(`meridiem`,o):n.start.isCertain(`meridiem`)&&n.start.get(`meridiem`)==1&&n.start.get(`hour`)>i?n.end.imply(`meridiem`,0):i>12&&n.end.imply(`meridiem`,1),n.end.date().getTime()<n.start.date().getTime()&&!n.end.isCertain(`day`)&&n.end.addDurationAsImplied({day:1}),n}},Lfe=RegExp(`(?:星期|礼拜|周)(?<weekday>`+Object.keys(R7).join(`|`)+`)`),Rfe=class extends ${innerPattern(){return Lfe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=R7[t.groups.weekday];if(r===void 0)return null;let i=new Date(e.refDate.getTime()),a=r-i.getDay();return Math.abs(a-7)<Math.abs(a)&&(a-=7),Math.abs(a+7)<Math.abs(a)&&(a+=7),i.setDate(i.getDate()+a),n.start.assign(`weekday`,r),n.start.imply(`day`,i.getDate()),n.start.imply(`month`,i.getMonth()+1),n.start.imply(`year`,i.getFullYear()),n}},zfe=class extends K1{patternBetween(){return/^\s*(至|到|-|~|~|-|ー)\s*$/i}},Bfe=class extends X1{patternBetween(){return/^\s*$/i}};new O2(e9());var Vfe=new O2(e9());new O2(t9());function e9(){let e=t9();return e.parsers.unshift(new Cfe),e}function t9(){let e=E0({parsers:[new Tfe,new Nfe,new Rfe,new Ife,new Ofe,new jfe],refiners:[new zfe,new Bfe]});return e.refiners=e.refiners.filter(e=>!(e instanceof i0)),e}var Hfe=1,n9=2,Ufe=3,r9=4,i9=5,Wfe=6,Gfe=class extends ${innerPattern(e){return RegExp(`(而家|立(?:刻|即)|即刻)|(今|明|前|大前|後|大後|聽|昨|尋|琴)(早|朝|晚)|(上(?:午|晝)|朝(?:早)|早(?:上)|下(?:午|晝)|晏(?:晝)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨))|(今|明|前|大前|後|大後|聽|昨|尋|琴)(?:日|天)(?:[\\s|,|,]*)(?:(上(?:午|晝)|朝(?:早)|早(?:上)|下(?:午|晝)|晏(?:晝)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨)))?`,`i`)}innerExtract(e,t){let n=t.index,r=e.createParsingResult(n,t[0]),i=e.refDate,a=new Date(i.getTime());if(t[Hfe])r.start.imply(`hour`,i.getHours()),r.start.imply(`minute`,i.getMinutes()),r.start.imply(`second`,i.getSeconds()),r.start.imply(`millisecond`,i.getMilliseconds());else if(t[n9]){let e=t[n9],n=t[Ufe];e==`明`||e==`聽`?i.getHours()>1&&a.setDate(a.getDate()+1):e==`昨`||e==`尋`||e==`琴`?a.setDate(a.getDate()-1):e==`前`?a.setDate(a.getDate()-2):e==`大前`?a.setDate(a.getDate()-3):e==`後`?a.setDate(a.getDate()+2):e==`大後`&&a.setDate(a.getDate()+3),n==`早`||n==`朝`?r.start.imply(`hour`,6):n==`晚`&&(r.start.imply(`hour`,22),r.start.imply(`meridiem`,1))}else if(t[r9]){let e=t[r9][0];e==`早`||e==`朝`||e==`上`?r.start.imply(`hour`,6):e==`下`||e==`晏`?(r.start.imply(`hour`,15),r.start.imply(`meridiem`,1)):e==`中`?(r.start.imply(`hour`,12),r.start.imply(`meridiem`,1)):e==`夜`||e==`晚`?(r.start.imply(`hour`,22),r.start.imply(`meridiem`,1)):e==`凌`&&r.start.imply(`hour`,0)}else if(t[i9]){let e=t[i9];e==`明`||e==`聽`?i.getHours()>1&&a.setDate(a.getDate()+1):e==`昨`||e==`尋`||e==`琴`?a.setDate(a.getDate()-1):e==`前`?a.setDate(a.getDate()-2):e==`大前`?a.setDate(a.getDate()-3):e==`後`?a.setDate(a.getDate()+2):e==`大後`&&a.setDate(a.getDate()+3);let n=t[Wfe];if(n){let e=n[0];e==`早`||e==`朝`||e==`上`?r.start.imply(`hour`,6):e==`下`||e==`晏`?(r.start.imply(`hour`,15),r.start.imply(`meridiem`,1)):e==`中`?(r.start.imply(`hour`,12),r.start.imply(`meridiem`,1)):e==`夜`||e==`晚`?(r.start.imply(`hour`,22),r.start.imply(`meridiem`,1)):e==`凌`&&r.start.imply(`hour`,0)}}return r.start.assign(`day`,a.getDate()),r.start.assign(`month`,a.getMonth()+1),r.start.assign(`year`,a.getFullYear()),r}},a9={零:0,一:1,二:2,兩:2,三:3,四:4,五:5,六:6,七:7,八:8,九:9,十:10,廿:20,卅:30},o9={天:0,日:0,一:1,二:2,三:3,四:4,五:5,六:6};function s9(e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];r===`十`?t=t===0?a9[r]:t*a9[r]:t+=a9[r]}return t}function Kfe(e){let t=``;for(let n=0;n<e.length;n++){let r=e[n];t+=a9[r]}return parseInt(t)}var c9=1,l9=2,u9=3,qfe=class extends ${patternLeftBoundary(){return`()`}innerPattern(){return RegExp(`(\\d{2,4}|[`+Object.keys(a9).join(``)+`]{4}|[`+Object.keys(a9).join(``)+`]{2})?(?:\\s*)(?:年)?(?:[\\s|,|,]*)(\\d{1,2}|[`+Object.keys(a9).join(``)+`]{1,2})(?:\\s*)(?:月)(?:\\s*)(\\d{1,2}|[`+Object.keys(a9).join(``)+`]{1,2})?(?:\\s*)(?:日|號)?`)}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=parseInt(t[l9]);if(isNaN(r)&&(r=s9(t[l9])),n.start.assign(`month`,r),t[u9]){let e=parseInt(t[u9]);isNaN(e)&&(e=s9(t[u9])),n.start.assign(`day`,e)}else n.start.imply(`day`,e.refDate.getDate());if(t[c9]){let e=parseInt(t[c9]);isNaN(e)&&(e=Kfe(t[c9])),n.start.assign(`year`,e)}else n.start.imply(`year`,e.refDate.getFullYear());return n}},Jfe=RegExp(`(\\d+|[`+Object.keys(a9).join(``)+`]+|半|幾)(?:\\s*)(?:個)?(秒(?:鐘)?|分鐘|小時|鐘|日|天|星期|禮拜|月|年)(?:(?:之|過)?後|(?:之)?內)`,`i`),d9=1,Yfe=2,Xfe=class extends ${patternLeftBoundary(){return`()`}innerPattern(){return Jfe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=parseInt(t[d9]);if(isNaN(r)&&(r=s9(t[d9])),isNaN(r)){let e=t[d9];if(e===`幾`)r=3;else if(e===`半`)r=.5;else return null}let i={},a=t[Yfe][0];if(a.match(/[日天星禮月年]/)){a==`日`||a==`天`?i.day=r:a==`星`||a==`禮`?i.week=r:a==`月`?i.month=r:a==`年`&&(i.year=r);let t=v$(e.refDate,i);return n.start.assign(`year`,t.getFullYear()),n.start.assign(`month`,t.getMonth()+1),n.start.assign(`day`,t.getDate()),n}a==`秒`?i.second=r:a==`分`?i.minute=r:(a==`小`||a==`鐘`)&&(i.hour=r);let o=v$(e.refDate,i);return n.start.imply(`year`,o.getFullYear()),n.start.imply(`month`,o.getMonth()+1),n.start.imply(`day`,o.getDate()),n.start.assign(`hour`,o.getHours()),n.start.assign(`minute`,o.getMinutes()),n.start.assign(`second`,o.getSeconds()),n}},Zfe=RegExp(`(\\d+|[`+Object.keys(a9).join(``)+`]+|半|幾)(?:\\s*)(?:個)?(秒(?:鐘)?|分鐘|小時|鐘|日|天|星期|禮拜|月|年)(?:之)?前`,`i`),f9=1,Qfe=2,$fe=class extends ${patternLeftBoundary(){return`()`}innerPattern(){return Zfe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=parseInt(t[f9]);if(isNaN(r)&&(r=s9(t[f9])),isNaN(r)){let e=t[f9];if(e===`幾`)r=3;else if(e===`半`)r=.5;else return null}let i={},a=t[Qfe][0];if(a.match(/[日天星禮月年]/)){a==`日`||a==`天`?i.day=r:a==`星`||a==`禮`?i.week=r:a==`月`?i.month=r:a==`年`&&(i.year=r),i=y$(i);let t=v$(e.refDate,i);return n.start.assign(`year`,t.getFullYear()),n.start.assign(`month`,t.getMonth()+1),n.start.assign(`day`,t.getDate()),n}a==`秒`?i.second=r:a==`分`?i.minute=r:(a==`小`||a==`鐘`)&&(i.hour=r),i=y$(i);let o=v$(e.refDate,i);return n.start.imply(`year`,o.getFullYear()),n.start.imply(`month`,o.getMonth()+1),n.start.imply(`day`,o.getDate()),n.start.assign(`hour`,o.getHours()),n.start.assign(`minute`,o.getMinutes()),n.start.assign(`second`,o.getSeconds()),n}},epe=RegExp(`(?<prefix>上|今|下|這|呢)(?:個)?(?:星期|禮拜|週)(?<weekday>`+Object.keys(o9).join(`|`)+`)`),tpe=class extends ${innerPattern(){return epe}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=o9[t.groups.weekday];if(r===void 0)return null;let i=null,a=t.groups.prefix;a==`上`?i=`last`:a==`下`?i=`next`:(a==`今`||a==`這`||a==`呢`)&&(i=`this`);let o=new Date(e.refDate.getTime()),s=!1,c=o.getDay();if(i==`last`||i==`past`)o.setDate(o.getDate()+(r-7-c)),s=!0;else if(i==`next`)o.setDate(o.getDate()+(r+7-c)),s=!0;else if(i==`this`)o.setDate(o.getDate()+(r-c));else{let e=r-c;Math.abs(e-7)<Math.abs(e)&&(e-=7),Math.abs(e+7)<Math.abs(e)&&(e+=7),o.setDate(o.getDate()+e)}return n.start.assign(`weekday`,r),s?(n.start.assign(`day`,o.getDate()),n.start.assign(`month`,o.getMonth()+1),n.start.assign(`year`,o.getFullYear())):(n.start.imply(`day`,o.getDate()),n.start.imply(`month`,o.getMonth()+1),n.start.imply(`year`,o.getFullYear())),n}},npe=RegExp(`(?:由|從|自)?(?:(今|明|前|大前|後|大後|聽|昨|尋|琴)(早|朝|晚)|(上(?:午|晝)|朝(?:早)|早(?:上)|下(?:午|晝)|晏(?:晝)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨))|(今|明|前|大前|後|大後|聽|昨|尋|琴)(?:日|天)(?:[\\s,,]*)(?:(上(?:午|晝)|朝(?:早)|早(?:上)|下(?:午|晝)|晏(?:晝)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨)))?)?(?:[\\s,,]*)(?:(\\d+|[`+Object.keys(a9).join(``)+`]+)(?:\\s*)(?:點|時|:|:)(?:\\s*)(\\d+|半|正|整|[`+Object.keys(a9).join(``)+`]+)?(?:\\s*)(?:分|:|:)?(?:\\s*)(\\d+|[`+Object.keys(a9).join(``)+`]+)?(?:\\s*)(?:秒)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?`,`i`),rpe=RegExp(`(?:^\\s*(?:到|至|\\-|\\–|\\~|\\〜)\\s*)(?:(今|明|前|大前|後|大後|聽|昨|尋|琴)(早|朝|晚)|(上(?:午|晝)|朝(?:早)|早(?:上)|下(?:午|晝)|晏(?:晝)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨))|(今|明|前|大前|後|大後|聽|昨|尋|琴)(?:日|天)(?:[\\s,,]*)(?:(上(?:午|晝)|朝(?:早)|早(?:上)|下(?:午|晝)|晏(?:晝)|晚(?:上)|夜(?:晚)?|中(?:午)|凌(?:晨)))?)?(?:[\\s,,]*)(?:(\\d+|[`+Object.keys(a9).join(``)+`]+)(?:\\s*)(?:點|時|:|:)(?:\\s*)(\\d+|半|正|整|[`+Object.keys(a9).join(``)+`]+)?(?:\\s*)(?:分|:|:)?(?:\\s*)(\\d+|[`+Object.keys(a9).join(``)+`]+)?(?:\\s*)(?:秒)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?`,`i`),p9=1,m9=2,h9=3,g9=4,_9=5,v9=6,y9=7,b9=8,x9=9,ipe=class extends ${patternLeftBoundary(){return`()`}innerPattern(){return npe}innerExtract(e,t){if(t.index>0&&e.text[t.index-1].match(/\w/))return null;let n=e.createParsingResult(t.index,t[0]),r=new Date(e.reference.instant.getTime());if(t[p9]){let i=t[p9];i==`明`||i==`聽`?e.refDate.getHours()>1&&r.setDate(r.getDate()+1):i==`昨`||i==`尋`||i==`琴`?r.setDate(r.getDate()-1):i==`前`?r.setDate(r.getDate()-2):i==`大前`?r.setDate(r.getDate()-3):i==`後`?r.setDate(r.getDate()+2):i==`大後`&&r.setDate(r.getDate()+3),n.start.assign(`day`,r.getDate()),n.start.assign(`month`,r.getMonth()+1),n.start.assign(`year`,r.getFullYear())}else if(t[g9]){let e=t[g9];e==`明`||e==`聽`?r.setDate(r.getDate()+1):e==`昨`||e==`尋`||e==`琴`?r.setDate(r.getDate()-1):e==`前`?r.setDate(r.getDate()-2):e==`大前`?r.setDate(r.getDate()-3):e==`後`?r.setDate(r.getDate()+2):e==`大後`&&r.setDate(r.getDate()+3),n.start.assign(`day`,r.getDate()),n.start.assign(`month`,r.getMonth()+1),n.start.assign(`year`,r.getFullYear())}else n.start.imply(`day`,r.getDate()),n.start.imply(`month`,r.getMonth()+1),n.start.imply(`year`,r.getFullYear());let i=0,a=0,o=-1;if(t[b9]){var s=parseInt(t[b9]);if(isNaN(s)&&(s=s9(t[b9])),s>=60)return null;n.start.assign(`second`,s)}if(i=parseInt(t[v9]),isNaN(i)&&(i=s9(t[v9])),t[y9]?t[y9]==`半`?a=30:t[y9]==`正`||t[y9]==`整`?a=0:(a=parseInt(t[y9]),isNaN(a)&&(a=s9(t[y9]))):i>100&&(a=i%100,i=Math.floor(i/100)),a>=60||i>24)return null;if(i>=12&&(o=1),t[x9]){if(i>12)return null;var c=t[x9][0].toLowerCase();c==`a`&&(o=0,i==12&&(i=0)),c==`p`&&(o=1,i!=12&&(i+=12))}else if(t[m9]){var l=t[m9][0];l==`朝`||l==`早`?(o=0,i==12&&(i=0)):l==`晚`&&(o=1,i!=12&&(i+=12))}else if(t[h9]){var u=t[h9][0];u==`上`||u==`朝`||u==`早`||u==`凌`?(o=0,i==12&&(i=0)):(u==`下`||u==`晏`||u==`晚`)&&(o=1,i!=12&&(i+=12))}else if(t[_9]){var d=t[_9][0];d==`上`||d==`朝`||d==`早`||d==`凌`?(o=0,i==12&&(i=0)):(d==`下`||d==`晏`||d==`晚`)&&(o=1,i!=12&&(i+=12))}n.start.assign(`hour`,i),n.start.assign(`minute`,a),o>=0?n.start.assign(`meridiem`,o):i<12?n.start.imply(`meridiem`,0):n.start.imply(`meridiem`,1);let f=rpe.exec(e.text.substring(n.index+n.text.length));if(!f)return n.text.match(/^\d+$/)?null:n;let p=new Date(r.getTime());if((f[p9]||f[g9])&&(p=new Date(e.reference.instant.getTime())),n.end=e.createParsingComponents(),f[p9]){let t=f[p9];t==`明`||t==`聽`?e.refDate.getHours()>1&&p.setDate(p.getDate()+1):t==`昨`||t==`尋`||t==`琴`?p.setDate(p.getDate()-1):t==`前`?p.setDate(p.getDate()-2):t==`大前`?p.setDate(p.getDate()-3):t==`後`?p.setDate(p.getDate()+2):t==`大後`&&p.setDate(p.getDate()+3),n.end.assign(`day`,p.getDate()),n.end.assign(`month`,p.getMonth()+1),n.end.assign(`year`,p.getFullYear())}else if(f[g9]){let e=f[g9];e==`明`||e==`聽`?p.setDate(p.getDate()+1):e==`昨`||e==`尋`||e==`琴`?p.setDate(p.getDate()-1):e==`前`?p.setDate(p.getDate()-2):e==`大前`?p.setDate(p.getDate()-3):e==`後`?p.setDate(p.getDate()+2):e==`大後`&&p.setDate(p.getDate()+3),n.end.assign(`day`,p.getDate()),n.end.assign(`month`,p.getMonth()+1),n.end.assign(`year`,p.getFullYear())}else n.end.imply(`day`,p.getDate()),n.end.imply(`month`,p.getMonth()+1),n.end.imply(`year`,p.getFullYear());if(i=0,a=0,o=-1,f[b9]){let e=parseInt(f[b9]);if(isNaN(e)&&(e=s9(f[b9])),e>=60)return null;n.end.assign(`second`,e)}if(i=parseInt(f[v9]),isNaN(i)&&(i=s9(f[v9])),f[y9]?f[y9]==`半`?a=30:f[y9]==`正`||f[y9]==`整`?a=0:(a=parseInt(f[y9]),isNaN(a)&&(a=s9(f[y9]))):i>100&&(a=i%100,i=Math.floor(i/100)),a>=60||i>24)return null;if(i>=12&&(o=1),f[x9]){if(i>12)return null;var c=f[x9][0].toLowerCase();c==`a`&&(o=0,i==12&&(i=0)),c==`p`&&(o=1,i!=12&&(i+=12)),n.start.isCertain(`meridiem`)||(o==0?(n.start.imply(`meridiem`,0),n.start.get(`hour`)==12&&n.start.assign(`hour`,0)):(n.start.imply(`meridiem`,1),n.start.get(`hour`)!=12&&n.start.assign(`hour`,n.start.get(`hour`)+12)))}else if(f[m9]){var l=f[m9][0];l==`朝`||l==`早`?(o=0,i==12&&(i=0)):l==`晚`&&(o=1,i!=12&&(i+=12))}else if(f[h9]){var u=f[h9][0];u==`上`||u==`朝`||u==`早`||u==`凌`?(o=0,i==12&&(i=0)):(u==`下`||u==`晏`||u==`晚`)&&(o=1,i!=12&&(i+=12))}else if(f[_9]){var d=f[_9][0];d==`上`||d==`朝`||d==`早`||d==`凌`?(o=0,i==12&&(i=0)):(d==`下`||d==`晏`||d==`晚`)&&(o=1,i!=12&&(i+=12))}return n.text+=f[0],n.end.assign(`hour`,i),n.end.assign(`minute`,a),o>=0?n.end.assign(`meridiem`,o):n.start.isCertain(`meridiem`)&&n.start.get(`meridiem`)==1&&n.start.get(`hour`)>i?n.end.imply(`meridiem`,0):i>12&&n.end.imply(`meridiem`,1),n.end.date().getTime()<n.start.date().getTime()&&!n.end.isCertain(`day`)&&n.end.addDurationAsImplied({day:1}),n}},ape=RegExp(`(?:星期|禮拜|週)(?<weekday>`+Object.keys(o9).join(`|`)+`)`),ope=class extends ${innerPattern(){return ape}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),r=o9[t.groups.weekday];if(r===void 0)return null;let i=new Date(e.refDate.getTime()),a=r-i.getDay();return Math.abs(a-7)<Math.abs(a)&&(a-=7),Math.abs(a+7)<Math.abs(a)&&(a+=7),i.setDate(i.getDate()+a),n.start.assign(`weekday`,r),n.start.imply(`day`,i.getDate()),n.start.imply(`month`,i.getMonth()+1),n.start.imply(`year`,i.getFullYear()),n}},spe=class extends K1{patternBetween(){return/^\s*(至|到|\-|\~|~|-|ー)\s*$/i}},cpe=class extends X1{patternBetween(){return/^\s*$/i}};new O2(S9());var lpe=new O2(S9());new O2(C9());function S9(){let e=C9();return e.parsers.unshift(new Gfe),e}function C9(){let e=E0({parsers:[new qfe,new tpe,new ope,new ipe,new Xfe,new $fe],refiners:[new spe,new cpe]});return e.refiners=e.refiners.filter(e=>!(e instanceof i0)),e}var upe=new Set([`with`,`about`,`from`,`on`,`the`,`a`,`and`,`meeting`]),w9=e=>e.toLocaleLowerCase().split(/[^\p{L}\p{N}]+/u).filter(e=>e&&!upe.has(e)),T9={en:j2,de:b4,fr:l3,ja:Lae,pt:eoe,nl:Xoe,ru:bse,es:qse,uk:_ce,it:Tle,sv:Xle,fi:wue,vi:sde,id:Wde,ar:vfe,"zh-cn":Vfe,"zh-tw":lpe};function dpe(e,{now:t=new Date,locale:n=new Intl.DateTimeFormat().resolvedOptions().locale,language:r=n}={}){let i,a,o=e,s=(e=0)=>new Date(t.getFullYear(),t.getMonth(),t.getDate()+e),c=(t,n,r)=>{!Number.isFinite(n.getTime())||!Number.isFinite(r.getTime())||r<=n||(i={start:n.getTime(),end:r.getTime()},a=t,o=(e.slice(0,t.start)+` `+e.slice(t.end)).replace(/\s+/g,` `).trim())},l=/\b(?:(this|last) (week|month)|(past|last) (\d+) (days?|weeks?))\b/i.exec(e);if(l){let e,r;if(l[4])e=s(1-Number(l[4])*(l[5].toLowerCase().startsWith(`week`)?7:1)),r=s(1);else if(l[2].toLowerCase()===`month`){let n=l[1].toLowerCase()===`last`?-1:0;e=new Date(t.getFullYear(),t.getMonth()+n,1),r=new Date(t.getFullYear(),t.getMonth()+n+1,1)}else{let i=new Intl.Locale(n),a=i.getWeekInfo?.().firstDay??i.weekInfo?.firstDay??1,o=-((t.getDay()-a+7)%7)-(l[1].toLowerCase()===`last`?7:0);e=s(o),r=s(o+7)}c({start:l.index,end:l.index+l[0].length},e,r)}else{let a=new Intl.DateTimeFormat(n).formatToParts(new Date(2001,10,22)).map(e=>e.type),o=a.indexOf(`day`)<a.indexOf(`month`),l=r.toLowerCase(),u=T9[l]??T9[l.split(`-`)[0]]??j2;u===j2&&o&&(u=M2);let d=e=>new Date(e.get(`year`),e.get(`month`)-1,e.get(`day`));for(let n of u.parse(e,t)){let t=d(n.start),r=d(n.end??n.start),a={start:n.index,end:n.index+n.text.trimEnd().length},l=e.slice(0,a.start),f=n.start.isCertain(`month`)&&!n.start.isCertain(`day`),p=n.start.isCertain(`weekday`)&&!n.start.isCertain(`day`),m=/\bin\s+$/i.exec(l);if(f){if(!m||n.end)continue;a.start=m.index}else if(p){if(/^\p{L}+\.?$/u.test(n.text.trim())&&e.trim()!==n.text.trim())continue;t>s()&&!/\b(next|this)\b/i.test(n.text)&&(t.setDate(t.getDate()-7),r.setDate(r.getDate()-7))}else if(!n.start.isCertain(`day`))continue;if(u!==j2&&u!==M2||![...n.text.matchAll(/\b(\d{1,2})\/(\d{1,2})(?:\/\d{4})?\b/g)].some(e=>Number(e[o?2:1])>12)){if(n.start.isCertain(`month`)&&!n.start.isCertain(`year`)&&!n.end?.isCertain(`year`)&&t>s()){let e=t.getMonth(),n=r.getMonth();if(t.setFullYear(t.getFullYear()-1),r.setFullYear(r.getFullYear()-1),t.getMonth()!==e||r.getMonth()!==n)continue}if(n.end){let e=/\bfrom\s+$/i.exec(l);e&&(a.start=e.index)}if(c(a,t,f?new Date(t.getFullYear(),t.getMonth()+1,1):new Date(r.getFullYear(),r.getMonth(),r.getDate()+1)),i)break}}}return{text:o,words:w9(o),date:i,...a?{dateSpan:a}:{}}}var E9=e=>e.trim().toLocaleLowerCase().replace(/\s+/g,` `),D9=e=>e.email?.trim()?`email:${n$(e.email)}`:`name:${E9(e.name)}`,O9=e=>[...new Map(e.map(e=>[D9(e),e])).values()],fpe=(e,t)=>(e.slice(0,t.start)+` `+e.slice(t.end)).replace(/\s+/g,` `).trim(),ppe=e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);function mpe(e,t,n=[],r={}){let i=O9(t),a=new Set(n.map(D9)),o=[];for(let t of i){let n=a.has(D9(t)),r=[t.email?.trim(),...n||t.name.trim().split(/\s+/).length>1?[t.name.trim()]:[]].filter(e=>!!e);for(let n of r){let r=RegExp(`(?<![\\p{L}\\p{N}@._+-])${ppe(n).replace(/\s+/g,`\\s+`)}(?![\\p{L}\\p{N}@._+-])`,`iu`).exec(e);if(r){o.push({person:t,start:r.index,end:r.index+r[0].length});break}}}let s=o.filter(e=>!o.some(t=>t!==e&&t.start===e.start&&t.end===e.end&&a.has(D9(t.person))&&!a.has(D9(e.person)))),c=s.filter(e=>!s.some(t=>t.start<=e.start&&t.end>=e.end&&t.end-t.start>e.end-e.start)),l=c.filter(e=>!c.some(t=>t!==e&&t.start<e.end&&t.end>e.start)),u=e;for(let e of l)u=u.slice(0,e.start)+` `.repeat(e.end-e.start)+u.slice(e.end);let d=dpe(u,r).dateSpan,f=[...u.matchAll(/[\p{L}\p{N}][\p{L}\p{N}@._+'’-]*/gu)],p=[];for(let t of i){if(l.some(e=>D9(e.person)===D9(t)))continue;let n=c.find(e=>D9(e.person)===D9(t));if(n){p.push(n);continue}let r=E9(t.name).split(/\s+/),i;f.forEach((n,a)=>{if(d&&n.index>=d.start&&n.index<d.end)return;let o=n[0].toLocaleLowerCase();if(!w9(o).length||o.length<3&&o!==r[0])return;let s=e=>{(!i||e-n.index>i.end-i.start)&&(i={person:t,start:n.index,end:e})};t.email&&n$(t.email).startsWith(o)&&s(n.index+n[0].length),r.forEach((t,n)=>{for(let t=0;a+t<f.length&&n+t<r.length;t++){let i=f[a+t];if(d&&i.index>=d.start&&i.index<d.end||t&&!/^\s+$/.test(e.slice(f[a+t-1].index+f[a+t-1][0].length,i.index))||!r[n+t].startsWith(i[0].toLocaleLowerCase()))break;s(i.index+i[0].length)}})}),i&&p.push(i)}return{text:u,matches:l,suggestions:p}}function hpe(e,t,n,r,i=[],a){let o=i.find(e=>e.id===a||e.aliases?.includes(a)),s=[...o?.attendees??[],...t,...i.filter(e=>e!==o).flatMap(e=>e.attendees)],c=new Set(s.filter(e=>e.email?.trim()).map(e=>E9(e.name))),l=[...n,{name:r,email:null},...s.filter(e=>E9(e.name)===E9(r))],u=O9(s).filter(e=>(e.email?.trim()||!c.has(E9(e.name)))&&!l.some(t=>t.email?.trim()&&e.email?.trim()?n$(t.email)===n$(e.email):E9(t.name)===E9(e.name))),{matches:d,suggestions:f}=mpe(e,u),p=new Set([...d,...f].filter(t=>!fpe(e,t)).map(e=>D9(e.person)));return u.filter(e=>p.has(D9(e))).slice(0,5)}function k9(e,t,n,r=!0){(0,U.useLayoutEffect)(()=>{let i=e.current,a=t.current;if(!i||!a||!r)return;let o=a.closest(`[data-testid="note"]`),s=()=>{let e=a.parentElement.getBoundingClientRect(),t=i.getBoundingClientRect().width,n=getComputedStyle(i).direction===`rtl`,r=Math.max(12,Math.min(n?e.right-t:e.left,innerWidth-t-12));i.style.insetInlineStart=`${n?e.right-r-t:r-e.left}px`;let s=Math.min(innerHeight,o?.getBoundingClientRect().bottom??innerHeight);i.style.setProperty(`--people-available-height`,`${Math.max(0,s-e.bottom-16)}px`)};s(),i.querySelector(`input, button, [tabindex="-1"]`)?.focus({preventScroll:!0});let c=new ResizeObserver(s);c.observe(a),o&&c.observe(o);let l=e=>{!i.contains(e.target)&&!a.contains(e.target)&&n(!1)};return window.addEventListener(`resize`,s),window.addEventListener(`scroll`,s,!0),document.addEventListener(`pointerdown`,l),()=>{c.disconnect(),window.removeEventListener(`resize`,s),window.removeEventListener(`scroll`,s,!0),document.removeEventListener(`pointerdown`,l)}},[e,t,n,r])}var A9=(e,t)=>e.trim().toLowerCase()===t.trim().toLowerCase(),gpe=e=>j9(e).split(/\s+/)[0]??e;function j9(e){let t=M9(e);return!t?.email||t.name!==t.email?t?.name??e:i$(t.email)}function M9(e){let t=e.replace(/\s+/g,` `).trim();if(!t)return null;let n=/<?([^\s<>@]+@[^\s<>@]+\.[^\s<>@]+)>?/.exec(t);return n?{name:t.replace(n[0],``).replace(/[,;]/g,` `).trim()||n[1],email:n[1]}:{name:t,email:null}}function N9(e,t,n=3){let r=e.filter(e=>!A9(e.name,t));if(!r.length)return W(`Me`);let i=r.slice(0,n).map(e=>gpe(e.name)).reduce((e,t)=>W(`{a}, {b}`,{a:e,b:t}));return r.length>n?W(`{name} + {more}`,{name:i,more:r.length-n}):i}function _pe(e,t){return e.some(e=>!A9(e.name,t))?N9(e,t,2):W(`Add attendees`)}function P9(){let[e,t]=(0,U.useState)(``);return(0,U.useEffect)(()=>{window.yogurt.settings.get().then(e=>t(e.myName||e.macName))},[]),e}function vpe({m:e}){let[t,n]=(0,U.useState)(!1),r=Pf(t),i=P9(),a=(0,U.useRef)(null),o=(0,U.useCallback)((e=!0)=>{n(!1),e&&a.current?.focus({preventScroll:!0})},[]);return(0,G.jsxs)(`div`,{className:`relative`,children:[(0,G.jsx)(`button`,{ref:a,"data-testid":`note-attendees`,"aria-haspopup":`dialog`,"aria-expanded":!!t,onClick:e=>n(t=>t?!1:e.detail>0?`pointer`:`keyboard`),title:e.attendees.map(e=>e.email?`${e.name} <${e.email}>`:e.name).join(`, `)||void 0,className:`note-chip flex items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted`,children:(0,G.jsxs)(`span`,{"data-testid":`note-attendees-summary`,className:`flex items-center gap-1.5`,children:[(0,G.jsx)(nv,{size:14,strokeWidth:1.75,"aria-hidden":`true`}),_pe(e.attendees,i)]})}),r.value&&(0,G.jsx)(ype,{m:e,me:i,motionProps:r.props,chip:a,onClose:o})]})}function ype({m:e,me:t,motionProps:n,chip:r,onClose:i}){let[a,o]=(0,U.useState)(``),[s,c]=(0,U.useState)(()=>!e.attendees.some(e=>!A9(e.name,t))),[l,u]=(0,U.useState)(!1),[d,f]=(0,U.useState)([]),[p,m]=(0,U.useState)([]),[h,g]=(0,U.useState)(null),_=(0,U.useId)(),v=hpe(a,d,e.attendees,t,p,e.eventId),y=v.findIndex(e=>D9(e)===h);(0,U.useEffect)(()=>{let t=0,n=()=>{let n=++t;window.yogurt.search.people().then(e=>{n===t&&f(e)},()=>{}),window.yogurt.calendar.day(e.eventStartedAt??e.startedAt).then(e=>{n===t&&m(e.status===`granted`?e.events:[])},()=>{n===t&&m([])})};n();let r=window.yogurt.meetings.onChange(n),i=window.yogurt.calendar.onChange(n);return()=>{t++,r(),i()}},[e.id,e.startedAt,e.eventStartedAt,e.eventId]);let b=(0,U.useRef)(null),x=(0,U.useRef)(null);k9(x,r,i,!n.inert),(0,U.useEffect)(()=>{x.current?.querySelector(`[role="option"][aria-selected="true"]`)?.scrollIntoView({block:`nearest`})},[h]),(0,U.useEffect)(()=>{s&&b.current?.focus({preventScroll:!0})},[s]);let S=async t=>{try{return await window.yogurt.meetings.setAttendees(e.id,t),!0}catch{return sQ.add({title:W(`Yogurt couldn't make that change. Try again.`)}),!1}},C=async(t=M9(a))=>{t&&(e.attendees.some(e=>t.email?.trim()&&e.email?.trim()?A9(e.email,t.email):A9(e.name,t.name))||await S([...e.attendees,t])&&(o(``),g(null),b.current?.focus()))},w=e=>{e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),i())},T=e.attendees.map((e,t)=>({p:e,i:t})).filter(({p:n})=>e.ownEmail&&n.email?n$(n.email)!==n$(e.ownEmail):!A9(n.name,t)),E=a$([{p:{name:t||W(`Me`),email:e.ownEmail??null},i:-1,mine:!0},...T]);return(0,G.jsxs)(`div`,{ref:x,"data-testid":`people-card`,...n,"data-anchor":`start`,role:`dialog`,"aria-label":W(`People`),onKeyDown:w,className:`people-card menu-entry absolute start-0 top-full z-30 mt-2 w-[min(340px,calc(100vw-48px))] rounded-lg border border-line bg-float text-ink shadow-[var(--shadow)]`,children:[(0,G.jsx)(`div`,{"data-testid":`people-list`,className:`people-list grouped-people overflow-y-auto p-1.5`,children:E.map(t=>(0,G.jsxs)(`section`,{"aria-label":t.label||W(`Other people`),children:[(0,G.jsx)(`h4`,{className:`company-heading`,title:t.domain||void 0,children:t.label||W(`Other people`)}),(0,G.jsx)(`ul`,{children:t.people.map(({p:t,i:n,mine:r})=>(0,G.jsx)(bpe,{name:j9(t.name),email:t.email,mine:r,onRename:r?void 0:r=>window.yogurt.meetings.renameAttendee(e.id,n,r,t),onRemove:r?void 0:()=>void S(e.attendees.filter((e,t)=>t!==n))},t.email||n))})]},t.domain))}),(0,G.jsxs)(`div`,{className:`border-t border-line ${s?`p-3`:``}`,children:[(0,G.jsxs)(`button`,{"data-testid":`people-add-open`,onClick:()=>{c(!0),b.current?.focus()},className:`flex w-full items-center gap-2 text-start text-[13px] text-muted ${s?`mb-2`:`h-11 px-4 hover:bg-card`}`,children:[(0,G.jsx)(z_,{size:14,"aria-hidden":`true`}),W(`Add an attendee`)]}),s&&(0,G.jsx)(`div`,{className:`people-add-field flex h-9 items-center rounded-md border border-line bg-card px-2.5`,children:(0,G.jsx)(`input`,{ref:b,"data-testid":`people-add`,value:a,onChange:e=>{o(e.target.value),g(null)},maxLength:200,role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":l&&v.length>0,"aria-controls":l&&v.length>0?_:void 0,"aria-activedescendant":l&&y>=0?`${_}-${y}`:void 0,onKeyDown:e=>{if(!e.nativeEvent.isComposing){if((e.key===`ArrowDown`||e.key===`ArrowUp`)&&v.length){e.preventDefault();let t=y<0?e.key===`ArrowDown`?0:v.length-1:(y+(e.key===`ArrowDown`?1:-1)+v.length)%v.length;g(D9(v[t]))}else e.key===`Enter`&&(e.preventDefault(),C(v[y]??M9(a)))}},placeholder:W(`Name or email`),"aria-label":W(`Add an attendee`),onFocus:()=>u(!0),onBlur:()=>u(!1),className:`h-full min-w-0 flex-1 bg-transparent text-[13px] outline-none placeholder:text-muted`})}),s&&l&&v.length>0&&(0,G.jsx)(`ul`,{id:_,role:`listbox`,"aria-label":W(`People`),className:`mt-1`,children:v.map((e,t)=>(0,G.jsxs)(`li`,{id:`${_}-${t}`,role:`option`,"aria-selected":t===y,onMouseDown:e=>e.preventDefault(),onMouseMove:()=>g(D9(e)),onClick:()=>void C(e),className:`person-row flex cursor-pointer items-center gap-2 rounded-md px-2.5 py-1.5 text-[13px] hover:bg-[var(--line)] ${t===y?`bg-[var(--line)]`:``}`,children:[(0,G.jsx)(nv,{size:14,"aria-hidden":`true`,className:`shrink-0 text-muted`}),(0,G.jsxs)(`span`,{className:`min-w-0`,children:[(0,G.jsx)(`span`,{className:`block truncate`,children:j9(e.name)}),e.email&&(0,G.jsx)(`span`,{className:`block truncate text-xs text-muted`,children:e.email})]})]},D9(e)))}),r$(l,a)&&(0,G.jsxs)(`p`,{"data-testid":`people-private`,className:`mt-2 flex items-start gap-2 text-xs leading-relaxed text-muted`,children:[(0,G.jsx)(x_,{size:12,strokeWidth:1.75,"aria-hidden":`true`,className:`mt-0.5 shrink-0`}),(0,G.jsx)(`span`,{children:W(`Nothing is sent. This is only for your notes.`)})]})]})]})}function bpe({name:e,email:t,mine:n,onRemove:r,onRename:i}){let a=(0,U.useRef)(null),o=()=>{c(!1),requestAnimationFrame(()=>a.current?.focus())},[s,c]=(0,U.useState)(!1),[l,u]=(0,U.useState)(e),[d,f]=(0,U.useState)(!1),p=async()=>{if(l.trim()&&!d){f(!0);try{if(!await i?.(l))throw Error(`Attendee no longer available`);o()}catch{sQ.add({title:W(`Yogurt couldn't make that change. Try again.`)})}finally{f(!1)}}};return(0,G.jsxs)(`li`,{"data-testid":`people-row`,"data-me":n?``:void 0,className:`person-row flex ${t?`min-h-[52px]`:`min-h-10`} items-center gap-2 rounded-md px-2.5 py-1.5`,children:[(0,G.jsx)(`span`,{className:`person-initials`,"aria-hidden":`true`,children:o$(e)}),(0,G.jsxs)(`div`,{className:`min-w-0 flex-1 text-[13px]`,title:t??void 0,children:[s?(0,G.jsx)(`input`,{"data-testid":`people-rename`,autoFocus:!0,value:l,disabled:d,maxLength:200,"aria-label":W(`Rename`),onChange:e=>u(e.target.value),onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),p()),e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),o())},className:`w-full rounded border border-line bg-card px-1 py-0.5`}):i?(0,G.jsx)(`button`,{ref:a,"data-testid":`people-name`,title:W(`Rename`),className:`block max-w-full truncate text-start`,onClick:()=>{u(e),c(!0)},children:e}):(0,G.jsxs)(`span`,{className:`block truncate`,children:[e,n&&(0,G.jsxs)(`span`,{className:`text-muted`,children:[` `,W(`(me)`)]})]}),t&&(0,G.jsx)(`span`,{"data-testid":`people-email`,className:`block truncate text-xs leading-[17px] text-muted`,children:t})]}),i&&!s&&(0,G.jsx)(`button`,{"data-testid":`people-edit`,"aria-label":W(`Rename`),title:W(`Rename`),onClick:()=>{u(e),c(!0)},className:`ghost-btn workspace-icon person-remove`,children:(0,G.jsx)(F_,{size:14,strokeWidth:1.75,"aria-hidden":`true`})}),r&&(0,G.jsx)(`button`,{"data-testid":`people-remove`,onClick:r,"aria-label":W(`Remove {name}`,{name:e}),title:W(`Remove`),className:`ghost-btn workspace-icon person-remove`,children:(0,G.jsx)(av,{size:14,strokeWidth:1.75,"aria-hidden":`true`})})]})}var xpe=6e5,Spe=(e,t,n)=>t!=null&&n>=e-6e5&&n<t;function Cpe(e,t){let[n,r]=(0,U.useState)(Date.now);return(0,U.useEffect)(()=>{let n,i=()=>{clearTimeout(n);let a=Date.now();r(a);let o=a<e-6e5?e-xpe:t!=null&&a<t?t:void 0;o!==void 0&&(n=setTimeout(i,Math.min(o-a,2147483647)))};return i(),window.addEventListener(`focus`,i),()=>{clearTimeout(n),window.removeEventListener(`focus`,i)}},[e,t]),Spe(e,t,n)}var F9,I9=!1;function wpe(){if(!I9){I9=!0;let e=()=>{F9=void 0};window.yogurt.calendar.onChange(e),window.addEventListener(`focus`,e)}if(!F9){let e=window.yogurt.calendar.list();F9=e,e.then(t=>{t.status!==`granted`&&F9===e&&(F9=void 0)},()=>{F9===e&&(F9=void 0)})}return F9}function Tpe(e){let[t,n]=(0,U.useState)(),[r,i]=(0,U.useState)(0),a=(0,U.useCallback)(()=>i(e=>e+1),[]),o=e.eventStartedAt??e.startedAt,s=`${e.id}/${e.eventId}/${o}`,c=window.yogurt.capabilities.calendar&&!!e.eventId;return(0,U.useEffect)(()=>{if(!c)return;let e=!0;Promise.all([window.yogurt.calendar.day(o).catch(()=>({status:`error`,events:[]})),wpe().catch(()=>null)]).then(([t,r])=>{e&&n({key:s,result:t,colors:Object.fromEntries((r?.calendars??[]).filter(e=>/^#[0-9a-f]{6}$/i.test(e.color??``)).map(e=>[e.id,e.color]))})});let t=window.yogurt.calendar.onChange(a);return window.addEventListener(`focus`,a),()=>{e=!1,t(),window.removeEventListener(`focus`,a)}},[c,s,o,r,a]),{details:c&&t?.key===s?t:void 0,refresh:a}}function L9(e,t){let n=new Date(e);return n.setDate(n.getDate()+t),n.getTime()}function Epe(e,t){return[...e].sort((e,n)=>Math.abs(e.start-t)-Math.abs(n.start-t)||e.start-n.start)}function Dpe({m:e}){let[t,n]=(0,U.useState)(!1),r=Pf(t),i=(0,U.useRef)(null),{details:a,refresh:o}=Tpe(e),s=(0,U.useCallback)(()=>{n(!1),i.current?.focus({preventScroll:!0})},[]);return(0,G.jsxs)(`div`,{className:`relative`,children:[(0,G.jsxs)(`button`,{ref:i,"data-testid":`note-date`,"aria-haspopup":`dialog`,"aria-expanded":!!t,onClick:e=>n(t=>t?!1:e.detail>0?`pointer`:`keyboard`),className:`note-chip flex items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted`,children:[(0,G.jsx)(_g,{size:14,strokeWidth:1.75,"aria-hidden":`true`}),jG(e.startedAt)]}),r.value&&(0,G.jsx)(Ope,{m:e,details:a,refreshLinked:o,chip:i,motionProps:r.props,onClose:s},e.id)]})}function Ope({m:e,details:t,refreshLinked:n,chip:r,motionProps:i,onClose:a}){let o=(0,U.useRef)(null),s=window.yogurt.capabilities.calendar,c=s&&!!e.eventId,[l,u]=(0,U.useState)(0),[d,f]=(0,U.useState)(!1),[p,m]=(0,U.useState)(e.eventStartedAt??e.startedAt),[h,g]=(0,U.useState)(t?.result),_=c?t?.result:h,v=(0,U.useRef)(c&&!t),[y,b]=(0,U.useState)(!1),x=(0,U.useRef)(null),[S,C]=(0,U.useState)(!1),w=cv(s&&!c&&!_),T=(0,U.useRef)(!1),E=(0,U.useRef)(null),D=(0,U.useRef)(null),O=(0,U.useRef)(null);k9(o,r,a,!i.inert);let k=(0,U.useRef)(new Map);t&&(t.result.status!==`granted`&&k.current.clear(),k.current.set(new Date(e.eventStartedAt??e.startedAt).toDateString(),t.result));let[A,j]=(0,U.useState)(e.eventId);if(A!==e.eventId){let n=e.eventStartedAt??e.startedAt;v.current=c&&!t,j(e.eventId),f(!1),m(n),g(k.current.get(new Date(n).toDateString()))}(0,U.useEffect)(()=>{if(!s||c)return;let e=!0;return window.yogurt.calendar.day(p).catch(()=>({status:`error`,events:[]})).then(t=>{e&&(t.status!==`granted`&&k.current.clear(),k.current.set(new Date(p).toDateString(),t),g(t))}),()=>{e=!1}},[s,c,p,l]);let M=e=>{g(k.current.get(new Date(e).toDateString())),m(e)};(0,U.useEffect)(()=>{d||M(e.eventStartedAt??e.startedAt)},[d,e.eventStartedAt,e.startedAt]);let N=new Date(e.eventStartedAt??e.startedAt).toDateString(),P=new Date(p).toDateString()===N?_:k.current.get(N),F=c?P?.events.find(t=>t.id===e.eventId||t.aliases?.includes(e.eventId))??(P?null:void 0):null;(0,U.useEffect)(()=>{if(!s||c)return;let e=()=>u(e=>e+1),t=window.yogurt.calendar.onChange(e);return window.addEventListener(`focus`,e),()=>{t(),window.removeEventListener(`focus`,e)}},[s,c]);let I=()=>c?n():u(e=>e+1),L=()=>void window.yogurt.calendar.connect().then(I,()=>c?n():g({status:`error`,events:[]})),R=_?.status===`granted`,ee=s&&!c&&(!_||R);(0,U.useEffect)(()=>{d&&T.current&&!c&&_&&!R&&O.current?.focus({preventScroll:!0})},[d,c,_,R]);let z=F?.start??(c?e.eventStartedAt:null)??e.startedAt,te=F?.end??(c?e.eventEndedAt:null),ne=F?.calendar??(c&&e.eventCalendarName?{name:e.eventCalendarName,source:e.eventCalendarSource}:null),re=Math.max(0,Math.round((e.durationMs??(e.endedAt?e.endedAt-e.startedAt:e.state===`recording`?Date.now()-e.startedAt:0))/6e4)),ie=Cpe(z,te),B=ie?F?.url?.trim():void 0,V=F?.calendar?.id?t?.colors[F.calendar.id]:void 0,ae=new Date(ee?p:z),H={month:`short`,day:`numeric`,...ae.getFullYear()===new Date().getFullYear()?{}:{year:`numeric`}},oe=ae.toLocaleDateString(xt(),{...H,weekday:`long`}),se=ae.toLocaleDateString(xt(),{...H,weekday:`short`});(0,U.useLayoutEffect)(()=>{let e=x.current;if(!e)return;let t=document.createElement(`canvas`).getContext(`2d`),n=()=>{t.font=getComputedStyle(e).font,C(t.measureText(oe).width>e.clientWidth)};n();let r=new ResizeObserver(n);return r.observe(e),()=>r.disconnect()},[oe,c]);let ce=w===`skeleton`?(0,G.jsx)(`div`,{className:`loading-content`,"data-loading-phase":w,"aria-busy":`true`,children:(0,G.jsxs)(`div`,{className:`loading-placeholder`,children:[(0,G.jsx)(`span`,{role:`status`,className:`sr-only`,children:W(`Looking at your calendar…`)}),(0,G.jsx)(`div`,{className:`loading-mask`,"aria-hidden":`true`,children:(0,G.jsx)(`span`,{className:`loading-bar`,style:{width:`65%`}})})]})}):null,le=_&&!R?(0,G.jsxs)(`div`,{className:`note-date-access flex flex-wrap items-center gap-x-3 gap-y-2`,children:[(0,G.jsx)(`p`,{role:`status`,className:`text-xs text-muted`,children:_.status===`error`?W(`Yogurt couldn't read your calendar`):W(`Calendar access is off`)}),(0,G.jsx)(`div`,{className:`ms-auto flex shrink-0`,children:(0,G.jsx)(`button`,{ref:O,className:`workspace-button`,onClick:_.status===`error`?I:L,children:_.status===`error`?W(`Try again`):_.status===`denied`?W(`Open System Settings`):W(`Connect calendar`)})})]}):null;return(0,G.jsx)(`div`,{ref:o,"data-testid":`note-date-card`,...i,"data-anchor":`start`,"data-picking":ee||d,role:`dialog`,"aria-label":W(`Date`),className:`people-card menu-entry note-date-card absolute start-0 top-full z-30 mt-2 w-[min(340px,calc(100vw-48px))] rounded-lg border border-line bg-float text-ink shadow-[var(--shadow)]`,onKeyDown:e=>{e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),c&&d?(f(!1),D.current?.focus({preventScroll:!0})):a())},children:(0,G.jsxs)(kpe,{view:`${e.eventId??`unlinked`}/${ee?`picker`:`details`}/${c?`linked`:_?.status??(w===`skeleton`?`skeleton`:`waiting`)}`,children:[!c&&(0,G.jsxs)(`div`,{className:`agenda-inspector-heading`,children:[(0,G.jsx)(`h3`,{ref:x,"data-testid":`note-date-heading`,tabIndex:-1,"aria-live":`polite`,"aria-label":oe,title:oe,children:S?se:oe}),(0,G.jsx)(`div`,{className:`flex shrink-0 items-center gap-1`,children:(R||d&&ee)&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`button`,{type:`button`,ref:E,className:`ghost-btn workspace-icon`,"data-testid":`note-date-previous`,"aria-label":W(`Previous day`),disabled:y,onClick:e=>{T.current=e.detail===0,f(!0),M(L9(p,-1))},children:(0,G.jsx)(Cg,{size:15,"aria-hidden":`true`})}),(0,G.jsx)(`button`,{type:`button`,className:`ghost-btn workspace-icon`,"data-testid":`note-date-next`,"aria-label":W(`Next day`),disabled:y,onClick:e=>{T.current=e.detail===0,f(!0),M(L9(p,1))},children:(0,G.jsx)(Tg,{size:15,"aria-hidden":`true`})})]})})]}),c&&(0,G.jsxs)(`div`,{className:`note-date-linked`,children:[(0,G.jsxs)(`button`,{type:`button`,ref:D,"data-testid":`note-date-events-toggle`,className:`note-date-event-toggle`,"aria-expanded":d,disabled:y,onClick:e=>{T.current=e.detail===0,f(e=>!e)},children:[(0,G.jsx)(`span`,{className:`note-date-color note-date-reveal`,"data-ready":!!V,"aria-hidden":`true`,style:{backgroundColor:V}}),(0,G.jsxs)(`span`,{className:`note-date-identity`,children:[(0,G.jsx)(`strong`,{title:F?.title||e.eventTitle||e.title,children:F?.title||e.eventTitle||e.title}),(0,G.jsx)(`span`,{className:`note-date-time`,children:te==null?`${MG(z)} · ${W(`{count} min`,{count:re})}`:NG(z,te)}),(ne?.name||v.current)&&(0,G.jsx)(`span`,{className:`note-date-calendar note-date-reveal`,"data-ready":!!ne?.name,title:ne?.name,children:ne?.name})]}),(0,G.jsx)(xg,{size:15,"aria-hidden":`true`})]}),(0,G.jsx)(`div`,{className:`accordion note-date-motion note-date-picker-motion`,"data-open":d,"aria-hidden":!d,inert:!d,children:(0,G.jsx)(`div`,{children:(0,G.jsx)(`div`,{className:`note-date-picker-space`,children:(0,G.jsx)(R9,{keyboard:T.current,open:d,m:e,day:p,result:_,loading:ce,previous:D,linking:y,onLinking:b,onLinked:()=>requestAnimationFrame(()=>(D.current??x.current)?.focus({preventScroll:!0}))})})})})]}),!c&&!ee&&(0,G.jsx)(`div`,{className:`accordion note-date-motion note-date-details-motion`,"data-open":!0,children:(0,G.jsx)(`div`,{children:(0,G.jsx)(`div`,{className:`note-date-details`,children:(0,G.jsxs)(`div`,{className:`agenda-inspector-line`,children:[(0,G.jsx)(jg,{size:15,"aria-hidden":`true`}),(0,G.jsx)(`div`,{children:(0,G.jsxs)(`p`,{children:[MG(z),te==null?` · ${W(`{count} min`,{count:re})}`:` – ${MG(te)}`]})})]})})})}),c&&(ie&&!_||B||_&&(!R||F===null))&&(0,G.jsx)(`div`,{className:`note-date-actions`,"aria-busy":!_,children:(0,G.jsxs)(`div`,{className:`note-date-reveal`,"data-ready":!!_,children:[R&&F===null&&(0,G.jsxs)(`div`,{className:`note-date-access flex items-center gap-3 text-xs text-muted`,children:[(0,G.jsx)(`p`,{role:`status`,children:W(`Calendar event unavailable`)}),(0,G.jsx)(`button`,{className:`text-action ms-auto`,onClick:I,children:W(`Try again`)})]}),B&&(0,G.jsx)(`div`,{className:`agenda-inspector-actions`,children:(0,G.jsxs)(`a`,{className:`workspace-button`,title:W(`Join meeting`),href:B,target:`_blank`,rel:`noreferrer`,children:[(0,G.jsx)(`span`,{children:W(`Join meeting`)}),(0,G.jsx)(zg,{size:12,"aria-hidden":`true`})]})}),_?.status!==`unsupported`&&le]})}),s&&!c&&_?.status!==`unsupported`&&!ee&&le,ee&&(0,G.jsx)(R9,{keyboard:T.current,m:e,day:p,result:_,loading:ce,previous:E,linking:y,onLinking:b,onLinked:()=>requestAnimationFrame(()=>(D.current??x.current)?.focus({preventScroll:!0}))})]})})}function R9({open:e=!0,keyboard:t,m:n,day:r,result:i,loading:a,previous:o,linking:s,onLinking:c,onLinked:l}){let[u,d]=(0,U.useState)(!1),f=(0,U.useRef)(null),p=(0,U.useRef)(null),m=P9();(0,U.useEffect)(()=>{e&&(f.current&&(f.current.scrollTop=0),t&&(f.current?.querySelector(`[data-event-id]`)??p.current??o.current)?.focus({preventScroll:!0}))},[e,t,i,o]),(0,U.useEffect)(()=>{e&&d(!1)},[e]);let h=async e=>{if(!s){c(!0),d(!1);try{await window.yogurt.meetings.linkEvent(n.id,e,r),l()}catch{d(!0)}finally{c(!1)}}},g=i?.events;return(0,G.jsxs)(`div`,{className:`note-date-picker`,children:[!n.eventId&&(!i||i.status===`granted`)&&(0,G.jsx)(Jh,{enabled:!!g?.length,children:(0,G.jsx)(`div`,{ref:f,"data-testid":`note-date-events`,className:`note-date-events`,role:`group`,"aria-label":W(`Select calendar event`),onKeyDown:e=>{if(![`ArrowDown`,`ArrowUp`,`Home`,`End`].includes(e.key))return;let t=Array.from(e.currentTarget.querySelectorAll(`button[data-event-id]:not(:disabled)`));if(!t.length)return;e.preventDefault();let n=t.indexOf(document.activeElement),r=e.key===`Home`?0:e.key===`End`?t.length-1:(n+(e.key===`ArrowDown`?1:-1)+t.length)%t.length;t[r].focus({preventScroll:!0}),t[r].scrollIntoView({block:`nearest`,container:`nearest`})},children:i?i.events.length?Epe(g,n.startedAt).map(e=>(0,G.jsx)(`button`,{"data-event-id":e.id,"data-testid":`note-date-event`,className:`note-date-event`,disabled:s,onClick:()=>void h(e.id),children:(0,G.jsxs)(`span`,{children:[(0,G.jsx)(`strong`,{children:e.title||W(`Meeting`)}),(0,G.jsxs)(`small`,{children:[MG(e.start),` – `,MG(e.end)]}),!!e.attendees.length&&(0,G.jsx)(`small`,{children:N9(e.attendees,m)})]})},e.id)):(0,G.jsx)(`p`,{"data-testid":`note-date-events-none`,title:W(`No events`),children:W(`No events`)}):a})}),n.eventId&&(0,G.jsxs)(`button`,{ref:p,"data-testid":`note-date-unlink`,className:`note-date-link`,disabled:s,onClick:()=>void h(null),children:[(0,G.jsx)(h_,{size:14,"aria-hidden":`true`}),(0,G.jsxs)(`span`,{children:[W(`Unlink calendar event`),(0,G.jsx)(`small`,{children:W(`Keep the title, attendees and notes.`)})]})]}),u&&(0,G.jsx)(`p`,{role:`alert`,className:`text-xs text-danger`,children:W(`Yogurt couldn't update the calendar link. Try again.`)})]})}var kpe=class extends U.Component{shell=(0,U.createRef)();body=(0,U.createRef)();animations=[];copy=null;stop=()=>{this.animations.forEach(e=>e.cancel()),this.animations=[],this.copy?.remove(),this.copy=null};getSnapshotBeforeUpdate(e){let t=this.shell.current,n=this.body.current;if(e.view===this.props.view||!t||!n||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches||!parseFloat(getComputedStyle(t).getPropertyValue(`--note-date-ms`)))return null;let r=n.cloneNode(!0);return r.inert=!0,r.setAttribute(`aria-hidden`,`true`),r.querySelectorAll(`[id],[data-testid],[autofocus]`).forEach(e=>{e.removeAttribute(`id`),e.removeAttribute(`data-testid`),e.removeAttribute(`autofocus`)}),r.classList.add(`note-date-retiring`),{height:t.getBoundingClientRect().height,copy:r}}componentDidUpdate(e,t,n){if(!n){window.matchMedia(`(prefers-reduced-motion: reduce)`).matches&&this.stop();return}this.stop();let r=this.shell.current,i=this.body.current;this.copy=n.copy,r.append(n.copy);let a=getComputedStyle(r),o={duration:parseFloat(a.getPropertyValue(`--note-date-ms`)),easing:a.getPropertyValue(`--note-date-ease`).trim()},s=[r.animate([{height:`${n.height}px`},{height:`${i.getBoundingClientRect().height}px`}],o),i.animate([{opacity:0},{opacity:1}],o),n.copy.animate([{opacity:1},{opacity:0}],o)];this.animations=s,Promise.all(s.map(e=>e.finished)).then(()=>{this.animations===s&&this.stop()},()=>{})}componentWillUnmount(){this.stop()}render(){return(0,G.jsx)(`div`,{ref:this.shell,className:`note-date-swap`,children:(0,G.jsx)(`div`,{ref:this.body,className:`agenda-inspector-content`,children:this.props.children})})}},z9=()=>Tv({mac:W(`Uses the microphone your Mac is set to`),other:W(`Uses the microphone your computer is set to`)}),Ape=1500,jpe=15e3,Mpe=8e3;function Npe({recording:e,paused:t}){let[n,r]=(0,U.useState)(),[i,a]=(0,U.useState)(!1),o=Pf(i),[s,c]=(0,U.useState)(null),l=(0,U.useRef)(null),u=(0,U.useRef)(null),d=(0,U.useRef)(void 0),f=(0,U.useCallback)(()=>window.yogurt.audio.mics().then(e=>{d.current=e,r(e)}).catch(()=>{}),[]);(0,U.useEffect)(()=>{f(),window.addEventListener(`focus`,f);let t=e?setInterval(f,jpe):void 0,n=window.yogurt.audio.onMics(({fellBack:e})=>{e&&c(d.current?.using??``),f()});return()=>{window.removeEventListener(`focus`,f),clearInterval(t),n()}},[e,f]),(0,U.useEffect)(()=>{if(s===null)return;let e=setTimeout(()=>c(null),Mpe);return()=>clearTimeout(e)},[s]),(0,U.useEffect)(()=>{e||c(null)},[e]),(0,U.useEffect)(()=>{if(!i)return;f();let e=setInterval(f,Ape),t=e=>{l.current?.contains(e.target)||a(!1)};return document.addEventListener(`mousedown`,t),()=>{clearInterval(e),document.removeEventListener(`mousedown`,t)}},[i,f]),(0,U.useEffect)(()=>{i&&l.current?.querySelector(`[role="menuitemradio"][aria-checked="true"], [role="menuitemradio"]`)?.focus()},[i]);let p=async e=>{a(!1),c(null),u.current?.focus(),n&&r({...n,choice:e,using:e?n.devices.find(t=>t.id===e)?.name??n.using:n.defaultName}),await window.yogurt.audio.setMic(e).catch(()=>!1),f()},m=e=>{let t=Array.from(l.current?.querySelectorAll(`[role="menuitemradio"]`)??[]),n=t.indexOf(document.activeElement);e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),a(!1),u.current?.focus()):e.key===`ArrowDown`?(e.preventDefault(),t[(n+1)%t.length]?.focus()):e.key===`ArrowUp`?(e.preventDefault(),t[(n-1+t.length)%t.length]?.focus()):e.key===`Home`?(e.preventDefault(),t[0]?.focus()):e.key===`End`?(e.preventDefault(),t.at(-1)?.focus()):e.key===`Tab`&&a(!1)},h=n?.using??W(`No microphone`),g=`flex w-full items-center gap-2.5 rounded-xl px-3 py-2 text-start text-sm hover:bg-[var(--line)] focus-visible:bg-[var(--line)] focus-visible:outline-none`,_=e=>(0,G.jsx)(yg,{size:15,"aria-hidden":`true`,className:`ms-auto shrink-0 ${e?``:`invisible`}`});return(0,G.jsxs)(`div`,{ref:l,className:`relative flex min-w-0 items-center gap-1.5`,children:[(0,G.jsxs)(`button`,{ref:u,"data-testid":`rec-mic-chip`,"aria-haspopup":`menu`,"aria-expanded":!!i,title:W(`Microphone`),onClick:e=>a(t=>t?!1:e.detail>0?`pointer`:`keyboard`),className:`bar-btn flex max-w-[220px] items-center gap-1.5 rounded-md px-1.5 py-0.5 hover:text-ink aria-expanded:text-ink`,children:[(0,G.jsx)(eY,{show:t?`paused`:`mic`,options:{mic:(0,G.jsx)(k_,{size:11}),paused:(0,G.jsx)(eK,{size:11,fill:`currentColor`,strokeWidth:0})}}),(0,G.jsx)(`span`,{"data-testid":`rec-mic`,className:`truncate`,children:t?W(`Recording paused`):h}),(0,G.jsx)(xg,{size:11,"aria-hidden":`true`,className:`shrink-0`})]}),s!==null&&(0,G.jsx)(`span`,{"data-testid":`rec-mic-note`,role:`status`,className:`text-ink`,children:W(`The selected microphone is unavailable, so recording is using your system microphone.`)}),o.value&&n&&(0,G.jsxs)(`div`,{"data-testid":`mic-menu`,...o.props,"data-anchor":`bottom-start`,role:`menu`,"aria-label":W(`Microphone`),onKeyDown:m,className:`menu-entry absolute bottom-full start-0 z-30 mb-2 w-72 rounded-xl border border-line bg-float p-1.5 text-ink shadow-[var(--shadow)]`,children:[(0,G.jsxs)(`button`,{role:`menuitemradio`,"aria-checked":n.choice===null,"data-testid":`mic-auto`,onClick:()=>void p(null),className:g,children:[(0,G.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,G.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[W(`Auto`),(0,G.jsx)(`span`,{"data-testid":`mic-auto-info`,title:z9(),"aria-label":z9(),className:`text-muted`,children:(0,G.jsx)(s_,{size:12,"aria-hidden":`true`})})]}),n.defaultName&&(0,G.jsx)(`span`,{"data-testid":`mic-auto-name`,className:`truncate text-xs text-muted`,children:n.defaultName})]}),_(n.choice===null)]}),n.devices.length>0&&(0,G.jsx)(`div`,{"aria-hidden":`true`,className:`mx-2 my-1 h-px bg-[var(--line)]`}),n.devices.map(e=>(0,G.jsxs)(`button`,{role:`menuitemradio`,"aria-checked":n.choice===e.id,"data-testid":`mic-option`,"data-id":e.id,onClick:()=>void p(e.id),className:g,children:[(0,G.jsx)(`span`,{className:`truncate`,children:e.name}),_(n.choice===e.id)]},e.id))]})]})}var Ppe=e=>W(e===`en`?`English`:`Multi-language`);function Fpe(){let[e,t]=(0,U.useState)(),[n,r]=(0,U.useState)(!1),i=Pf(n),a=(0,U.useRef)(null),o=(0,U.useRef)(null);(0,U.useEffect)(()=>{let e=()=>void window.yogurt.settings.get().then(e=>t(e.spoken)).catch(()=>{});return e(),window.addEventListener(`focus`,e),()=>window.removeEventListener(`focus`,e)},[]),(0,U.useEffect)(()=>{if(!n)return;let e=e=>{a.current?.contains(e.target)||r(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[n]),(0,U.useEffect)(()=>{if(!n)return;let e=e=>a.current?.querySelector(e);(e(`[role="menuitemradio"][aria-checked="true"]`)??e(`[role="menuitemradio"]`))?.focus()},[n]);let s=e=>{r(!1),o.current?.focus(),t(e),window.yogurt.settings.setSpoken(e).catch(()=>{})},c=e=>{let t=Array.from(a.current?.querySelectorAll(`[role="menuitemradio"]`)??[]),n=t.indexOf(document.activeElement);e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),r(!1),o.current?.focus()):e.key===`ArrowDown`?(e.preventDefault(),t[(n+1)%t.length]?.focus()):e.key===`ArrowUp`?(e.preventDefault(),t[(n-1+t.length)%t.length]?.focus()):e.key===`Home`?(e.preventDefault(),t[0]?.focus()):e.key===`End`?(e.preventDefault(),t.at(-1)?.focus()):e.key===`Tab`&&r(!1)};if(!e)return null;let l=`flex w-full items-center gap-2.5 rounded-xl px-3 py-2 text-start text-sm hover:bg-[var(--line)] focus-visible:bg-[var(--line)] focus-visible:outline-none`,u=e=>(0,G.jsx)(yg,{size:15,"aria-hidden":`true`,className:`ms-auto shrink-0 ${e?``:`invisible`}`}),d=W(`Yogurt listens for the language being spoken. Pick it for meetings that are not in English.`);return(0,G.jsxs)(`div`,{ref:a,className:`relative flex min-w-0 items-center`,children:[(0,G.jsxs)(`button`,{ref:o,"data-testid":`spoken-chip`,"aria-haspopup":`menu`,"aria-expanded":!!n,title:W(`Spoken language`),onClick:e=>r(t=>t?!1:e.detail>0?`pointer`:`keyboard`),className:`bar-btn flex items-center gap-1.5 rounded-md px-1.5 py-0.5 hover:text-ink aria-expanded:text-ink`,children:[(0,G.jsx)(d_,{size:11,"aria-hidden":`true`,className:`shrink-0`}),(0,G.jsx)(`span`,{"data-testid":`spoken-name`,className:`truncate`,children:Ppe(e)}),(0,G.jsx)(xg,{size:11,"aria-hidden":`true`,className:`shrink-0`})]}),i.value&&(0,G.jsxs)(`div`,{"data-testid":`spoken-menu`,...i.props,"data-anchor":`bottom-start`,role:`menu`,"aria-label":W(`Spoken language`),onKeyDown:c,className:`menu-entry absolute bottom-full start-0 z-30 mb-2 w-64 rounded-xl border border-line bg-float p-1.5 text-ink shadow-[var(--shadow)]`,children:[(0,G.jsxs)(`button`,{role:`menuitemradio`,"aria-checked":e===`en`,"data-testid":`spoken-en`,onClick:()=>s(`en`),className:l,children:[(0,G.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,G.jsx)(`span`,{children:W(`English only`)}),(0,G.jsx)(`span`,{className:`text-xs text-muted`,children:W(`Highest quality`)})]}),u(e===`en`)]}),(0,G.jsxs)(`button`,{role:`menuitemradio`,"aria-checked":e===`multi`,"data-testid":`spoken-multi`,onClick:()=>s(`multi`),className:l,children:[(0,G.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,G.jsx)(`span`,{children:W(`Multi-language`)}),(0,G.jsxs)(`span`,{className:`flex items-center gap-1.5 text-xs text-muted`,children:[W(`{count} languages supported`,{count:99}),(0,G.jsx)(`span`,{"data-testid":`spoken-multi-info`,title:d,"aria-label":d,children:(0,G.jsx)(s_,{size:12,"aria-hidden":`true`})})]})]}),u(e===`multi`)]})]})]})}function Ipe(){return null}var Lpe={folder:Yg,star:dee,heart:r_,flag:Gg,bookmark:see,briefcase:cee,users:pee,handshake:$g,message:D_,video:mee,calendar:_g,clock:jg,target:fee,lightbulb:p_,rocket:lee,code:Ng,palette:N_,megaphone:T_,graduation:Zg,book:oee,flask:qg,coffee:Fg,house:a_,plane:L_};function B9({appearance:e,size:t=16}){let n=Lpe[e.icon]??Yg;return(0,G.jsx)(`span`,{className:`folder-glyph`,"data-folder-icon":e.icon,"data-folder-color":e.color,"aria-hidden":`true`,children:(0,G.jsx)(n,{size:t,strokeWidth:1.75})})}function V9(e,t){let n=getComputedStyle(e.currentTarget).direction===`rtl`,r=e.key===`ArrowDown`?t:e.key===`ArrowUp`?-t:e.key===`ArrowRight`?n?-1:1:e.key===`ArrowLeft`?n?1:-1:0;if(!r&&e.key!==`Home`&&e.key!==`End`)return;let i=Array.from(e.currentTarget.querySelectorAll(`[role="radio"]:not(:disabled)`));if(!i.length)return;e.preventDefault();let a=i.indexOf(document.activeElement),o=e.key===`Home`?0:e.key===`End`?i.length-1:(a+r+i.length)%i.length;i[o].focus(),i[o].click()}function H9({value:e,onChange:t,disabled:n}){return(0,G.jsxs)(`div`,{className:`folder-choices`,children:[(0,G.jsx)(`div`,{className:`folder-choice-label`,children:W(`Icon`)}),(0,G.jsx)(`div`,{className:`folder-icon-grid`,role:`radiogroup`,"aria-label":W(`Icon`),onKeyDown:e=>V9(e,6),children:Object.keys(wt).map(r=>(0,G.jsx)(`button`,{type:`button`,role:`radio`,"aria-checked":r===e.icon,"data-dialog-focus":r===e.icon||void 0,"aria-label":W(wt[r]),title:W(wt[r]),tabIndex:r===e.icon?0:-1,disabled:n,"data-testid":`folder-icon-${r}`,onClick:()=>t({...e,icon:r}),children:(0,G.jsx)(B9,{appearance:{icon:r,color:e.color},size:20})},r))}),(0,G.jsx)(`div`,{className:`folder-choice-label`,children:W(`Color`)}),(0,G.jsx)(`div`,{className:`folder-color-grid`,role:`radiogroup`,"aria-label":W(`Color`),onKeyDown:e=>V9(e,1),children:Object.keys(Tt).map(r=>(0,G.jsx)(`button`,{type:`button`,role:`radio`,"aria-checked":r===e.color,"aria-label":W(Tt[r]),title:W(Tt[r]),tabIndex:r===e.color?0:-1,disabled:n,"data-testid":`folder-color-${r}`,"data-folder-color":r,onClick:()=>t({...e,color:r}),children:(0,G.jsx)(`span`,{})},r))})]})}var U9=`application/x-yogurt-meeting`;function W9(e){let[t,n]=(0,U.useState)();return(0,U.useEffect)(()=>{if(e===null)return;let t=0,r=()=>{let r=++t;(e?window.yogurt.folders.of(e):window.yogurt.folders.list()).then(e=>{r===t&&n(e)},()=>{})};r();let i=window.yogurt.folders.onChange(r),a=window.yogurt.meetings.onChange(r);return()=>{t++,i(),a()}},[e]),t}async function Rpe(e,t){return G9(e,t,!0)}async function G9(e,t,n){if((await Promise.allSettled([...new Set(t)].map(async t=>{if(await(n?window.yogurt.folders.add(e,t):window.yogurt.folders.remove(e,t)),(await window.yogurt.folders.of(t)).some(t=>t.id===e)!==n)throw Error(`Folder membership not updated`)}))).some(e=>e.status===`rejected`))throw Error(n?`Folder not added`:`Folder not removed`)}function K9(e,t,n){let r=e.filter(e=>t[e]?.includes(n)).length;return r===0?!1:r===e.length||`mixed`}var zpe=e=>e!==!0;function Bpe(e,t,n){let r=Object.entries(e).filter(([e,r])=>r.saving||r.source===n||K9(t,n,e)!==r.checked);return r.length===Object.keys(e).length?e:Object.fromEntries(r)}function q9({meetingId:e,meetingIds:t,memberships:n,suggestedId:r,onNew:i,testId:a,autoFocus:o=!1}){let s=W9(),c=(0,U.useRef)(null),l=s!==void 0;(0,U.useEffect)(()=>{o&&l&&(c.current?.querySelector(`[data-suggested]`)??c.current?.querySelector(`[role="menuitemcheckbox"], [role="menuitem"]`))?.focus()},[o,l]);let u=W9(n?null:e),d=(0,U.useMemo)(()=>t??(e?[e]:[]),[t,e]),f=(0,U.useMemo)(()=>n??{[e??``]:u?.map(e=>e.id)??[]},[n,e,u]),[p,m]=(0,U.useState)({}),h=(0,U.useRef)(!1),g=Object.values(p).some(e=>e.saving);(0,U.useEffect)(()=>{m(e=>Bpe(e,d,f))},[d,f,p]);let _=e=>e in p?p[e].checked:K9(d,f,e),v=async e=>{if(h.current||!d.length||!n&&!u)return;let t=zpe(_(e));h.current=!0,m(n=>({...n,[e]:{checked:t,saving:!0,source:f}}));try{await G9(e,d,t),m(t=>({...t,[e]:{...t[e],saving:!1}}))}catch{m(t=>{let n={...t};return delete n[e],n}),sQ.add({title:W(`Yogurt couldn't make that change. Try again.`)})}finally{h.current=!1}},y=`flex w-full items-center gap-2.5 rounded-xl px-3 py-2 text-start text-sm hover:bg-[var(--line)] focus-visible:bg-[var(--line)] focus-visible:outline-none`;return(0,G.jsxs)(`div`,{ref:c,"data-testid":a,role:`group`,"aria-label":W(`Folders`),children:[s?.map(e=>(0,G.jsxs)(`button`,{"data-suggested":e.id===r||void 0,role:`menuitemcheckbox`,"aria-checked":_(e.id),"aria-disabled":g||!n&&!u,"data-testid":`folder-option`,onClick:()=>void v(e.id),className:y,children:[(0,G.jsx)(B9,{appearance:e,size:15}),(0,G.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:e.name}),e.id===r&&(0,G.jsx)(`span`,{className:`shrink-0 text-[10px] text-muted`,children:W(`Suggested`)}),_(e.id)===!0&&(0,G.jsx)(yg,{size:15,"aria-hidden":`true`,className:`shrink-0 text-accent`}),_(e.id)===`mixed`&&(0,G.jsx)(j_,{size:15,"aria-hidden":`true`,className:`shrink-0 text-accent`})]},e.id)),(0,G.jsxs)(`button`,{role:`menuitem`,"data-testid":`folder-new`,disabled:g,onClick:i,className:`${y} ${s?.length?`folder-picker-new`:``}`,children:[(0,G.jsx)(z_,{size:15,"aria-hidden":`true`,className:`shrink-0 text-muted`}),W(`New folder…`)]})]})}function Vpe({meetingId:e,onNew:t,suggestion:n,row:r,rowFolders:i,children:a,onChoose:o}){let[s,c]=(0,U.useState)(null);(0,U.useEffect)(()=>{c(null);let t=0,n=()=>{let n=++t;window.yogurt.folders.suggestion(e).then(e=>{n===t&&c(e)},()=>{})};n();let r=window.yogurt.folders.onChange(n),i=window.yogurt.meetings.onChange(n);return()=>{t++,r(),i()}},[e]);let l=n??(s?{folder:s,dismiss:()=>c(null)}:void 0),u=W9(r?null:e),d=r?i:u,f=Mf(),[p,m]=(0,U.useState)(null),[h,g]=(0,U.useState)(!1),[_,v]=(0,U.useState)(!1),y=Pf(_),b=(0,U.useRef)(null),x=(0,U.useRef)(null),S=(0,U.useRef)(null);(0,U.useLayoutEffect)(()=>{let e=S.current;S.current=null,e&&document.activeElement===document.body&&(r?e:x.current)?.focus({preventScroll:!0})}),(0,U.useEffect)(()=>{l&&d?.length&&l.dismiss(),p?.phase===`settled`&&d?.length&&m(null)},[d,l,p]),(0,U.useEffect)(()=>{if(!_)return;let e=e=>{b.current?.contains(e.target)||v(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[_]);let C=e=>{let t=Array.from(b.current?.querySelectorAll(`[role="menuitemcheckbox"], [role="menuitem"]`)??[]),n=t.indexOf(document.activeElement);e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),v(!1),x.current?.focus()):e.key===`ArrowDown`?(e.preventDefault(),t[(n+1)%t.length]?.focus()):e.key===`ArrowUp`?(e.preventDefault(),t[(n-1+t.length)%t.length]?.focus()):e.key===`Tab`&&v(!1)},w=p&&!(p.phase===`settled`&&d?.length)?p:null,T=w?.folder??(d?.length===0?l?.folder:void 0),E=w?.phase===`accepted`||w?.phase===`settled`,D=T?.name??(d?.length?d.length===1?d[0].name:W(`{name} + {more}`,{name:d[0].name,more:d.length-1}):W(`Add to folder`)),O=()=>r?b.current?.closest(`li`)?.querySelector(`.native-meeting-link`):x.current,k=t=>{S.current=t??null,sQ.close(`folder-suggestion-${e}`),l?.dismiss(),c(null),v(!1)},A=async()=>{if(!T||h||w)return;let t=O();g(!0),m({folder:T,phase:`saving`});try{await window.yogurt.folders.dismissSuggestion(e),m({folder:T,phase:`dismissed`}),k(t)}catch{m(null),sQ.add({title:W(`Yogurt couldn't make that change. Try again.`)})}finally{g(!1)}},j=async()=>{if(!T||h||w)return;let t=O(),n=T.id;m({folder:T,phase:`saving`}),g(!0),sQ.close(`folder-suggestion-${e}`);try{if(await window.yogurt.folders.add(n,e),!(await window.yogurt.folders.of(e)).some(e=>e.id===n))throw Error(`Folder not added`);m({folder:T,phase:`accepted`}),k(t)}catch{m(null),sQ.add({id:`folder-suggestion-${e}`,data:{testId:`folder-suggestion-error`},title:W(`Yogurt couldn't add this note to the folder. Try again.`)})}finally{g(!1)}};(0,U.useEffect)(()=>{if(!p||p.phase===`saving`||p.phase===`settled`)return;let e=O(),t=setTimeout(()=>{S.current=e??null,m(p.phase===`accepted`?{...p,phase:`settled`}:null)},f?kf.micro:kf.base);return()=>clearTimeout(t)},[p,f]);let M=T??(d?.length===1?d[0]:void 0);if(r&&!T)return a;let N=(0,G.jsxs)(`button`,{ref:x,"data-testid":`note-folders`,"aria-haspopup":`menu`,"aria-expanded":o?void 0:!!_,onClick:e=>{o&&T?o(T.id):v(t=>t?!1:e.detail>0?`pointer`:`keyboard`)},title:T?.name??(d?.map(e=>e.name).join(`, `)||void 0),className:T?`note-folder-name`:`note-chip flex max-w-64 items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted`,children:[r&&T?(0,G.jsx)(`span`,{className:`meeting-folder-dot`,"data-folder-color":T.color,"aria-hidden":`true`}):M?(0,G.jsx)(B9,{appearance:M,size:14}):(0,G.jsx)(Yg,{size:14,"aria-hidden":`true`,className:`shrink-0`}),(0,G.jsx)(`span`,{"data-testid":`note-folders-summary`,className:`truncate`,children:D})]});return(0,G.jsxs)(`div`,{ref:b,className:r?`meeting-folder-suggestion`:`relative`,onClick:r?e=>e.stopPropagation():void 0,children:[T?(0,G.jsxs)(`div`,{"data-testid":`folder-suggestion`,role:`group`,"aria-label":W(E?`Folders`:`Suggested`),inert:w?.phase===`dismissed`,"data-phase":w?.phase,className:r?`meeting-folder-pill meeting-folder-proposal`:`note-chip note-folder-proposal flex items-center rounded-md border border-line text-[13px] text-muted`,children:[N,(0,G.jsxs)(`div`,{className:`note-folder-actions`,inert:E||w?.phase===`dismissed`,children:[(0,G.jsx)(`button`,{"data-testid":`folder-suggestion-cancel`,className:`ghost-btn workspace-icon`,disabled:h||!!w,onClick:()=>void A(),"aria-label":W(`Dismiss suggestion`),title:W(`Dismiss suggestion`),children:(0,G.jsx)(av,{size:r?12:15,"aria-hidden":`true`})}),(0,G.jsx)(`button`,{"data-testid":`folder-suggestion-confirm`,className:`ghost-btn workspace-icon`,disabled:h||!!w,onClick:()=>void j(),"aria-label":W(`Add to folder`),title:W(`Add to folder`),children:(0,G.jsx)(yg,{size:r?12:15,"aria-hidden":`true`})})]})]}):N,y.value&&(0,G.jsx)(`div`,{"data-testid":`folder-menu`,...y.props,"data-anchor":`start`,role:`menu`,"aria-label":W(`Add to folder`),onKeyDown:C,className:`menu-entry absolute start-0 top-full z-30 mt-2 max-h-80 w-60 overflow-y-auto rounded-xl border border-line bg-float p-1.5 shadow-[var(--shadow)]`,children:(0,G.jsx)(q9,{autoFocus:!0,testId:`folder-chip-list`,meetingId:e,suggestedId:T?.id,onNew:()=>{v(!1),t?.()}})})]})}function J9({folder:e,onDone:t}){let[n,r]=(0,U.useState)(e??Et),[i,a]=(0,U.useState)(e?.name??``),[o,s]=(0,U.useState)(!1),[c,l]=(0,U.useState)(!1),u=async()=>{if(i.trim()&&!o){s(!0),l(!1);try{if(e)await window.yogurt.folders.rename(e.id,i),t();else{let e=await window.yogurt.folders.create(i,n);if(!e)throw Error(`Folder not created`);t(e)}}catch{l(!0),s(!1)}}};return(0,G.jsx)(GJ,{testId:`folder-name`,title:W(e?`Rename folder`:`New folder`),description:e?void 0:W(`A meeting can be in more than one folder.`),onCancel:()=>t(),busy:o,children:(0,G.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),u()},children:[(0,G.jsxs)(`div`,{className:`people-add-field mx-5 mb-4 flex h-9 items-center gap-2 rounded-md border border-line bg-card px-2.5`,children:[(0,G.jsx)(B9,{appearance:n,size:15}),(0,G.jsx)(`input`,{"data-dialog-focus":!0,"data-testid":`folder-name-input`,value:i,onChange:e=>a(e.target.value),maxLength:200,placeholder:W(`Folder name`),"aria-label":W(`Folder name`),className:`h-full min-w-0 flex-1 bg-transparent text-[13px] outline-none placeholder:text-muted`})]}),!e&&(0,G.jsx)(H9,{value:n,onChange:r,disabled:o}),c&&(0,G.jsx)(`p`,{className:`modal-error`,role:`alert`,children:W(`Yogurt couldn't save this folder.`)}),(0,G.jsxs)(`div`,{className:`modal-actions`,children:[(0,G.jsx)(`button`,{"data-testid":`folder-name-save`,type:`submit`,disabled:o||!i.trim(),className:`modal-button primary`,children:W(e?`Rename`:`Create folder`)}),(0,G.jsx)(WJ,{"data-testid":`folder-name-cancel`,type:`button`,"data-dialog-cancel":!0,disabled:o,className:`workspace-button`,children:W(`Cancel`)})]})]})})}function Hpe({folder:e,onDone:t}){let[n,r]=(0,U.useState)(!1),[i,a]=(0,U.useState)(!1),o=async()=>{r(!0),a(!1);try{await window.yogurt.folders.delete(e.id),t(!0)}catch{a(!0),r(!1)}};return(0,G.jsxs)(GJ,{testId:`folder-delete-confirm`,role:`alertdialog`,title:W(`Delete “{name}”?`,{name:e.name}),description:W(`Only the folder is deleted. Its meetings stay in Meetings.`),onCancel:()=>t(!1),busy:n,children:[i&&(0,G.jsx)(`p`,{className:`modal-error`,role:`alert`,children:W(`Yogurt couldn't delete this folder.`)}),(0,G.jsxs)(`div`,{className:`modal-actions`,children:[(0,G.jsx)(`button`,{"data-testid":`folder-delete-yes`,onClick:()=>void o(),disabled:n,className:`modal-button danger`,children:W(`Delete folder`)}),(0,G.jsx)(WJ,{"data-testid":`folder-delete-cancel`,"data-dialog-cancel":!0,disabled:n,className:`workspace-button`,children:W(`Cancel`)})]})]})}function Upe({folder:e,onDone:t}){let[n,r]=(0,U.useState)({icon:e.icon,color:e.color}),[i,a]=(0,U.useState)(!1),[o,s]=(0,U.useState)(!1),c=async()=>{if(!i){a(!0),s(!1);try{if(!await window.yogurt.folders.appearance(e.id,n))throw Error(`Folder not saved`);t()}catch{s(!0),a(!1)}}};return(0,G.jsxs)(GJ,{testId:`folder-appearance`,title:W(`Change icon`),onCancel:t,busy:i,children:[(0,G.jsxs)(`div`,{className:`folder-appearance-preview`,children:[(0,G.jsx)(`span`,{className:`folder-preview-tile`,"data-folder-color":n.color,children:(0,G.jsx)(B9,{appearance:n,size:23})}),(0,G.jsx)(`strong`,{children:e.name})]}),(0,G.jsx)(H9,{value:n,onChange:r,disabled:i}),o&&(0,G.jsx)(`p`,{className:`modal-error`,role:`alert`,children:W(`Yogurt couldn't save this folder.`)}),(0,G.jsxs)(`div`,{className:`modal-actions`,children:[(0,G.jsx)(`button`,{"data-testid":`folder-appearance-save`,onClick:()=>void c(),disabled:i,className:`modal-button primary`,children:W(`Save`)}),(0,G.jsx)(WJ,{"data-dialog-cancel":!0,disabled:i,className:`workspace-button`,children:W(`Cancel`)})]})]})}function Y9(e,t,n,r){let[,i]=(0,U.useState)(0),a=(0,U.useMemo)(()=>new $Q(n=>t===`mine`?window.yogurt.notes.setMine(e,n.text,n.revision):window.yogurt.notes.setEnhanced(e,n.text,n.revision),n=>window.yogurt.notes.flushSync(e,t,n.text,n.revision)),[e,t]);return a.seed(n,r),(0,U.useEffect)(()=>(a.changed=()=>i(e=>e+1),t$(a)),[a]),{change:e=>a.change(e),flush:()=>a.flush(),status:a.status,reason:a.reason}}var X9=new Map;function Wpe({id:e,onTitleChange:t,at:n,folderSuggestion:r,onSource:i,onResumeRequested:a}){let[o,s]=(0,U.useState)(),[c,l]=(0,U.useState)(null);(0,U.useLayoutEffect)(()=>{if(!c)return;let e=()=>document.body.style.setProperty(`--note-footer-height`,`${innerHeight-c.getBoundingClientRect().top+16}px`);e();let t=new ResizeObserver(e);return t.observe(c),window.addEventListener(`resize`,e),()=>{t.disconnect(),window.removeEventListener(`resize`,e),document.body.style.removeProperty(`--note-footer-height`)}},[c]),(0,U.useEffect)(()=>{o&&t({id:o.id,title:o.title})},[o?.id,o?.title,t]);let[u,d]=(0,U.useState)(!1),[f,p]=(0,U.useState)(!1),[m,h]=(0,U.useState)(!1),[g,_]=(0,U.useState)(!1),[v,y]=(0,U.useState)(!1),[b,x]=(0,U.useState)(!1),[S,C]=(0,U.useState)(!1),[w,T]=(0,U.useState)(null),[E,D]=(0,U.useState)(),[O,k]=(0,U.useState)(!1),[A,j]=(0,U.useState)();(0,U.useEffect)(()=>{let t=!0,n=0;k(!1);let r=()=>{let r=++n;window.yogurt.transcript.get(e,{last:1}).then(e=>{t&&r===n&&k(e.some(e=>!!e.text.trim()))})},i=window.yogurt.transcript.onSegment(t=>{t.meetingId===e&&t.text.trim()&&(n++,k(!0))}),a=window.yogurt.transcript.onSpeakers(t=>{t===e&&r()});return r(),()=>{t=!1,i(),a()}},[e]),(0,U.useEffect)(()=>{let e=!0,t=!1,n=window.yogurt.setup.onState(e=>{t=!0,j(e)});return window.yogurt.setup.state().then(n=>{e&&!t&&j(n)}),()=>{e=!1,n()}},[]);let[M,N]=(0,U.useState)(()=>X9.get(e)?.view??`mine`),[P,F]=(0,U.useState)(!1),I=Mf(),L=ZQ(E,I),R=o?.id===e&&o.state!==`prepared`&&o.state!==`recording`&&!!E&&E.status!==`idle`,ee=P&&R&&I,z=ee?`enhanced`:M,te=(0,U.useRef)(X9.has(e)),ne=(0,U.useRef)(!1),[re,ie]=(0,U.useState)(()=>X9.get(e)?.primary??`notes`),B=ee?`notes`:re,V=Lv(`note/${e}/${z}`,!!o&&!!E&&B===`notes`);(0,U.useEffect)(()=>{o&&E&&X9.set(e,{primary:B,view:z})},[e,o,E,B,z]);let[ae,H]=(0,U.useState)(B===`transcript`);(0,U.useEffect)(()=>{B===`transcript`&&H(!0)},[B]);let[oe,se]=(0,U.useState)(!1),ce=(0,U.useRef)(null),le=(0,U.useRef)(null),ue=(0,U.useRef)(0);(0,U.useEffect)(()=>()=>{ue.current++,le.current?.skipTransition()},[e]);let de=(0,U.useRef)(null),fe=(0,U.useRef)(null),pe=(0,U.useRef)(null),me=(0,U.useRef)(null),[he,ge]=(0,U.useState)(!1),[_e,ve]=(0,U.useState)(!1),[ye,be]=(0,U.useState)(!1),[xe,Se]=(0,U.useState)(!1),[Ce,we]=(0,U.useState)(!1),[Te,Ee]=(0,U.useState)(null),[Oe,ke]=(0,U.useState)(null),Ae=(0,U.useRef)(void 0),[je,Me]=(0,U.useState)(null),Ne=je?.note,Pe=(0,U.useRef)(void 0);(0,U.useEffect)(()=>{if(n&&E&&o&&Pe.current!==n.seq&&(Pe.current=n.seq,te.current=!0,ie(n.ms===null?`notes`:`transcript`),n.ms===null)){let e=n.match&&pt([E.enhanced??``],n.match)>=0;N(R&&(e||!n.match)?`enhanced`:`mine`)}},[n?.seq,E,o,R]);let Fe=o?.id===e&&o.state===`recording`,Ie=async()=>{let t=!o?.paused;C(!0),T(null);try{await window.yogurt.meetings.setPaused(e,t)?s(await window.yogurt.meetings.get(e)):T(t?`pause`:`resume`)}catch{T(t?`pause`:`resume`)}finally{C(!1)}};(0,U.useEffect)(()=>{if(!Fe){Me(null);return}let t=t=>Me(t&&t.meetingId===e?t:null);return window.yogurt.widget.state().then(t),window.yogurt.widget.onState(t)},[e,Fe]),(0,U.useEffect)(()=>{let t=()=>void window.yogurt.meetings.get(e).then(s);return t(),window.yogurt.meetings.onChange(t)},[e]),(0,U.useEffect)(()=>{F(!1),se(!1),D(void 0),Ae.current=void 0,N(X9.get(e)?.view??`mine`),te.current=X9.has(e),ne.current=!1,ve(!1),ge(!1),be(!1),Se(!1),y(!1),x(!1);let t=t=>{let n=!Ae.current,{view:r,keptEdits:i}=FY(Ae.current,t);i&&window.yogurt.notes.keptEdits(e),Ae.current=r,D(r);let a=t.saves?.mine?.status===`failed`?`mine`:t.saves?.enhanced?.status===`failed`?`enhanced`:void 0;n&&a&&(te.current=!0,N(a),ie(`notes`)),t.status!==`idle`&&!te.current&&!ne.current&&N(`enhanced`)},n=window.yogurt.notes.onChange(n=>{n.meetingId===e&&t(n)});return window.yogurt.notes.get(e).then(t),n},[e]),(0,U.useEffect)(()=>{Ae.current=E},[E]),(0,U.useEffect)(()=>{o?.state!==`recording`&&(o?.stopSavePending||E?.status!==`idle`)&&h(!1)},[o?.state,o?.stopSavePending,E?.status]),(0,U.useEffect)(()=>{if(!P||!R)return;let e=()=>{qe(`notes`,`enhanced`,!0),me.current?.focus({preventScroll:!0})};if(I){e();return}let t=setTimeout(e,kf.micro);return()=>clearTimeout(t)},[e,P,R,I]);let Le=Y9(e,`mine`,E?.mine??``,E?.saves?.mine),Re=Y9(e,`enhanced`,E?.enhanced??``,E?.saves?.enhanced);(0,U.useLayoutEffect)(()=>{let e=de.current;if(!e)return;let t=()=>{let t=(B===`transcript`?fe:z===`enhanced`&&me.current?me:pe).current;if(!t)return;let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=getComputedStyle(e).direction===`rtl`?n.right-r.right:n.left-r.left;e.style.setProperty(`--tab-x`,`${i}px`),e.style.setProperty(`--tab-width`,`${n.width}px`)};t();let n=new ResizeObserver(t);n.observe(e);for(let e of[fe.current,pe.current,me.current])e&&n.observe(e);return()=>n.disconnect()},[B,z,o?.state,E?.status]);let ze=m||E?.status===`waiting`||E?.status===`writing`,Be=(0,U.useRef)(!1);if((0,U.useEffect)(()=>{a?Be.current||!o||!E||ze||f||o.stopSavePending||(Be.current=!0,a(),o.trashedAt!=null||o.stopSavePending||o.state!==`stopped`&&o.state!==`done`||Ze()):Be.current=!1},[a,o,E,ze,f]),!o||!E)return(0,G.jsx)(oK,{pending:!0,skeleton:(0,G.jsx)(sv,{layout:`note`}),className:`loading-note-frame`});let Ve=o.state===`recording`,He=o.trashedAt!=null,Ue=o.endedAt?Math.max(1,Math.round((o.durationMs??o.endedAt-o.startedAt)/6e4)):null,We=R?z:`mine`,Ge=e=>{te.current=!0,N(e),Le.flush(),Re.flush()},Ke=(e,t=!1)=>{se(t),e!==re&&(ie(e),e===`transcript`&&ge(!1),Le.flush(),Re.flush())},qe=(e,t,n=!1)=>{F(!1);let r=++ue.current;le.current?.skipTransition();let i=()=>{r===ue.current&&(Ke(e,n),t&&Ge(t))},a=ce.current;e===B&&(!t||t===We)||!a?.startViewTransition||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches?i():(le.current=a.startViewTransition(()=>(0,De.flushSync)(i)),le.current.ready.catch(()=>{}))},Je=e=>{if(![`ArrowLeft`,`ArrowRight`,`Home`,`End`].includes(e.key))return;e.preventDefault();let t=[fe.current,pe.current,...R?[me.current]:[]],n=getComputedStyle(e.currentTarget).direction===`rtl`?-1:1,r=e.key===`ArrowRight`?n:-n,i=t.indexOf(e.currentTarget),a=e.key===`Home`?0:e.key===`End`?t.length-1:(i+r+t.length)%t.length;t[a]?.click(),t[a]?.focus({preventScroll:!0})},Ye=async()=>(await Promise.all([Le.flush(),Re.flush()])).every(Boolean),Xe=async()=>{if(!f){p(!0),_(!1);try{if(!await Ye())return;let t=await window.yogurt.meetings.startPrepared(e);_(`error`in t),`error`in t||(ie(`notes`),N(`mine`))}catch{_(!0)}finally{p(!1)}}},Ze=async(t=!1)=>{if(!(f||ze)){if((E.edited||_e)&&!t)y(!0);else{y(!1),p(!0),x(!1);try{if(!await Ye())return;`error`in await window.yogurt.meetings.resume(e)?x(!0):(te.current=!1,F(!1),ie(`notes`),N(`mine`),ve(!1))}catch{x(!0)}finally{p(!1)}}}},Qe=Le.status===`failed`||Re.status===`failed`?`failed`:Le.status===`saving`||Re.status===`saving`?`saving`:`saved`,$e=async t=>{await Ye()&&(ve(!1),window.yogurt.notes.writeAgain(e,t))},et=!!E.enhanced?.trim(),tt=KQ({hasSummary:et,hasContent:O||!!E.mine.trim(),recording:Ve,busy:ze,downloading:!!(A?.notesDownloading||A?.notesError),trashed:He}),nt=()=>{tt&&!tt.reason&&(et?ge(!0):$e())};return(0,G.jsx)(oK,{pending:!1,skeleton:(0,G.jsx)(sv,{layout:`note`}),className:`loading-note-frame`,children:(0,G.jsxs)(`div`,{"data-testid":`note`,className:`document-main relative flex h-full bg-bg`,children:[v&&(0,G.jsx)(GJ,{testId:`resume-confirm`,role:`alertdialog`,title:W(`Record more in this note?`),description:W(`Your notes, transcript, and previous audio are kept. Your edited summary will be replaced when you finish recording.`),onCancel:()=>y(!1),children:(0,G.jsxs)(`div`,{className:`modal-actions`,children:[(0,G.jsx)(`button`,{"data-testid":`resume-yes`,onClick:()=>void Ze(!0),className:`modal-button primary`,children:W(`Resume recording`)}),(0,G.jsx)(WJ,{"data-dialog-cancel":!0,"data-testid":`resume-cancel`,className:`workspace-button`,children:W(`Cancel`)})]})}),(0,G.jsx)(`div`,{"data-testid":`note-topbar`,className:`note-topbar no-drag fixed end-4 top-[10px] z-[60]`,children:(0,G.jsx)(qQ,{generation:tt,hasSummary:et,edited:E.edited||_e,rewriteOpen:he,setRewriteOpen:ge,onWriteAgain:e=>{tt&&!tt.reason&&(Ke(`notes`),Ge(`enhanced`),$e(e))},recording:Ve,savePending:o.stopSavePending,trashed:He,onRename:()=>be(!0),onDelete:()=>{Ye().then(t=>{t&&(He?Se(!0):cQ(e,`/note/${e}`))})},folders:t=>(0,G.jsx)(q9,{testId:`note-menu-folders`,meetingId:e,onNew:()=>{t(),we(!0)}})},e)}),(0,G.jsxs)(`div`,{className:`note-layout relative flex min-w-0 flex-1 flex-col`,"data-tab-pointer":oe,children:[(0,G.jsxs)(`header`,{className:`note-header note-page-width`,children:[(0,G.jsx)(Gpe,{id:e,title:o.title,editing:ye,onEdit:be}),(0,G.jsxs)(`div`,{className:`note-meta-row`,children:[(0,G.jsxs)(`div`,{className:`note-metadata`,"data-testid":`note-metadata`,children:[(0,G.jsx)(Dpe,{m:o}),(0,G.jsx)(vpe,{m:o}),(0,G.jsx)(Vpe,{meetingId:e,onNew:()=>we(!0),suggestion:r})]}),(0,G.jsxs)(`div`,{"data-testid":Ve?`rec-bar`:`note-bar`,className:`note-header-actions`,children:[(0,G.jsxs)(`div`,{"data-testid":`note-state`,"data-state":o.state,"data-paused":!!o.paused,className:`note-recording-group`,"data-recording":Ve&&!m,role:`group`,"aria-label":Ve?o.paused?W(`Paused`):W(`Recording`):W(`Meeting controls`),children:[Ve&&!m&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`span`,{className:`note-recording-status`,children:[(0,G.jsx)(xQ,{height:14,bars:3,testId:`note-wave`,paused:!!o.paused,className:`text-muted`}),(0,G.jsx)(SQ,{view:je})]}),(0,G.jsx)(`button`,{"data-testid":`note-pause`,disabled:S,onClick:()=>{Ie()},"aria-label":o.paused?W(`Resume recording`):W(`Pause recording`),title:o.paused?W(`Resume recording`):W(`Pause recording`),className:`note-record-action note-pause-action`,children:(0,G.jsx)(eY,{show:o.paused?`play`:`pause`,options:{pause:(0,G.jsx)(eK,{size:14,fill:`currentColor`,strokeWidth:0}),play:(0,G.jsx)(tK,{size:14,fill:`currentColor`,strokeWidth:0})}})}),(0,G.jsx)(`button`,{"data-testid":`note-stop`,onClick:t=>{F(!0),te.current=!0,N(`mine`),h(!0),se(t.detail>0),window.yogurt.meetings.stop(e)},"aria-label":W(`Finish recording`),title:W(`Finish recording`),className:`note-record-action note-finish-action primary`,children:W(`Finish`)})]}),m&&(0,G.jsx)(`span`,{"data-testid":`note-finishing`,role:`status`,className:`note-finishing`,children:W(`Finishing…`)}),!m&&(o.state===`stopped`||o.state===`done`)&&!o.stopSavePending&&!He&&(0,G.jsxs)(`button`,{"data-testid":`note-resume`,disabled:f,"aria-busy":ze,"data-processing":ze,onClick:()=>{ze?window.yogurt.notes.stop(e).catch(console.error):Ze()},"aria-label":W(ze?`Stop summary`:`Resume recording`),className:`workspace-button note-resume-action`,title:W(ze?`Stop summary`:`Resume recording in this note`),children:[(0,G.jsx)(eY,{show:ze?`busy`:`mic`,options:{mic:(0,G.jsx)($G,{size:14}),busy:(0,G.jsxs)(`span`,{className:`summary-stop-icon`,children:[(0,G.jsx)(iK,{size:14}),(0,G.jsx)(`span`,{className:`summary-stop-square`})]})}}),(0,G.jsx)(tY,{text:W(ze?`Summarizing…`:f?`Preparing…`:`Resume recording`)})]}),o.state===`prepared`&&!He&&(0,G.jsxs)(`button`,{"data-testid":`note-start`,disabled:f,onClick:()=>{Xe()},className:`note-record-action primary`,children:[(0,G.jsx)($G,{size:14,strokeWidth:1.75,"aria-hidden":`true`}),W(f?`Starting…`:`Start recording`)]})]}),(0,G.jsx)(wQ,{id:e,shown:We,status:E.status,hasEnhanced:E.enhanced!=null,beforeUse:Ye})]})]}),He&&(0,G.jsxs)(`div`,{"data-testid":`note-trashed`,role:`status`,className:`mt-5 flex flex-wrap items-center gap-3 rounded-xl border border-line bg-card px-4 py-3 text-[13px] leading-relaxed`,children:[(0,G.jsx)(Z_,{size:16,"aria-hidden":`true`,className:`shrink-0 text-muted`}),(0,G.jsx)(`p`,{className:`min-w-48 flex-1`,children:W(`This note is in the Trash.`)}),(0,G.jsxs)(`button`,{"data-testid":`note-restore`,onClick:()=>void window.yogurt.meetings.restore(e),className:`workspace-button`,children:[(0,G.jsx)(H_,{size:13,"aria-hidden":`true`}),W(`Restore`)]})]}),(0,G.jsxs)(`div`,{ref:de,className:`note-primary-tabs`,"data-summary-arriving":P&&R&&!I,children:[(0,G.jsxs)(`div`,{role:`tablist`,"aria-label":W(`Meeting view`),className:`contents`,children:[(0,G.jsxs)(`button`,{ref:fe,id:`note-transcript-tab`,"data-testid":`note-transcript-toggle`,role:`tab`,"aria-selected":B===`transcript`,"aria-controls":`note-transcript-panel`,tabIndex:B===`transcript`?0:-1,onKeyDown:Je,onClick:e=>qe(`transcript`,void 0,e.detail>0),children:[(0,G.jsx)(dg,{size:14,strokeWidth:1.75,"aria-hidden":`true`}),W(`Transcript`)]}),(0,G.jsxs)(`button`,{ref:pe,id:`note-notes-tab`,"data-testid":`note-notes-tab`,role:`tab`,"aria-selected":B===`notes`&&We===`mine`,"aria-controls":`note-notes-panel`,"data-version":We,tabIndex:B===`notes`&&We===`mine`?0:-1,onKeyDown:Je,onClick:e=>qe(`notes`,`mine`,e.detail>0),children:[(0,G.jsx)(Y_,{size:14,strokeWidth:1.75,"aria-hidden":`true`}),W(`My notes`)]}),R&&(0,G.jsxs)(`button`,{ref:me,id:`note-summary-tab`,"data-testid":`note-summary-tab`,role:`tab`,"aria-selected":B===`notes`&&We===`enhanced`,"aria-controls":`note-notes-panel`,tabIndex:B===`notes`&&We===`enhanced`?0:-1,onKeyDown:Je,onClick:e=>qe(`notes`,`enhanced`,e.detail>0),children:[(0,G.jsx)(nK,{size:14,strokeWidth:1.75,"aria-hidden":`true`}),W(`Summary`)]})]}),B===`transcript`&&(0,G.jsx)(`div`,{ref:Ee,className:`note-primary-tools`}),(0,G.jsx)(`span`,{"data-testid":`note-tab-indicator`,className:`note-tab-indicator`,"aria-hidden":`true`})]})]}),(0,G.jsx)(`div`,{ref:ke,className:`note-reading-area`,children:(0,G.jsxs)(`div`,{ref:ce,className:`note-panels`,children:[(0,G.jsx)(PY,{active:B===`notes`,summary:We===`enhanced`,generating:We===`enhanced`&&[`waiting`,`rewriting`,`handoff`,`reset`,`streaming`].includes(L),resetting:We===`enhanced`&&L===`reset`,writing:We===`enhanced`&&L===`streaming`,scroll:V,children:We===`mine`?(0,G.jsx)(ez,{focus:B===`notes`&&n?.ms===null?n:void 0,testId:`note-mine`,label:W(`My notes`),className:`min-h-[40vh]`,markdown:E.mine,placeholder:W(`You can add notes here to guide the summary.`),onChange:e=>{ne.current=!0;let t={...Ae.current,mine:e};Ae.current=t,D(t),Le.change(e)},onBlur:()=>{ne.current=!1,Le.flush()}}):(0,G.jsx)(Kpe,{presentation:L,focus:B===`notes`&&n?.ms===null?n:void 0,notes:E,disabled:f,onChange:e=>{ve(!0);let t={...Ae.current,enhanced:e};Ae.current=t,D(t),Re.change(e)},onBlur:Re.flush,onRetry:nt},e)}),(B===`transcript`||ae)&&(0,G.jsx)(`section`,{hidden:B!==`transcript`,id:`note-transcript-panel`,role:`tabpanel`,"aria-labelledby":`note-transcript-tab`,className:`note-content note-transcript-pane`,children:(0,G.jsx)(Zv,{id:e,recording:Ve,active:B===`transcript`,inline:!0,toolbar:Te,focus:n?.ms==null?void 0:{...n,ms:n.ms}})})]})}),(0,G.jsxs)(`footer`,{ref:l,className:`note-footer`,children:[o.stopSavePending&&(0,G.jsxs)(`div`,{"data-testid":`note-stop-unsaved`,role:`alert`,className:`mt-5 flex flex-wrap items-start gap-3 rounded-xl border border-line bg-card px-4 py-3 text-[13px] leading-relaxed`,children:[(0,G.jsx)($_,{size:16,"aria-hidden":`true`,className:`mt-0.5 shrink-0 text-danger`}),(0,G.jsx)(`p`,{className:`min-w-48 flex-1`,children:W(`Recording stopped. Yogurt couldn't save when it ended. Keep Yogurt open and try again.`)}),(0,G.jsx)(`button`,{"data-testid":`note-stop-retry`,disabled:u,className:`workspace-button`,onClick:()=>{d(!0),window.yogurt.meetings.retryStopSave(e).then(e=>{e&&fe.current?.focus({preventScroll:!0})}).catch(()=>{}).finally(()=>d(!1))},children:W(u?`Saving…`:`Try again`)})]}),B===`notes`&&We===`enhanced`&&E.status===`done`&&E.peopleChanged&&!he&&(0,G.jsxs)(`div`,{"data-testid":`note-people-changed`,className:`pointer-events-auto mx-auto mt-3 flex w-fit max-w-[calc(100%-32px)] flex-wrap items-center gap-3 rounded-xl border border-line bg-float px-4 py-2 text-[13px] shadow-[var(--shadow)]`,children:[(0,G.jsx)(`span`,{children:W(`The attendee list has changed.`)}),(0,G.jsx)(`button`,{"data-testid":`note-people-write-again`,onClick:nt,className:`workspace-button primary`,children:W(`Regenerate summary`)})]}),Qe===`failed`&&(0,G.jsxs)(JQ,{testId:`note-save-status`,warningTestId:`note-save-warning`,className:`pointer-events-auto mx-auto mt-3 w-fit max-w-[calc(100%-32px)]`,children:[(0,G.jsx)(`span`,{children:Le.reason===`too-long`||Re.reason===`too-long`?W(`This note is too long to save. Shorten it and try again.`):W(`Couldn't save your changes`)}),(0,G.jsx)(`button`,{"data-testid":`note-save-retry`,className:`text-action`,onClick:()=>{Ye()},children:W(`Try again`)})]}),g&&(0,G.jsx)(`p`,{role:`alert`,className:`pointer-events-auto mx-auto mt-3 w-fit text-[13px] text-danger`,children:W(`Yogurt couldn't start the notes. Try again in a moment.`)}),b&&(0,G.jsx)(`p`,{"data-testid":`note-resume-failed`,role:`alert`,className:`pointer-events-auto mx-auto mt-3 w-fit max-w-[calc(100%-32px)] text-[13px] text-danger`,children:W(`Couldn't resume recording. Your existing note and audio are kept. Try again.`)}),w&&Ve&&(0,G.jsx)(`p`,{role:`alert`,className:`pointer-events-auto mx-auto mt-3 w-fit text-[13px] text-danger`,children:W(w===`pause`?`Couldn't pause the recording. Try again.`:`Couldn't resume the recording. Try again.`)}),Ve&&Ne&&(0,G.jsx)(Ipe,{hint:Ne}),(0,G.jsxs)(`div`,{className:`note-footer-bar`,children:[(0,G.jsxs)(`div`,{className:`note-status pointer-events-auto flex flex-wrap items-center gap-1.5 text-[11px] text-muted`,children:[(Ve||o.state===`prepared`)&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Npe,{recording:Ve,paused:Ve&&o.paused}),(0,G.jsx)(Fpe,{}),(0,G.jsx)(`span`,{"aria-hidden":`true`,children:`·`})]}),Qe!==`failed`&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`p`,{"data-testid":`note-save-status`,"data-state":Qe,role:`status`,className:`flex items-center gap-1.5`,children:[(0,G.jsx)(x_,{size:10,"aria-hidden":`true`}),(0,G.jsx)(`span`,{children:Qe===`saving`?W(`Saving…`):Tv({mac:W(`Saved on this Mac`),other:W(`Saved on this computer`)})})]}),(0,G.jsx)(`span`,{"aria-hidden":`true`,children:`·`})]}),Ue!=null&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`span`,{"data-testid":`note-duration`,children:W(`{count} min`,{count:Ue})}),(0,G.jsx)(`span`,{"aria-hidden":`true`,children:`·`})]}),W(`Yogurt can make mistakes.`)]}),(0,G.jsx)(uQ,{id:e,recording:Ve,anchor:Oe,onSource:i})]})]})]}),xe&&(0,G.jsx)(YQ,{id:e,title:o.title,onDone:()=>Se(!1)}),Ce&&(0,G.jsx)(J9,{onDone:t=>{we(!1),t&&window.yogurt.folders.add(t.id,e)}})]})})}function Gpe({id:e,title:t,editing:n,onEdit:r}){let[i,a]=(0,U.useState)(t),o=(0,U.useRef)(!1);(0,U.useEffect)(()=>{n&&(a(t),o.current=!1)},[n,t]);let s=`note-title-type w-full font-sans`;return n?(0,G.jsx)(`input`,{"data-testid":`note-title-input`,"aria-label":W(`Title`),autoFocus:!0,value:i,maxLength:200,onFocus:e=>e.currentTarget.select(),onChange:e=>a(e.target.value),onBlur:()=>{r(!1),!o.current&&i.trim()&&i.trim()!==t&&window.yogurt.meetings.rename(e,i)},onKeyDown:e=>{e.key===`Enter`?e.currentTarget.blur():e.key===`Escape`&&(o.current=!0,e.currentTarget.blur())},className:`${s} -mx-1 rounded-lg bg-transparent px-1 outline-none ring-1 ring-line focus:ring-accent`}):(0,G.jsx)(`h1`,{"data-testid":`note-title`,className:s,children:(0,G.jsx)(`button`,{onClick:()=>r(!0),title:W(`Rename`),className:`note-title-btn -mx-1 max-w-full rounded-lg px-1 text-start`,children:t})})}function Kpe({notes:e,presentation:t,disabled:n,onChange:r,onBlur:i,onRetry:a,focus:o}){let{status:s}=e,c=t===`handoff`||t===`reset`,l=t===`waiting`||t===`streaming`||c,u=t===`rewriting`,d=(0,U.useRef)(null),f=(0,U.useRef)(0),p=(0,U.useRef)(t);(0,U.useLayoutEffect)(()=>{let e=d.current?.closest(`.note-notes-pane`);s===`failed`&&p.current===`streaming`&&e&&(e.scrollTop=0),p.current=t},[t,s]),(0,U.useLayoutEffect)(()=>{c||(f.current=d.current?.offsetHeight??0)},[c,u,e.enhanced]);let m=RG(l?e.draft:``,l,{minCommitMs:32});return t===`failed`?(0,G.jsxs)(JQ,{testId:`note-enhanced-failed`,children:[(0,G.jsx)(`span`,{children:W(`Yogurt couldn't generate this summary.`)}),(0,G.jsx)(`button`,{onClick:a,className:`text-action`,children:W(`Try again`)})]}):t===`stopped`?(0,G.jsxs)(`div`,{className:`summary-stopped`,children:[(0,G.jsx)(`p`,{role:`status`,children:W(`Summary stopped.`)}),(0,G.jsxs)(`button`,{type:`button`,onClick:a,className:`summary-generate flex items-center gap-2.5 rounded-xl px-3 py-2 text-start text-sm whitespace-nowrap text-ink hover:bg-[var(--line)] focus-visible:bg-[var(--line)]`,children:[(0,G.jsx)(H_,{size:15,strokeWidth:1.75,"aria-hidden":`true`,className:`text-muted`}),W(`Generate summary`)]})]}):t===`empty`?(0,G.jsx)(`p`,{"data-testid":`note-enhanced-empty`,className:`text-[15px] text-muted`,children:W(`There is no transcript or typed note to summarize.`)}):t===`waiting`?(0,G.jsx)(dK,{downloading:e=>(0,G.jsxs)(`p`,{"data-testid":`note-enhanced-model-download`,role:`status`,className:`text-[15px] text-muted`,children:[W(`Your summary is waiting for Yogurt's AI to download.`),` `,e&&(0,G.jsx)(`span`,{className:`whitespace-nowrap`,children:e})]}),children:(0,G.jsx)(Qv,{part:s===`writing`?e.part:void 0})}):(0,G.jsxs)(`div`,{"data-testid":`note-enhanced`,"data-status":s,className:t===`streaming`?`streaming`:``,children:[s===`failed`&&(0,G.jsxs)(JQ,{testId:`note-enhanced-rewrite-failed`,className:`mb-6`,children:[(0,G.jsx)(`span`,{children:W(`Yogurt couldn't regenerate the summary, so your previous version is still shown.`)}),(0,G.jsx)(`button`,{onClick:a,className:`text-action`,children:W(`Try again`)})]}),u&&(0,G.jsx)(Qv,{outline:!1,part:s===`writing`?e.part:void 0}),(0,G.jsx)(`div`,{ref:d,className:`summary-rewrite`,"data-rewriting":u,"data-handoff":c,"data-resetting":t===`reset`,style:c?{minHeight:f.current}:void 0,children:(0,G.jsx)(`div`,{className:`summary-result`,children:(0,G.jsx)(ez,{focus:o,testId:`note-enhanced-editor`,label:W(`Summary`),className:`enhanced`,markdown:c?e.enhanced??``:l?m:e.enhanced??``,streaming:l&&!c,editable:!l&&!u&&!n,onChange:r,onBlur:i})})}),l&&(0,G.jsx)(`p`,{className:`sr-only`,"aria-live":`polite`,children:W(`Generating notes…`)})]})}var Z9=ch.transition.collapse;ch.transition.collapseLabel,ch.transition.color,U.createContext(null),U.createContext(!0);function Q9(e,t){let n=wh(),{duration:r,easing:i}=_h(fh(e));return{transitionProperty:t,transitionDuration:`${n?0:r}ms`,transitionTimingFunction:i,transitionDelay:`0ms`}}function qpe({transition:e=Z9,style:t,...n}){let r=Q9(e,`width`);return(0,G.jsx)(`div`,{...n,style:{...r,...t}})}function Jpe({transition:e=Z9,style:t,...n}){let r=Q9(e,`left, right, width`);return(0,G.jsx)(`div`,{...n,style:{...r,...t}})}U.Component;function Ype(e){if(!e)return[];if(!e.startsWith(`[`))return[e];try{let t=JSON.parse(e);return Array.isArray(t)&&t.every(e=>typeof e==`string`&&e.length>0)?[...new Set(t)]:[]}catch{return[]}}function Xpe({folders:e,route:t,go:n,collapsed:r=!1,sidebarMotion:i}){let[a,o]=(0,U.useState)(),[s,c]=(0,U.useState)(),[l,u]=(0,U.useState)(),[d,f]=(0,U.useState)(),[p,m]=(0,U.useState)(!1),h=(0,U.useRef)(!1),g=(0,U.useRef)(null),_=d?[...d.filter(t=>e?.some(e=>e.id===t)),...(e??[]).filter(e=>!d.includes(e.id)).map(e=>e.id)]:(e??[]).map(e=>e.id),v=(0,U.useRef)(_);v.current=_,(0,U.useEffect)(()=>{!h.current&&!p&&f(void 0)},[e]);let y=async t=>{if(h.current=!1,t.every((t,n)=>t===e?.[n]?.id))f(void 0);else{f(t),m(!0);try{if(!await window.yogurt.folders.reorder(t))throw Error(`Folder list changed`)}catch{f(void 0),sQ.add({title:W(`Yogurt couldn't make that change. Try again.`)})}finally{m(!1)}}},b=(e,t)=>{let n=_.indexOf(e),r=[..._];p||n+t<0||n+t>=_.length||(r.splice(n,1),r.splice(n+t,0,e),y(r))};return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`nav`,{"aria-label":W(`Folders`),"data-testid":`sidebar-folders`,children:[(0,G.jsx)(oK,{pending:!e,skeleton:(0,G.jsx)(sv,{layout:`folders`,testId:`folders-loading`}),children:(0,G.jsx)(Lm,{as:`div`,ref:g,axis:`y`,values:_,className:`workspace-folder-list`,"data-testid":`folder-reorder-list`,onReorder:e=>{v.current=e,f(e)},children:_.map((a,s)=>{let l=e.find(e=>e.id===a);return(0,G.jsx)(Zpe,{folder:l,collapsed:r,sidebarMotion:i,current:t===`/folder/${l.id}`,go:n,constraints:g,reorderable:!p&&_.length>1,onDragStart:()=>{h.current=!0},onDragEnd:()=>void y(v.current),moveUp:!p&&s>0?()=>b(a,-1):void 0,moveDown:!p&&s<_.length-1?()=>b(a,1):void 0,onAppearance:()=>c(l),onRename:()=>o({folder:l}),onDelete:()=>u(l)},l.id)})})}),(0,G.jsxs)(`button`,{"data-testid":`folder-create`,"data-sidebar":`menu-button`,"aria-label":W(`New folder`),title:r?W(`New folder`):void 0,className:`workspace-nav workspace-folder-new`,onClick:()=>o({}),children:[(0,G.jsx)(z_,{size:16,strokeWidth:1.7,"aria-hidden":`true`}),(0,G.jsx)(`span`,{children:W(`New folder`)})]})]}),s&&(0,G.jsx)(Upe,{folder:s,onDone:()=>c(void 0)}),a&&(0,G.jsx)(J9,{folder:a.folder,onDone:e=>{o(void 0),e&&n(`/folder/${e.id}`)}}),l&&(0,G.jsx)(Hpe,{folder:l,onDone:e=>{u(void 0),e&&t===`/folder/${l.id}`&&n(``)}})]})}function Zpe({folder:e,collapsed:t,sidebarMotion:n,current:r,go:i,onRename:a,onDelete:o,onAppearance:s,constraints:c,reorderable:l,onDragStart:u,onDragEnd:d,moveUp:f,moveDown:p}){let m=Dm(),h=Mf(),g=(0,U.useRef)(t),_=h||g.current!==t&&!n;(0,U.useEffect)(()=>{g.current=t},[t]);let v=(0,U.useRef)(!1),[y,b]=(0,U.useState)(!1),[x,S]=(0,U.useState)(!1),[C,w]=(0,U.useState)(),T=Pf(C,C?.animate??!0),E=(0,U.useRef)(null),D=(0,U.useRef)(null),O=(0,U.useRef)(null),k=(0,U.useRef)(null);(0,U.useEffect)(()=>{if(!C)return;k.current?.querySelector(`[role="menuitem"]`)?.focus();let e=e=>{E.current?.contains(e.target)||w(void 0)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[C]);let A=e=>{let t=E.current.getBoundingClientRect(),n=getComputedStyle(E.current).direction===`rtl`;w({animate:e,style:{position:`fixed`,top:t.bottom+4,width:Math.max(180,t.width),insetInlineStart:n?window.innerWidth-t.right:t.left}})},j=e=>{let n=Array.from(k.current?.querySelectorAll(`[role="menuitem"]:not(:disabled)`)??[]),r=n.indexOf(document.activeElement);e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),w(void 0),(t?O:D).current?.focus()):e.key===`ArrowDown`?(e.preventDefault(),n[(r+1)%n.length]?.focus()):e.key===`ArrowUp`?(e.preventDefault(),n[(r-1+n.length)%n.length]?.focus()):e.key===`Tab`&&w(void 0)},M=e=>{w(void 0),(t?O:D).current?.focus(),e()},N=e=>e.dataTransfer.types.includes(U9);return(0,G.jsxs)(Zm,{as:`div`,ref:E,value:e.id,className:`workspace-folder-item`,"data-testid":`sidebar-folder`,"data-folder":e.id,"data-moving":y,dragListener:!1,dragControls:m,dragConstraints:c,dragElastic:0,dragMomentum:!1,transition:_?{duration:0}:{type:`spring`,stiffness:520,damping:42},onDragStart:()=>{v.current=!0,b(!0),w(void 0),u()},onDragEnd:()=>{b(!1),d()},children:[(0,G.jsxs)(`button`,{ref:O,className:`workspace-nav`,"data-sidebar":`menu-button`,"aria-label":e.name,title:t?e.name:void 0,"data-testid":`sidebar-folder-open`,"data-drop":x,"aria-current":r?`page`:void 0,"aria-keyshortcuts":`Alt+ArrowUp Alt+ArrowDown`,onPointerDown:e=>{v.current=!1,l&&e.button===0&&m.start(e,{distanceThreshold:4})},onClick:t=>{v.current&&t.detail?v.current=!1:i(`/folder/${e.id}`)},onContextMenu:e=>{e.preventDefault(),A(!0)},onKeyDown:e=>{e.key===`ContextMenu`||e.shiftKey&&e.key===`F10`?(e.preventDefault(),A(!1)):e.altKey&&(e.key===`ArrowUp`||e.key===`ArrowDown`)&&(e.preventDefault(),(e.key===`ArrowUp`?f:p)?.())},onDragEnter:e=>{N(e)&&(e.preventDefault(),S(!0))},onDragOver:e=>{N(e)&&(e.preventDefault(),e.dataTransfer.dropEffect=`link`)},onDragLeave:()=>S(!1),onDrop:t=>{S(!1);let n=Ype(t.dataTransfer.getData(U9));n.length&&(t.preventDefault(),Rpe(e.id,n).catch(()=>sQ.add({title:W(`Yogurt couldn't add this note to the folder. Try again.`)})))},children:[(0,G.jsx)(B9,{appearance:e}),(0,G.jsx)(`span`,{children:e.name}),(0,G.jsx)(`small`,{"data-testid":`sidebar-folder-count`,"aria-label":W(`{count} meetings`,{count:e.count}),children:e.count})]}),(0,G.jsx)(`button`,{ref:D,"data-testid":`sidebar-folder-more`,className:`ghost-btn workspace-icon workspace-folder-more`,"aria-haspopup":`menu`,"aria-expanded":!!C,"aria-label":W(`More for “{name}”`,{name:e.name}),title:W(`More`),onClick:()=>C?w(void 0):A(!0),children:(0,G.jsx)(Lg,{size:15,"aria-hidden":`true`})}),T.value&&(0,G.jsxs)(`div`,{ref:k,"data-testid":`sidebar-folder-menu`,role:`menu`,"aria-label":e.name,...T.props,"data-anchor":`start`,onKeyDown:j,style:T.value.style,className:`menu-entry z-[70] rounded-xl border border-line bg-float p-1.5 shadow-[var(--shadow)]`,children:[(0,G.jsxs)(`button`,{role:`menuitem`,"data-testid":`sidebar-folder-appearance`,onClick:()=>M(s),className:`flex w-full items-center gap-2.5 text-start`,children:[(0,G.jsx)(N_,{size:15,"aria-hidden":`true`,className:`text-muted`}),W(`Change icon`)]}),(0,G.jsxs)(`button`,{role:`menuitem`,"data-testid":`sidebar-folder-rename`,onClick:()=>M(a),className:`flex w-full items-center gap-2.5 text-start`,children:[(0,G.jsx)(F_,{size:15,"aria-hidden":`true`,className:`text-muted`}),W(`Rename`)]}),(0,G.jsxs)(`button`,{role:`menuitem`,"data-testid":`sidebar-folder-up`,disabled:!f,onClick:()=>f&&M(f),className:`flex w-full items-center gap-2.5 text-start`,children:[(0,G.jsx)(lg,{size:15,"aria-hidden":`true`,className:`text-muted`}),W(`Move up`)]}),(0,G.jsxs)(`button`,{role:`menuitem`,"data-testid":`sidebar-folder-down`,disabled:!p,onClick:()=>p&&M(p),className:`flex w-full items-center gap-2.5 text-start`,children:[(0,G.jsx)(og,{size:15,"aria-hidden":`true`,className:`text-muted`}),W(`Move down`)]}),(0,G.jsxs)(`button`,{role:`menuitem`,"data-testid":`sidebar-folder-delete`,onClick:()=>M(o),className:`flex w-full items-center gap-2.5 text-start text-danger`,children:[(0,G.jsx)(Z_,{size:15,"aria-hidden":`true`}),W(`Delete folder`)]})]})]})}function Qpe(){return null}function $pe({go:e}){let[t,n]=(0,U.useState)(),[r,i]=(0,U.useState)(!1),[a,o]=(0,U.useState)(!1),[s,c]=(0,U.useState)(!1),[l,u]=(0,U.useState)(!1);(0,U.useEffect)(()=>{let e,t=!0,r=t=>{e=t,n(t),!t.notesError&&!t.notesUpgradeError&&c(!1),lK(t)||(i(!1),u(!1))},a=window.yogurt.setup.onState(r);return window.yogurt.setup.state().then(n=>{t&&!e&&r(n)}),()=>{t=!1,a()}},[]);let d=async()=>{o(!0),c(!1);try{await window.yogurt.setup.retry()}catch{c(!0)}finally{o(!1)}},f=async()=>{u(!1);try{await window.yogurt.setup.skipUpgrade();let t=sQ.add({title:W(`AI upgrade skipped`),timeout:8e3,data:{testId:`notes-skipped-toast`},actionProps:{children:W(`Settings`),onClick:()=>{sQ.close(t),e(`/settings/notes-model`)}}})}catch{u(!0)}};if(!t||!lK(t))return null;let p=cK(t),m=p?t.notesUpgradeError:t.notesError,h=!!m,g=W(p?`AI upgrade paused`:`AI download stopped`),_=h?g:t.notesUpgradePending&&p?W(`Upgrading AI`):p?W(`Upgrading AI · {percent}`,{percent:sK(t.notesUpgradeFraction??0)}):W(`Downloading AI · {percent}`,{percent:sK(t.notesFraction??0)}),v=uK(t),y=p?t.notesUpgradeFraction:t.notesFraction,b=y!==void 0&&Number.isFinite(y)?Math.floor(Math.max(0,Math.min(1,y))*100):void 0;return(0,G.jsx)(xG,{direction:gt(xt()),children:(0,G.jsx)(`span`,{className:`notes-download-status`,children:(0,G.jsxs)(sW,{open:r,onOpenChange:i,children:[(0,G.jsxs)(CW,{"data-testid":`notes-setup-open`,"aria-label":_,title:_,className:`bar-btn notes-download-trigger no-drag`,children:[(0,G.jsx)(`span`,{"aria-hidden":`true`,"data-failed":h,"data-upgrade":p,className:`notes-download-dot`}),(0,G.jsx)(`span`,{className:`truncate`,children:_})]}),(0,G.jsx)(EW,{children:(0,G.jsx)(fG,{side:`bottom`,align:`end`,sideOffset:8,collisionPadding:12,positionMethod:`fixed`,className:`notes-download-positioner`,children:(0,G.jsxs)(vG,{"data-testid":`notes-setup`,"data-failed":h,"data-anchor":`end`,"aria-label":h?g:W(p?`Upgrading AI`:`Downloading AI`),className:`menu-entry notes-download-menu`,children:[(0,G.jsxs)(`div`,{className:`notes-download-readout`,children:[(0,G.jsx)(`strong`,{role:h?`status`:void 0,children:h?W(p?`Upgrade paused`:`Download stopped`):v.progress||W(p?`Upgrading AI`:`Downloading AI`)}),(0,G.jsx)(`span`,{children:h?v.progress:p?b!==void 0&&sK(y):v.eta})]}),(0,G.jsx)(`div`,{className:`notes-download-progress`,role:`progressbar`,"aria-label":_,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":b,children:(0,G.jsx)(`span`,{style:{width:`${b??0}%`}})}),(0,G.jsxs)(`div`,{className:`notes-download-footer`,children:[(0,G.jsx)(`p`,{className:`notes-download-support`,children:h?m:W(p?`Once this model is ready, we'll remove the old one.`:`You can record meetings. AI summaries and Ask work when this finishes.`)}),(h||p)&&(0,G.jsxs)(`div`,{className:`notes-download-actions`,children:[h&&(0,G.jsx)(`button`,{"data-testid":`notes-setup-retry`,className:`workspace-button`,disabled:a,onClick:()=>void d(),children:W(a?`Retrying…`:`Try again`)}),p&&(0,G.jsx)(`button`,{"data-testid":`notes-setup-skip`,className:`text-action`,disabled:t.notesUpgradeChanging,onClick:()=>void f(),children:W(`Skip`)})]})]}),s&&(0,G.jsx)(`p`,{role:`alert`,children:W(`Yogurt couldn't restart the download.`)}),l&&(0,G.jsx)(`p`,{role:`alert`,children:W(`Yogurt couldn't change the notes model.`)})]})})})]})})})}function eme({recording:e}){let[t,n]=(0,U.useState)(),[r,i]=(0,U.useState)(!1),[a,o]=(0,U.useState)(!1),[s,c]=(0,U.useState)();(0,U.useEffect)(()=>{let e=!0,t=!1,r=r=>{e&&(t=!0,n(r),(r.state!==`ready`||r.dismissed)&&(i(!1),c(void 0)))},a=window.yogurt.updates.onStatus(r);return window.yogurt.updates.status().then(e=>{t||r(e)}).catch(()=>{}),()=>{e=!1,a()}},[]);let l=async()=>{if(!(e||a||t?.state!==`ready`)){o(!0),c(void 0);try{await window.yogurt.updates.restart()?i(!1):c(`restart`)}catch{c(`restart`)}finally{o(!1)}}},u=async()=>{c(void 0);try{await window.yogurt.updates.later(),i(!1)}catch{c(`later`)}};return t?.state!==`ready`||t.dismissed?null:(0,G.jsx)(xG,{direction:gt(xt()),children:(0,G.jsx)(`span`,{className:`notes-download-status update-ready-status`,children:(0,G.jsxs)(sW,{open:r,onOpenChange:i,children:[(0,G.jsx)(CW,{"data-testid":`update-ready`,className:`bar-btn notes-download-trigger no-drag`,title:W(`Update ready`),children:(0,G.jsx)(`span`,{className:`truncate`,children:W(`Update ready`)})}),(0,G.jsx)(EW,{children:(0,G.jsx)(fG,{side:`bottom`,align:`end`,sideOffset:8,collisionPadding:12,positionMethod:`fixed`,className:`notes-download-positioner`,children:(0,G.jsxs)(vG,{"data-testid":`update-popover`,"data-anchor":`end`,"data-pointer":`true`,className:`menu-entry notes-download-menu update-ready-menu`,children:[(0,G.jsx)(yG,{children:W(`Yogurt {version}`,{version:t.next??``})}),(0,G.jsx)(bG,{className:`update-ready-description`,children:W(e?`You can restart after recording`:`Installs when you restart Yogurt`)}),(0,G.jsxs)(`div`,{className:`update-ready-actions`,children:[(0,G.jsx)(`button`,{"data-testid":`update-later`,className:`text-action`,onClick:()=>void u(),children:W(`Later`)}),(0,G.jsx)(`button`,{"data-testid":`update-restart`,className:`workspace-button primary`,disabled:e||a,onClick:()=>void l(),children:W(`Restart`)})]}),s&&(s===`later`||!e)&&(0,G.jsx)(`p`,{role:`alert`,children:W(s===`later`?`Yogurt couldn't make that change. Try again.`:`Yogurt couldn't restart. Try again.`)})]})})})]})})})}function tme({route:e,meeting:t,folders:n,go:r,back:i,forward:a,search:o,collapsed:s,sidebarMotion:c,toggleSidebar:l,children:u}){let[d,f]=(0,U.useState)(null);(0,U.useEffect)(()=>{let e=!0,t=!1,n=window.yogurt.widget.onState(e=>{t=!0,f(e)});return window.yogurt.widget.state().then(n=>{e&&!t&&f(n)}),()=>{e=!1,n()}},[]);let p={duration:c?.2:0,ease:[.22,1,.36,1]},m=e.startsWith(`/note/`),h=e.startsWith(`/settings/`)?`/settings`:e.startsWith(`/chat/`)?`/chat`:e,g=d?.kind===`recording`&&e!==`/note/${d.meetingId}`;(0,U.useEffect)(()=>{let t=()=>{if(document.querySelector(`[aria-modal="true"]:not([data-testid="chat-panel"]), [role="alertdialog"]`))return;let t=CG(e);t.panel?document.getElementById(`meeting-ask`)?.click():window.yogurt.conversations.current(t.chips,t.fresh).then(e=>r(`/chat/${e}`)).catch(e=>{console.error(`Opening Ask failed`,e),sQ.add({title:W(`Yogurt couldn't make that change. Try again.`)})})},n=e=>{!Cv(e)||wv()&&e.ctrlKey||e.altKey||e.shiftKey||e.code!==`KeyJ`||e.defaultPrevented||(e.preventDefault(),!e.repeat&&!e.isComposing&&t())},i=()=>{window.yogurt.nav.takeAsk().then(e=>{e&&t()})},a=window.yogurt.nav.onAsk(i);return i(),window.addEventListener(`keydown`,n),()=>{a(),window.removeEventListener(`keydown`,n)}},[e,r]);let _=[{route:``,label:W(`Meetings`),Icon:ZG},{route:`/chat`,label:W(`Ask`),Icon:JG},{route:`/trash`,label:W(`Trash`),Icon:Z_},{route:`/settings`,label:W(`Settings`),Icon:QG}],v=e.startsWith(`/folder/`)?n?.find(t=>e===`/folder/${t.id}`):void 0,y=_.find(e=>e.route===h)??(e.startsWith(`/folder/`)?{label:v?.name??W(`Folder`)}:void 0),b=m?t&&e===`/note/${t.id}`?t.title:W(`Meeting`):e.startsWith(`/settings`)?W(`Settings`):y?.label??W(`Meetings`),x=t=>(0,G.jsxs)(`button`,{"data-testid":t.route===``?`nav-home`:t.route===`/chat`?`nav-chat`:t.route===`/settings`?`settings-open`:`nav-trash`,"data-sidebar":`menu-button`,"aria-label":t.label,title:s?t.label:void 0,className:`workspace-nav${t.route===`/trash`?` workspace-trash`:``}`,"aria-current":h===t.route||t.route===``&&e===`/meetings`?`page`:void 0,onClick:()=>r(t.route),children:[(0,G.jsx)(t.Icon,{size:16,strokeWidth:1.75,"aria-hidden":`true`}),(0,G.jsx)(`span`,{children:t.label})]},t.route);return(0,G.jsxs)(`div`,{className:`workspace ${s?`sidebar-collapsed`:``}`,"data-testid":`workspace`,"data-sidebar-motion":c,children:[(0,G.jsxs)(`div`,{className:`workspace-window-bar`,children:[(0,G.jsx)(`div`,{className:`workspace-drag-region drag`,"data-testid":`titlebar`,"aria-hidden":`true`}),(0,G.jsx)(`button`,{className:`ghost-btn workspace-icon workspace-sidebar-toggle no-drag`,"data-testid":s?`sidebar-expand`:`sidebar-collapse`,onClick:e=>l(e.detail>0),"aria-expanded":!s,"aria-controls":`workspace-sidebar`,"aria-keyshortcuts":wv()?`Control+Meta+S`:`Control+Shift+S`,title:`${W(s?`Expand sidebar`:`Collapse sidebar`)} (${Sv(`⌃⌘S`)})`,"aria-label":W(s?`Expand sidebar`:`Collapse sidebar`),children:(0,G.jsx)(XG,{className:`sidebar-toggle-glyph rtl:-scale-x-100`,size:16,strokeWidth:1.75,"aria-hidden":`true`})})]}),(0,G.jsx)(qpe,{className:`workspace-sidebar-gap`,transition:p}),(0,G.jsx)(Jpe,{id:`workspace-sidebar`,className:`workspace-sidebar`,role:`complementary`,"aria-label":W(`Main navigation`),transition:p,children:(0,G.jsxs)(`div`,{className:`workspace-sidebar-inner`,children:[(0,G.jsx)(`div`,{className:`sidebar-titlebar`}),(0,G.jsxs)(`div`,{className:`workspace-sidebar-body`,children:[(0,G.jsxs)(`button`,{className:`workspace-search no-drag`,"data-testid":`search-open`,"aria-label":W(`Search`),title:`${W(`Search`)} (${Sv(`⌘K`)})`,onClick:o,children:[(0,G.jsx)(YG,{size:16,strokeWidth:1.75,"aria-hidden":`true`}),(0,G.jsx)(`span`,{children:W(`Search`)}),(0,G.jsx)(`kbd`,{children:Sv(`⌘K`)})]}),(0,G.jsx)(`nav`,{"aria-label":W(`Workspace`),children:_.slice(0,2).map(x)}),(0,G.jsx)(`div`,{className:`workspace-folder-label`,children:W(`Your workspace`)}),(0,G.jsx)(Xpe,{collapsed:s,sidebarMotion:c,folders:n,route:e,go:r})]}),(0,G.jsxs)(`div`,{className:`workspace-sidebar-footer`,children:[(0,G.jsx)(Qpe,{collapsed:s}),x(_[2]),x(_[3]),(0,G.jsx)(`div`,{className:`workspace-brand`,children:(0,G.jsx)(`span`,{className:`workspace-wordmark`,children:(0,G.jsx)(_Y,{height:25})})})]})]})}),(0,G.jsxs)(`div`,{className:`workspace-content`,children:[(0,G.jsxs)(`header`,{className:`workspace-toolbar`,"data-note":m,"data-recording-return":g,children:[(0,G.jsxs)(`div`,{className:`workspace-breadcrumb drag`,children:[(0,G.jsxs)(`span`,{className:`workspace-history`,children:[(0,G.jsx)(`button`,{"data-testid":`nav-back`,className:`ghost-btn workspace-icon no-drag`,disabled:!i&&!m,onClick:i??(()=>r(``)),"aria-label":W(`Back`),title:`${W(`Back`)} (${Sv(`⌘[`)})`,children:(0,G.jsx)(Cg,{size:14,strokeWidth:1.75,className:`rtl:-scale-x-100`,"aria-hidden":`true`})}),(0,G.jsx)(`button`,{"data-testid":`nav-forward`,className:`ghost-btn workspace-icon no-drag`,disabled:!a,onClick:a,"aria-label":W(`Forward`),title:`${W(`Forward`)} (${Sv(`⌘]`)})`,children:(0,G.jsx)(Tg,{size:14,strokeWidth:1.75,className:`rtl:-scale-x-100`,"aria-hidden":`true`})})]}),(0,G.jsx)(`span`,{"data-testid":`workspace-heading`,"aria-current":`page`,title:b,children:b})]}),(0,G.jsx)(eme,{recording:d?.kind===`recording`}),(0,G.jsx)($pe,{go:r}),g&&(0,G.jsxs)(`button`,{className:`workspace-recording-link no-drag`,"data-testid":`recording-return`,"data-paused":d.paused,"aria-label":W(`Open {title}`,{title:d.title}),title:W(`Open {title}`,{title:d.title}),onClick:()=>r(`/note/${d.meetingId}`),children:[(0,G.jsx)(xQ,{testId:`recording-return-wave`,height:16,paused:d.paused}),(0,G.jsx)(SQ,{view:d,testId:`recording-return-time`,className:`recording-return-time`})]}),(0,G.jsx)(`div`,{id:`workspace-actions`,className:`workspace-toolbar-actions`})]}),u]})]})}var $9=()=>{};document.documentElement.classList.add(`main-window`),document.documentElement.dataset.marketingTheme=M?new URLSearchParams(location.search).get(`theme`)===`dark`?`dark`:`light`:`dark`,M&&(document.documentElement.dataset.fragment=M);function nme(){let[e,t]=(0,U.useState)(0);return(0,U.useEffect)(()=>L(()=>t(e=>e+1)),[]),(0,U.useEffect)(()=>be(),[e]),(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`div`,{className:`marketing-window`,children:[(0,G.jsx)(tme,{route:`/note/${E.id}`,meeting:E,folders:D,go:$9,search:$9,collapsed:matchMedia(`(max-width:600px)`).matches,sidebarMotion:!1,toggleSidebar:$9,children:(0,G.jsx)(Wpe,{id:E.id,onTitleChange:$9},e)}),(0,G.jsxs)(`div`,{className:`marketing-traffic`,children:[(0,G.jsx)(`i`,{}),(0,G.jsx)(`i`,{}),(0,G.jsx)(`i`,{})]})]}),(0,G.jsxs)(`svg`,{className:`marketing-cursor`,viewBox:`0 0 30 32`,"aria-hidden":`true`,children:[(0,G.jsx)(`circle`,{className:`cursor-ring`,cx:`4`,cy:`3`,r:`12`}),(0,G.jsx)(`path`,{className:`cursor-pointer`,d:`M4 3 24 13 15.1 15.7 11.3 25Z`,strokeWidth:`1.7`,strokeLinejoin:`round`,strokeLinecap:`round`})]})]})}(0,NY.createRoot)(document.getElementById(`root`)).render(M?(0,G.jsx)(kY,{}):(0,G.jsx)(nme,{}))})();\ No newline at end of filediff --git a/site/public/marketing/assets/apple-touch-icon.png b/site/public/marketing/assets/apple-touch-icon.pngdeleted file mode 100644index 5824dcb2..00000000Binary files a/site/public/marketing/assets/apple-touch-icon.png and /dev/null differdiff --git a/site/public/marketing/assets/bricolage-OFL.txt b/site/public/marketing/assets/bricolage-OFL.txtdeleted file mode 100644index 4dfd4fe0..00000000--- a/site/public/marketing/assets/bricolage-OFL.txt+++ /dev/null@@ -1,93 +0,0 @@-Copyright 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage)--This Font Software is licensed under the SIL Open Font License, Version 1.1.-This license is copied below, and is also available with a FAQ at:-https://scripts.sil.org/OFL---------------------------------------------------------------SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007--------------------------------------------------------------PREAMBLE-The goals of the Open Font License (OFL) are to stimulate worldwide-development of collaborative font projects, to support the font creation-efforts of academic and linguistic communities, and to provide a free and-open framework in which fonts may be shared and improved in partnership-with others.--The OFL allows the licensed fonts to be used, studied, modified and-redistributed freely as long as they are not sold by themselves. The-fonts, including any derivative works, can be bundled, embedded,-redistributed and/or sold with any software provided that any reserved-names are not used by derivative works. The fonts and derivatives,-however, cannot be released under any other type of license. The-requirement for fonts to remain under this license does not apply-to any document created using the fonts or their derivatives.--DEFINITIONS-"Font Software" refers to the set of files released by the Copyright-Holder(s) under this license and clearly marked as such. This may-include source files, build scripts and documentation.--"Reserved Font Name" refers to any names specified as such after the-copyright statement(s).--"Original Version" refers to the collection of Font Software components as-distributed by the Copyright Holder(s).--"Modified Version" refers to any derivative made by adding to, deleting,-or substituting -- in part or in whole -- any of the components of the-Original Version, by changing formats or by porting the Font Software to a-new environment.--"Author" refers to any designer, engineer, programmer, technical-writer or other person who contributed to the Font Software.--PERMISSION & CONDITIONS-Permission is hereby granted, free of charge, to any person obtaining-a copy of the Font Software, to use, study, copy, merge, embed, modify,-redistribute, and sell modified and unmodified copies of the Font-Software, subject to the following conditions:--1) Neither the Font Software nor any of its individual components,-in Original or Modified Versions, may be sold by itself.--2) Original or Modified Versions of the Font Software may be bundled,-redistributed and/or sold with any software, provided that each copy-contains the above copyright notice and this license. These can be-included either as stand-alone text files, human-readable headers or-in the appropriate machine-readable metadata fields within text or-binary files as long as those fields can be easily viewed by the user.--3) No Modified Version of the Font Software may use the Reserved Font-Name(s) unless explicit written permission is granted by the corresponding-Copyright Holder. This restriction only applies to the primary font name as-presented to the users.--4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font-Software shall not be used to promote, endorse or advertise any-Modified Version, except to acknowledge the contribution(s) of the-Copyright Holder(s) and the Author(s) or with their explicit written-permission.--5) The Font Software, modified or unmodified, in part or in whole,-must be distributed entirely under this license, and must not be-distributed under any other license. The requirement for fonts to-remain under this license does not apply to any document created-using the Font Software.--TERMINATION-This license becomes null and void if any of the above conditions are-not met.--DISCLAIMER-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT-OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM-OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/site/public/marketing/assets/bricolage-grotesque.ttf b/site/public/marketing/assets/bricolage-grotesque.ttfdeleted file mode 100644index d608f273..00000000Binary files a/site/public/marketing/assets/bricolage-grotesque.ttf and /dev/null differdiff --git a/site/public/marketing/assets/demo-poster.webp b/site/public/marketing/assets/demo-poster.webpdeleted file mode 100644index aab2fe9f..00000000Binary files a/site/public/marketing/assets/demo-poster.webp and /dev/null differdiff --git a/site/public/marketing/assets/demo.mp4 b/site/public/marketing/assets/demo.mp4deleted file mode 100644index 821d4eeb..00000000Binary files a/site/public/marketing/assets/demo.mp4 and /dev/null differdiff --git a/site/public/marketing/assets/favicon-32.png b/site/public/marketing/assets/favicon-32.pngdeleted file mode 100644index 3149244e..00000000Binary files a/site/public/marketing/assets/favicon-32.png and /dev/null differdiff --git a/site/public/marketing/assets/favicon.svg b/site/public/marketing/assets/favicon.svgdeleted file mode 100644index e1fc3c70..00000000--- a/site/public/marketing/assets/favicon.svg+++ /dev/null@@ -1,9 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">- <style>- @media (prefers-color-scheme: dark) {- path { fill: #C39AFF }- }- </style>- <path fill="#6F00FF" d="M5 2H9L8.75 5.25Q8.65 6.5 7.5 6.8L6.5 7.05Q5.5 7.3 5.6 8.45Q5.7 9.3 6.8 9.9V10.5Q4.5 10.35 2.85 9Q1 7.55 1 5.6Q1 2 5 2Z- M10 6H11.25Q15 6 15 9.25Q15 11.85 13 13.5Q11.3 15 9 15V14.25Q10.55 13.35 10.3 12.2Q10.2 11.4 9.2 11.25L8.3 11.05Q7.5 10.9 7.5 9.9L7.65 8Q7.8 6 10 6Z"/>-</svg>diff --git a/site/public/marketing/assets/frigade-logo.svg b/site/public/marketing/assets/frigade-logo.svgdeleted file mode 100644index bfb4a120..00000000--- a/site/public/marketing/assets/frigade-logo.svg+++ /dev/null@@ -1 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" width="95" height="32" fill="none" id="svg-1424240548_3035"><path d="M27.85 11.1c0-.718.35-1.067 1.048-1.067.35 0 .796.039 1.32.117l.368-1.96c-.62-.155-1.339-.233-2.154-.233-2.347 0-2.812 1.707-2.812 2.775v2.017h-1.397v1.998h1.397v8.11h2.23v-8.109h2.523V12.75H27.85V11.1Zm10.34 1.552c-1.183 0-2.464.35-3.802 1.067l-.136-.97h-1.998v10.108h2.231V15.6c1.125-.504 2.366-.757 3.706-.757v-2.191Zm3.965-1.513c.542-.544.542-1.552 0-2.076-.524-.523-1.494-.523-2.038 0-.252.253-.388.601-.388 1.028 0 .427.136.776.389 1.048.543.524 1.513.524 2.037 0Zm.097 11.718V12.749H40.02v10.108h2.23ZM53.215 13.7c-1.106-.718-2.464-1.087-4.055-1.087-1.435 0-2.618.485-3.531 1.456-.911.95-1.377 2.21-1.377 3.743s.466 2.795 1.378 3.745c.912.95 2.095 1.435 3.531 1.435.678 0 1.474-.116 2.405-.329v.27c0 1.631-.64 2.232-2.192 2.232-1.01 0-2.056-.174-3.124-.523l-.66 1.707c1.204.465 2.523.698 3.977.698 2.872 0 4.23-1.357 4.23-4.229v-7.916c0-.562-.194-.97-.582-1.202Zm-3.938 7.371c-1.708 0-2.813-1.3-2.813-3.24 0-1.92 1.105-3.258 2.813-3.258.795 0 1.551.155 2.288.466v5.684a8.09 8.09 0 0 1-2.288.348Zm11.616-8.457c-1.534 0-3.105.33-4.714 1.009l.737 1.61c1.3-.505 2.503-.757 3.569-.757 1.222 0 1.766.699 1.766 2.31v.27c-.252 0-.834-.018-1.048-.018-3.415 0-5.394 1.202-5.394 3.22 0 1.707 1.262 2.755 3.26 2.755 1.26 0 2.348-.33 3.298-.99l.116.835H64.5v-6.053c0-2.794-1.202-4.191-3.608-4.191Zm-2.91 7.567c0-1.029 1.183-1.533 3.57-1.533h.698v1.823c-.68.466-1.824.815-2.657.815-1.069 0-1.612-.426-1.612-1.105Zm15.75-7.237c-.932-.214-1.727-.33-2.406-.33-1.436 0-2.619.485-3.531 1.455-.912.95-1.377 2.212-1.377 3.744 0 1.533.465 2.775 1.377 3.745.912.95 2.095 1.435 3.532 1.435 1.57 0 2.929-.349 4.054-1.066.387-.253.582-.64.582-1.204V8.443h-2.231v4.5Zm-2.29 8.09c-1.707 0-2.813-1.32-2.813-3.26 0-1.94 1.106-3.24 2.814-3.24.737 0 1.493.117 2.288.35v5.684a5.82 5.82 0 0 1-2.288.466Zm16.077-2.949c0-1.59-.387-2.89-1.144-3.919-.757-1.028-1.901-1.551-3.434-1.551-1.455 0-2.64.484-3.55 1.435-.912.951-1.378 2.211-1.378 3.763 0 1.533.466 2.795 1.378 3.764.91.951 2.114 1.436 3.589 1.436 1.339 0 2.696-.31 4.074-.912l-.738-1.63c-1.125.485-2.172.718-3.143.718-1.532 0-2.6-.873-2.89-2.405h7.236v-.699Zm-7.294-.93c.213-1.65 1.183-2.756 2.716-2.756 1.533 0 2.366 1.048 2.503 2.755h-5.22Z" fill="#002A7A"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M10.2 15.055a6.111 6.111 0 0 0-1.755 3.626l5.394.032c.19 0 .38-.02.566-.06h.004a2.706 2.706 0 0 0 2.136-2.58v-.067a2.704 2.704 0 0 0-2.138-2.649h-.003l-.003-.002a2.61 2.61 0 0 0-.543-.06 6.122 6.122 0 0 0-3.657 1.76ZM3.49 8.343A6.026 6.026 0 0 1 7.765 6.57l6.069.039h.002a2.71 2.71 0 0 1 .002 5.418h-.002l-6.066-.038h-.003a7.298 7.298 0 0 0-5.176 2.145 7.365 7.365 0 0 0-.877 1.057v-2.568a6.03 6.03 0 0 1 1.774-4.28Z" fill="#0155F8"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M3.49 15.047a6.1 6.1 0 0 0-1.775 4.314v3.402a2.709 2.709 0 1 0 5.417-.043v-2.434h.003v-.291l.034-1.274a7.466 7.466 0 0 1 3.201-5.446l-2.601-.017h-.003a5.984 5.984 0 0 0-3.18.911c-.398.25-.766.544-1.097.878Z" fill="#0155F8"></path></svg>\ No newline at end of filediff --git a/site/public/marketing/assets/language-outlines.json b/site/public/marketing/assets/language-outlines.jsondeleted file mode 100644index c0e1dfad..00000000--- a/site/public/marketing/assets/language-outlines.json+++ /dev/null@@ -1 +0,0 @@-[[[56.5,35.7,56.5,39.6,56.5,43.5,57.1,47.4,59.1,50.6,62.8,51.5,66.2,49.8,67.7,46.3,68.5,47.3,68.0,51.1,66.0,54.4,62.3,55.2,58.6,54.1,56.5,55.0,57.8,57.8,61.5,58.8,65.4,58.7,68.9,57.0,71.0,53.8,71.7,50.0,71.8,46.1,71.8,42.2,71.8,38.3,70.5,35.7,67.6,36.7,67.6,40.6,67.2,44.5,65.2,47.7,61.7,46.9,60.8,43.2,60.7,39.3,60.4,35.7],[63.8,44.8],[63.8,44.8],[63.8,44.8],[83.2,35.3,81.4,35.5,79.7,35.9,78.1,36.7,76.8,37.8,75.7,39.3,75.0,40.9,74.7,42.6,74.6,44.4,74.7,46.2,75.1,47.9,75.8,49.5,76.8,50.9,78.2,52.1,79.8,52.9,81.5,53.3,83.2,53.4,85.0,53.3,86.7,52.8,88.3,52.1,89.7,50.9,90.7,49.5,91.4,47.9,91.8,46.1,91.8,44.4,91.7,42.6,91.3,40.9,90.6,39.2,89.6,37.8,88.2,36.7,86.7,35.9,84.9,35.5],[83.1,38.6,82.0,38.7,81.1,39.1,80.2,39.7,79.6,40.5,79.2,41.4,78.9,42.4,78.8,43.5,78.8,44.5,78.8,45.5,79.0,46.6,79.3,47.6,79.8,48.5,80.5,49.2,81.4,49.8,82.3,50.2,83.4,50.3,84.4,50.2,85.4,49.8,86.2,49.2,86.8,48.4,87.3,47.4,87.5,46.4,87.7,45.4,87.7,44.4,87.6,43.3,87.4,42.3,87.1,41.3,86.6,40.4,85.9,39.6,85.1,39.0,84.1,38.7],[82.8,44.8],[82.8,44.8],[102.2,35.6,98.7,36.0,95.7,37.7,94.2,40.8,95.0,44.1,98.0,45.6,96.1,47.0,94.7,49.8,98.0,50.8,95.5,52.0,93.4,54.6,94.7,57.6,98.0,58.7,101.5,58.9,105.0,58.7,108.3,57.8,110.7,55.4,110.8,51.9,108.4,49.5,105.0,48.9,101.5,48.9,98.1,48.5,100.5,46.7,104.0,46.7,107.3,45.6,109.2,42.9,108.1,39.8,105.3,38.3,108.6,38.6,110.7,37.5,109.2,35.6,105.7,35.6],[100.2,51.4,99.5,51.5,98.7,51.7,98.1,52.1,97.6,52.7,97.3,53.4,97.4,54.2,97.8,54.8,98.4,55.2,99.2,55.4,99.9,55.5,100.7,55.5,101.5,55.6,102.2,55.6,103.0,55.5,103.8,55.5,104.5,55.4,105.3,55.3,106.0,55.1,106.7,54.7,107.2,54.2,107.3,53.4,107.3,52.7,106.9,52.0,106.3,51.6,105.5,51.4,104.8,51.4,104.0,51.4,103.2,51.4,102.5,51.4,101.7,51.4,101.0,51.4],[101.9,38.4,101.2,38.4,100.6,38.5,99.9,38.7,99.4,39.1,98.9,39.6,98.6,40.1,98.4,40.8,98.3,41.4,98.3,42.1,98.5,42.7,98.9,43.3,99.3,43.8,99.9,44.1,100.5,44.4,101.2,44.5,101.8,44.5,102.5,44.5,103.2,44.4,103.8,44.2,104.4,43.8,104.8,43.4,105.2,42.8,105.4,42.2,105.4,41.5,105.3,40.8,105.2,40.2,104.8,39.6,104.4,39.1,103.8,38.8,103.2,38.5,102.5,38.4],[101.8,44.8],[111.2,44.8],[111.2,44.8],[111.2,44.8],[111.2,44.8],[113.3,35.7,113.3,38.8,113.3,41.8,113.3,44.9,113.5,47.9,114.4,50.8,116.6,52.9,119.5,53.4,122.4,52.5,124.3,50.2,125.4,47.5,125.6,50.3,126.0,53.0,129.0,53.0,129.0,50.0,129.0,47.0,129.0,43.9,129.0,40.9,129.0,37.8,128.1,35.7,125.0,35.7,124.9,38.6,124.9,41.7,124.8,44.7,123.9,47.6,121.9,49.8,119.0,49.4,117.6,46.8,117.5,43.7,117.5,40.7,117.5,37.6,116.3,35.7],[120.9,44.8],[120.9,44.8],[120.9,44.8],[142.4,35.3,140.4,35.7,138.7,36.8,137.7,38.5,137.1,40.5,136.3,41.5,136.4,39.5,136.4,37.5,136.1,35.7,134.1,35.7,132.9,36.6,132.9,38.6,132.9,40.6,132.9,42.7,132.9,44.7,132.9,46.7,132.9,48.7,132.9,50.8,132.9,52.8,134.7,53.0,136.7,53.0,137.1,51.3,137.1,49.3,137.1,47.3,137.1,45.2,137.5,43.3,138.3,41.5,139.7,40.0,141.7,39.6,143.7,39.9,143.8,38.0,143.9,36.0],[137.1,44.8],[137.1,44.8],[137.1,44.8],[148.3,31.9,148.0,34.1,146.8,35.7,144.5,35.8,144.2,37.7,145.0,39.1,146.7,39.6,146.7,41.8,146.7,44.0,146.7,46.2,146.8,48.4,147.2,50.6,148.5,52.4,150.5,53.3,152.7,53.4,154.9,53.0,155.4,51.2,155.4,49.0,153.4,49.5,151.3,49.0,150.7,47.0,150.7,44.7,150.7,42.5,150.7,40.3,151.8,39.2,154.0,39.2,155.3,38.2,155.3,36.0,153.3,35.7,151.1,35.7,150.7,33.9,150.5,31.9],[149.7,44.8],[149.7,44.8],[149.7,44.8]],[[56.9,35.7,56.9,39.6,56.9,43.5,57.4,47.4,59.4,50.6,63.1,51.5,66.5,49.8,68.0,46.3,68.8,47.3,68.3,51.1,66.4,54.4,62.6,55.2,59.0,54.1,56.8,55.0,58.1,57.8,61.9,58.8,65.7,58.7,69.2,57.0,71.3,53.8,72.0,50.0,72.1,46.1,72.1,42.2,72.1,38.3,70.8,35.7,67.9,36.7,67.9,40.6,67.5,44.5,65.5,47.7,62.0,46.9,61.1,43.2,61.0,39.3,60.7,35.7],[64.1,44.8],[64.1,44.8],[64.1,44.8],[83.3,35.3,80.7,35.6,78.2,36.6,76.3,38.5,75.7,40.7,78.2,41.5,79.8,40.1,82.0,38.7,84.7,38.8,86.2,40.8,84.8,42.6,82.1,43.1,79.5,43.6,77.0,44.7,75.2,46.7,74.9,49.3,75.9,51.8,78.2,53.2,80.8,53.4,83.4,52.5,85.3,50.6,86.7,49.1,86.9,51.8,88.6,53.0,90.7,52.5,90.5,49.8,90.4,47.1,90.4,44.4,90.3,41.7,89.9,39.1,88.4,36.8,86.0,35.6],[86.3,43.8,87.0,43.9,86.5,44.3,85.8,44.6,85.1,44.8,84.4,45.0,83.6,45.1,82.9,45.2,82.2,45.3,81.4,45.5,80.7,45.7,80.0,46.0,79.5,46.5,79.1,47.1,78.9,47.8,79.0,48.6,79.3,49.3,79.8,49.8,80.4,50.2,81.1,50.3,81.9,50.3,82.6,50.2,83.3,49.9,84.0,49.6,84.6,49.1,85.1,48.6,85.6,48.0,86.0,47.4,86.3,46.7,86.3,46.0,86.3,45.2,86.3,44.5],[82.6,44.8],[82.6,44.8],[101.7,35.3,99.9,35.5,98.2,35.9,96.6,36.7,95.2,37.8,94.2,39.3,93.5,40.9,93.2,42.6,93.0,44.4,93.2,46.2,93.6,47.9,94.3,49.5,95.3,50.9,96.7,52.1,98.3,52.9,100.0,53.3,101.8,53.4,103.5,53.3,105.2,52.8,106.8,52.1,108.2,50.9,109.2,49.5,109.9,47.9,110.2,46.1,110.3,44.4,110.2,42.6,109.8,40.9,109.1,39.2,108.1,37.8,106.7,36.7,105.2,35.9,103.4,35.5],[101.6,38.6,100.5,38.7,99.6,39.1,98.7,39.7,98.1,40.5,97.7,41.4,97.4,42.4,97.3,43.5,97.2,44.5,97.3,45.5,97.5,46.6,97.8,47.6,98.3,48.5,99.0,49.2,99.8,49.8,100.8,50.2,101.9,50.3,102.9,50.2,103.9,49.8,104.7,49.2,105.3,48.4,105.8,47.4,106.0,46.4,106.2,45.4,106.2,44.4,106.1,43.3,105.9,42.3,105.6,41.3,105.1,40.4,104.4,39.6,103.6,39.0,102.6,38.7],[101.3,44.8],[101.3,44.8],[110.9,44.8],[110.9,44.8],[110.9,44.8],[110.9,44.8],[113.0,35.7,113.0,38.8,113.0,41.8,113.0,44.9,113.2,47.9,114.1,50.8,116.3,52.9,119.2,53.4,122.1,52.5,124.0,50.2,125.0,47.5,125.3,50.3,125.6,53.0,128.7,53.0,128.7,50.0,128.7,47.0,128.7,43.9,128.7,40.9,128.7,37.8,127.8,35.7,124.7,35.7,124.6,38.6,124.6,41.7,124.5,44.7,123.6,47.6,121.5,49.8,118.6,49.4,117.3,46.8,117.2,43.7,117.2,40.7,117.2,37.6,116.0,35.7],[120.6,44.8],[120.6,44.8],[120.6,44.8],[142.1,35.3,140.1,35.7,138.4,36.8,137.4,38.5,136.8,40.5,136.0,41.5,136.0,39.5,136.1,37.5,135.8,35.7,133.8,35.7,132.6,36.6,132.6,38.6,132.6,40.6,132.6,42.7,132.6,44.7,132.6,46.7,132.6,48.7,132.6,50.8,132.6,52.8,134.4,53.0,136.4,53.0,136.8,51.3,136.8,49.3,136.8,47.3,136.8,45.2,137.2,43.3,138.0,41.5,139.4,40.0,141.4,39.6,143.3,39.9,143.5,38.0,143.6,36.0],[136.8,44.8],[136.8,44.8],[136.8,44.8],[148.0,31.9,147.7,34.1,146.4,35.7,144.2,35.8,143.9,37.7,144.7,39.1,146.4,39.6,146.4,41.8,146.4,44.0,146.4,46.2,146.5,48.4,146.9,50.6,148.2,52.4,150.2,53.3,152.4,53.4,154.6,53.0,155.1,51.2,155.1,49.0,153.1,49.5,151.0,49.0,150.4,47.0,150.4,44.7,150.4,42.5,150.4,40.3,151.5,39.2,153.7,39.2,155.0,38.2,155.0,36.0,153.0,35.7,150.8,35.7,150.4,33.9,150.2,31.9],[149.3,44.8],[149.3,44.8],[149.3,44.8]],[[62.5,35.7,62.5,39.6,62.5,43.5,63.1,47.4,65.1,50.6,68.8,51.5,72.2,49.8,73.7,46.3,74.5,47.3,74.0,51.1,72.0,54.4,68.3,55.2,64.6,54.1,62.5,55.0,63.8,57.8,67.5,58.8,71.4,58.7,74.9,57.0,77.0,53.8,77.7,50.0,77.8,46.1,77.8,42.2,77.8,38.3,76.5,35.7,73.6,36.7,73.6,40.6,73.2,44.5,71.2,47.7,67.7,46.9,66.8,43.2,66.7,39.3,66.4,35.7],[69.8,44.8],[69.8,44.8],[69.8,44.8],[89.2,35.3,87.4,35.5,85.7,35.9,84.1,36.7,82.8,37.8,81.7,39.3,81.0,40.9,80.7,42.6,80.6,44.4,80.7,46.2,81.1,47.9,81.8,49.5,82.8,50.9,84.2,52.1,85.8,52.9,87.5,53.3,89.2,53.4,91.0,53.3,92.7,52.8,94.3,52.1,95.7,50.9,96.7,49.5,97.4,47.9,97.8,46.1,97.8,44.4,97.7,42.6,97.4,40.9,96.7,39.2,95.6,37.8,94.2,36.7,92.7,35.9,90.9,35.5],[89.1,38.6,88.0,38.7,87.1,39.1,86.2,39.7,85.6,40.5,85.2,41.4,84.9,42.4,84.8,43.5,84.8,44.5,84.8,45.5,85.0,46.6,85.3,47.6,85.8,48.5,86.5,49.2,87.4,49.8,88.3,50.2,89.4,50.3,90.4,50.2,91.4,49.8,92.2,49.2,92.8,48.4,93.3,47.4,93.5,46.4,93.7,45.4,93.7,44.4,93.6,43.3,93.4,42.3,93.1,41.3,92.6,40.4,92.0,39.6,91.1,39.0,90.1,38.7],[88.8,44.8],[88.8,44.8],[108.2,35.6,104.7,36.0,101.7,37.7,100.2,40.8,101.0,44.1,104.1,45.6,102.1,47.0,100.7,49.8,104.0,50.8,101.5,52.0,99.4,54.6,100.7,57.6,104.0,58.7,107.5,58.9,111.0,58.7,114.3,57.8,116.7,55.4,116.8,51.9,114.4,49.5,111.0,48.9,107.5,48.9,104.1,48.5,106.5,46.7,110.0,46.7,113.3,45.6,115.3,42.9,114.1,39.8,111.3,38.3,114.6,38.6,116.7,37.5,115.2,35.6,111.7,35.6],[106.2,51.4,105.5,51.5,104.7,51.7,104.1,52.1,103.6,52.7,103.3,53.4,103.4,54.2,103.8,54.8,104.5,55.2,105.2,55.4,105.9,55.5,106.7,55.5,107.5,55.6,108.2,55.6,109.0,55.5,109.8,55.5,110.5,55.4,111.3,55.3,112.0,55.1,112.7,54.7,113.2,54.2,113.4,53.4,113.3,52.7,112.9,52.0,112.3,51.6,111.5,51.4,110.8,51.4,110.0,51.4,109.3,51.4,108.5,51.4,107.7,51.4,107.0,51.4],[107.9,38.4,107.2,38.4,106.6,38.5,106.0,38.7,105.4,39.1,104.9,39.6,104.6,40.1,104.4,40.8,104.3,41.4,104.3,42.1,104.5,42.7,104.9,43.3,105.3,43.8,105.9,44.1,106.5,44.4,107.2,44.5,107.8,44.5,108.5,44.5,109.2,44.4,109.8,44.2,110.4,43.8,110.8,43.4,111.2,42.8,111.4,42.2,111.4,41.5,111.3,40.8,111.2,40.2,110.8,39.6,110.4,39.1,109.8,38.8,109.2,38.5,108.5,38.4],[107.8,44.8],[117.2,44.8],[117.2,44.8],[117.2,44.8],[117.2,44.8],[119.3,35.7,119.3,38.8,119.3,41.8,119.3,44.9,119.5,47.9,120.4,50.8,122.6,52.9,125.5,53.4,128.4,52.5,130.3,50.2,131.4,47.5,131.7,50.3,131.9,53.0,135.0,53.0,135.1,50.0,135.1,47.0,135.1,43.9,135.1,40.9,135.1,37.8,134.1,35.7,131.0,35.7,130.9,38.6,130.9,41.7,130.8,44.7,129.9,47.6,127.9,49.8,125.0,49.4,123.6,46.8,123.5,43.7,123.5,40.7,123.5,37.6,122.3,35.7],[126.9,44.8],[126.9,44.8],[126.9,44.8],[148.4,35.3,146.4,35.7,144.7,36.8,143.7,38.5,143.2,40.5,142.3,41.5,142.4,39.5,142.4,37.5,142.1,35.7,140.1,35.7,138.9,36.6,138.9,38.6,138.9,40.6,138.9,42.7,138.9,44.7,138.9,46.7,138.9,48.7,138.9,50.8,138.9,52.8,140.7,53.0,142.7,53.0,143.1,51.3,143.1,49.3,143.1,47.3,143.1,45.2,143.5,43.3,144.3,41.5,145.7,40.0,147.7,39.6,149.7,39.9,149.8,38.0,149.9,36.0],[143.1,44.8],[143.1,44.8],[143.1,44.8],[149.7,44.8],[149.7,44.8],[149.7,44.8],[149.7,44.8]],[[53.7,31.2,53.7,33.0,53.7,34.9,53.7,36.7,53.7,38.5,53.7,40.3,53.7,42.1,53.7,43.9,53.7,45.7,53.5,47.5,52.4,49.0,50.7,49.5,48.9,49.4,48.9,51.1,49.1,52.9,50.5,53.4,52.4,53.2,54.1,52.8,55.6,51.8,56.8,50.5,57.5,48.8,57.8,47.0,57.9,45.2,57.9,43.4,57.9,41.5,57.9,39.7,57.9,37.9,57.9,36.1,57.9,34.3,57.9,32.5,57.4,31.2,55.5,31.2],[54.0,44.8],[54.0,44.8],[54.0,44.8],[69.5,35.3,67.8,35.5,66.1,35.9,64.5,36.7,63.1,37.8,62.1,39.3,61.4,40.9,61.0,42.6,60.9,44.4,61.0,46.2,61.4,47.9,62.1,49.5,63.2,50.9,64.5,52.1,66.1,52.9,67.8,53.3,69.6,53.4,71.4,53.3,73.1,52.8,74.7,52.1,76.0,50.9,77.1,49.5,77.8,47.9,78.1,46.1,78.2,44.4,78.1,42.6,77.7,40.9,77.0,39.2,76.0,37.8,74.6,36.7,73.0,35.9,71.3,35.5],[69.4,38.6,68.4,38.7,67.4,39.1,66.6,39.7,66.0,40.5,65.5,41.4,65.3,42.4,65.1,43.5,65.1,44.5,65.2,45.5,65.4,46.6,65.7,47.6,66.2,48.5,66.9,49.2,67.7,49.8,68.7,50.2,69.7,50.3,70.8,50.2,71.8,49.8,72.6,49.2,73.2,48.4,73.6,47.4,73.9,46.4,74.0,45.4,74.1,44.4,74.0,43.3,73.8,42.3,73.5,41.3,73.0,40.4,72.3,39.6,71.5,39.0,70.5,38.7],[69.2,44.8],[69.2,44.8],[88.5,35.6,85.1,36.0,82.0,37.7,80.6,40.8,81.4,44.1,84.4,45.6,82.4,47.0,81.1,49.8,84.3,50.8,81.9,52.0,79.7,54.6,81.1,57.6,84.3,58.7,87.8,58.9,91.3,58.7,94.7,57.8,97.1,55.4,97.2,51.9,94.8,49.5,91.4,48.9,87.9,48.9,84.5,48.5,86.8,46.7,90.3,46.7,93.6,45.6,95.6,42.9,94.5,39.8,91.7,38.3,95.0,38.6,97.1,37.5,95.5,35.6,92.0,35.6],[86.6,51.4,85.8,51.5,85.1,51.7,84.5,52.1,84.0,52.7,83.7,53.4,83.8,54.2,84.2,54.8,84.8,55.2,85.5,55.4,86.3,55.5,87.1,55.5,87.8,55.6,88.6,55.6,89.4,55.5,90.1,55.5,90.9,55.4,91.6,55.3,92.4,55.1,93.0,54.7,93.5,54.2,93.7,53.4,93.7,52.7,93.3,52.0,92.7,51.6,91.9,51.4,91.2,51.4,90.4,51.4,89.6,51.4,88.9,51.4,88.1,51.4,87.3,51.4],[88.2,38.4,87.6,38.4,86.9,38.5,86.3,38.7,85.8,39.1,85.3,39.6,84.9,40.1,84.7,40.8,84.7,41.4,84.7,42.1,84.9,42.7,85.2,43.3,85.7,43.8,86.3,44.1,86.9,44.4,87.5,44.5,88.2,44.5,88.9,44.5,89.5,44.4,90.2,44.2,90.7,43.8,91.2,43.4,91.5,42.8,91.7,42.2,91.8,41.5,91.7,40.8,91.5,40.2,91.2,39.6,90.7,39.1,90.2,38.8,89.6,38.5,88.9,38.4],[88.2,44.8],[99.9,29.6,99.9,33.0,99.9,36.5,99.9,39.9,99.9,43.4,99.9,46.8,99.9,50.2,100.6,53.0,104.1,53.0,104.1,49.6,104.1,46.1,104.4,42.7,106.0,39.7,109.2,38.9,111.4,41.3,111.8,44.7,111.8,48.2,111.8,51.6,113.9,53.0,116.0,51.7,116.0,48.2,116.0,44.8,115.8,41.3,114.9,38.0,112.4,35.8,109.0,35.4,106.0,36.9,104.4,40.0,103.8,39.1,104.1,35.7,104.1,32.3,103.4,29.6],[107.4,44.8],[107.4,44.8],[107.4,44.8],[119.3,35.7,119.3,38.8,119.3,41.8,119.3,44.9,119.5,47.9,120.4,50.8,122.5,52.9,125.5,53.4,128.4,52.5,130.2,50.2,131.3,47.5,131.6,50.3,131.9,53.0,135.0,53.0,135.0,50.0,135.0,47.0,135.0,43.9,135.0,40.9,135.0,37.8,134.1,35.7,131.0,35.7,130.9,38.6,130.9,41.7,130.8,44.7,129.9,47.6,127.8,49.8,124.9,49.4,123.6,46.8,123.5,43.7,123.5,40.7,123.5,37.6,122.3,35.7],[126.9,44.8],[126.9,44.8],[126.9,44.8],[148.3,35.3,146.4,35.7,144.7,36.8,143.7,38.5,143.1,40.5,142.3,41.5,142.3,39.5,142.3,37.5,142.1,35.7,140.0,35.7,138.9,36.6,138.9,38.6,138.9,40.6,138.9,42.7,138.9,44.7,138.9,46.7,138.9,48.7,138.9,50.8,138.9,52.8,140.7,53.0,142.7,53.0,143.0,51.3,143.0,49.3,143.0,47.3,143.0,45.2,143.4,43.3,144.3,41.5,145.7,40.0,147.7,39.6,149.6,39.9,149.8,38.0,149.9,36.0],[143.1,44.8],[143.1,44.8],[143.1,44.8],[154.3,31.9,153.9,34.1,152.7,35.7,150.5,35.8,150.2,37.7,151.0,39.1,152.7,39.6,152.7,41.8,152.7,44.0,152.7,46.2,152.7,48.4,153.2,50.6,154.5,52.4,156.5,53.3,158.7,53.4,160.8,53.0,161.4,51.2,161.4,49.0,159.4,49.5,157.3,49.0,156.7,47.0,156.7,44.7,156.7,42.5,156.7,40.3,157.8,39.2,160.0,39.2,161.2,38.2,161.2,36.0,159.3,35.7,157.1,35.7,156.7,33.9,156.5,31.9],[155.6,44.8],[155.6,44.8],[155.6,44.8]],[[56.5,35.7,56.5,39.6,56.5,43.5,57.1,47.4,59.1,50.6,62.8,51.5,66.2,49.8,67.7,46.3,68.5,47.3,68.0,51.1,66.0,54.4,62.3,55.2,58.6,54.1,56.5,55.0,57.8,57.8,61.5,58.8,65.4,58.7,68.9,57.0,71.0,53.8,71.7,50.0,71.8,46.1,71.8,42.2,71.8,38.3,70.5,35.7,67.6,36.7,67.6,40.6,67.2,44.5,65.2,47.7,61.7,46.9,60.8,43.2,60.7,39.3,60.4,35.7],[63.8,44.8],[63.8,44.8],[63.8,44.8],[83.2,35.3,81.4,35.5,79.7,35.9,78.1,36.7,76.8,37.8,75.7,39.3,75.0,40.9,74.7,42.6,74.6,44.4,74.7,46.2,75.1,47.9,75.8,49.5,76.8,50.9,78.2,52.1,79.8,52.9,81.5,53.3,83.2,53.4,85.0,53.3,86.7,52.8,88.3,52.1,89.7,50.9,90.7,49.5,91.4,47.9,91.8,46.1,91.8,44.4,91.7,42.6,91.3,40.9,90.6,39.2,89.6,37.8,88.2,36.7,86.7,35.9,84.9,35.5],[83.1,38.6,82.0,38.7,81.1,39.1,80.2,39.7,79.6,40.5,79.2,41.4,78.9,42.4,78.8,43.5,78.8,44.5,78.8,45.5,79.0,46.6,79.3,47.6,79.8,48.5,80.5,49.2,81.4,49.8,82.3,50.2,83.4,50.3,84.4,50.2,85.4,49.8,86.2,49.2,86.8,48.4,87.3,47.4,87.5,46.4,87.7,45.4,87.7,44.4,87.6,43.3,87.4,42.3,87.1,41.3,86.6,40.4,85.9,39.6,85.1,39.0,84.1,38.7],[82.8,44.8],[82.8,44.8],[102.2,35.6,98.7,36.0,95.7,37.7,94.2,40.8,95.0,44.1,98.0,45.6,96.1,47.0,94.7,49.8,98.0,50.8,95.5,52.0,93.4,54.6,94.7,57.6,98.0,58.7,101.5,58.9,105.0,58.7,108.3,57.8,110.7,55.4,110.8,51.9,108.4,49.5,105.0,48.9,101.5,48.9,98.1,48.5,100.5,46.7,104.0,46.7,107.3,45.6,109.2,42.9,108.1,39.8,105.3,38.3,108.6,38.6,110.7,37.5,109.2,35.6,105.7,35.6],[100.2,51.4,99.5,51.5,98.7,51.7,98.1,52.1,97.6,52.7,97.3,53.4,97.4,54.2,97.8,54.8,98.4,55.2,99.2,55.4,99.9,55.5,100.7,55.5,101.5,55.6,102.2,55.6,103.0,55.5,103.8,55.5,104.5,55.4,105.3,55.3,106.0,55.1,106.7,54.7,107.2,54.2,107.3,53.4,107.3,52.7,106.9,52.0,106.3,51.6,105.5,51.4,104.8,51.4,104.0,51.4,103.2,51.4,102.5,51.4,101.7,51.4,101.0,51.4],[101.9,38.4,101.2,38.4,100.6,38.5,99.9,38.7,99.4,39.1,98.9,39.6,98.6,40.1,98.4,40.8,98.3,41.4,98.3,42.1,98.5,42.7,98.9,43.3,99.3,43.8,99.9,44.1,100.5,44.4,101.2,44.5,101.8,44.5,102.5,44.5,103.2,44.4,103.8,44.2,104.4,43.8,104.8,43.4,105.2,42.8,105.4,42.2,105.4,41.5,105.3,40.8,105.2,40.2,104.8,39.6,104.4,39.1,103.8,38.8,103.2,38.5,102.5,38.4],[97.4,29.0,97.3,29.9,97.4,30.7,97.7,31.5,98.2,32.2,98.9,32.7,99.6,33.1,100.5,33.3,101.3,33.4,102.1,33.5,103.0,33.4,103.8,33.3,104.6,33.0,105.3,32.6,106.0,32.0,106.4,31.3,106.7,30.5,106.8,29.7,106.6,29.0,105.8,29.0,104.9,29.0,104.1,29.1,104.0,29.9,103.6,30.6,102.9,30.9,102.0,31.0,101.2,30.9,100.5,30.5,100.1,29.8,99.9,29.0,99.0,29.0,98.2,29.0],[111.2,44.8],[111.2,44.8],[111.2,44.8],[111.2,44.8],[113.3,35.7,113.3,38.8,113.3,41.8,113.3,44.9,113.5,47.9,114.4,50.8,116.6,52.9,119.5,53.4,122.4,52.5,124.3,50.2,125.4,47.5,125.6,50.3,126.0,53.0,129.0,53.0,129.0,50.0,129.0,47.0,129.0,43.9,129.0,40.9,129.0,37.8,128.1,35.7,125.0,35.7,124.9,38.6,124.9,41.7,124.8,44.7,123.9,47.6,121.9,49.8,119.0,49.4,117.6,46.8,117.5,43.7,117.5,40.7,117.5,37.6,116.3,35.7],[120.9,44.8],[120.9,44.8],[120.9,44.8],[142.4,35.3,140.4,35.7,138.7,36.8,137.7,38.5,137.1,40.5,136.3,41.5,136.4,39.5,136.4,37.5,136.1,35.7,134.1,35.7,132.9,36.6,132.9,38.6,132.9,40.6,132.9,42.7,132.9,44.7,132.9,46.7,132.9,48.7,132.9,50.8,132.9,52.8,134.7,53.0,136.7,53.0,137.1,51.3,137.1,49.3,137.1,47.3,137.1,45.2,137.5,43.3,138.3,41.5,139.7,40.0,141.7,39.6,143.7,39.9,143.8,38.0,143.9,36.0],[137.1,44.8],[137.1,44.8],[137.1,44.8],[148.3,31.9,148.0,34.1,146.8,35.7,144.5,35.8,144.2,37.7,145.0,39.1,146.7,39.6,146.7,41.8,146.7,44.0,146.7,46.2,146.8,48.4,147.2,50.6,148.5,52.4,150.5,53.3,152.7,53.4,154.9,53.0,155.4,51.2,155.4,49.0,153.4,49.5,151.3,49.0,150.7,47.0,150.7,44.7,150.7,42.5,150.7,40.3,151.8,39.2,154.0,39.2,155.3,38.2,155.3,36.0,153.3,35.7,151.1,35.7,150.7,33.9,150.5,31.9],[149.7,44.8],[149.7,44.8],[149.7,44.8]],[[53.0,35.7,53.0,37.1,53.0,38.4,53.0,39.8,53.0,41.1,53.0,42.4,53.0,43.8,53.0,45.1,53.0,46.5,53.0,47.8,53.0,49.1,53.0,50.5,53.0,51.8,53.1,53.0,54.5,53.0,55.8,53.0,57.2,53.0,57.2,51.7,57.2,50.3,57.2,49.0,57.2,47.6,57.2,46.3,57.2,45.0,57.2,43.6,57.2,42.3,57.2,41.0,57.2,39.6,57.2,38.3,57.2,36.9,57.0,35.7,55.7,35.7,54.4,35.7],[55.1,28.8,54.6,28.8,54.1,28.9,53.7,29.1,53.3,29.3,52.9,29.6,52.6,30.0,52.5,30.5,52.5,30.9,52.5,31.4,52.7,31.9,52.9,32.3,53.3,32.6,53.7,32.8,54.2,33.0,54.6,33.0,55.1,33.0,55.6,33.0,56.1,32.9,56.5,32.8,57.0,32.6,57.3,32.2,57.6,31.8,57.7,31.4,57.7,30.9,57.7,30.4,57.5,30.0,57.3,29.6,56.9,29.2,56.5,29.0,56.0,28.9,55.6,28.8],[54.7,44.8],[54.7,44.8],[68.7,35.3,66.9,35.5,65.2,35.9,63.6,36.7,62.2,37.8,61.2,39.3,60.5,40.9,60.1,42.6,60.0,44.4,60.2,46.2,60.5,47.9,61.2,49.5,62.3,50.9,63.7,52.1,65.2,52.9,67.0,53.3,68.7,53.4,70.5,53.3,72.2,52.8,73.8,52.1,75.2,50.9,76.2,49.5,76.9,47.9,77.2,46.1,77.3,44.4,77.2,42.6,76.8,40.9,76.1,39.2,75.1,37.8,73.7,36.7,72.1,35.9,70.4,35.5],[68.5,38.6,67.5,38.7,66.5,39.1,65.7,39.7,65.1,40.5,64.6,41.4,64.4,42.4,64.2,43.5,64.2,44.5,64.3,45.5,64.5,46.6,64.8,47.6,65.3,48.5,66.0,49.2,66.8,49.8,67.8,50.2,68.8,50.3,69.9,50.2,70.9,49.8,71.7,49.2,72.3,48.4,72.8,47.4,73.0,46.4,73.1,45.4,73.2,44.4,73.1,43.3,72.9,42.3,72.6,41.3,72.1,40.4,71.4,39.6,70.6,39.0,69.6,38.7],[68.3,44.8],[68.3,44.8],[87.7,35.6,84.2,36.0,81.2,37.7,79.7,40.8,80.5,44.1,83.5,45.6,81.5,47.0,80.2,49.8,83.4,50.8,81.0,52.0,78.8,54.6,80.2,57.6,83.5,58.7,87.0,58.9,90.5,58.7,93.8,57.8,96.2,55.4,96.3,51.9,93.9,49.5,90.5,48.9,87.0,48.9,83.6,48.5,85.9,46.7,89.4,46.7,92.7,45.6,94.7,42.9,93.6,39.8,90.8,38.3,94.1,38.6,96.2,37.5,94.7,35.6,91.2,35.6],[85.7,51.4,84.9,51.5,84.2,51.7,83.6,52.1,83.1,52.7,82.8,53.4,82.9,54.2,83.3,54.8,83.9,55.2,84.7,55.4,85.4,55.5,86.2,55.5,86.9,55.6,87.7,55.6,88.5,55.5,89.2,55.5,90.0,55.4,90.7,55.3,91.5,55.1,92.2,54.7,92.6,54.2,92.8,53.4,92.8,52.7,92.4,52.0,91.8,51.6,91.0,51.4,90.3,51.4,89.5,51.4,88.7,51.4,88.0,51.4,87.2,51.4,86.4,51.4],[87.4,38.4,86.7,38.4,86.0,38.5,85.4,38.7,84.9,39.1,84.4,39.6,84.0,40.1,83.8,40.8,83.8,41.4,83.8,42.1,84.0,42.7,84.3,43.3,84.8,43.8,85.4,44.1,86.0,44.4,86.7,44.5,87.3,44.5,88.0,44.5,88.6,44.4,89.3,44.2,89.8,43.8,90.3,43.4,90.7,42.8,90.8,42.2,90.9,41.5,90.8,40.8,90.6,40.2,90.3,39.6,89.8,39.1,89.3,38.8,88.7,38.5,88.0,38.4],[87.3,44.8],[98.8,35.7,98.8,38.8,98.8,41.8,98.8,44.9,99.0,47.9,99.9,50.8,102.0,52.9,105.0,53.4,107.9,52.5,109.7,50.2,110.8,47.5,111.1,50.3,111.4,53.0,114.5,53.0,114.5,50.0,114.5,47.0,114.5,43.9,114.5,40.9,114.5,37.8,113.6,35.7,110.5,35.7,110.4,38.6,110.4,41.7,110.3,44.7,109.4,47.6,107.3,49.8,104.4,49.4,103.1,46.8,103.0,43.7,103.0,40.7,103.0,37.6,101.8,35.7],[106.4,44.8],[106.4,44.8],[106.4,44.8],[127.8,35.3,125.9,35.7,124.2,36.8,123.2,38.5,122.6,40.5,121.8,41.5,121.8,39.5,121.9,37.5,121.6,35.7,119.5,35.7,118.4,36.6,118.4,38.6,118.4,40.6,118.4,42.7,118.4,44.7,118.4,46.7,118.4,48.7,118.4,50.8,118.4,52.8,120.2,53.0,122.2,53.0,122.5,51.3,122.5,49.3,122.5,47.3,122.5,45.2,123.0,43.3,123.8,41.5,125.2,40.0,127.2,39.6,129.1,39.9,129.3,38.0,129.4,36.0],[122.6,44.8],[122.6,44.8],[122.6,44.8],[133.8,31.9,133.4,34.1,132.2,35.7,130.0,35.8,129.7,37.7,130.5,39.1,132.2,39.6,132.2,41.8,132.2,44.0,132.2,46.2,132.2,48.4,132.7,50.6,134.0,52.4,136.0,53.3,138.2,53.4,140.3,53.0,140.9,51.2,140.9,49.0,138.9,49.5,136.8,49.0,136.2,47.0,136.2,44.7,136.2,42.5,136.2,40.3,137.3,39.2,139.5,39.2,140.8,38.2,140.8,36.0,138.8,35.7,136.6,35.7,136.2,33.9,136.0,31.9],[135.2,44.8],[135.2,44.8],[135.2,44.8],[151.0,35.3,147.5,36.0,144.6,38.1,143.0,41.3,142.5,44.9,143.1,48.4,145.1,51.4,148.3,53.1,151.8,53.4,155.3,52.7,158.1,50.4,157.7,47.9,154.9,48.4,152.0,50.3,148.5,49.5,146.7,46.5,146.7,42.9,148.2,39.7,151.5,38.6,154.3,40.5,154.8,44.0,154.7,42.7,151.1,42.8,147.4,42.8,145.2,44.2,147.8,45.2,151.4,45.2,155.0,45.1,158.6,45.1,158.6,41.6,157.2,38.3,154.5,36.0],[150.2,44.8],[150.2,44.8],[150.2,44.8]],[[46.7,35.7,46.7,39.6,46.7,43.5,47.3,47.4,49.3,50.6,53.0,51.5,56.4,49.8,57.9,46.3,58.7,47.3,58.2,51.1,56.2,54.4,52.5,55.2,48.8,54.1,46.7,55.0,48.0,57.8,51.8,58.8,55.6,58.7,59.1,57.0,61.2,53.8,61.9,50.0,62.0,46.1,62.0,42.2,62.0,38.3,60.6,35.7,57.8,36.7,57.8,40.6,57.4,44.5,55.4,47.7,51.9,46.9,51.0,43.2,50.9,39.3,50.6,35.7],[54.0,44.8],[54.0,44.8],[54.0,44.8],[73.4,35.3,71.6,35.5,69.9,35.9,68.3,36.7,67.0,37.8,65.9,39.3,65.2,40.9,64.9,42.6,64.8,44.4,64.9,46.2,65.3,47.9,66.0,49.5,67.0,50.9,68.4,52.1,70.0,52.9,71.7,53.3,73.5,53.4,75.2,53.3,76.9,52.8,78.5,52.1,79.9,50.9,80.9,49.5,81.6,47.9,82.0,46.1,82.0,44.4,81.9,42.6,81.5,40.9,80.8,39.2,79.8,37.8,78.4,36.7,76.8,35.9,75.1,35.5],[73.3,38.6,72.2,38.7,71.3,39.1,70.4,39.7,69.8,40.5,69.3,41.4,69.1,42.4,69.0,43.5,69.0,44.5,69.0,45.5,69.2,46.6,69.5,47.6,70.0,48.5,70.7,49.2,71.6,49.8,72.5,50.2,73.6,50.3,74.6,50.2,75.6,49.8,76.4,49.2,77.0,48.4,77.5,47.4,77.7,46.4,77.9,45.4,77.9,44.4,77.8,43.3,77.6,42.3,77.3,41.3,76.8,40.4,76.1,39.6,75.3,39.0,74.3,38.7],[73.0,44.8],[73.0,44.8],[92.4,35.6,88.9,36.0,85.9,37.7,84.4,40.8,85.2,44.1,88.2,45.6,86.3,47.0,84.9,49.8,88.2,50.8,85.7,52.0,83.6,54.6,84.9,57.6,88.2,58.7,91.7,58.9,95.2,58.7,98.5,57.8,100.9,55.4,101.0,51.9,98.6,49.5,95.2,48.9,91.7,48.9,88.3,48.5,90.7,46.7,94.2,46.7,97.5,45.6,99.5,42.9,98.3,39.8,95.5,38.3,98.8,38.6,100.9,37.5,99.4,35.6,95.9,35.6],[90.4,51.4,89.7,51.5,88.9,51.7,88.3,52.1,87.8,52.7,87.5,53.4,87.6,54.2,88.0,54.8,88.6,55.2,89.4,55.4,90.1,55.5,90.9,55.5,91.7,55.6,92.4,55.6,93.2,55.5,94.0,55.5,94.7,55.4,95.5,55.3,96.2,55.1,96.9,54.7,97.4,54.2,97.5,53.4,97.5,52.7,97.1,52.0,96.5,51.6,95.7,51.4,95.0,51.4,94.2,51.4,93.5,51.4,92.7,51.4,91.9,51.4,91.2,51.4],[92.1,38.4,91.4,38.4,90.8,38.5,90.1,38.7,89.6,39.1,89.1,39.6,88.8,40.1,88.6,40.8,88.5,41.4,88.5,42.1,88.7,42.7,89.1,43.3,89.5,43.8,90.1,44.1,90.7,44.4,91.4,44.5,92.0,44.5,92.7,44.5,93.4,44.4,94.0,44.2,94.6,43.8,95.0,43.4,95.4,42.8,95.6,42.2,95.6,41.5,95.5,40.8,95.3,40.2,95.0,39.6,94.6,39.1,94.0,38.8,93.4,38.5,92.8,38.4],[92.0,44.8],[103.8,29.6,103.8,33.0,103.8,36.5,103.8,39.9,103.8,43.4,103.8,46.8,103.8,50.2,104.5,53.0,107.9,53.0,107.9,49.6,107.9,46.1,108.3,42.7,109.9,39.7,113.1,38.9,115.3,41.3,115.6,44.7,115.6,48.2,115.6,51.6,117.7,53.0,119.8,51.7,119.8,48.2,119.8,44.8,119.7,41.3,118.7,38.0,116.2,35.8,112.8,35.4,109.9,36.9,108.3,40.0,107.6,39.1,107.9,35.7,108.0,32.3,107.2,29.6],[111.2,44.8],[111.2,44.8],[111.2,44.8],[123.1,35.7,123.1,38.8,123.1,41.8,123.1,44.9,123.3,47.9,124.2,50.8,126.4,52.9,129.3,53.4,132.2,52.5,134.1,50.2,135.2,47.5,135.4,50.3,135.8,53.0,138.8,53.0,138.8,50.0,138.8,47.0,138.8,43.9,138.8,40.9,138.8,37.8,137.9,35.7,134.8,35.7,134.7,38.6,134.7,41.7,134.6,44.7,133.7,47.6,131.7,49.8,128.8,49.4,127.4,46.8,127.3,43.7,127.3,40.7,127.3,37.6,126.2,35.7],[130.7,44.8],[130.7,44.8],[130.7,44.8],[152.2,35.3,150.2,35.7,148.5,36.8,147.5,38.5,146.9,40.5,146.1,41.5,146.2,39.5,146.2,37.5,145.9,35.7,143.9,35.7,142.7,36.6,142.7,38.6,142.7,40.6,142.7,42.7,142.7,44.7,142.7,46.7,142.7,48.7,142.7,50.8,142.7,52.8,144.5,53.0,146.5,53.0,146.9,51.3,146.9,49.3,146.9,47.3,146.9,45.2,147.3,43.3,148.1,41.5,149.5,40.0,151.5,39.6,153.5,39.9,153.6,38.0,153.7,36.0],[146.9,44.8],[146.9,44.8],[146.9,44.8],[158.1,31.9,157.8,34.1,156.6,35.7,154.3,35.8,154.0,37.7,154.8,39.1,156.5,39.6,156.5,41.8,156.5,44.0,156.5,46.2,156.6,48.4,157.0,50.6,158.3,52.4,160.3,53.3,162.5,53.4,164.7,53.0,165.2,51.2,165.2,49.0,163.2,49.5,161.1,49.0,160.5,47.0,160.5,44.7,160.5,42.5,160.5,40.3,161.6,39.2,163.8,39.2,165.1,38.2,165.1,36.0,163.1,35.7,160.9,35.7,160.5,33.9,160.3,31.9],[159.5,44.8],[159.5,44.8],[159.5,44.8]],[[62.2,35.7,62.2,37.6,62.2,39.4,62.2,41.2,62.2,43.1,62.2,44.9,62.2,46.8,62.2,48.6,62.2,50.4,62.2,52.3,62.1,54.1,61.1,55.5,59.3,55.7,59.1,57.2,59.2,59.0,60.8,59.5,62.6,59.2,64.3,58.5,65.5,57.1,66.2,55.4,66.4,53.6,66.4,51.7,66.4,49.9,66.4,48.1,66.4,46.2,66.4,44.4,66.4,42.6,66.4,40.7,66.4,38.9,66.4,37.1,65.8,35.7,64.0,35.7],[64.3,28.8,63.8,28.8,63.3,28.9,62.9,29.1,62.4,29.3,62.1,29.6,61.8,30.0,61.7,30.5,61.6,30.9,61.7,31.4,61.9,31.9,62.1,32.3,62.5,32.6,62.9,32.8,63.4,33.0,63.8,33.0,64.3,33.0,64.8,33.0,65.3,32.9,65.7,32.8,66.1,32.6,66.5,32.2,66.7,31.8,66.9,31.4,66.9,30.9,66.9,30.4,66.7,30.0,66.5,29.6,66.1,29.2,65.7,29.0,65.2,28.9,64.7,28.8],[63.8,44.8],[63.8,44.8],[77.8,35.3,76.1,35.5,74.3,35.9,72.8,36.7,71.4,37.8,70.4,39.3,69.7,40.9,69.3,42.6,69.2,44.4,69.3,46.2,69.7,47.9,70.4,49.5,71.5,50.9,72.8,52.1,74.4,52.9,76.1,53.3,77.9,53.4,79.7,53.3,81.4,52.8,83.0,52.1,84.3,50.9,85.4,49.5,86.0,47.9,86.4,46.1,86.5,44.4,86.4,42.6,86.0,40.9,85.3,39.2,84.2,37.8,82.9,36.7,81.3,35.9,79.6,35.5],[77.7,38.6,76.7,38.7,75.7,39.1,74.9,39.7,74.2,40.5,73.8,41.4,73.5,42.4,73.4,43.5,73.4,44.5,73.5,45.5,73.7,46.6,74.0,47.6,74.5,48.5,75.2,49.2,76.0,49.8,77.0,50.2,78.0,50.3,79.1,50.2,80.0,49.8,80.9,49.2,81.5,48.4,81.9,47.4,82.2,46.4,82.3,45.4,82.3,44.4,82.3,43.3,82.1,42.3,81.8,41.3,81.3,40.4,80.6,39.6,79.7,39.0,78.8,38.7],[77.5,44.8],[77.5,44.8],[96.8,35.6,93.4,36.0,90.3,37.7,88.8,40.8,89.7,44.1,92.7,45.6,90.7,47.0,89.4,49.8,92.6,50.8,90.2,52.0,88.0,54.6,89.3,57.6,92.6,58.7,96.1,58.9,99.6,58.7,103.0,57.8,105.4,55.4,105.5,51.9,103.1,49.5,99.7,48.9,96.2,48.9,92.8,48.5,95.1,46.7,98.6,46.7,101.9,45.6,103.9,42.9,102.7,39.8,100.0,38.3,103.2,38.6,105.4,37.5,103.8,35.6,100.3,35.6],[94.8,51.4,94.1,51.5,93.4,51.7,92.7,52.1,92.2,52.7,92.0,53.4,92.0,54.2,92.4,54.8,93.1,55.2,93.8,55.4,94.6,55.5,95.3,55.5,96.1,55.6,96.9,55.6,97.6,55.5,98.4,55.5,99.2,55.4,99.9,55.3,100.7,55.1,101.3,54.7,101.8,54.2,102.0,53.4,101.9,52.7,101.6,52.0,100.9,51.6,100.2,51.4,99.4,51.4,98.7,51.4,97.9,51.4,97.1,51.4,96.4,51.4,95.6,51.4],[96.5,38.4,95.9,38.4,95.2,38.5,94.6,38.7,94.0,39.1,93.6,39.6,93.2,40.1,93.0,40.8,92.9,41.4,93.0,42.1,93.2,42.7,93.5,43.3,94.0,43.8,94.5,44.1,95.2,44.4,95.8,44.5,96.5,44.5,97.2,44.5,97.8,44.4,98.5,44.2,99.0,43.8,99.5,43.4,99.8,42.8,100.0,42.2,100.1,41.5,100.0,40.8,99.8,40.2,99.5,39.6,99.0,39.1,98.5,38.8,97.8,38.5,97.2,38.4],[96.5,44.8],[105.9,44.8],[105.9,44.8],[105.9,44.8],[105.9,44.8],[108.0,35.7,108.0,38.8,108.0,41.8,108.0,44.9,108.1,47.9,109.1,50.8,111.2,52.9,114.2,53.4,117.1,52.5,118.9,50.2,120.0,47.5,120.3,50.3,120.6,53.0,123.7,53.0,123.7,50.0,123.7,47.0,123.7,43.9,123.7,40.9,123.7,37.8,122.7,35.7,119.7,35.7,119.5,38.6,119.5,41.7,119.4,44.7,118.6,47.6,116.5,49.8,113.6,49.4,112.3,46.8,112.1,43.7,112.1,40.7,112.1,37.6,111.0,35.7],[115.5,44.8],[115.5,44.8],[115.5,44.8],[137.0,35.3,135.0,35.7,133.4,36.8,132.4,38.5,131.8,40.5,131.0,41.5,131.0,39.5,131.0,37.5,130.7,35.7,128.7,35.7,127.6,36.6,127.6,38.6,127.6,40.6,127.6,42.7,127.6,44.7,127.6,46.7,127.6,48.7,127.6,50.8,127.6,52.8,129.3,53.0,131.4,53.0,131.7,51.3,131.7,49.3,131.7,47.3,131.7,45.2,132.1,43.3,132.9,41.5,134.4,40.0,136.3,39.6,138.3,39.9,138.5,38.0,138.6,36.0],[131.8,44.8],[131.8,44.8],[131.8,44.8],[143.0,31.9,142.6,34.1,141.4,35.7,139.2,35.8,138.9,37.7,139.7,39.1,141.4,39.6,141.4,41.8,141.4,44.0,141.4,46.2,141.4,48.4,141.9,50.6,143.1,52.4,145.2,53.3,147.3,53.4,149.5,53.0,150.1,51.2,150.1,49.0,148.1,49.5,146.0,49.0,145.4,47.0,145.4,44.7,145.4,42.5,145.4,40.3,146.5,39.2,148.7,39.2,149.9,38.2,149.9,36.0,148.0,35.7,145.8,35.7,145.4,33.9,145.2,31.9],[144.3,44.8],[144.3,44.8],[144.3,44.8]]]diff --git a/site/public/marketing/assets/mark-dark.svg b/site/public/marketing/assets/mark-dark.svgdeleted file mode 100644index 894fe483..00000000--- a/site/public/marketing/assets/mark-dark.svg+++ /dev/null@@ -1 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="#B780FF" d="M21.528 8.111Q25.000 7.278 30.000 7.278L30.000 7.278Q35.000 7.278 45.833 7.833L56.667 8.389L56.667 8.389L56.111 20.056Q55.556 31.722 54.861 34.222L54.861 34.222Q54.167 36.722 53.472 37.556L53.472 37.556Q52.778 38.389 51.528 39.083L51.528 39.083Q50.278 39.778 44.028 40.889L44.028 40.889Q37.778 42.000 36.111 43.250L36.111 43.250Q34.444 44.500 33.889 45.750L33.889 45.750Q33.333 47.000 33.472 48.806L33.472 48.806Q33.611 50.611 34.583 52.417L34.583 52.417Q35.556 54.222 37.361 55.889L37.361 55.889Q39.167 57.556 40.694 58.250L42.222 58.944L42.222 58.944L42.361 59.778Q42.500 60.611 42.500 62.278L42.500 63.944L42.500 63.944L41.250 63.944Q40.000 63.944 35.139 62.972L35.139 62.972Q30.278 62.000 25.556 60.056L25.556 60.056Q20.833 58.111 18.194 56.306L18.194 56.306Q15.556 54.500 13.611 52.556L13.611 52.556Q11.667 50.611 10.278 48.667L10.278 48.667Q8.889 46.722 7.500 43.389L7.500 43.389Q6.111 40.056 5.556 36.861L5.556 36.861Q5.000 33.667 5.000 31.167L5.000 31.167Q5.000 28.667 5.417 26.028L5.417 26.028Q5.833 23.389 6.944 20.611L6.944 20.611Q8.056 17.833 9.444 15.889L9.444 15.889Q10.833 13.944 12.639 12.417L12.639 12.417Q14.444 10.889 16.250 9.917L16.250 9.917Q18.056 8.944 21.528 8.111L21.528 8.111Z M66.250 33.944Q68.611 33.667 72.639 33.667L72.639 33.667Q76.667 33.667 79.028 34.083L79.028 34.083Q81.389 34.500 83.889 35.611L83.889 35.611Q86.389 36.722 88.611 38.667L88.611 38.667Q90.833 40.611 92.083 42.694L92.083 42.694Q93.333 44.778 93.889 46.444L93.889 46.444Q94.444 48.111 94.861 51.306L94.861 51.306Q95.278 54.500 95.139 57.972L95.139 57.972Q95.000 61.444 94.444 64.222L94.444 64.222Q93.889 67.000 92.083 71.306L92.083 71.306Q90.278 75.611 89.028 77.278L89.028 77.278Q87.778 78.944 85.694 81.028L85.694 81.028Q83.611 83.111 80.694 85.194L80.694 85.194Q77.778 87.278 75.556 88.389L75.556 88.389Q73.333 89.500 71.111 90.333L71.111 90.333Q68.889 91.167 65.833 91.861L65.833 91.861Q62.778 92.556 59.028 92.833L55.278 93.111L55.278 93.111L55.278 89.222L55.278 89.222L56.944 88.528Q58.611 87.833 60.972 85.889L60.972 85.889Q63.333 83.944 64.444 81.722L64.444 81.722Q65.556 79.500 65.417 77.417L65.417 77.417Q65.278 75.333 64.722 74.639L64.722 74.639Q64.167 73.944 63.194 73.528L63.194 73.528Q62.222 73.111 56.667 72.972L56.667 72.972Q51.111 72.833 50.139 72.556L50.139 72.556Q49.167 72.278 48.472 71.583L48.472 71.583Q47.778 70.889 47.361 66.861L47.361 66.861Q46.944 62.833 46.944 57.833L46.944 57.833Q46.944 52.833 47.222 51.167L47.222 51.167Q47.500 49.500 48.611 46.722L48.611 46.722Q49.722 43.944 51.944 41.306L51.944 41.306Q54.167 38.667 56.667 37.139L56.667 37.139Q59.167 35.611 61.528 34.917L61.528 34.917Q63.889 34.222 66.250 33.944L66.250 33.944Z"/></svg>diff --git a/site/public/marketing/assets/mark.svg b/site/public/marketing/assets/mark.svgdeleted file mode 100644index 25e7c7ca..00000000--- a/site/public/marketing/assets/mark.svg+++ /dev/null@@ -1 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="#6F00FF" d="M21.528 8.111Q25.000 7.278 30.000 7.278L30.000 7.278Q35.000 7.278 45.833 7.833L56.667 8.389L56.667 8.389L56.111 20.056Q55.556 31.722 54.861 34.222L54.861 34.222Q54.167 36.722 53.472 37.556L53.472 37.556Q52.778 38.389 51.528 39.083L51.528 39.083Q50.278 39.778 44.028 40.889L44.028 40.889Q37.778 42.000 36.111 43.250L36.111 43.250Q34.444 44.500 33.889 45.750L33.889 45.750Q33.333 47.000 33.472 48.806L33.472 48.806Q33.611 50.611 34.583 52.417L34.583 52.417Q35.556 54.222 37.361 55.889L37.361 55.889Q39.167 57.556 40.694 58.250L42.222 58.944L42.222 58.944L42.361 59.778Q42.500 60.611 42.500 62.278L42.500 63.944L42.500 63.944L41.250 63.944Q40.000 63.944 35.139 62.972L35.139 62.972Q30.278 62.000 25.556 60.056L25.556 60.056Q20.833 58.111 18.194 56.306L18.194 56.306Q15.556 54.500 13.611 52.556L13.611 52.556Q11.667 50.611 10.278 48.667L10.278 48.667Q8.889 46.722 7.500 43.389L7.500 43.389Q6.111 40.056 5.556 36.861L5.556 36.861Q5.000 33.667 5.000 31.167L5.000 31.167Q5.000 28.667 5.417 26.028L5.417 26.028Q5.833 23.389 6.944 20.611L6.944 20.611Q8.056 17.833 9.444 15.889L9.444 15.889Q10.833 13.944 12.639 12.417L12.639 12.417Q14.444 10.889 16.250 9.917L16.250 9.917Q18.056 8.944 21.528 8.111L21.528 8.111Z M66.250 33.944Q68.611 33.667 72.639 33.667L72.639 33.667Q76.667 33.667 79.028 34.083L79.028 34.083Q81.389 34.500 83.889 35.611L83.889 35.611Q86.389 36.722 88.611 38.667L88.611 38.667Q90.833 40.611 92.083 42.694L92.083 42.694Q93.333 44.778 93.889 46.444L93.889 46.444Q94.444 48.111 94.861 51.306L94.861 51.306Q95.278 54.500 95.139 57.972L95.139 57.972Q95.000 61.444 94.444 64.222L94.444 64.222Q93.889 67.000 92.083 71.306L92.083 71.306Q90.278 75.611 89.028 77.278L89.028 77.278Q87.778 78.944 85.694 81.028L85.694 81.028Q83.611 83.111 80.694 85.194L80.694 85.194Q77.778 87.278 75.556 88.389L75.556 88.389Q73.333 89.500 71.111 90.333L71.111 90.333Q68.889 91.167 65.833 91.861L65.833 91.861Q62.778 92.556 59.028 92.833L55.278 93.111L55.278 93.111L55.278 89.222L55.278 89.222L56.944 88.528Q58.611 87.833 60.972 85.889L60.972 85.889Q63.333 83.944 64.444 81.722L64.444 81.722Q65.556 79.500 65.417 77.417L65.417 77.417Q65.278 75.333 64.722 74.639L64.722 74.639Q64.167 73.944 63.194 73.528L63.194 73.528Q62.222 73.111 56.667 72.972L56.667 72.972Q51.111 72.833 50.139 72.556L50.139 72.556Q49.167 72.278 48.472 71.583L48.472 71.583Q47.778 70.889 47.361 66.861L47.361 66.861Q46.944 62.833 46.944 57.833L46.944 57.833Q46.944 52.833 47.222 51.167L47.222 51.167Q47.500 49.500 48.611 46.722L48.611 46.722Q49.722 43.944 51.944 41.306L51.944 41.306Q54.167 38.667 56.667 37.139L56.667 37.139Q59.167 35.611 61.528 34.917L61.528 34.917Q63.889 34.222 66.250 33.944L66.250 33.944Z"/></svg>diff --git a/site/public/marketing/assets/og-image.png b/site/public/marketing/assets/og-image.pngdeleted file mode 100644index 2035cccf..00000000Binary files a/site/public/marketing/assets/og-image.png and /dev/null differdiff --git a/site/public/marketing/assets/ribbon-grain.png b/site/public/marketing/assets/ribbon-grain.pngdeleted file mode 100644index 760d6cda..00000000Binary files a/site/public/marketing/assets/ribbon-grain.png and /dev/null differdiff --git a/site/public/marketing/assets/speech-data.json b/site/public/marketing/assets/speech-data.jsondeleted file mode 100644index 5fa4716c..00000000--- a/site/public/marketing/assets/speech-data.json+++ /dev/null@@ -1 +0,0 @@-{"duration":19,"speechDuration":16.5829375,"step":0.01,"columns":["loudness","low","mid","high"],"frames":[[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.00491,0.00013,0.00455,0.00811],[0.01382,0.00033,0.01398,0.02373],[0.03735,0.00463,0.03034,0.04769],[0.09295,0.04559,0.04976,0.08141],[0.17348,0.1308,0.10051,0.14514],[0.26717,0.21009,0.19643,0.25185],[0.35864,0.26109,0.29594,0.34524],[0.4387,0.29514,0.38383,0.42697],[0.50873,0.3192,0.46074,0.4985],[0.56945,0.33651,0.52806,0.5611],[0.62211,0.34857,0.58697,0.61588],[0.66564,0.35768,0.63852,0.65819],[0.70059,0.36596,0.68365,0.70086],[0.72939,0.37732,0.72314,0.7382],[0.75328,0.39659,0.75713,0.77088],[0.77371,0.41958,0.78455,0.79948],[0.79117,0.44176,0.80862,0.82451],[0.79939,0.46076,0.82356,0.84642],[0.80775,0.47661,0.82985,0.86559],[0.80977,0.49111,0.83349,0.88237],[0.81031,0.50395,0.83233,0.89705],[0.80645,0.51648,0.82705,0.90662],[0.80429,0.52639,0.81959,0.90344],[0.79811,0.53288,0.81053,0.89105],[0.7895,0.5383,0.79518,0.8666],[0.77942,0.54164,0.77107,0.82949],[0.76439,0.54139,0.74245,0.78982],[0.74893,0.53914,0.7118,0.74934],[0.73263,0.53535,0.68095,0.7123],[0.71603,0.53028,0.65011,0.67695],[0.69879,0.52387,0.61953,0.64326],[0.67766,0.51529,0.58995,0.61126],[0.65329,0.50114,0.5594,0.57927],[0.62599,0.48302,0.5284,0.54758],[0.59718,0.46336,0.49831,0.517],[0.56812,0.44274,0.46948,0.48763],[0.53885,0.42103,0.44189,0.45935],[0.5095,0.39822,0.41556,0.43206],[0.48037,0.37473,0.39053,0.40607],[0.45126,0.35202,0.36687,0.38147],[0.42392,0.33069,0.34464,0.35836],[0.39824,0.31066,0.32376,0.33664],[0.37411,0.29184,0.30415,0.31625],[0.35144,0.27416,0.28572,0.29709],[0.33015,0.25755,0.26841,0.27909],[0.31015,0.24194,0.25215,0.26218],[0.29136,0.22728,0.23687,0.24629],[0.2737,0.21351,0.22252,0.23137],[0.25712,0.20058,0.20904,0.21735],[0.24154,0.18842,0.19637,0.20419],[0.22691,0.17701,0.18447,0.19181],[0.21316,0.16628,0.1733,0.18019],[0.20025,0.15621,0.1628,0.16928],[0.18811,0.14674,0.15293,0.15902],[0.17672,0.13785,0.14367,0.14939],[0.16601,0.1295,0.13496,0.14033],[0.15595,0.12166,0.12679,0.13183],[0.1465,0.11429,0.11911,0.12384],[0.13763,0.10736,0.11189,0.11634],[0.12929,0.10086,0.10511,0.10929],[0.12146,0.09475,0.09874,0.10267],[0.1141,0.08901,0.09276,0.09645],[0.10718,0.08361,0.08714,0.09061],[0.10069,0.07855,0.08186,0.08512],[0.09459,0.07379,0.0769,0.07996],[0.08886,0.06932,0.07224,0.07512],[0.08606,0.06528,0.0682,0.07256],[0.11615,0.07026,0.06709,0.07945],[0.18368,0.13171,0.10977,0.10038],[0.26865,0.21744,0.21476,0.15456],[0.35823,0.27113,0.31278,0.23603],[0.43436,0.30512,0.39856,0.32645],[0.4976,0.33643,0.47364,0.40726],[0.55001,0.36784,0.53934,0.47286],[0.59387,0.40367,0.59458,0.51622],[0.63197,0.43899,0.639,0.52995],[0.66652,0.47028,0.68188,0.53352],[0.699,0.50084,0.71883,0.5405],[0.73069,0.53918,0.73761,0.54493],[0.76312,0.59173,0.72818,0.53243],[0.79269,0.64269,0.70714,0.50487],[0.81838,0.68729,0.68253,0.47629],[0.82304,0.72077,0.65192,0.44816],[0.8113,0.71163,0.61601,0.42128],[0.78284,0.68249,0.57983,0.39592],[0.74482,0.64699,0.54685,0.38407],[0.70728,0.61028,0.51917,0.38735],[0.67248,0.57439,0.49181,0.38387],[0.63965,0.53978,0.46291,0.37006],[0.60807,0.50713,0.43523,0.35274],[0.57767,0.47648,0.40924,0.33569],[0.5492,0.44766,0.38491,0.31994],[0.5226,0.42062,0.36227,0.30677],[0.4974,0.39534,0.34146,0.29826],[0.47226,0.37156,0.32178,0.29315],[0.44679,0.34926,0.30282,0.28252],[0.4209,0.32827,0.2847,0.26694],[0.39718,0.30853,0.26811,0.25367],[0.37591,0.29021,0.25405,0.24704],[0.36334,0.27484,0.24162,0.24468],[0.37958,0.28014,0.2364,0.24302],[0.42198,0.34147,0.27046,0.24003],[0.47919,0.39954,0.341,0.25305],[0.53286,0.44387,0.40651,0.28281],[0.5775,0.48318,0.45212,0.32331],[0.61151,0.52198,0.47547,0.37142],[0.64012,0.56215,0.47813,0.42127],[0.65764,0.59113,0.46841,0.45208],[0.65634,0.59248,0.44728,0.44242],[0.64449,0.58491,0.42297,0.41947],[0.6276,0.57299,0.39883,0.39534],[0.60711,0.55646,0.37543,0.37179],[0.5826,0.53449,0.353,0.34966],[0.55894,0.50904,0.33241,0.33894],[0.54114,0.48023,0.31406,0.38262],[0.52925,0.45154,0.29636,0.45968],[0.52122,0.42454,0.27955,0.52713],[0.51703,0.4038,0.26392,0.58616],[0.53256,0.4171,0.254,0.60412],[0.56858,0.47931,0.2603,0.58134],[0.61685,0.54257,0.29559,0.55857],[0.66222,0.59092,0.34482,0.53876],[0.70119,0.62747,0.39891,0.5203],[0.73115,0.65626,0.45383,0.50243],[0.76249,0.67891,0.50726,0.48448],[0.78889,0.69735,0.55554,0.46685],[0.80998,0.71108,0.59822,0.44897],[0.82649,0.72657,0.62221,0.43677],[0.83827,0.74242,0.63508,0.43355],[0.85019,0.75212,0.64625,0.45803],[0.861,0.75948,0.65547,0.47984],[0.86728,0.76983,0.6604,0.48288],[0.87275,0.78117,0.66369,0.48523],[0.87894,0.79134,0.6634,0.48387],[0.88592,0.80597,0.65785,0.4744],[0.89456,0.82449,0.64322,0.45867],[0.90756,0.8464,0.61807,0.43643],[0.9191,0.86557,0.59194,0.41392],[0.9292,0.88235,0.56859,0.39304],[0.93301,0.89704,0.55272,0.3785],[0.93752,0.8993,0.54991,0.37402],[0.93393,0.89443,0.56248,0.37391],[0.9276,0.88569,0.57547,0.37471],[0.91975,0.87583,0.58024,0.37471],[0.90994,0.865,0.5769,0.37231],[0.89743,0.85442,0.56989,0.36834],[0.88557,0.84362,0.55858,0.36117],[0.87336,0.83179,0.54355,0.35035],[0.85956,0.81926,0.52547,0.33705],[0.84331,0.80754,0.50443,0.32095],[0.82749,0.79645,0.48148,0.30322],[0.81063,0.78442,0.45881,0.28642],[0.79266,0.77097,0.43682,0.27053],[0.77356,0.75618,0.41547,0.25564],[0.7528,0.73854,0.39437,0.24119],[0.72932,0.71776,0.37338,0.22747],[0.70267,0.69278,0.35261,0.21434],[0.67261,0.66201,0.33203,0.20185],[0.63943,0.62882,0.3123,0.18998],[0.60542,0.5947,0.29362,0.17873],[0.57121,0.56028,0.27592,0.16803],[0.53661,0.52633,0.2592,0.15785],[0.50409,0.49445,0.2435,0.14829],[0.47355,0.46449,0.22875,0.1393],[0.44486,0.43635,0.21489,0.13086],[0.41791,0.40991,0.20187,0.12293],[0.39259,0.38507,0.18964,0.11549],[0.3688,0.36174,0.17815,0.10849],[0.34646,0.33983,0.16735,0.10192],[0.32547,0.31924,0.15721,0.09574],[0.30575,0.2999,0.14769,0.08994],[0.28722,0.28173,0.13874,0.08449],[0.26982,0.26466,0.13034,0.07937],[0.25347,0.24862,0.12244,0.07456],[0.23812,0.23356,0.11502,0.07005],[0.22369,0.21941,0.10805,0.0658],[0.21014,0.20612,0.10151,0.06182],[0.19741,0.19363,0.09536,0.05807],[0.18545,0.1819,0.08958,0.05455],[0.17421,0.17088,0.08415,0.05125],[0.16366,0.16052,0.07905,0.04814],[0.15374,0.1508,0.07426,0.04522],[0.14443,0.14166,0.06976,0.04248],[0.13568,0.13308,0.06554,0.03991],[0.12917,0.12506,0.06169,0.03804],[0.12616,0.11819,0.05964,0.05438],[0.125,0.11224,0.06217,0.0955],[0.12529,0.10687,0.06701,0.13509],[0.13202,0.10163,0.07036,0.17427],[0.17106,0.11483,0.07328,0.22512],[0.24597,0.19249,0.08493,0.25235],[0.33679,0.29329,0.11949,0.25421],[0.41958,0.38151,0.18939,0.28482],[0.49042,0.43281,0.28332,0.35475],[0.54574,0.45993,0.37278,0.4318],[0.59236,0.48151,0.45107,0.49668],[0.63245,0.51382,0.5066,0.52555],[0.67337,0.56457,0.50455,0.51516],[0.71414,0.61892,0.49241,0.49231],[0.74983,0.66649,0.47743,0.46857],[0.78106,0.70812,0.46067,0.44471],[0.80839,0.74456,0.44396,0.42083],[0.8323,0.77644,0.42767,0.39749],[0.85324,0.80435,0.41085,0.37509],[0.86858,0.82877,0.3936,0.35398],[0.87293,0.84358,0.37899,0.33417],[0.87282,0.85158,0.36933,0.31527],[0.88124,0.86382,0.36306,0.29985],[0.89606,0.88082,0.35902,0.2897],[0.90904,0.89569,0.35644,0.28927],[0.92039,0.90871,0.35452,0.2931],[0.93033,0.92011,0.34984,0.30006],[0.93902,0.93008,0.34031,0.31978],[0.94664,0.93881,0.3286,0.34462],[0.94984,0.94645,0.31647,0.36046],[0.94527,0.94505,0.30383,0.35738],[0.92888,0.9264,0.28889,0.34219],[0.9003,0.89771,0.27239,0.32337],[0.86541,0.8634,0.25647,0.30418],[0.82631,0.82353,0.24118,0.28586],[0.78415,0.78066,0.22671,0.2686],[0.74294,0.73762,0.21467,0.25852],[0.70598,0.69572,0.20826,0.26751],[0.67986,0.65624,0.20582,0.29059],[0.67395,0.6396,0.20638,0.29932],[0.68882,0.66278,0.23684,0.29791],[0.7192,0.69605,0.29145,0.30083],[0.74925,0.71683,0.35383,0.31308],[0.77373,0.72524,0.42178,0.33392],[0.79642,0.72488,0.49218,0.34235],[0.81454,0.72293,0.55557,0.33703],[0.82971,0.7203,0.61104,0.33138],[0.8424,0.71685,0.6596,0.33164],[0.85299,0.71134,0.70209,0.33177],[0.86495,0.70514,0.73927,0.32642],[0.87013,0.70115,0.77182,0.31607],[0.87425,0.69925,0.8003,0.30564],[0.87886,0.70018,0.82258,0.29456],[0.88744,0.70951,0.82729,0.28479],[0.89789,0.72998,0.82634,0.28159],[0.9068,0.74631,0.8267,0.28324],[0.90946,0.75468,0.83105,0.28805],[0.91245,0.75628,0.83782,0.28734],[0.91403,0.75641,0.84456,0.28375],[0.91549,0.75632,0.85339,0.2796],[0.91809,0.75596,0.8627,0.27491],[0.91644,0.75609,0.86734,0.26892],[0.91274,0.75733,0.86413,0.26085],[0.9104,0.75933,0.85652,0.25091],[0.90145,0.75881,0.83945,0.2398],[0.88345,0.74824,0.80152,0.22769],[0.85417,0.72767,0.75521,0.21512],[0.82084,0.70104,0.70997,0.20357],[0.78637,0.6721,0.66795,0.19535],[0.76007,0.64834,0.63065,0.19104],[0.75087,0.64404,0.60257,0.1871],[0.75661,0.67307,0.59064,0.19352],[0.77682,0.70103,0.59251,0.22428],[0.79695,0.71887,0.60964,0.27169],[0.813,0.73143,0.62589,0.32754],[0.82046,0.73981,0.6377,0.3815],[0.82916,0.74744,0.63998,0.41568],[0.83266,0.75683,0.63572,0.42291],[0.82717,0.75915,0.62065,0.41357],[0.81281,0.7472,0.59056,0.39341],[0.78786,0.72693,0.5571,0.37049],[0.75847,0.70151,0.52422,0.34832],[0.72667,0.67197,0.49362,0.33046],[0.70415,0.64385,0.46814,0.31933],[0.6967,0.63582,0.4528,0.31002],[0.70751,0.66047,0.46586,0.30577],[0.72845,0.681,0.50133,0.30413],[0.74944,0.69335,0.53588,0.29983],[0.76003,0.70264,0.56277,0.29428],[0.77055,0.71073,0.573,0.28618],[0.77012,0.71773,0.56977,0.27443],[0.77494,0.72525,0.55916,0.26094],[0.77379,0.73372,0.54635,0.24765],[0.77874,0.74335,0.53336,0.2355],[0.7837,0.7537,0.52309,0.22432],[0.7902,0.7641,0.51693,0.21418],[0.80354,0.77604,0.5157,0.20789],[0.81275,0.77549,0.55432,0.21016],[0.8261,0.76431,0.60996,0.22267],[0.84297,0.74829,0.65864,0.23507],[0.8564,0.73083,0.70125,0.24268],[0.86621,0.7141,0.73855,0.2567],[0.88034,0.70187,0.77118,0.28164],[0.89023,0.69354,0.79974,0.31036],[0.89745,0.68794,0.82474,0.33102],[0.90078,0.68658,0.84662,0.34199],[0.90824,0.69625,0.85977,0.35472],[0.9143,0.71194,0.85998,0.37259],[0.91914,0.73217,0.85339,0.38471],[0.92474,0.75694,0.83495,0.38115],[0.93129,0.78728,0.80118,0.36768],[0.93701,0.81384,0.76118,0.34942],[0.93528,0.83707,0.72078,0.32986],[0.9214,0.82932,0.67923,0.31031],[0.89221,0.79946,0.63917,0.29476],[0.85335,0.76027,0.60244,0.31126],[0.81836,0.7164,0.56784,0.37931],[0.78821,0.67318,0.5345,0.45679],[0.76213,0.6326,0.50278,0.51932],[0.73629,0.59446,0.47299,0.57932],[0.70944,0.55867,0.44526,0.61374],[0.67731,0.52509,0.41959,0.60498],[0.64211,0.49346,0.39496,0.57441],[0.6032,0.46356,0.37103,0.53961],[0.56666,0.43547,0.34855,0.50691],[0.53416,0.40932,0.32837,0.47893],[0.50454,0.38515,0.311,0.45794],[0.47744,0.3622,0.29506,0.43969],[0.45234,0.34055,0.28083,0.42297],[0.43191,0.32107,0.26775,0.40807],[0.42923,0.31355,0.25595,0.39262],[0.4563,0.35594,0.25392,0.37359],[0.50319,0.42414,0.28856,0.36394],[0.55622,0.47659,0.34548,0.37749],[0.6018,0.51427,0.40591,0.40249],[0.63567,0.54369,0.46121,0.4329],[0.66819,0.56772,0.50781,0.48286],[0.69793,0.58364,0.54812,0.54741],[0.72205,0.59288,0.58235,0.60391],[0.73757,0.59986,0.61059,0.65335],[0.75084,0.60657,0.63634,0.69662],[0.76762,0.61457,0.65887,0.73449],[0.78195,0.62672,0.67307,0.76763],[0.79419,0.64234,0.67896,0.78028],[0.80557,0.66004,0.68082,0.7809],[0.81373,0.68086,0.67684,0.77023],[0.82936,0.70716,0.66038,0.74409],[0.85066,0.74371,0.63309,0.70799],[0.86931,0.7757,0.60609,0.67162],[0.88562,0.8037,0.58018,0.63574],[0.8999,0.8282,0.55458,0.60017],[0.90592,0.84965,0.52595,0.56493],[0.89591,0.84277,0.49598,0.53112],[0.8695,0.81416,0.46677,0.49975],[0.83105,0.7774,0.43917,0.47121],[0.78855,0.73716,0.41322,0.44593],[0.74499,0.69516,0.38898,0.42367],[0.70228,0.65333,0.36631,0.40355],[0.66289,0.61398,0.3458,0.38662],[0.62821,0.57732,0.32826,0.3772],[0.61223,0.55145,0.31334,0.37002],[0.61671,0.56092,0.31255,0.35995],[0.64555,0.6039,0.35439,0.36089],[0.68456,0.63505,0.4071,0.39107],[0.71734,0.65992,0.44848,0.43299],[0.74565,0.68139,0.48075,0.48178],[0.76571,0.70349,0.50491,0.52598],[0.79024,0.72977,0.50925,0.54464],[0.81642,0.76309,0.49552,0.53288],[0.83934,0.79267,0.47727,0.50675],[0.85939,0.81855,0.46128,0.47919],[0.87695,0.8412,0.44782,0.45312],[0.89231,0.86102,0.4366,0.42864],[0.90575,0.87837,0.42636,0.40568],[0.91751,0.89355,0.41843,0.38688],[0.92781,0.90684,0.42229,0.3818],[0.93648,0.90566,0.45933,0.40894],[0.93797,0.89558,0.51207,0.46753],[0.93687,0.88071,0.56485,0.534],[0.93475,0.86403,0.61231,0.59217],[0.93185,0.84623,0.65528,0.64307],[0.92901,0.82888,0.69417,0.68525],[0.92466,0.81419,0.72716,0.69841],[0.91796,0.80411,0.74082,0.69356],[0.90446,0.79723,0.72278,0.67389],[0.88079,0.77829,0.68715,0.64292],[0.84607,0.74488,0.64731,0.60594],[0.80283,0.70608,0.60855,0.56999],[0.75844,0.66661,0.57187,0.53574],[0.71749,0.62916,0.53882,0.51203],[0.68108,0.59346,0.51061,0.50156],[0.6483,0.55846,0.4832,0.49003],[0.61803,0.52482,0.4546,0.47001],[0.58945,0.49308,0.42744,0.44719],[0.56279,0.46329,0.40184,0.4257],[0.53759,0.43529,0.37773,0.40527],[0.51246,0.40895,0.35502,0.38546],[0.48712,0.3842,0.33359,0.36518],[0.4607,0.36097,0.31346,0.34424],[0.43278,0.3391,0.29447,0.32339],[0.4085,0.31887,0.27804,0.3081],[0.38623,0.29998,0.26357,0.29865],[0.36664,0.28274,0.25051,0.2875],[0.35407,0.27115,0.23763,0.27354],[0.35254,0.27099,0.22454,0.2582],[0.3645,0.30023,0.21255,0.24279],[0.39184,0.34061,0.20244,0.22842],[0.43047,0.38788,0.19819,0.21529],[0.47884,0.44397,0.20165,0.20387],[0.53451,0.50654,0.22331,0.19713],[0.59183,0.56801,0.26345,0.19979],[0.64278,0.62193,0.30476,0.21244],[0.68737,0.66913,0.35097,0.23249],[0.72639,0.70839,0.40317,0.24912],[0.76055,0.74032,0.45248,0.26898],[0.79044,0.76523,0.49769,0.30584],[0.8166,0.78391,0.53644,0.37151],[0.83949,0.7963,0.57372,0.44673],[0.85953,0.8038,0.61101,0.51365],[0.87706,0.80865,0.64438,0.57028],[0.89241,0.81159,0.67251,0.61462],[0.90366,0.81195,0.69507,0.64675],[0.90873,0.81108,0.711,0.66688],[0.90764,0.80943,0.72144,0.671],[0.90451,0.80686,0.72209,0.66367],[0.89803,0.80144,0.71698,0.64817],[0.88805,0.7938,0.70702,0.62864],[0.87528,0.78452,0.69313,0.60725],[0.86153,0.77403,0.67582,0.58488],[0.84555,0.76295,0.65471,0.55947],[0.82765,0.75127,0.62966,0.53344],[0.80699,0.73702,0.5998,0.50801],[0.78219,0.71691,0.56727,0.48164],[0.75276,0.69208,0.53471,0.45491],[0.7198,0.66236,0.50326,0.42861],[0.6842,0.62884,0.47318,0.40316],[0.64693,0.59438,0.44473,0.37893],[0.60993,0.56021,0.41794,0.35605],[0.57404,0.52689,0.39278,0.33453],[0.53926,0.49497,0.36898,0.31426],[0.50659,0.46498,0.34663,0.29522],[0.4759,0.43681,0.32563,0.27734],[0.44706,0.41035,0.3059,0.26053],[0.41998,0.38548,0.28736,0.24475],[0.39453,0.36213,0.26995,0.22992],[0.37063,0.34019,0.2536,0.21599],[0.34817,0.31958,0.23823,0.2029],[0.32708,0.30022,0.2238,0.19061],[0.30726,0.28203,0.21024,0.17906],[0.28865,0.26494,0.1975,0.16821],[0.27116,0.24889,0.18554,0.15802],[0.25473,0.23381,0.1743,0.14845],[0.2393,0.21964,0.16374,0.13945],[0.2248,0.20633,0.15381,0.131],[0.21118,0.19383,0.1445,0.12307],[0.19838,0.18209,0.13574,0.11561],[0.18636,0.17106,0.12752,0.10861],[0.17507,0.16069,0.11979,0.10203],[0.16447,0.15096,0.11253,0.09584],[0.1545,0.14181,0.10572,0.09004],[0.14514,0.13322,0.09931,0.08458],[0.13635,0.12515,0.09329,0.07946],[0.12809,0.11757,0.08764,0.07464],[0.12033,0.11044,0.08233,0.07012],[0.11304,0.10375,0.07734,0.06587],[0.10619,0.09747,0.07266,0.06188],[0.09975,0.09156,0.06825,0.05813],[0.09371,0.08601,0.06412,0.05461],[0.08803,0.0808,0.06023,0.0513],[0.0827,0.07591,0.05659,0.04819],[0.07769,0.07131,0.05316,0.04527],[0.07298,0.06699,0.04994,0.04253],[0.06856,0.06293,0.04691,0.03995],[0.06441,0.05912,0.04407,0.03753],[0.0605,0.05553,0.0414,0.03526],[0.05684,0.05217,0.03889,0.03312],[0.05339,0.04901,0.03653,0.03112],[0.05016,0.04604,0.03432,0.02923],[0.04712,0.04325,0.03224,0.02746],[0.04427,0.04063,0.03029,0.0258],[0.04158,0.03817,0.02845,0.02423],[0.03906,0.03586,0.02673,0.02277],[0.0367,0.03368,0.02511,0.02139],[0.03447,0.03164,0.02359,0.02009],[0.03239,0.02973,0.02216,0.01887],[0.03042,0.02792,0.02082,0.01773],[0.02858,0.02623,0.01956,0.01666],[0.02685,0.02464,0.01837,0.01565],[0.02642,0.02318,0.01733,0.01708],[0.02813,0.02184,0.01642,0.02982],[0.03425,0.02065,0.01572,0.05548],[0.04865,0.01956,0.01525,0.10082],[0.06956,0.01857,0.01488,0.18284],[0.09209,0.0176,0.01442,0.28253],[0.11421,0.0167,0.01406,0.36971],[0.13256,0.01598,0.01369,0.43529],[0.14745,0.01522,0.01346,0.48886],[0.1608,0.01448,0.01318,0.54045],[0.17384,0.01384,0.01292,0.58897],[0.18421,0.01325,0.01256,0.63791],[0.19693,0.01294,0.01244,0.66896],[0.21584,0.02228,0.0195,0.71028],[0.25164,0.06135,0.06232,0.7311],[0.29975,0.11581,0.15331,0.70514],[0.35413,0.1573,0.259,0.6715],[0.40521,0.1833,0.35149,0.63669],[0.44624,0.20295,0.43245,0.60394],[0.47638,0.22154,0.49621,0.57243],[0.49804,0.22836,0.54989,0.54161],[0.51416,0.22718,0.59702,0.51175],[0.52595,0.22496,0.63524,0.4835],[0.53196,0.22398,0.66216,0.45772],[0.53204,0.2233,0.67711,0.433],[0.52954,0.22213,0.68462,0.40934],[0.5264,0.2195,0.68453,0.38682],[0.52128,0.21539,0.68154,0.36556],[0.51126,0.21078,0.67103,0.34611],[0.49823,0.20361,0.65597,0.32747],[0.48492,0.19681,0.6417,0.31023],[0.4706,0.19056,0.62438,0.29423],[0.45583,0.18311,0.6059,0.27844],[0.44175,0.17641,0.5902,0.26399],[0.42761,0.1701,0.57213,0.2503],[0.4138,0.163,0.55502,0.23685],[0.40035,0.15754,0.54028,0.22483],[0.3877,0.1515,0.52262,0.21301],[0.37521,0.14571,0.50885,0.20199],[0.36364,0.14073,0.49379,0.19188],[0.35239,0.13484,0.47894,0.18172],[0.34152,0.13056,0.4671,0.1729],[0.33139,0.12586,0.45214,0.16409],[0.32109,0.12136,0.44108,0.15591],[0.31183,0.11764,0.42825,0.14828],[0.30257,0.11287,0.41604,0.14057],[0.29281,0.10946,0.40597,0.13403],[0.28424,0.10516,0.3926,0.12702],[0.27465,0.10151,0.3831,0.12073],[0.26537,0.09722,0.36855,0.11418],[0.25361,0.09278,0.35418,0.1079],[0.24198,0.08788,0.33468,0.10156],[0.22732,0.08256,0.31441,0.0954],[0.21355,0.07756,0.29536,0.08962],[0.20061,0.07286,0.27746,0.08419],[0.18846,0.06844,0.26065,0.07909],[0.17704,0.0643,0.24486,0.0743],[0.16631,0.0604,0.23003,0.0698],[0.15624,0.05674,0.21609,0.06557],[0.14677,0.0533,0.203,0.0616],[0.13788,0.05007,0.1907,0.05787],[0.12952,0.04704,0.17914,0.05436],[0.12168,0.04419,0.16829,0.05107],[0.1143,0.04151,0.15809,0.04797],[0.10738,0.039,0.14852,0.04507],[0.10087,0.03664,0.13952,0.04234],[0.09476,0.03442,0.13106,0.03977],[0.08902,0.03233,0.12312,0.03736],[0.08363,0.03037,0.11566,0.0351],[0.07856,0.02853,0.10866,0.03297],[0.0738,0.0268,0.10207,0.03097],[0.06933,0.02518,0.09589,0.0291],[0.06513,0.02365,0.09008,0.02733],[0.06244,0.0228,0.08471,0.02572],[0.06519,0.02732,0.08024,0.02434],[0.07455,0.04292,0.07707,0.02327],[0.0903,0.06363,0.07528,0.02272],[0.11571,0.08981,0.07826,0.02477],[0.16399,0.12575,0.1115,0.04015],[0.2292,0.17316,0.19713,0.08476],[0.30122,0.21711,0.29735,0.14044],[0.3683,0.25529,0.38506,0.19337],[0.41989,0.28794,0.46132,0.23741],[0.45013,0.30733,0.49307,0.25425],[0.45399,0.3117,0.48472,0.25238],[0.44502,0.30753,0.46323,0.25752],[0.43129,0.29601,0.43772,0.27865],[0.41484,0.28056,0.41235,0.31758],[0.39885,0.26424,0.38808,0.33214],[0.3832,0.24838,0.36529,0.3496],[0.3689,0.2334,0.34396,0.37495],[0.35634,0.2193,0.32391,0.3986],[0.34442,0.20607,0.305,0.42925],[0.33335,0.19366,0.28732,0.44131],[0.32265,0.18209,0.27069,0.45089],[0.31822,0.17303,0.25818,0.46756],[0.33036,0.17663,0.27113,0.48692],[0.3615,0.20189,0.32966,0.47921],[0.40113,0.22871,0.40111,0.47152],[0.44385,0.25398,0.47178,0.47695],[0.4804,0.27669,0.53149,0.50478],[0.51171,0.2948,0.57503,0.54066],[0.5352,0.30923,0.60786,0.58296],[0.55475,0.3201,0.63059,0.61734],[0.56388,0.32934,0.65043,0.64676],[0.57797,0.33576,0.66727,0.67133],[0.58896,0.34552,0.68043,0.69021],[0.59289,0.36142,0.68567,0.69419],[0.59106,0.37725,0.67249,0.67768],[0.5777,0.37538,0.63963,0.64228],[0.55614,0.36442,0.60218,0.60418],[0.53108,0.34925,0.56615,0.56814],[0.50452,0.3335,0.53245,0.53459],[0.47961,0.31906,0.50087,0.50312],[0.45695,0.30626,0.47118,0.47336],[0.43649,0.2952,0.44438,0.44586],[0.41781,0.28549,0.41911,0.42002],[0.40049,0.27618,0.39497,0.39517],[0.38392,0.2673,0.37202,0.37149],[0.36813,0.2588,0.35037,0.34921],[0.3536,0.25063,0.32999,0.32835],[0.34226,0.24373,0.31149,0.31101],[0.33682,0.24116,0.29821,0.3062],[0.34821,0.25152,0.29407,0.31375],[0.3814,0.28142,0.33496,0.34509],[0.42772,0.30716,0.41798,0.38622],[0.48207,0.32389,0.49063,0.42612],[0.53426,0.33436,0.55421,0.45872],[0.57926,0.34499,0.60986,0.48402],[0.61619,0.35838,0.65856,0.50256],[0.63982,0.37243,0.70118,0.51385],[0.66026,0.39256,0.73521,0.52154],[0.67845,0.42016,0.7461,0.52132],[0.69045,0.45004,0.74012,0.51639],[0.69723,0.4769,0.72716,0.50812],[0.69576,0.49762,0.71156,0.49809],[0.68948,0.51038,0.69462,0.48669],[0.67902,0.51097,0.6754,0.47264],[0.66417,0.50505,0.65113,0.45613],[0.6452,0.49334,0.62154,0.44075],[0.62277,0.47792,0.58997,0.43236],[0.59912,0.46027,0.55793,0.42713],[0.57553,0.44223,0.527,0.42291],[0.5534,0.4259,0.49806,0.41347],[0.53453,0.41289,0.47184,0.40012],[0.52054,0.40477,0.44862,0.38354],[0.51294,0.40299,0.42987,0.36827],[0.51134,0.41129,0.41634,0.3569],[0.51551,0.42502,0.40845,0.34989],[0.5215,0.44058,0.40064,0.34773],[0.52658,0.45499,0.39049,0.34681],[0.53825,0.47011,0.38701,0.35292],[0.56293,0.4867,0.43256,0.37965],[0.60267,0.5052,0.50339,0.4237],[0.64462,0.52199,0.56538,0.4737],[0.68228,0.53689,0.61963,0.5175],[0.71188,0.5494,0.66711,0.54712],[0.73132,0.56001,0.70604,0.56763],[0.7376,0.56564,0.72453,0.57189],[0.73271,0.56272,0.71697,0.56127],[0.71875,0.5534,0.69072,0.53929],[0.6943,0.53876,0.65568,0.51241],[0.66647,0.52075,0.61954,0.48432],[0.63836,0.50168,0.58464,0.45788],[0.61464,0.48495,0.55387,0.43349],[0.60289,0.47572,0.53898,0.41261],[0.60153,0.47253,0.56861,0.39967],[0.61466,0.47014,0.61566,0.39325],[0.62934,0.46725,0.65758,0.38798],[0.64167,0.46427,0.68988,0.38453],[0.65054,0.46148,0.71196,0.38346],[0.64956,0.45903,0.72432,0.38414],[0.64516,0.45677,0.72388,0.38384],[0.63635,0.45539,0.71006,0.37587],[0.62592,0.45505,0.6816,0.35865],[0.61585,0.45599,0.65039,0.34021],[0.60695,0.45861,0.62076,0.32262],[0.59903,0.46179,0.59144,0.30571],[0.59007,0.46251,0.561,0.28906],[0.5776,0.45843,0.5298,0.27258],[0.55954,0.4473,0.49932,0.25654],[0.5365,0.42976,0.46988,0.24122],[0.51045,0.40838,0.44188,0.22964],[0.48515,0.3864,0.41571,0.23173],[0.46255,0.36334,0.39103,0.25544],[0.44292,0.34144,0.36781,0.28594],[0.4253,0.32088,0.34597,0.32455],[0.40869,0.30157,0.32537,0.3568],[0.3923,0.28436,0.30602,0.37378],[0.3805,0.27375,0.28852,0.3721],[0.38732,0.28122,0.27499,0.37085],[0.4182,0.32083,0.26664,0.42898],[0.46097,0.37244,0.26018,0.50026],[0.50668,0.42218,0.25514,0.56264],[0.54502,0.46578,0.25151,0.61723],[0.57571,0.50442,0.24824,0.65657],[0.59892,0.54094,0.24611,0.66744],[0.61917,0.57433,0.24557,0.66265],[0.63561,0.60189,0.24684,0.6494],[0.64742,0.62359,0.24657,0.62995],[0.65405,0.63866,0.2439,0.60707],[0.65401,0.64582,0.23962,0.58346],[0.65004,0.64378,0.23499,0.55928],[0.64098,0.63563,0.23088,0.53655],[0.62656,0.62043,0.2272,0.51738],[0.60767,0.59935,0.22058,0.50201],[0.58593,0.57574,0.21206,0.48751],[0.56258,0.55083,0.20236,0.4762],[0.53865,0.52536,0.19202,0.46694],[0.51524,0.49951,0.18148,0.45666],[0.49092,0.47338,0.17104,0.44195],[0.46605,0.44836,0.16118,0.42278],[0.44145,0.42413,0.15175,0.40058],[0.41759,0.40086,0.14295,0.37757],[0.39692,0.37979,0.13488,0.35654],[0.38234,0.36225,0.12953,0.34288],[0.37157,0.35066,0.1335,0.33633],[0.36877,0.34311,0.1569,0.33591],[0.3729,0.33796,0.19905,0.3503],[0.37622,0.33068,0.23444,0.37437],[0.37492,0.32107,0.26101,0.3911],[0.37314,0.31096,0.28423,0.40939],[0.37161,0.3001,0.2959,0.44389],[0.3658,0.28867,0.29629,0.4582],[0.35925,0.27729,0.29614,0.46795],[0.35448,0.26755,0.29605,0.48309],[0.34695,0.25728,0.29226,0.48295],[0.339,0.24702,0.2888,0.48152],[0.33189,0.23846,0.28613,0.48601],[0.32378,0.22906,0.28015,0.48027],[0.31541,0.22014,0.27558,0.47571],[0.30739,0.21238,0.27116,0.47285],[0.29892,0.20332,0.26388,0.46167],[0.28997,0.19543,0.25975,0.45531],[0.28179,0.18788,0.25306,0.44624],[0.27358,0.17962,0.24781,0.43506],[0.26493,0.17344,0.24295,0.42868],[0.25751,0.16569,0.23645,0.41548],[0.24969,0.15986,0.23273,0.40905],[0.24294,0.15401,0.22615,0.39854],[0.23613,0.14828,0.22221,0.38907],[0.22987,0.14434,0.21628,0.38061],[0.22244,0.13894,0.21047,0.36743],[0.21356,0.13479,0.20199,0.35371],[0.20415,0.12828,0.19202,0.33545],[0.19298,0.12193,0.18167,0.31715],[0.18236,0.1148,0.17099,0.29836],[0.17131,0.10784,0.16063,0.28029],[0.16093,0.10131,0.1509,0.2633],[0.15118,0.09517,0.14176,0.24735],[0.14202,0.0894,0.13317,0.23236],[0.13342,0.08399,0.1251,0.21829],[0.12534,0.0789,0.11752,0.20506],[0.11774,0.07412,0.1104,0.19264],[0.11061,0.06963,0.10371,0.18097],[0.10391,0.06541,0.09743,0.17],[0.09761,0.06145,0.09153,0.1597],[0.0917,0.05772,0.08598,0.15003],[0.08614,0.05423,0.08077,0.14094],[0.08092,0.05094,0.07588,0.1324],[0.07602,0.04785,0.07128,0.12438],[0.07141,0.04496,0.06696,0.11684],[0.06709,0.04223,0.06291,0.10976],[0.06302,0.03967,0.05909,0.10311],[0.0592,0.03727,0.05551,0.09686],[0.06223,0.03716,0.05519,0.09758],[0.0906,0.04866,0.07409,0.14676],[0.13309,0.07166,0.11226,0.2526],[0.182,0.10139,0.1551,0.34589],[0.23225,0.13505,0.19771,0.42754],[0.27988,0.17109,0.23667,0.499],[0.31694,0.20892,0.26501,0.54556],[0.34302,0.24422,0.27936,0.54728],[0.36235,0.27655,0.27739,0.52777],[0.37765,0.30671,0.2704,0.50074],[0.38959,0.33461,0.26409,0.47435],[0.40035,0.35752,0.2574,0.44862],[0.40836,0.37427,0.24962,0.42366],[0.41098,0.38264,0.24026,0.39952],[0.41336,0.38327,0.23022,0.37752],[0.42372,0.38742,0.22567,0.36223],[0.44461,0.41341,0.2246,0.36287],[0.47361,0.45092,0.22406,0.4031],[0.50687,0.48647,0.22224,0.47761],[0.53956,0.51621,0.22158,0.54282],[0.56891,0.54219,0.22243,0.59989],[0.59439,0.56717,0.22528,0.64983],[0.61879,0.59011,0.22869,0.69354],[0.63957,0.61006,0.23282,0.7318],[0.65744,0.62694,0.23695,0.76528],[0.6728,0.64187,0.24359,0.79458],[0.68615,0.65552,0.25059,0.81593],[0.69949,0.67118,0.25323,0.81882],[0.71237,0.6886,0.25377,0.83112],[0.73026,0.70521,0.25264,0.8522],[0.74258,0.7191,0.25086,0.87065],[0.74846,0.72568,0.24842,0.8868],[0.75576,0.7267,0.24701,0.90093],[0.75364,0.72513,0.2456,0.91329],[0.75193,0.72182,0.2448,0.92412],[0.7466,0.71705,0.24878,0.92698],[0.73881,0.71026,0.25651,0.9116],[0.73036,0.70113,0.26399,0.88058],[0.71684,0.6901,0.26028,0.83614],[0.70305,0.67878,0.2506,0.79008],[0.68947,0.66864,0.24128,0.74746],[0.6793,0.6602,0.23345,0.70814],[0.67403,0.65362,0.23786,0.67529],[0.67332,0.64788,0.28282,0.66496],[0.6777,0.63905,0.34789,0.68154],[0.67912,0.62942,0.40569,0.7152],[0.68625,0.62048,0.45305,0.75075],[0.69205,0.61143,0.49241,0.78187],[0.69655,0.60202,0.52722,0.8091],[0.7006,0.5927,0.55947,0.83085],[0.70389,0.58325,0.58874,0.83702],[0.70161,0.57314,0.61626,0.82732],[0.69814,0.56283,0.64248,0.806],[0.69435,0.5532,0.66521,0.77744],[0.69117,0.54338,0.68631,0.74471],[0.68831,0.53213,0.70456,0.71252],[0.68473,0.52055,0.71962,0.68101],[0.68068,0.51062,0.72602,0.6515],[0.67412,0.50294,0.72407,0.6234],[0.66347,0.4975,0.71179,0.59257],[0.64757,0.49124,0.68462,0.55966],[0.62867,0.48284,0.64901,0.52696],[0.60838,0.47297,0.61212,0.49558],[0.58714,0.46094,0.57675,0.46592],[0.56482,0.44689,0.54309,0.438],[0.54192,0.4315,0.51109,0.41181],[0.52091,0.41584,0.4815,0.38911],[0.50617,0.40368,0.45809,0.37919],[0.50314,0.39959,0.44221,0.37969],[0.51974,0.41616,0.45148,0.40849],[0.55273,0.43682,0.51039,0.45839],[0.59166,0.44581,0.57151,0.50776],[0.6258,0.44745,0.62499,0.55176],[0.65503,0.45132,0.6718,0.58469],[0.68216,0.45711,0.71277,0.60686],[0.70449,0.46294,0.74863,0.6186],[0.72287,0.46889,0.78,0.61998],[0.73683,0.4783,0.79921,0.61567],[0.74688,0.4905,0.80576,0.60689],[0.74671,0.50397,0.80229,0.59451],[0.74353,0.5169,0.79194,0.58034],[0.7363,0.52651,0.77644,0.56409],[0.72583,0.53095,0.75593,0.54612],[0.7112,0.5273,0.72897,0.52679],[0.69154,0.51772,0.69679,0.50602],[0.66822,0.50278,0.66239,0.48842],[0.64334,0.48544,0.62718,0.47537],[0.61971,0.46787,0.59241,0.47045],[0.60007,0.45371,0.56027,0.46957],[0.58665,0.44608,0.53405,0.46167],[0.57976,0.44516,0.51983,0.45036],[0.57829,0.44889,0.51777,0.46195],[0.57984,0.45117,0.52352,0.50949],[0.58114,0.45041,0.53319,0.57041],[0.58099,0.44799,0.54097,0.62404],[0.57964,0.44428,0.5489,0.67097],[0.58314,0.439,0.56248,0.71204],[0.58674,0.43286,0.58024,0.73802],[0.59107,0.42639,0.59904,0.74937],[0.59613,0.41956,0.61903,0.75027],[0.60053,0.41266,0.63934,0.74791],[0.59875,0.40713,0.65466,0.73887],[0.59482,0.40323,0.65772,0.72369],[0.58534,0.40014,0.65026,0.70132],[0.56958,0.39215,0.6231,0.66697],[0.54688,0.37753,0.58853,0.63447],[0.52723,0.36316,0.55822,0.61273],[0.51656,0.35435,0.54047,0.59275],[0.516,0.35185,0.542,0.56925],[0.53266,0.35526,0.58475,0.5498],[0.55949,0.36103,0.63653,0.53552],[0.58217,0.36742,0.67896,0.52318],[0.59861,0.37289,0.71238,0.5131],[0.60709,0.37726,0.73355,0.50493],[0.60848,0.38084,0.74352,0.49765],[0.60639,0.38444,0.74288,0.49059],[0.60061,0.39037,0.72882,0.47747],[0.59221,0.39683,0.69936,0.45445],[0.58397,0.4038,0.66825,0.43042],[0.57704,0.41154,0.63896,0.40774],[0.57075,0.41934,0.61108,0.38643],[0.56468,0.42532,0.58401,0.36618],[0.55814,0.42816,0.55752,0.34677],[0.55055,0.42811,0.53056,0.32795],[0.54163,0.42625,0.50283,0.3097],[0.5318,0.42286,0.47603,0.29203],[0.52263,0.41972,0.45156,0.27509],[0.51748,0.41866,0.4311,0.25911],[0.51732,0.42249,0.42264,0.24436],[0.52946,0.4271,0.44698,0.23225],[0.54869,0.42767,0.50457,0.22419],[0.56456,0.42677,0.5619,0.22747],[0.57453,0.42596,0.58978,0.25573],[0.57776,0.42594,0.59735,0.28858],[0.57687,0.42578,0.59506,0.32088],[0.57385,0.42553,0.58803,0.34789],[0.56767,0.42576,0.57217,0.3444],[0.55889,0.42806,0.5457,0.33106],[0.55125,0.43181,0.51841,0.31801],[0.54565,0.43638,0.4935,0.30492],[0.54117,0.44134,0.47077,0.29201],[0.53749,0.44611,0.45043,0.27924],[0.53266,0.45079,0.43197,0.26638],[0.52703,0.45445,0.41457,0.25333],[0.51903,0.45292,0.39643,0.24119],[0.50804,0.44642,0.37905,0.23227],[0.49416,0.43558,0.36305,0.22893],[0.47876,0.4219,0.34625,0.23178],[0.46229,0.4071,0.32862,0.23978],[0.44462,0.39063,0.31052,0.25229],[0.42557,0.3725,0.29252,0.25479],[0.40509,0.3539,0.27525,0.2502],[0.38459,0.33546,0.25887,0.24047],[0.36439,0.31756,0.2433,0.22683],[0.34719,0.30132,0.22937,0.21704],[0.33764,0.28982,0.21906,0.22015],[0.34368,0.28782,0.22191,0.23185],[0.37072,0.30365,0.26696,0.26734],[0.41036,0.31968,0.34241,0.32685],[0.45195,0.32642,0.42449,0.39981],[0.48883,0.3291,0.49529,0.46581],[0.51767,0.3309,0.55238,0.5235],[0.54016,0.33487,0.59449,0.57769],[0.55727,0.34505,0.61806,0.62886],[0.56977,0.35891,0.62752,0.67075],[0.57829,0.37418,0.62676,0.703],[0.58284,0.38963,0.62111,0.72298],[0.58288,0.40649,0.60936,0.71652],[0.58041,0.42272,0.59072,0.69217],[0.57623,0.43386,0.56474,0.65531],[0.57137,0.444,0.53756,0.61948],[0.56747,0.4544,0.51212,0.58629],[0.56519,0.46568,0.48789,0.55539],[0.56565,0.48022,0.46564,0.52619],[0.57458,0.49655,0.46014,0.49959],[0.59081,0.50741,0.48972,0.47668],[0.60871,0.50889,0.54023,0.4559],[0.62517,0.50813,0.58983,0.43659],[0.64083,0.50625,0.6344,0.41832],[0.65511,0.50402,0.67414,0.4012],[0.66659,0.50038,0.71096,0.38505],[0.67052,0.49507,0.74449,0.36998],[0.67753,0.4885,0.77109,0.356],[0.68085,0.48127,0.78931,0.34302],[0.68057,0.47436,0.79857,0.33099],[0.67817,0.46861,0.80003,0.31997],[0.67295,0.46441,0.79399,0.31029],[0.66254,0.46031,0.77803,0.30073],[0.64547,0.4526,0.75034,0.28816],[0.62448,0.44395,0.711,0.27342],[0.60563,0.43494,0.67301,0.25962],[0.58626,0.42494,0.63756,0.24671],[0.56553,0.41328,0.60754,0.24394],[0.54661,0.40062,0.58272,0.24625],[0.52977,0.38704,0.56259,0.27007],[0.51132,0.37164,0.54119,0.28635],[0.49302,0.35596,0.52115,0.29813],[0.47538,0.34165,0.50245,0.31909],[0.45768,0.32621,0.48165,0.32039],[0.43984,0.31167,0.46338,0.32301],[0.42293,0.29853,0.44482,0.32388],[0.40589,0.2843,0.42597,0.31733],[0.38901,0.27239,0.40897,0.31455],[0.37285,0.26059,0.38978,0.30443],[0.35638,0.24995,0.37147,0.29445],[0.34088,0.23998,0.3525,0.28179],[0.32537,0.22957,0.33374,0.26792],[0.30985,0.22062,0.31667,0.25569],[0.29579,0.21088,0.29966,0.2429],[0.28233,0.20266,0.28438,0.23164],[0.26977,0.1943,0.26965,0.22098],[0.25774,0.18637,0.25568,0.2104],[0.24615,0.17924,0.24294,0.2013],[0.23538,0.17159,0.23014,0.19139],[0.22443,0.16537,0.21897,0.18359],[0.21472,0.1581,0.20732,0.17441],[0.20481,0.15232,0.19696,0.1664],[0.1955,0.14513,0.18597,0.15734],[0.18535,0.13853,0.1755,0.1487],[0.17576,0.13054,0.16505,0.13993],[0.16511,0.12264,0.15505,0.13145],[0.15511,0.11521,0.14566,0.12349],[0.14571,0.10823,0.13683,0.11601],[0.13688,0.10167,0.12854,0.10898],[0.12859,0.09551,0.12076,0.10238],[0.1208,0.08972,0.11344,0.09617],[0.11348,0.08429,0.10657,0.09035],[0.1066,0.07918,0.10011,0.08487],[0.10015,0.07438,0.09404,0.07973],[0.09408,0.06988,0.08835,0.0749],[0.08838,0.06564,0.08299,0.07036],[0.08302,0.06166,0.07797,0.0661],[0.07799,0.05793,0.07324,0.06209],[0.07327,0.05442,0.0688,0.05833],[0.06883,0.05112,0.06464,0.0548],[0.06466,0.04802,0.06072,0.05148],[0.06074,0.04511,0.05704,0.04836],[0.05706,0.04238,0.05359,0.04543],[0.0536,0.03981,0.05034,0.04268],[0.05036,0.0374,0.04729,0.04009],[0.04731,0.03514,0.04442,0.03766],[0.04444,0.03301,0.04173,0.03538],[0.04175,0.03101,0.0392,0.03324],[0.03922,0.02913,0.03683,0.03122],[0.03684,0.02736,0.0346,0.02933],[0.03461,0.02571,0.0325,0.02755],[0.03251,0.02415,0.03053,0.02588],[0.03054,0.02269,0.02868,0.02432],[0.02869,0.02131,0.02694,0.02284],[0.02695,0.02002,0.02531,0.02146],[0.02532,0.01881,0.02378,0.02016],[0.02379,0.01767,0.02234,0.01894],[0.02235,0.0166,0.02098,0.01779],[0.02099,0.01559,0.01971,0.01671],[0.01972,0.01465,0.01852,0.0157],[0.01853,0.01376,0.0174,0.01475],[0.0174,0.01293,0.01634,0.01386],[0.01635,0.01214,0.01535,0.01302],[0.01536,0.01141,0.01442,0.01223],[0.01443,0.01072,0.01355,0.01149],[0.01355,0.01007,0.01273,0.01079],[0.02033,0.0095,0.01465,0.01406],[0.02926,0.00909,0.03064,0.03836],[0.04519,0.00876,0.04687,0.07318],[0.06531,0.00929,0.06179,0.14711],[0.11385,0.03518,0.08833,0.18955],[0.18316,0.11811,0.11231,0.20417],[0.26507,0.21466,0.14761,0.21077],[0.34437,0.29865,0.19636,0.2356],[0.41585,0.36536,0.25648,0.27321],[0.48102,0.4173,0.32008,0.32603],[0.53472,0.45691,0.38222,0.40362],[0.5803,0.48765,0.43759,0.47807],[0.62008,0.51131,0.49035,0.54322],[0.65409,0.53095,0.54028,0.59734],[0.68191,0.54426,0.58423,0.63585],[0.69872,0.55212,0.62164,0.6639],[0.71295,0.55842,0.65521,0.68939],[0.72907,0.56364,0.68014,0.71123],[0.73522,0.56739,0.69425,0.72709],[0.73746,0.57291,0.69985,0.72852],[0.73838,0.57913,0.69761,0.72011],[0.73738,0.58751,0.68963,0.70411],[0.73399,0.59578,0.67532,0.68163],[0.7281,0.60373,0.65385,0.65588],[0.72399,0.60835,0.62829,0.62939],[0.71642,0.61072,0.60077,0.60374],[0.70861,0.60976,0.57412,0.57824],[0.69871,0.60597,0.55048,0.55347],[0.68489,0.59696,0.52698,0.52758],[0.66277,0.58149,0.50117,0.50074],[0.63536,0.55868,0.47324,0.47255],[0.6038,0.53102,0.4451,0.44427],[0.57095,0.50211,0.4183,0.41749],[0.53812,0.47294,0.39304,0.39226],[0.50552,0.44429,0.36922,0.3685],[0.47489,0.41737,0.34685,0.34617],[0.44612,0.39208,0.32584,0.3252],[0.41909,0.36833,0.3061,0.3055],[0.3937,0.34601,0.28755,0.28699],[0.36985,0.32505,0.27013,0.2696],[0.34744,0.30536,0.25376,0.25326],[0.32639,0.28686,0.23839,0.23792],[0.30661,0.26948,0.22395,0.22351],[0.28804,0.25315,0.21038,0.20996],[0.27059,0.23781,0.19763,0.19724],[0.25419,0.2234,0.18566,0.18529],[0.23879,0.20987,0.17441,0.17407],[0.22432,0.19715,0.16384,0.16352],[0.21073,0.18521,0.15392,0.15361],[0.19797,0.17399,0.14459,0.14431],[0.18597,0.16345,0.13583,0.13556],[0.1747,0.15354,0.1276,0.12735],[0.16412,0.14424,0.11987,0.11963],[0.15418,0.1355,0.11261,0.11239],[0.14483,0.12729,0.10578,0.10558],[0.13606,0.11958,0.09938,0.09918],[0.12782,0.11233,0.09335,0.09317],[0.12007,0.10553,0.0877,0.08753],[0.1128,0.09913,0.08239,0.08222],[0.10596,0.09313,0.07739,0.07724],[0.09954,0.08749,0.0727,0.07256],[0.09351,0.08219,0.0683,0.06817],[0.08785,0.07721,0.06416,0.06404],[0.08252,0.07253,0.06027,0.06016],[0.07883,0.06817,0.05775,0.06046],[0.0758,0.06416,0.05565,0.06545],[0.07431,0.06049,0.05424,0.07114],[0.09628,0.06233,0.05352,0.08301],[0.16386,0.10838,0.06444,0.08797],[0.25753,0.21423,0.11832,0.0882],[0.35021,0.31231,0.21171,0.09616],[0.43132,0.39815,0.30249,0.10412],[0.5023,0.47328,0.37842,0.10863],[0.56443,0.53903,0.43667,0.111],[0.6188,0.59657,0.47359,0.11128],[0.66638,0.64693,0.48847,0.11031],[0.70803,0.691,0.49078,0.10795],[0.74447,0.72957,0.48793,0.10464],[0.77534,0.76333,0.48655,0.10104],[0.80153,0.7907,0.48827,0.09777],[0.82245,0.81092,0.50001,0.09496],[0.83716,0.82125,0.52632,0.09375],[0.84886,0.81825,0.56858,0.10078],[0.85746,0.80968,0.60737,0.10993],[0.86756,0.80793,0.64556,0.12561],[0.882,0.81233,0.67376,0.15621],[0.89253,0.82158,0.68095,0.18903],[0.90016,0.83282,0.67788,0.21805],[0.9043,0.84022,0.67339,0.23893],[0.90365,0.84354,0.66339,0.24521],[0.89679,0.84311,0.64366,0.24247],[0.88318,0.83552,0.61524,0.23617],[0.86405,0.81874,0.58198,0.22711],[0.83577,0.79228,0.54784,0.21843],[0.80103,0.75691,0.51531,0.21074],[0.76331,0.71592,0.48456,0.20644],[0.7254,0.67336,0.45587,0.2215],[0.68914,0.63291,0.42966,0.24913],[0.6592,0.59977,0.40703,0.25701],[0.64198,0.58155,0.3856,0.25116],[0.63819,0.58369,0.36631,0.23822],[0.6462,0.60677,0.35366,0.22527],[0.66594,0.63775,0.35053,0.21424],[0.69417,0.66684,0.37029,0.20658],[0.72386,0.68891,0.41154,0.20667],[0.7437,0.69913,0.47133,0.22932],[0.76384,0.69825,0.53555,0.26637],[0.78202,0.69132,0.59353,0.31471],[0.79675,0.6807,0.64426,0.3732],[0.80889,0.66979,0.68867,0.43208],[0.81314,0.65962,0.72753,0.49193],[0.82187,0.64964,0.76154,0.55403],[0.82827,0.64063,0.79131,0.59793],[0.83055,0.63176,0.81736,0.61823],[0.82978,0.62217,0.84016,0.62978],[0.82911,0.61709,0.86011,0.6358],[0.83178,0.61716,0.86613,0.63687],[0.83447,0.62479,0.86415,0.63666],[0.83746,0.63827,0.85831,0.63424],[0.83614,0.6573,0.8455,0.62613],[0.82657,0.66459,0.82093,0.60776],[0.80973,0.65177,0.77693,0.57531],[0.78773,0.63673,0.73145,0.54613],[0.7779,0.63258,0.69885,0.52847],[0.78285,0.65869,0.68893,0.52282],[0.80491,0.69222,0.69404,0.52235],[0.82926,0.72652,0.69239,0.52968],[0.85057,0.76058,0.68448,0.54696],[0.86923,0.79046,0.6717,0.55744],[0.88555,0.81662,0.65524,0.5506],[0.89984,0.83951,0.63191,0.52988],[0.91234,0.85954,0.60822,0.50249],[0.92328,0.87708,0.58621,0.47603],[0.93286,0.89242,0.56503,0.45086],[0.94124,0.90585,0.54372,0.42671],[0.94857,0.9176,0.52,0.40309],[0.95499,0.92789,0.49518,0.38034],[0.96061,0.93689,0.47034,0.35905],[0.96249,0.9407,0.45148,0.34222],[0.96225,0.94094,0.45445,0.33693],[0.96525,0.93958,0.48958,0.34951],[0.96315,0.93403,0.5305,0.37823],[0.95968,0.92671,0.55916,0.39371],[0.9581,0.91993,0.57531,0.39513],[0.95107,0.91317,0.58421,0.38863],[0.93959,0.90361,0.5806,0.37509],[0.92551,0.89051,0.56333,0.35607],[0.90759,0.87415,0.53838,0.33601],[0.89393,0.86128,0.51487,0.31748],[0.88551,0.85804,0.49832,0.30441],[0.88485,0.86661,0.48882,0.30072],[0.89789,0.88167,0.48404,0.31171],[0.90924,0.89644,0.48195,0.3416],[0.915,0.90738,0.47831,0.37947],[0.9255,0.91704,0.46981,0.40489],[0.93186,0.9271,0.46084,0.40323],[0.92882,0.92986,0.4544,0.39247],[0.92261,0.92436,0.44409,0.37652],[0.91493,0.91664,0.43121,0.35897],[0.90627,0.90969,0.42129,0.34139],[0.90049,0.90426,0.41635,0.32465],[0.89492,0.9001,0.4161,0.30895],[0.88997,0.89576,0.41413,0.29423],[0.88765,0.89263,0.40565,0.28055],[0.885,0.89099,0.39435,0.26984],[0.88691,0.89783,0.39159,0.26558],[0.90103,0.91058,0.4055,0.27328],[0.91338,0.92174,0.41608,0.29732],[0.92419,0.93151,0.41352,0.316],[0.93366,0.94006,0.40396,0.33954],[0.94194,0.94754,0.39276,0.36424],[0.94919,0.95409,0.3809,0.38471],[0.95553,0.95982,0.3682,0.40133],[0.96108,0.96484,0.35655,0.41523],[0.96594,0.96923,0.34546,0.419],[0.97019,0.97307,0.3326,0.41188],[0.96481,0.97344,0.31732,0.39756],[0.95032,0.95796,0.30141,0.38015],[0.92172,0.92716,0.28488,0.36526],[0.88317,0.88344,0.26859,0.35242],[0.83978,0.83411,0.25298,0.33845],[0.79564,0.78414,0.23826,0.32288],[0.75342,0.73682,0.22446,0.30784],[0.71385,0.69227,0.21142,0.29437],[0.67627,0.65047,0.19924,0.28345],[0.64029,0.61172,0.1884,0.27314],[0.62664,0.5838,0.17939,0.26057],[0.63502,0.59675,0.1721,0.24614],[0.67763,0.64709,0.16663,0.2331],[0.71787,0.69114,0.16328,0.22246],[0.75309,0.72969,0.16143,0.2131],[0.78391,0.76343,0.16032,0.20429],[0.81088,0.79296,0.17088,0.20069],[0.83449,0.81881,0.22159,0.22039],[0.85114,0.82764,0.28448,0.26104],[0.86249,0.82992,0.33908,0.30069],[0.86211,0.82782,0.39211,0.34035],[0.86651,0.82118,0.44653,0.37785],[0.86357,0.81138,0.50374,0.39833],[0.86302,0.79962,0.55508,0.39812],[0.85844,0.78706,0.5994,0.39486],[0.85256,0.77465,0.63577,0.39002],[0.85006,0.76231,0.66443,0.3852],[0.84394,0.74998,0.68576,0.38037],[0.83642,0.73801,0.70173,0.37171],[0.82725,0.72598,0.70586,0.35805],[0.81726,0.71486,0.7024,0.34326],[0.80592,0.70305,0.69524,0.32791],[0.79413,0.6909,0.68594,0.3116],[0.78161,0.67873,0.67454,0.29579],[0.76455,0.66629,0.66064,0.28055],[0.74666,0.65328,0.64407,0.26587],[0.72736,0.63955,0.62347,0.25143],[0.70642,0.62456,0.59845,0.23723],[0.68328,0.60794,0.57011,0.22382],[0.65715,0.58648,0.53878,0.21076],[0.6273,0.55966,0.507,0.19832],[0.59466,0.53045,0.47658,0.18646],[0.56142,0.50023,0.44783,0.17524],[0.52847,0.47017,0.42077,0.16467],[0.49645,0.44168,0.39528,0.15469],[0.46637,0.41492,0.37133,0.14532],[0.43812,0.38978,0.34883,0.13652],[0.41157,0.36617,0.32769,0.12824],[0.38664,0.34398,0.30784,0.12047],[0.36435,0.32317,0.28929,0.11396],[0.34407,0.30362,0.27194,0.10825],[0.3256,0.28526,0.25568,0.10347],[0.30884,0.26804,0.24045,0.09948],[0.29372,0.25185,0.22624,0.09572],[0.27969,0.23663,0.2129,0.09259],[0.26624,0.22234,0.20038,0.08945],[0.25279,0.20891,0.18856,0.08639],[0.23944,0.19627,0.17745,0.08299],[0.22612,0.18442,0.16709,0.07962],[0.21242,0.17325,0.15696,0.0748],[0.19955,0.16275,0.14745,0.07027],[0.18746,0.15289,0.13852,0.06601],[0.1761,0.14363,0.13013,0.06201],[0.16543,0.13493,0.12224,0.05825],[0.15541,0.12675,0.11484,0.05473],[0.14599,0.11907,0.10788,0.05141],[0.13715,0.11186,0.10134,0.04829],[0.12884,0.10508,0.0952,0.04537],[0.12103,0.09871,0.08944,0.04262],[0.1137,0.09273,0.08402,0.04004],[0.10681,0.08711,0.07893,0.03761],[0.10034,0.08184,0.07414,0.03533],[0.09426,0.07688,0.06965,0.03319],[0.08855,0.07222,0.06543,0.03118],[0.08318,0.06785,0.06147,0.02929],[0.07814,0.06373,0.05774,0.02752],[0.07341,0.05987,0.05425,0.02585],[0.06896,0.05625,0.05096,0.02428],[0.06478,0.05284,0.04787,0.02281],[0.06086,0.04964,0.04497,0.02143],[0.05717,0.04663,0.04225,0.02013],[0.05371,0.0438,0.03969,0.01891],[0.05045,0.04115,0.03728,0.01777],[0.0474,0.03866,0.03502,0.01669],[0.04452,0.03631,0.0329,0.01568],[0.04183,0.03411,0.03091,0.01473],[0.03929,0.03205,0.02904,0.01384],[0.03691,0.03011,0.02728,0.013],[0.03468,0.02828,0.02562,0.01221],[0.03258,0.02657,0.02407,0.01147],[0.0306,0.02496,0.02261,0.01078],[0.02875,0.02345,0.02124,0.01012],[0.02701,0.02203,0.01996,0.00951],[0.02537,0.02069,0.01875,0.00893],[0.02383,0.01944,0.01761,0.00839],[0.02239,0.01826,0.01654,0.00788],[0.02103,0.01715,0.01554,0.00741],[0.01976,0.01611,0.0146,0.00696],[0.01856,0.01514,0.01372,0.00654],[0.01744,0.01422,0.01288,0.00614],[0.01638,0.01336,0.0121,0.00577],[0.01539,0.01255,0.01137,0.00542],[0.01446,0.01179,0.01068,0.00509],[0.01577,0.01114,0.01055,0.00504],[0.02017,0.01093,0.01765,0.00694],[0.02715,0.01058,0.0297,0.00896],[0.03597,0.0101,0.04591,0.01325],[0.05407,0.01086,0.06366,0.01784],[0.09489,0.03164,0.09588,0.03476],[0.1639,0.09622,0.15825,0.06825],[0.24834,0.18715,0.21187,0.11839],[0.32969,0.28023,0.23968,0.17567],[0.40049,0.36373,0.24534,0.23656],[0.46331,0.42902,0.24272,0.31128],[0.50792,0.47534,0.23784,0.39725],[0.53888,0.51077,0.2318,0.47249],[0.56738,0.53851,0.22547,0.53834],[0.59116,0.56005,0.21951,0.59597],[0.60779,0.57822,0.21456,0.6464],[0.62666,0.59569,0.21237,0.69054],[0.64179,0.60783,0.22738,0.72917],[0.65616,0.60742,0.28041,0.76298],[0.66683,0.59954,0.3549,0.79214],[0.67997,0.59451,0.40949,0.81809],[0.6869,0.59212,0.44858,0.84079],[0.69114,0.58381,0.49779,0.83736],[0.69088,0.57166,0.54584,0.81839],[0.6864,0.55879,0.58207,0.795],[0.68215,0.5473,0.60733,0.77125],[0.67673,0.53785,0.6234,0.74579],[0.67026,0.52737,0.6351,0.7187],[0.66327,0.5142,0.64389,0.69473],[0.65528,0.49924,0.65118,0.68203],[0.64589,0.48393,0.64925,0.68047],[0.63333,0.46749,0.64141,0.67809],[0.61725,0.45059,0.62921,0.6698],[0.5978,0.43328,0.61306,0.65545],[0.57795,0.4162,0.59553,0.63853],[0.55983,0.40023,0.57835,0.62258],[0.53966,0.38448,0.55922,0.60497],[0.51952,0.36785,0.53926,0.58355],[0.49985,0.35352,0.52097,0.5655],[0.48056,0.3398,0.49946,0.54565],[0.46095,0.32502,0.47863,0.52312],[0.44083,0.3141,0.45662,0.50199],[0.42233,0.30075,0.4334,0.47714],[0.40384,0.29025,0.4119,0.45498],[0.38697,0.27863,0.38967,0.43628],[0.37038,0.26781,0.36887,0.42383],[0.35558,0.25515,0.3484,0.41915],[0.34086,0.24168,0.32843,0.41651],[0.32631,0.22723,0.30885,0.41455],[0.31244,0.21354,0.29051,0.40703],[0.2987,0.20073,0.27323,0.39831],[0.2856,0.18867,0.25702,0.39384],[0.27356,0.17737,0.2419,0.38666],[0.26246,0.16674,0.22773,0.38172],[0.25274,0.15671,0.21433,0.38153],[0.24365,0.14727,0.20176,0.38398],[0.2346,0.13845,0.1899,0.37942],[0.22601,0.1302,0.17881,0.37538],[0.21805,0.1224,0.1683,0.37449],[0.20994,0.11516,0.15859,0.3731],[0.20107,0.1084,0.14948,0.36094],[0.19029,0.10204,0.14081,0.34367],[0.17876,0.09586,0.13228,0.32285],[0.16793,0.09005,0.12426,0.30329],[0.15776,0.08459,0.11673,0.28491],[0.1482,0.07947,0.10966,0.26765],[0.13922,0.07465,0.10302,0.25144],[0.13079,0.07013,0.09678,0.2362],[0.12286,0.06588,0.09091,0.22189],[0.11542,0.06189,0.0854,0.20845],[0.10843,0.05814,0.08023,0.19582],[0.10186,0.05462,0.07537,0.18395],[0.09569,0.05131,0.0708,0.17281],[0.08989,0.0482,0.06651,0.16234],[0.08444,0.04528,0.06248,0.1525],[0.07933,0.04254,0.0587,0.14326],[0.07452,0.03996,0.05514,0.13458],[0.07,0.03754,0.0518,0.12643],[0.06576,0.03526,0.04866,0.11877],[0.06178,0.03313,0.04571,0.11157],[0.05804,0.03112,0.04294,0.10481],[0.05452,0.02923,0.04034,0.09846],[0.05122,0.02746,0.0379,0.0925],[0.04811,0.0258,0.0356,0.08689],[0.0452,0.02424,0.03344,0.08163],[0.04466,0.0228,0.03151,0.0801],[0.04935,0.0215,0.0298,0.09635],[0.05693,0.02033,0.02831,0.13807],[0.06912,0.01925,0.02691,0.18626],[0.0831,0.01821,0.02558,0.24485],[0.09673,0.01723,0.02435,0.30773],[0.10907,0.01629,0.02324,0.3547],[0.12005,0.01541,0.02222,0.3954],[0.13177,0.01504,0.02133,0.4437],[0.15255,0.02964,0.02283,0.48195],[0.1936,0.07822,0.03727,0.49242],[0.25614,0.15281,0.06374,0.54672],[0.32417,0.23265,0.09017,0.6033],[0.38968,0.30919,0.11577,0.65282],[0.45285,0.3785,0.1407,0.69616],[0.50477,0.4383,0.16253,0.73409],[0.54821,0.48958,0.17985,0.75848],[0.58438,0.5336,0.19191,0.74873],[0.60556,0.56506,0.19969,0.7229],[0.61127,0.57946,0.20194,0.68751],[0.60881,0.57802,0.201,0.64907],[0.60399,0.5737,0.20127,0.6119],[0.60131,0.57078,0.21043,0.57746],[0.60536,0.57361,0.24486,0.5474],[0.62547,0.58547,0.30149,0.52249],[0.64936,0.59645,0.36699,0.50147],[0.66897,0.60552,0.42921,0.48314],[0.69464,0.61072,0.4857,0.46723],[0.70515,0.61318,0.53163,0.45388],[0.71173,0.61438,0.56411,0.4417],[0.71581,0.61553,0.57917,0.42874],[0.70892,0.61293,0.57332,0.41357],[0.69706,0.60363,0.55942,0.39605],[0.67808,0.58686,0.54326,0.38103],[0.65212,0.56427,0.52134,0.37224],[0.62279,0.53582,0.49342,0.36252],[0.59105,0.50519,0.46457,0.35461],[0.56086,0.47509,0.43692,0.35074],[0.53348,0.44641,0.41081,0.35417],[0.50871,0.41948,0.38634,0.36631],[0.48583,0.39414,0.36341,0.38007],[0.4648,0.37036,0.34179,0.38618],[0.44597,0.34804,0.32152,0.40639],[0.42906,0.32702,0.30248,0.43494],[0.41352,0.30774,0.28508,0.45897],[0.41006,0.29728,0.27847,0.45707],[0.43253,0.30371,0.32451,0.46624],[0.46807,0.32019,0.40883,0.51309],[0.50974,0.33114,0.48262,0.57232],[0.54577,0.33987,0.54479,0.6257],[0.56891,0.34921,0.58655,0.67243],[0.58359,0.35981,0.60445,0.71332],[0.58954,0.37128,0.60838,0.73879],[0.58874,0.38274,0.60339,0.73517],[0.58574,0.3968,0.58526,0.70821],[0.58024,0.41007,0.55774,0.67181],[0.57409,0.42189,0.53064,0.63621],[0.56924,0.43275,0.5064,0.60238],[0.56377,0.44274,0.48456,0.56979],[0.55916,0.45127,0.46472,0.53802],[0.55152,0.45324,0.44271,0.50694],[0.54011,0.44828,0.41896,0.477],[0.52669,0.43854,0.3955,0.45006],[0.51869,0.43051,0.3806,0.43219],[0.52358,0.4324,0.38904,0.431],[0.54859,0.44571,0.44274,0.4549],[0.58542,0.45514,0.5123,0.48279],[0.62306,0.45704,0.57318,0.49621],[0.65245,0.4547,0.62645,0.49987],[0.66683,0.45211,0.67308,0.49842],[0.66414,0.44954,0.67327,0.4902],[0.65007,0.44644,0.64912,0.47039],[0.63138,0.44091,0.61472,0.44405],[0.61104,0.43354,0.57975,0.41813],[0.59045,0.42479,0.5463,0.39362],[0.56962,0.41485,0.51456,0.37048],[0.54829,0.40375,0.48443,0.34863],[0.52629,0.39096,0.45589,0.32854],[0.50474,0.37677,0.4299,0.31442],[0.48516,0.3631,0.40585,0.30365],[0.4693,0.35245,0.38418,0.29494],[0.45933,0.34677,0.36665,0.28675],[0.45838,0.34728,0.35737,0.27914],[0.47801,0.36243,0.37508,0.27362],[0.51183,0.38834,0.43733,0.27148],[0.54877,0.41144,0.50756,0.27281],[0.58617,0.42739,0.56903,0.28382],[0.61609,0.43182,0.62283,0.29351],[0.63794,0.43015,0.66991,0.30091],[0.6526,0.42704,0.71111,0.31242],[0.65691,0.42417,0.74142,0.33077],[0.66266,0.42246,0.76146,0.35651],[0.66712,0.4212,0.77591,0.38028],[0.6701,0.42031,0.78809,0.4031],[0.67174,0.41878,0.79628,0.42285],[0.67203,0.41724,0.80398,0.44127],[0.67244,0.41471,0.80963,0.45618],[0.67263,0.41138,0.81508,0.46837],[0.67234,0.40712,0.82041,0.47147],[0.66814,0.40189,0.82301,0.46835],[0.66303,0.39678,0.82281,0.46311],[0.65537,0.39385,0.81786,0.45558],[0.64392,0.39305,0.79831,0.44156],[0.62656,0.38834,0.76234,0.4212],[0.60246,0.37582,0.71994,0.40054],[0.57304,0.35755,0.67751,0.38117],[0.54114,0.3368,0.63681,0.36117],[0.50835,0.31639,0.59823,0.33929],[0.47755,0.29722,0.56198,0.31873],[0.44862,0.27921,0.52793,0.29942],[0.42144,0.2623,0.49595,0.28128],[0.3959,0.24641,0.4659,0.26424],[0.37192,0.23148,0.43767,0.24823],[0.34938,0.21745,0.41116,0.23319],[0.33001,0.20515,0.38668,0.2198],[0.31274,0.19561,0.36359,0.20723],[0.2975,0.18752,0.34202,0.19523],[0.28407,0.18087,0.32202,0.18389],[0.27234,0.17568,0.30314,0.17298],[0.26219,0.17166,0.28534,0.16263],[0.2534,0.16854,0.2686,0.1529],[0.2456,0.16631,0.25285,0.14374],[0.23931,0.16447,0.23833,0.1353],[0.24463,0.16446,0.22839,0.12909],[0.27808,0.18123,0.25598,0.12864],[0.3274,0.2023,0.34827,0.13977],[0.38339,0.22278,0.42962,0.15771],[0.43211,0.24595,0.50082,0.19146],[0.4697,0.26896,0.56184,0.24841],[0.49713,0.28881,0.6039,0.31294],[0.51735,0.3053,0.63117,0.37902],[0.53131,0.31927,0.64365,0.44615],[0.54094,0.33359,0.64296,0.51169],[0.55194,0.34878,0.63895,0.56923],[0.5624,0.36218,0.63397,0.61689],[0.57127,0.37425,0.62901,0.65033],[0.57491,0.38689,0.62207,0.66297],[0.57163,0.39352,0.61063,0.65508],[0.56193,0.38895,0.5862,0.63018],[0.54348,0.37516,0.55445,0.59956],[0.51776,0.3556,0.52257,0.56869],[0.48886,0.33476,0.49231,0.53886],[0.46089,0.31467,0.46404,0.51033],[0.43458,0.29581,0.43737,0.48377],[0.40977,0.27804,0.41227,0.45933],[0.38645,0.26134,0.38855,0.43569],[0.3645,0.24566,0.36635,0.41319],[0.34397,0.23086,0.34535,0.3928],[0.32743,0.21763,0.32615,0.3736],[0.32308,0.2117,0.31339,0.35632],[0.34462,0.22731,0.3326,0.34177],[0.38503,0.25517,0.40841,0.33363],[0.4328,0.27982,0.48226,0.32844],[0.47601,0.29807,0.54689,0.32484],[0.51043,0.31422,0.60345,0.32235],[0.53613,0.32638,0.64797,0.32762],[0.55354,0.33141,0.67909,0.34184],[0.56405,0.33166,0.69667,0.37232],[0.56936,0.33124,0.70299,0.41682],[0.57119,0.3306,0.70256,0.46357],[0.57051,0.32973,0.69901,0.50975],[0.56801,0.32985,0.68943,0.55801],[0.56285,0.3313,0.67408,0.59882],[0.55529,0.33329,0.65665,0.63504],[0.55201,0.33432,0.63995,0.66942],[0.54898,0.33413,0.62746,0.69168],[0.54454,0.33408,0.61642,0.68766],[0.53572,0.33363,0.6045,0.66984],[0.5218,0.32836,0.58508,0.64218],[0.50265,0.32104,0.5536,0.60582],[0.48489,0.31218,0.52131,0.57039],[0.4704,0.30469,0.49446,0.54104],[0.45964,0.30098,0.48104,0.52113],[0.45501,0.29857,0.48089,0.50766],[0.45414,0.29534,0.48752,0.50399],[0.4492,0.28967,0.48736,0.50363],[0.44332,0.28148,0.48536,0.50204],[0.43701,0.27355,0.48226,0.51533],[0.42879,0.26472,0.47395,0.53115],[0.41904,0.25461,0.4625,0.52932],[0.40912,0.24609,0.45317,0.53611],[0.39904,0.23793,0.44133,0.53558],[0.38836,0.22862,0.42812,0.52821],[0.37766,0.22106,0.41784,0.52817],[0.36729,0.21296,0.40433,0.52103],[0.35673,0.20484,0.39253,0.51385],[0.34656,0.19834,0.38174,0.51075],[0.33634,0.19018,0.36801,0.49797],[0.32535,0.18362,0.35802,0.49139],[0.31537,0.1766,0.34499,0.47922],[0.30519,0.16922,0.33471,0.46719],[0.29543,0.16373,0.32421,0.45901],[0.28627,0.15651,0.31324,0.44451],[0.27652,0.15152,0.3048,0.43704],[0.26826,0.14577,0.29385,0.42427],[0.25995,0.14096,0.28615,0.41547],[0.25239,0.13698,0.27623,0.40497],[0.24414,0.13215,0.26788,0.39211],[0.23524,0.12912,0.25704,0.37963],[0.22554,0.12369,0.24505,0.36183],[0.21395,0.11849,0.23249,0.34377],[0.20276,0.11188,0.2192,0.32391],[0.19047,0.1051,0.20592,0.30428],[0.17893,0.09873,0.19344,0.28585],[0.16809,0.09275,0.18172,0.26853],[0.15791,0.08713,0.17071,0.25226],[0.14834,0.08185,0.16037,0.23698],[0.13935,0.07689,0.15065,0.22262],[0.13091,0.07223,0.14153,0.20913],[0.12298,0.06786,0.13295,0.19646],[0.11553,0.06375,0.1249,0.18456],[0.10853,0.05988,0.11733,0.17337],[0.10195,0.05626,0.11022,0.16287],[0.09578,0.05285,0.10354,0.153],[0.08997,0.04965,0.09727,0.14373],[0.08452,0.04664,0.09138,0.13502],[0.0794,0.04381,0.08584,0.12684],[0.07459,0.04116,0.08064,0.11916],[0.07007,0.03866,0.07575,0.11194],[0.06583,0.03632,0.07116,0.10516],[0.06184,0.03412,0.06685,0.09879],[0.05809,0.03205,0.0628,0.0928],[0.05457,0.03011,0.059,0.08718],[0.05126,0.02829,0.05542,0.0819],[0.04816,0.02657,0.05206,0.07693],[0.04524,0.02496,0.04891,0.07227],[0.0425,0.02345,0.04595,0.06789],[0.03993,0.02203,0.04316,0.06378],[0.03751,0.0207,0.04055,0.05992],[0.03523,0.01944,0.03809,0.05629],[0.0331,0.01826,0.03578,0.05288],[0.03109,0.01716,0.03362,0.04967],[0.02921,0.01612,0.03158,0.04666],[0.02744,0.01514,0.02967,0.04384],[0.02578,0.01422,0.02787,0.04118],[0.02422,0.01336,0.02618,0.03869],[0.02275,0.01255,0.02459,0.03634],[0.02137,0.01179,0.0231,0.03414],[0.02008,0.01108,0.0217,0.03207],[0.01886,0.01041,0.02039,0.03013],[0.01772,0.00978,0.01915,0.0283],[0.01664,0.00918,0.01799,0.02659],[0.01563,0.00863,0.0169,0.02498],[0.01469,0.0081,0.01588,0.02346],[0.0138,0.00761,0.01492,0.02204],[0.01296,0.00715,0.01401,0.02071],[0.01218,0.00672,0.01316,0.01945],[0.01144,0.00631,0.01237,0.01827],[0.01075,0.00593,0.01162,0.01717],[0.01009,0.00557,0.01091,0.01613],[0.00948,0.00523,0.01025,0.01515],[0.00891,0.00492,0.00963,0.01423],[0.00837,0.00462,0.00905,0.01337],[0.00786,0.00434,0.0085,0.01256],[0.00739,0.00408,0.00798,0.0118],[0.00694,0.00383,0.0075,0.01108],[0.00652,0.0036,0.00705,0.01041],[0.00612,0.00338,0.00662,0.00978],[0.00575,0.00317,0.00622,0.00919],[0.0054,0.00298,0.00584,0.00863],[0.00508,0.0028,0.00549,0.00811],[0.00477,0.00263,0.00516,0.00762],[0.00448,0.00247,0.00484,0.00716],[0.00421,0.00232,0.00455,0.00672],[0.00395,0.00218,0.00427,0.00632],[0.00371,0.00205,0.00401,0.00593],[0.00349,0.00192,0.00377,0.00557],[0.00328,0.00181,0.00354,0.00524],[0.00308,0.0017,0.00333,0.00492],[0.00289,0.0016,0.00313,0.00462],[0.00272,0.0015,0.00294,0.00434],[0.00255,0.00141,0.00276,0.00408],[0.0024,0.00132,0.00259,0.00383],[0.00225,0.00124,0.00244,0.0036],[0.00212,0.00117,0.00229,0.00338],[0.00199,0.0011,0.00215,0.00318],[0.00187,0.00103,0.00202,0.00298],[0.00175,0.00097,0.0019,0.0028],[0.00165,0.00091,0.00178,0.00263],[0.00155,0.00085,0.00167,0.00247],[0.00145,0.0008,0.00157,0.00232],[0.00137,0.00075,0.00148,0.00218],[0.00128,0.00071,0.00139,0.00205],[0.00121,0.00067,0.0013,0.00193],[0.00113,0.00062,0.00122,0.00181],[0.00106,0.00059,0.00115,0.0017],[0.001,0.00055,0.00108,0.0016],[0.00094,0.00052,0.00102,0.0015],[0.00088,0.00049,0.00095,0.00141],[0.00083,0.00046,0.0009,0.00132],[0.00078,0.00043,0.00084,0.00124],[0.00073,0.0004,0.00079,0.00117],[0.00069,0.00038,0.00074,0.0011],[0.00065,0.00036,0.0007,0.00103],[0.00061,0.00033,0.00066,0.00097],[0.00057,0.00031,0.00062,0.00091],[0.00053,0.0003,0.00058,0.00085],[0.0005,0.00028,0.00054,0.0008],[0.00047,0.00026,0.00051,0.00075],[0.00044,0.00024,0.00048,0.00071],[0.00042,0.00023,0.00045,0.00067],[0.00039,0.00022,0.00042,0.00063],[0.00037,0.0002,0.0004,0.00059],[0.00035,0.00019,0.00037,0.00055],[0.00032,0.00018,0.00035,0.00052],[0.0003,0.00017,0.00033,0.00049],[0.00029,0.00016,0.00031,0.00046],[0.00027,0.00015,0.00029,0.00043],[0.00025,0.00014,0.00027,0.0004],[0.00024,0.00013,0.00026,0.00038],[0.00022,0.00012,0.00024,0.00036],[0.00021,0.00012,0.00023,0.00033],[0.0002,0.00011,0.00021,0.00031],[0.00018,0.0001,0.0002,0.0003],[0.00017,0.0001,0.00019,0.00028],[0.00016,9e-05,0.00018,0.00026],[0.00015,8e-05,0.00017,0.00024],[0.00014,8e-05,0.00016,0.00023],[0.00014,7e-05,0.00015,0.00022],[0.00013,7e-05,0.00014,0.0002],[0.00012,7e-05,0.00013,0.00019],[0.00011,6e-05,0.00012,0.00018],[0.00011,6e-05,0.00011,0.00017],[0.0001,5e-05,0.00011,0.00016],[9e-05,5e-05,0.0001,0.00015],[9e-05,5e-05,9e-05,0.00014],[8e-05,5e-05,9e-05,0.00013],[8e-05,4e-05,8e-05,0.00012],[7e-05,4e-05,8e-05,0.00012],[7e-05,4e-05,7e-05,0.00011],[6e-05,4e-05,7e-05,0.0001],[6e-05,3e-05,6e-05,0.0001],[6e-05,3e-05,6e-05,9e-05],[5e-05,3e-05,6e-05,8e-05],[5e-05,3e-05,5e-05,8e-05],[5e-05,3e-05,5e-05,7e-05],[4e-05,2e-05,5e-05,7e-05],[4e-05,2e-05,4e-05,7e-05],[4e-05,2e-05,4e-05,6e-05],[4e-05,2e-05,4e-05,6e-05],[3e-05,2e-05,4e-05,5e-05],[3e-05,2e-05,3e-05,5e-05],[3e-05,2e-05,3e-05,5e-05],[3e-05,2e-05,3e-05,5e-05],[3e-05,1e-05,3e-05,4e-05],[3e-05,1e-05,3e-05,4e-05],[2e-05,1e-05,3e-05,4e-05],[2e-05,1e-05,2e-05,4e-05],[2e-05,1e-05,2e-05,3e-05],[2e-05,1e-05,2e-05,3e-05],[2e-05,1e-05,2e-05,3e-05],[2e-05,1e-05,2e-05,3e-05],[2e-05,1e-05,2e-05,3e-05],[2e-05,1e-05,2e-05,2e-05],[1e-05,1e-05,2e-05,2e-05],[1e-05,1e-05,1e-05,2e-05],[1e-05,1e-05,1e-05,2e-05],[1e-05,1e-05,1e-05,2e-05],[1e-05,1e-05,1e-05,2e-05],[1e-05,1e-05,1e-05,2e-05],[1e-05,1e-05,1e-05,2e-05],[1e-05,1e-05,1e-05,1e-05],[1e-05,0.0,1e-05,1e-05],[1e-05,0.0,1e-05,1e-05],[1e-05,0.0,1e-05,1e-05],[1e-05,0.0,1e-05,1e-05],[1e-05,0.0,1e-05,1e-05],[1e-05,0.0,1e-05,1e-05],[1e-05,0.0,1e-05,1e-05],[1e-05,0.0,1e-05,1e-05],[1e-05,0.0,1e-05,1e-05],[0.0,0.0,1e-05,1e-05],[0.0,0.0,1e-05,1e-05],[0.0,0.0,0.0,1e-05],[0.0,0.0,0.0,1e-05],[0.0,0.0,0.0,1e-05],[0.0,0.0,0.0,1e-05],[0.0,0.0,0.0,1e-05],[0.0,0.0,0.0,1e-05],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0]]}diff --git a/site/public/marketing/assets/wordmark.svg b/site/public/marketing/assets/wordmark.svgdeleted file mode 100644index 5679619a..00000000--- a/site/public/marketing/assets/wordmark.svg+++ /dev/null@@ -1 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 286 80"><path fill="#6F00FF" transform="translate(0 5) scale(.65)" d="M21.528 8.111Q25.000 7.278 30.000 7.278L30.000 7.278Q35.000 7.278 45.833 7.833L56.667 8.389L56.667 8.389L56.111 20.056Q55.556 31.722 54.861 34.222L54.861 34.222Q54.167 36.722 53.472 37.556L53.472 37.556Q52.778 38.389 51.528 39.083L51.528 39.083Q50.278 39.778 44.028 40.889L44.028 40.889Q37.778 42.000 36.111 43.250L36.111 43.250Q34.444 44.500 33.889 45.750L33.889 45.750Q33.333 47.000 33.472 48.806L33.472 48.806Q33.611 50.611 34.583 52.417L34.583 52.417Q35.556 54.222 37.361 55.889L37.361 55.889Q39.167 57.556 40.694 58.250L42.222 58.944L42.222 58.944L42.361 59.778Q42.500 60.611 42.500 62.278L42.500 63.944L42.500 63.944L41.250 63.944Q40.000 63.944 35.139 62.972L35.139 62.972Q30.278 62.000 25.556 60.056L25.556 60.056Q20.833 58.111 18.194 56.306L18.194 56.306Q15.556 54.500 13.611 52.556L13.611 52.556Q11.667 50.611 10.278 48.667L10.278 48.667Q8.889 46.722 7.500 43.389L7.500 43.389Q6.111 40.056 5.556 36.861L5.556 36.861Q5.000 33.667 5.000 31.167L5.000 31.167Q5.000 28.667 5.417 26.028L5.417 26.028Q5.833 23.389 6.944 20.611L6.944 20.611Q8.056 17.833 9.444 15.889L9.444 15.889Q10.833 13.944 12.639 12.417L12.639 12.417Q14.444 10.889 16.250 9.917L16.250 9.917Q18.056 8.944 21.528 8.111L21.528 8.111Z M66.250 33.944Q68.611 33.667 72.639 33.667L72.639 33.667Q76.667 33.667 79.028 34.083L79.028 34.083Q81.389 34.500 83.889 35.611L83.889 35.611Q86.389 36.722 88.611 38.667L88.611 38.667Q90.833 40.611 92.083 42.694L92.083 42.694Q93.333 44.778 93.889 46.444L93.889 46.444Q94.444 48.111 94.861 51.306L94.861 51.306Q95.278 54.500 95.139 57.972L95.139 57.972Q95.000 61.444 94.444 64.222L94.444 64.222Q93.889 67.000 92.083 71.306L92.083 71.306Q90.278 75.611 89.028 77.278L89.028 77.278Q87.778 78.944 85.694 81.028L85.694 81.028Q83.611 83.111 80.694 85.194L80.694 85.194Q77.778 87.278 75.556 88.389L75.556 88.389Q73.333 89.500 71.111 90.333L71.111 90.333Q68.889 91.167 65.833 91.861L65.833 91.861Q62.778 92.556 59.028 92.833L55.278 93.111L55.278 93.111L55.278 89.222L55.278 89.222L56.944 88.528Q58.611 87.833 60.972 85.889L60.972 85.889Q63.333 83.944 64.444 81.722L64.444 81.722Q65.556 79.500 65.417 77.417L65.417 77.417Q65.278 75.333 64.722 74.639L64.722 74.639Q64.167 73.944 63.194 73.528L63.194 73.528Q62.222 73.111 56.667 72.972L56.667 72.972Q51.111 72.833 50.139 72.556L50.139 72.556Q49.167 72.278 48.472 71.583L48.472 71.583Q47.778 70.889 47.361 66.861L47.361 66.861Q46.944 62.833 46.944 57.833L46.944 57.833Q46.944 52.833 47.222 51.167L47.222 51.167Q47.500 49.500 48.611 46.722L48.611 46.722Q49.722 43.944 51.944 41.306L51.944 41.306Q54.167 38.667 56.667 37.139L56.667 37.139Q59.167 35.611 61.528 34.917L61.528 34.917Q63.889 34.222 66.250 33.944L66.250 33.944Z"/><path fill="#29262E" transform="translate(82 55) scale(.068 -.068)" d="M265 -179Q225 -179 184.0 -171.0Q143 -163 107.5 -146.5Q72 -130 48 -104L91 0Q120 -33 166.0 -50.0Q212 -67 259 -67Q314 -67 350.0 -44.5Q386 -22 405.0 25.0Q424 72 426 142L433 237H412Q402 169 379.0 126.5Q356 84 321.5 64.5Q287 45 241 45Q184 45 145.0 74.0Q106 103 86.5 160.0Q67 217 67 301V523H194V330Q194 236 217.0 193.5Q240 151 287 151Q312 151 333.0 164.5Q354 178 368.5 203.5Q383 229 391.5 267.0Q400 305 401 354V523H528V137Q528 74 517.5 23.5Q507 -27 486.0 -64.5Q465 -102 433.5 -128.0Q402 -154 360.0 -166.5Q318 -179 265 -179ZM875 -13Q798 -13 739.0 18.5Q680 50 646.5 111.5Q613 173 613 263Q613 355 647.5 415.5Q682 476 741.0 506.0Q800 536 874 536Q951 536 1010.0 505.0Q1069 474 1103.0 412.5Q1137 351 1137 260Q1137 168 1103.0 107.0Q1069 46 1009.5 16.5Q950 -13 875 -13ZM880 83Q922 83 951.0 102.5Q980 122 995.5 161.0Q1011 200 1011 254Q1011 311 994.5 351.5Q978 392 947.5 414.0Q917 436 871 436Q831 436 801.0 416.5Q771 397 755.5 359.0Q740 321 740 265Q740 177 777.5 130.0Q815 83 880 83ZM1428 -180Q1343 -180 1288.5 -167.0Q1234 -154 1208.0 -128.0Q1182 -102 1182 -64Q1182 -18 1218.5 11.5Q1255 41 1327 48V68Q1273 67 1245.0 79.5Q1217 92 1217 120Q1217 147 1244.5 168.0Q1272 189 1336 203V223Q1275 226 1241.0 261.5Q1207 297 1207 354Q1207 405 1235.0 444.0Q1263 483 1317.5 505.5Q1372 528 1450 528H1709V428L1545 452V430Q1607 420 1636.5 395.0Q1666 370 1666 327Q1666 286 1640.0 254.5Q1614 223 1564.5 205.5Q1515 188 1445 188Q1432 188 1417.0 189.0Q1402 190 1370 194Q1349 179 1336.0 167.5Q1323 156 1323 146Q1323 138 1333.0 132.5Q1343 127 1359.0 125.0Q1375 123 1390 123H1529Q1549 123 1580.5 120.0Q1612 117 1643.5 104.0Q1675 91 1696.5 63.0Q1718 35 1718 -16Q1718 -73 1685.5 -109.5Q1653 -146 1588.5 -163.0Q1524 -180 1428 -180ZM1439 -78Q1501 -78 1538.0 -71.0Q1575 -64 1591.0 -48.5Q1607 -33 1607 -9Q1607 13 1597.0 25.5Q1587 38 1571.5 43.0Q1556 48 1540.0 49.0Q1524 50 1513 50H1390Q1342 43 1322.5 23.0Q1303 3 1303 -21Q1303 -45 1319.0 -57.5Q1335 -70 1365.5 -74.0Q1396 -78 1439 -78ZM1442 257Q1494 257 1521.0 281.5Q1548 306 1548 346Q1548 389 1520.5 416.5Q1493 444 1441 444Q1389 444 1360.5 417.0Q1332 390 1332 348Q1332 321 1344.5 300.5Q1357 280 1381.5 268.5Q1406 257 1442 257ZM1968 -13Q1878 -13 1832.5 48.5Q1787 110 1787 235V523H1914V249Q1914 170 1938.0 131.0Q1962 92 2012 92Q2041 92 2063.0 106.5Q2085 121 2101.0 147.5Q2117 174 2126.5 209.0Q2136 244 2138 286V523H2264V215V0H2160L2162 165H2144Q2131 102 2107.5 63.0Q2084 24 2050.0 5.5Q2016 -13 1968 -13ZM2381 0V262V523H2487L2485 343H2503Q2512 407 2531.0 449.5Q2550 492 2584.0 513.5Q2618 535 2668 535Q2678 535 2689.5 534.0Q2701 533 2715 529L2710 396Q2694 402 2677.5 404.5Q2661 407 2647 407Q2608 407 2579.5 387.0Q2551 367 2533.5 330.5Q2516 294 2507 244V0ZM2961 -12Q2878 -12 2839.0 32.5Q2800 77 2800 171V422H2723L2725 522H2776Q2805 522 2819.0 531.0Q2833 540 2836 563L2848 639H2921V523H3059V418H2921V176Q2921 139 2938.5 122.0Q2956 105 2991 105Q3010 105 3028.5 109.5Q3047 114 3063 125V5Q3032 -5 3006.5 -8.5Q2981 -12 2961 -12Z"/></svg>diff --git a/site/public/marketing/clock.mjs b/site/public/marketing/clock.mjsdeleted file mode 100644index c1779ac0..00000000--- a/site/public/marketing/clock.mjs+++ /dev/null@@ -1,51 +0,0 @@-// The desktop hero alone needs a sample clock. A static phone or reduced-motion view never loads audio measurements.-import { speechSignal } from './signal.mjs'--const desktop = matchMedia('(min-width:761px)')-const reduce = matchMedia('(prefers-reduced-motion: reduce)')-const listeners = new Set()-const state = { phase: 0, level: 0, bands: [0, 0, 0] }-let frame,- lastTime,- visible = false,- loading = false,- sample--async function loadSample() {- loading = true- try {- const response = await fetch(new URL('./assets/speech-data.json', import.meta.url))- if (!response.ok) throw Error('Sample unavailable')- sample = speechSignal(await response.json())- } catch {- // Keep the demo timeline usable if the optional microphone levels are unavailable.- sample = () => ({ level: 0, bands: [0, 0, 0] })- }- sync()-}-function tick(now) {- if (lastTime !== undefined) state.phase += Math.min((now - lastTime) / 1000, 0.05)- lastTime = now- Object.assign(state, sample(state.phase))- for (const render of listeners) render(state)- frame = requestAnimationFrame(tick)-}-function sync() {- cancelAnimationFrame(frame)- lastTime = undefined- if (!visible || document.hidden || !desktop.matches || reduce.matches || !listeners.size) return- if (sample) frame = requestAnimationFrame(tick)- else if (!loading) void loadSample()-}-export function onVoiceFrame(render) {- listeners.add(render)- render(state)- sync()-}-desktop.addEventListener('change', sync)-reduce.addEventListener('change', sync)-document.addEventListener('visibilitychange', sync)-new IntersectionObserver(([entry]) => {- visible = entry.isIntersecting- sync()-}).observe(document.querySelector('.product-stage'))diff --git a/site/public/marketing/demo-video.mjs b/site/public/marketing/demo-video.mjsdeleted file mode 100644index 166dd8f6..00000000--- a/site/public/marketing/demo-video.mjs+++ /dev/null@@ -1,80 +0,0 @@-function wireDialog(dialog, initialFocus) {- let opener- const root = document.documentElement- const close = () => dialog.close()- dialog.querySelector('[data-dialog-close]').addEventListener('click', close)- dialog.addEventListener('cancel', (event) => {- event.preventDefault()- close()- })- dialog.addEventListener('close', () => {- if (dialog.open) return- root.classList.remove('modal-open')- opener?.focus({ preventScroll: true })- })- const outside = (event) => {- const bounds = dialog.getBoundingClientRect()- return (- event.clientX < bounds.left ||- event.clientX > bounds.right ||- event.clientY < bounds.top ||- event.clientY > bounds.bottom- )- }- let backdropPress = false- dialog.addEventListener('pointerdown', (event) => {- backdropPress = outside(event)- })- dialog.addEventListener('click', (event) => {- if (backdropPress && outside(event)) close()- backdropPress = false- })- return (trigger) => {- if (dialog.open) return- opener = trigger- // Keep the document in place instead of fixing the body and restoring its scroll offset.- root.classList.add('modal-open')- dialog.showModal()- initialFocus.focus({ preventScroll: true })- }-}--const video = document.querySelector('#demo-video')-const dialog = document.querySelector('#demo-dialog')-const button = document.querySelector('.demo-play')-const status = document.querySelector('#demo-video-status')-const retry = document.querySelector('#demo-retry')-const openDialog = wireDialog(dialog, dialog.querySelector('[data-dialog-close]'))--function failed() {- if (!dialog.open) return- status.textContent = 'The video could not play.'- retry.hidden = false-}-async function play() {- status.textContent = ''- retry.hidden = true- video.muted = false- if (!video.src) {- video.poster = video.dataset.poster- video.src = video.dataset.src- }- try {- await video.play()- if (!dialog.open) video.pause()- } catch {- failed()- }-}-button.addEventListener('click', () => {- openDialog(button)- play()-})-retry.addEventListener('click', () => {- video.load()- play()-})-video.addEventListener('error', failed)-dialog.addEventListener('close', () => {- video.pause()-})diff --git a/site/public/marketing/downloads.mjs b/site/public/marketing/downloads.mjsdeleted file mode 100644index 2c236911..00000000--- a/site/public/marketing/downloads.mjs+++ /dev/null@@ -1,124 +0,0 @@-// Linux icon: Simple Icons, CC0 1.0 (https://simpleicons.org). Bundled locally.-export const release = "https://github.com/FrigadeHQ/yogurt/releases/latest/download/"-export const platforms = {- "mac": {- "name": "Mac",- "file": "Yogurt-mac-arm64.dmg",- "requirements": [- "macOS 14.4+",- "Apple Silicon (M1+)"- ],- "icon": "<path d=\"M17.1 12.3c0-2.6 2.2-3.9 2.3-4-1.3-1.9-3.2-2.1-3.9-2.1-1.7-.2-3.3 1-4.2 1-.9 0-2.2-1-3.6-.9-1.9 0-3.6 1.1-4.6 2.7-2 3.4-.5 8.4 1.4 11.1.9 1.3 2 2.7 3.4 2.6 1.3 0 1.9-.8 3.5-.8s2.1.8 3.5.8c1.5 0 2.4-1.3 3.3-2.6 1.1-1.5 1.5-3 1.5-3.1-.1 0-2.6-1-2.6-3.7ZM14.4 4.5c.8-1 1.4-2.3 1.2-3.5-1.2.1-2.6.8-3.4 1.7-.7.8-1.4 2.2-1.2 3.4 1.3.1 2.6-.7 3.4-1.6Z\"></path>"- },- "windows": {- "name": "Windows",- "file": "Yogurt-windows-x64.exe",- "requirements": [- "Windows x64"- ],- "icon": "<path d=\"M2 2h9v9H2zm11 0h9v9h-9zM2 13h9v9H2zm11 0h9v9h-9z\"/>"- },- "linux": {- "name": "Linux",- "file": "Yogurt-linux-x86_64.AppImage",- "requirements": [- "Linux x64 (AppImage)"- ],- "icon": "<path d=\"M12.504 0c-.155 0-.315.008-.48.021-4.226.333-3.105 4.807-3.17 6.298-.076 1.092-.3 1.953-1.05 3.02-.885 1.051-2.127 2.75-2.716 4.521-.278.832-.41 1.684-.287 2.489a.424.424 0 00-.11.135c-.26.268-.45.6-.663.839-.199.199-.485.267-.797.4-.313.136-.658.269-.864.68-.09.189-.136.394-.132.602 0 .199.027.4.055.536.058.399.116.728.04.97-.249.68-.28 1.145-.106 1.484.174.334.535.47.94.601.81.2 1.91.135 2.774.6.926.466 1.866.67 2.616.47.526-.116.97-.464 1.208-.946.587-.003 1.23-.269 2.26-.334.699-.058 1.574.267 2.577.2.025.134.063.198.114.333l.003.003c.391.778 1.113 1.132 1.884 1.071.771-.06 1.592-.536 2.257-1.306.631-.765 1.683-1.084 2.378-1.503.348-.199.629-.469.649-.853.023-.4-.2-.811-.714-1.376v-.097l-.003-.003c-.17-.2-.25-.535-.338-.926-.085-.401-.182-.786-.492-1.046h-.003c-.059-.054-.123-.067-.188-.135a.357.357 0 00-.19-.064c.431-1.278.264-2.55-.173-3.694-.533-1.41-1.465-2.638-2.175-3.483-.796-1.005-1.576-1.957-1.56-3.368.026-2.152.236-6.133-3.544-6.139zm.529 3.405h.013c.213 0 .396.062.584.198.19.135.33.332.438.533.105.259.158.459.166.724 0-.02.006-.04.006-.06v.105a.086.086 0 01-.004-.021l-.004-.024a1.807 1.807 0 01-.15.706.953.953 0 01-.213.335.71.71 0 00-.088-.042c-.104-.045-.198-.064-.284-.133a1.312 1.312 0 00-.22-.066c.05-.06.146-.133.183-.198.053-.128.082-.264.088-.402v-.02a1.21 1.21 0 00-.061-.4c-.045-.134-.101-.2-.183-.333-.084-.066-.167-.132-.267-.132h-.016c-.093 0-.176.03-.262.132a.8.8 0 00-.205.334 1.18 1.18 0 00-.09.4v.019c.002.089.008.179.02.267-.193-.067-.438-.135-.607-.202a1.635 1.635 0 01-.018-.2v-.02a1.772 1.772 0 01.15-.768c.082-.22.232-.406.43-.533a.985.985 0 01.594-.2zm-2.962.059h.036c.142 0 .27.048.399.135.146.129.264.288.344.465.09.199.14.4.153.667v.004c.007.134.006.2-.002.266v.08c-.03.007-.056.018-.083.024-.152.055-.274.135-.393.2.012-.09.013-.18.003-.267v-.015c-.012-.133-.04-.2-.082-.333a.613.613 0 00-.166-.267.248.248 0 00-.183-.064h-.021c-.071.006-.13.04-.186.132a.552.552 0 00-.12.27.944.944 0 00-.023.33v.015c.012.135.037.2.08.334.046.134.098.2.166.268.01.009.02.018.034.024-.07.057-.117.07-.176.136a.304.304 0 01-.131.068 2.62 2.62 0 01-.275-.402 1.772 1.772 0 01-.155-.667 1.759 1.759 0 01.08-.668 1.43 1.43 0 01.283-.535c.128-.133.26-.2.418-.2zm1.37 1.706c.332 0 .733.065 1.216.399.293.2.523.269 1.052.468h.003c.255.136.405.266.478.399v-.131a.571.571 0 01.016.47c-.123.31-.516.643-1.063.842v.002c-.268.135-.501.333-.775.465-.276.135-.588.292-1.012.267a1.139 1.139 0 01-.448-.067 3.566 3.566 0 01-.322-.198c-.195-.135-.363-.332-.612-.465v-.005h-.005c-.4-.246-.616-.512-.686-.71-.07-.268-.005-.47.193-.6.224-.135.38-.271.483-.336.104-.074.143-.102.176-.131h.002v-.003c.169-.202.436-.47.839-.601.139-.036.294-.065.466-.065zm2.8 2.142c.358 1.417 1.196 3.475 1.735 4.473.286.534.855 1.659 1.102 3.024.156-.005.33.018.513.064.646-1.671-.546-3.467-1.089-3.966-.22-.2-.232-.335-.123-.335.59.534 1.365 1.572 1.646 2.757.13.535.16 1.104.021 1.67.067.028.135.06.205.067 1.032.534 1.413.938 1.23 1.537v-.043c-.06-.003-.12 0-.18 0h-.016c.151-.467-.182-.825-1.065-1.224-.915-.4-1.646-.336-1.77.465-.008.043-.013.066-.018.135-.068.023-.139.053-.209.064-.43.268-.662.669-.793 1.187-.13.533-.17 1.156-.205 1.869v.003c-.02.334-.17.838-.319 1.35-1.5 1.072-3.58 1.538-5.348.334a2.645 2.645 0 00-.402-.533 1.45 1.45 0 00-.275-.333c.182 0 .338-.03.465-.067a.615.615 0 00.314-.334c.108-.267 0-.697-.345-1.163-.345-.467-.931-.995-1.788-1.521-.63-.4-.986-.87-1.15-1.396-.165-.534-.143-1.085-.015-1.645.245-1.07.873-2.11 1.274-2.763.107-.065.037.135-.408.974-.396.751-1.14 2.497-.122 3.854a8.123 8.123 0 01.647-2.876c.564-1.278 1.743-3.504 1.836-5.268.048.036.217.135.289.202.218.133.38.333.59.465.21.201.477.335.876.335.039.003.075.006.11.006.412 0 .73-.134.997-.268.29-.134.52-.334.74-.4h.005c.467-.135.835-.402 1.044-.7zm2.185 8.958c.037.6.343 1.245.882 1.377.588.134 1.434-.333 1.791-.765l.211-.01c.315-.007.577.01.847.268l.003.003c.208.199.305.53.391.876.085.4.154.78.409 1.066.486.527.645.906.636 1.14l.003-.007v.018l-.003-.012c-.015.262-.185.396-.498.595-.63.401-1.746.712-2.457 1.57-.618.737-1.37 1.14-2.036 1.191-.664.053-1.237-.2-1.574-.898l-.005-.003c-.21-.4-.12-1.025.056-1.69.176-.668.428-1.344.463-1.897.037-.714.076-1.335.195-1.814.12-.465.308-.797.641-.984l.045-.022zm-10.814.049h.01c.053 0 .105.005.157.014.376.055.706.333 1.023.752l.91 1.664.003.003c.243.533.754 1.064 1.189 1.637.434.598.77 1.131.729 1.57v.006c-.057.744-.48 1.148-1.125 1.294-.645.135-1.52.002-2.395-.464-.968-.536-2.118-.469-2.857-.602-.369-.066-.61-.2-.723-.4-.11-.2-.113-.602.123-1.23v-.004l.002-.003c.117-.334.03-.752-.027-1.118-.055-.401-.083-.71.043-.94.16-.334.396-.4.69-.533.294-.135.64-.202.915-.47h.002v-.002c.256-.268.445-.601.668-.838.19-.201.38-.336.663-.336zm7.159-9.074c-.435.201-.945.535-1.488.535-.542 0-.97-.267-1.28-.466-.154-.134-.28-.268-.373-.335-.164-.134-.144-.333-.074-.333.109.016.129.134.199.2.096.066.215.2.36.333.292.2.68.467 1.167.467.485 0 1.053-.267 1.398-.466.195-.135.445-.334.648-.467.156-.136.149-.267.279-.267.128.016.034.134-.147.332a8.097 8.097 0 01-.69.468zm-1.082-1.583V5.64c-.006-.02.013-.042.029-.05.074-.043.18-.027.26.004.063 0 .16.067.15.135-.006.049-.085.066-.135.066-.055 0-.092-.043-.141-.068-.052-.018-.146-.008-.163-.065zm-.551 0c-.02.058-.113.049-.166.066-.047.025-.086.068-.14.068-.05 0-.13-.02-.136-.068-.01-.066.088-.133.15-.133.08-.031.184-.047.259-.005.019.009.036.03.03.05v.02h.003z\"/>"- }-}-export function platformFor(userAgent,mobile=false,maxTouchPoints=0){- if(mobile||/Android|iPhone|iPad|iPod|CrOS/i.test(userAgent)||(/Mac/i.test(userAgent)&&maxTouchPoints>1))return null- if(/Windows/i.test(userAgent))return 'windows'- if(/Linux/i.test(userAgent)&&!/Android/i.test(userAgent))return 'linux'- return 'mac'-}-// Enrich actual installer links after platform detection and mobile menu creation.-export function countDownloadClicks(root, analytics) {- const regions = [- ['.mobile-download-list', 'mobile chooser'], ['.site-header', 'nav'],- ['.hero', 'hero'], ['.site-footer', 'footer'], ['.updates-page', 'updates'],- ]- for (const [platform, installer] of Object.entries(platforms)) {- for (const link of root.querySelectorAll(`a[href="${release + installer.file}"]`)) {- const region = regions.find(([selector]) => link.closest(selector))- if (region) Object.assign(link.dataset, { downloadPlatform: platform, downloadPlacement: region[1] })- }- }-- try {- analytics('beforeSend', event => {- if (event.type !== 'event') return event- // The provider attaches the page URL and external referrer to custom events.- // Its hook can rewrite the former but cannot redact the latter.- const url = new URL(event.url)- if (root.referrer) {- const referrer = new URL(root.referrer)- if (referrer.origin !== url.origin && referrer.href !== referrer.origin + '/') return null- }- return { ...event, url: url.origin + url.pathname }- })- } catch { return }-- function activated(event) {- if (event.type === 'auxclick' && event.button !== 1) return- const link = event.target.closest?.('a[data-download-platform][data-download-placement]')- if (!link || event.defaultPrevented) return- const { downloadPlatform: platform, downloadPlacement: placement } = link.dataset- try { analytics('event', { name: 'Download', data: { platform, placement } }) } catch {}- }- root.addEventListener('click', activated, { passive: true })- root.addEventListener('auxclick', activated, { passive: true })-}-if(typeof document!=='undefined'){- const key=platformFor(navigator.userAgent,navigator.userAgentData?.mobile,navigator.maxTouchPoints)- if(key===null){- for(const button of document.querySelectorAll('[data-download]')){- const chooser=document.createElement('details')- chooser.className='mobile-download'- const summary=document.createElement('summary')- summary.className=button.className- summary.textContent=button.closest('.site-header')?'Download':'Download Yogurt'- const list=document.createElement('div')- list.className='mobile-download-list'- for(const platform of Object.values(platforms)){- const link=document.createElement('a'),name=document.createElement('strong'),requirements=document.createElement('span')- link.href=release+platform.file- name.className='link-label'- name.textContent=platform.name;requirements.textContent=platform.requirements.join(' · ')- link.append(name,requirements);list.append(link)- }- chooser.append(summary,list);button.replaceWith(chooser)- }- for(const caption of document.querySelectorAll('.download-requirements'))caption.hidden=true- document.addEventListener('click',event=>{- for(const chooser of document.querySelectorAll('.mobile-download[open]'))if(!chooser.contains(event.target))chooser.open=false- })- document.addEventListener('keydown',event=>{- if(event.key==='Escape')for(const chooser of document.querySelectorAll('.mobile-download[open]')){chooser.open=false;chooser.querySelector('summary').focus()}- })- }else{- const platform=platforms[key]- for(const button of document.querySelectorAll('[data-download]')){- button.href=release+platform.file- const label=button.querySelector('[data-download-label]')- if(label)label.textContent='Download for '+platform.name- const icon=button.querySelector('svg')- if(icon){icon.innerHTML=platform.icon;icon.dataset.platform=key}- }- for(const requirements of document.querySelectorAll('[data-requirements]')){- requirements.replaceChildren(...platform.requirements.flatMap((text,index)=>{- const item=document.createElement('span');item.textContent=text- return index?[' · ',item]:[item]- }))- }- const others=Object.entries(platforms).filter(([name])=>name!==key).map(([,value])=>value)- for(const group of document.querySelectorAll('.download-alternatives')){- group.querySelectorAll('a').forEach((link,index)=>{- link.textContent=others[index].name;link.href=release+others[index].file- link.setAttribute('aria-label','Download for '+others[index].name)- })- }- }- countDownloadClicks(document, (...args) => window.va?.(...args))-}diff --git a/site/public/marketing/feature-motion.mjs b/site/public/marketing/feature-motion.mjsdeleted file mode 100644index 80dad9d2..00000000--- a/site/public/marketing/feature-motion.mjs+++ /dev/null@@ -1,64 +0,0 @@-// Choose another combination number each time. Excluding nearby distances prevents-// successive opposite sweeps from repeatedly landing back where they started.-export function dialTurn(from, direction, previousDistance, random = Math.random) {- const minimum = 90, maximum = 350- const lowerEnd = previousDistance == null ? maximum : Math.max(minimum, previousDistance - 45)- const upperStart = previousDistance == null ? maximum : Math.min(maximum, previousDistance + 45)- const lowSpan = lowerEnd - minimum- const pick = random() * (lowSpan + maximum - upperStart)- const distance = Math.round(pick < lowSpan ? minimum + pick : upperStart + pick - lowSpan)- const to = from + direction * distance- const travel = Math.round(220 + distance * 8.8)- const settle = 200- const duration = travel + settle + 2300 + Math.round(random() * 2100)- const rotate = degrees => 'rotate(' + degrees + 'deg)'- const frames = [- { offset: 0, transform: rotate(from), easing: 'cubic-bezier(.45,0,.55,1)' },- { offset: travel / duration, transform: rotate(to + direction * .55), easing: 'cubic-bezier(.23,1,.32,1)' },- { offset: (travel + settle) / duration, transform: rotate(to) },- { offset: 1, transform: rotate(to) },- ]- return { distance, to, duration, frames }-}--export function rollingDial(ring) {- let position = -9, direction = 1, previousDistance, animation, running = false-- function next() {- const turn = dialTurn(position, direction, previousDistance)- if (!animation) {- animation = ring.animate(turn.frames, { duration: turn.duration, delay: 420, fill: 'both' })- animation.onfinish = () => {- if (animation.playState === 'finished') next()- }- } else {- animation.effect.setKeyframes(turn.frames)- animation.effect.updateTiming({ duration: turn.duration, delay: 0 })- animation.currentTime = 0- }- // Equivalent orientations at a stop keep the angle bounded over a long visit.- position = (turn.to % 360 + 360) % 360- direction *= -1- previousDistance = turn.distance- if (running) animation.play()- else animation.pause()- }-- return (visible, reduced) => {- running = visible && !reduced- if (!running) animation?.pause()- else if (!animation || animation.playState === 'finished') next()- else animation.play()- }-}--// The negative phase starts on Claude. Only the two changing marks move during a handoff.-export function clientFrames() {- return [- { offset: 0, opacity: 0, transform: 'scale(.86)', easing: 'cubic-bezier(.23,1,.32,1)' },- { offset: .03, opacity: 1, transform: 'scale(1)' },- { offset: 1 / 3, opacity: 1, transform: 'scale(1)', easing: 'cubic-bezier(.45,0,.55,1)' },- { offset: 1 / 3 + .024, opacity: 0, transform: 'scale(.92)' },- { offset: 1, opacity: 0, transform: 'scale(.86)' },- ]-}diff --git a/site/public/marketing/features.mjs b/site/public/marketing/features.mjsdeleted file mode 100644index 528d6ad2..00000000--- a/site/public/marketing/features.mjs+++ /dev/null@@ -1,118 +0,0 @@-import { clientFrames, rollingDial } from './feature-motion.mjs'-import { languageDots } from './language-dots.mjs'--const reduce = matchMedia('(prefers-reduced-motion: reduce)')-function observeMotion(element, update) {- let visible = false- function sync() {- update(visible && !document.hidden, reduce.matches)- }- new IntersectionObserver(([entry]) => {- visible = entry.isIntersecting && entry.intersectionRatio >= .1- sync()- }, { threshold: [0, .1] }).observe(element)- document.addEventListener('visibilitychange', sync)- reduce.addEventListener('change', sync)-}--function animateInView(element, create) {- let animations, pending, running = false- function apply() {- for (const animation of animations ?? []) {- if (running) animation.play()- else {- animation.pause()- if (reduce.matches) animation.currentTime = 0- }- }- }- observeMotion(element, async (visible, reduced) => {- running = visible && !reduced- if (running && !animations && !pending) {- pending = true- try { animations = [].concat(await create()) }- catch { return } // Keep the server-rendered art if the word outlines are unavailable.- finally { pending = false }- }- apply()- })-}--const ring = document.querySelector('.dial-index')-observeMotion(ring.closest('article'), rollingDial(ring))--const tile = document.querySelector('.mcp-tiles')-const marks = Array.from(tile.querySelectorAll('.client-mark'))-let swaps = [], plainSwap, current = 0-observeMotion(tile.closest('article'), (visible, reduced) => {- clearInterval(plainSwap)- if (reduced) {- // Local clients still change, without movement or a fade.- if (swaps.length) {- current = Math.floor((swaps[0].currentTime ?? 0) / 3600) % marks.length- swaps.forEach(animation => animation.cancel())- swaps = []- }- function show() {- marks.forEach((mark, i) => { mark.style.opacity = i === current ? '1' : '0' })- }- show()- if (visible) plainSwap = setInterval(() => { current = (current + 1) % marks.length; show() }, 3600)- return- }- if (!swaps.length && visible) {- swaps = marks.map((mark, i) => {- mark.style.removeProperty('opacity')- const animation = mark.animate(clientFrames(), {- duration: 10800, iterations: Infinity, delay: -((marks.length - i) % marks.length * 3600 + 360),- })- animation.currentTime = current * 3600- return animation- })- }- swaps.forEach(animation => visible ? animation.play() : animation.pause())-})--const list = document.querySelector('.folder-list')-list.addEventListener('pointerover', (event) => {- const row = event.target.closest('.folder-row')- if (row && event.pointerType !== 'touch' && matchMedia('(any-hover: hover)').matches)- list.style.setProperty('--hover-row', Array.from(list.children).indexOf(row))-})-// The highlight stays on the last folder the pointer was over.-list.addEventListener('pointerdown', (e) => {- if (e.pointerType === 'touch') list.style.removeProperty('--hover-row')-})--const canvas = document.querySelector('.language-dots')-const dots = languageDots(canvas)-observeMotion(canvas.closest('article'), (visible, reduced) => dots(visible && !reduced, reduced))-const word = document.querySelector('[data-morph]')-animateInView(word, async () => {- const response = await fetch('/marketing/assets/language-outlines.json')- if (!response.ok) throw Error('Word outlines unavailable')- const contours = await response.json()- const words = contours.map((letters) =>- letters- .map((points) => {- // A missing letter collapses to one point, with the same command count for interpolation.- const coordinates = points.length === 2 ? Array.from({ length: 32 }, () => points).flat() : points- let d = 'M' + coordinates[0] + ',' + coordinates[1]- for (let i = 2; i < coordinates.length; i += 2) d += 'L' + coordinates[i] + ',' + coordinates[i + 1]- return d + 'Z'- })- .join('')- )- const frames = []- for (let i = 0; i < words.length; i++) {- const d = 'path("' + words[i] + '")'- frames.push(- { d, offset: i / words.length },- { d, offset: (i + 2 / 3) / words.length, easing: 'cubic-bezier(.77,0,.175,1)' }- )- }- frames.push({ d: 'path("' + words[0] + '")', offset: 1 })- const path = word.querySelector('path')- path.setAttribute('d', words[0])- return path.animate(frames, { duration: 1800 * words.length, iterations: Infinity })-})diff --git a/site/public/marketing/footer.mjs b/site/public/marketing/footer.mjsdeleted file mode 100644index 7c1a4e23..00000000--- a/site/public/marketing/footer.mjs+++ /dev/null@@ -1,25 +0,0 @@-const footer = document.querySelector('.site-footer')-const field = footer.querySelector('.footer-field'), dock = footer.querySelector('.footer-dock')--new ResizeObserver(() => {- const { width: w, height: h } = footer.getBoundingClientRect(), style = getComputedStyle(footer)- const x = parseFloat(style.getPropertyValue('--notch-x')), y = parseFloat(style.getPropertyValue('--notch-y'))- const top = parseFloat(style.getPropertyValue('--field-top')) || 0- const r = parseFloat(style.getPropertyValue('--corner')), size = parseFloat(style.getPropertyValue('--icon-size')), outer = 22- field.setAttribute('viewBox', `0 0 ${w} ${h}`)- const path = `M ${x+r} ${top} H ${w-outer} Q ${w} ${top} ${w} ${top+outer} V ${h-outer} Q ${w} ${h} ${w-outer} ${h} H ${outer} Q 0 ${h} 0 ${h-outer} V ${y+r} Q 0 ${y} ${r} ${y} H ${x-r} Q ${x} ${y} ${x} ${y-r} V ${top+r} Q ${x} ${top} ${x+r} ${top} Z`- field.querySelectorAll('path').forEach(node => node.setAttribute('d', path))- const dockWidth = dock.getBoundingClientRect().width- // One gentle ramp spans the whole footer; the icon samples the same heights across the gap.- const base = field.querySelector('#footer-base')- base.setAttribute('x2', 0); base.setAttribute('y2', h)- // Hold the matching icon palette through both notch joints before the diagonal wash.- const wash = field.querySelector('#footer-wash')- wash.setAttribute('x2', (w+h)/2); wash.setAttribute('y2', (w+h)/2)- wash.querySelector('.wash-start').setAttribute('offset', (x+y+r)/(w+h))- const art = dock.querySelector('svg'), width = 236 * dockWidth / size- art.querySelector('#footer-icon-face').setAttribute('y2', 10 + 236 * h / size)- art.setAttribute('viewBox', `10 10 ${width} 236`)- art.querySelectorAll('rect').forEach(rect => rect.setAttribute('width', width-2*(Number(rect.getAttribute('x'))-10)))- footer.dataset.shaped = 'true'-}).observe(footer)diff --git a/site/public/marketing/headline.css b/site/public/marketing/headline.cssdeleted file mode 100644index 801a428c..00000000--- a/site/public/marketing/headline.css+++ /dev/null@@ -1,34 +0,0 @@-/* Saturated purple in both themes; the action sweep preserves white text contrast. */-:root{- --ai-base:#6F00FF;- --ai-highlight:#8B5CF6;- --ai-action-highlight:color-mix(in srgb,var(--ai-base) 20%,var(--ai-highlight));- --ai-text-base:var(--ai-base);- --download-gradient-strength:1;-}-:root[data-theme=dark]{- --ai-text-base:color-mix(in srgb,var(--ai-base) 40%,var(--ai-highlight));-}-:root[data-theme] .hero h1 .headline-word{color:var(--ai-text-base)}-@supports (background-clip:text){- :root[data-theme] .hero h1 .headline-word{- /* Paint glyph overhang without changing the headline's spacing. */- padding-inline:.1em;margin-inline:-.1em;- background-image:linear-gradient(110deg in srgb,var(--ai-text-base),var(--ai-action-highlight) 50%,var(--ai-text-base));- background-size:200% 100%;background-position:0% 50%;background-repeat:no-repeat;- background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;- }-}-.hero-actions .button.primary{- /* 0 is flat brand purple; 1 is the full contrast-safe sweep. */- --download-highlight:color-mix(in srgb,var(--ai-base) calc(100% - 80% * var(--download-gradient-strength)),var(--ai-highlight));- background-color:var(--ai-base);- background-image:linear-gradient(110deg in srgb,var(--ai-base),var(--download-highlight) 50%,var(--ai-base));- background-size:200% 100%;background-position:0% 50%;background-repeat:no-repeat;-}-@media(hover:hover) and (pointer:fine){- .hero-actions .button.primary:hover{background:var(--purple-dark)}-}-@media(forced-colors:active){- :root[data-theme] .hero h1 .headline-word{background:none;-webkit-text-fill-color:currentColor;color:CanvasText!important}-}diff --git a/site/public/marketing/hero-entry.mjs b/site/public/marketing/hero-entry.mjsdeleted file mode 100644index bd755462..00000000--- a/site/public/marketing/hero-entry.mjs+++ /dev/null@@ -1,112 +0,0 @@-import {ribbonGeometry,ribbonPath} from './ribbon-geometry.mjs';-const reduceMotion=matchMedia('(prefers-reduced-motion: reduce)');-const state=document.documentElement.dataset;-const animations=[],restore=[];-let completed=false,frame;-const svg=document.querySelector('.signal-wings'),product=document.querySelector('.product-window');-const geometry=[...svg.querySelectorAll('defs path')].map(path=>({path,d:path.getAttribute('d'),progress:1}));-const mirrors=[...svg.querySelectorAll('use[transform]')],materials=[];-let shape,coveredLength;-function paintRibbons(){- geometry.forEach(({path,d,progress})=>path.setAttribute('d',ribbonPath(d,shape,progress)));-}-function layoutRibbons(){- // Size the wings to the resting window even while Lift is scaling it.- const box=getComputedStyle(product),ribbonBounds=svg.getBoundingClientRect();- const width=parseFloat(box.width),height=parseFloat(box.height);- shape=ribbonGeometry(ribbonBounds.width,width);- svg.setAttribute('viewBox',`0 0 ${shape.width} ${shape.height}`);- mirrors.forEach(use=>use.setAttribute('transform',`translate(${shape.width} 0) scale(-1 1)`));- const gradient=svg.querySelector('#ribbon-purple');- gradient.setAttribute('x2',shape.width/2);gradient.setAttribute('y2',shape.height/2);- svg.querySelector('.signal-reflection').setAttribute('height',shape.height);- materials.forEach(({material,ys})=>{- material.setAttribute('y1',Math.min(...ys)*shape.height/650);- material.setAttribute('y2',Math.max(...ys)*shape.height/650);- });- // Start inside the opaque window, including when a resize changes the curve during entry.- coveredLength=Math.max(0,Math.min(1,(width-4)/ribbonBounds.width,(height-4)/ribbonBounds.height));- paintRibbons();-}-const resize=new ResizeObserver(layoutRibbons);-resize.observe(svg);resize.observe(product);layoutRibbons();-function complete(){- if(completed) return;- completed=true;- cancelAnimationFrame(frame);- restore.forEach(reset=>reset());- geometry.forEach(part=>part.progress=1);materials.length=0;paintRibbons();- state.ribbonPaint='ready';- state.heroEntry='complete';- window.dispatchEvent(new Event('hero-entry-complete'));-}-if(reduceMotion.matches||state.heroStatic==='true') complete();-else{- const entryStart=document.timeline.currentTime;- const desktop=matchMedia('(min-width:761px)');- if(desktop.matches && product.dataset.live!=='true') {- await new Promise(resolve=>{- window.addEventListener('hero-renderer-ready',resolve,{once:true});- reduceMotion.addEventListener('change',event=>{if(event.matches)resolve()},{once:true});- desktop.addEventListener('change',event=>{if(!event.matches)resolve()},{once:true});- });- }- if(reduceMotion.matches) complete();- else {- const windowDelay=Math.max(0,270-(document.timeline.currentTime-entryStart)),liftDuration=240;- animations.push(product.animate([{transform:'translateY(16px) scale(.988)'},{transform:'none'}],- {duration:liftDuration,delay:windowDelay,easing:'cubic-bezier(.23,1,.32,1)',fill:'backwards'}));- state.heroEntry='running';- const background='ribbon';- if(background==='ribbon'){- const surface=svg.querySelector('#ribbon-surface');- const ribbonStart=windowDelay+liftDuration,bandDuration=350,bandStagger=55;- const bands=[...svg.querySelectorAll('[data-ribbon-band]')].map((band,index)=>{- const paths=[...band.querySelectorAll('path')];- const seam=svg.querySelector(`#ribbon-seam-${index+1}`);- if(seam) paths.push(seam);- const bandGeometry=geometry.filter(part=>paths.includes(part.path));- // Keep the original material in fixed SVG coordinates as the path grows.- // Object-bounding-box gradients would otherwise travel with the end cap.- const material=surface.cloneNode(true),paint=paths[1];- const ys=[index*130,(index+1)*130,325];- material.id=`ribbon-entry-surface-${index}`;- material.setAttribute('gradientUnits','userSpaceOnUse');- material.setAttribute('y1',Math.min(...ys)*shape.height/650);- material.setAttribute('y2',Math.max(...ys)*shape.height/650);- materials.push({material,ys});- surface.after(material);- paint.setAttribute('fill',`url(#${material.id})`);- restore.push(()=>{paint.setAttribute('fill','url(#ribbon-surface)');material.remove()});- bandGeometry.forEach(part=>part.progress=coveredLength);- return bandGeometry;- });- paintRibbons();- // A seekable clock drives d attributes, not a transform or clipping wipe.- // The first band grows when the solid window reaches its resting shape.- const clock=svg.animate([],{duration:ribbonStart+4*bandStagger+bandDuration,fill:'backwards'});- animations.push(clock);- function draw(){- const time=Number(clock.currentTime)||0;- state.ribbonPaint=time>=ribbonStart?'ready':'waiting';- bands.forEach((geometry,index)=>{- const progress=Math.max(0,Math.min(1,(time-ribbonStart-index*bandStagger)/bandDuration));- // A short ease-out carries the visible end cap to the page edge.- const length=coveredLength+(1-coveredLength)*(1-(1-progress)**3);- geometry.forEach(part=>part.progress=length);- });- paintRibbons();- if(!completed) frame=requestAnimationFrame(draw);- }- frame=requestAnimationFrame(draw);- }- // Keep the app demo and idle motion on their existing schedule.- animations.push(svg.animate([],{duration:windowDelay+870}));- Promise.all(animations.map(animation=>animation.finished)).then(complete).catch(()=>{});- reduceMotion.addEventListener('change',event=>{- if(!event.matches) return;- animations.forEach(animation=>animation.cancel());- complete();- });- }-}diff --git a/site/public/marketing/hero-transcript.mjs b/site/public/marketing/hero-transcript.mjsdeleted file mode 100644index 4a04a979..00000000--- a/site/public/marketing/hero-transcript.mjs+++ /dev/null@@ -1,72 +0,0 @@-import {syncFrameTheme} from './theme.mjs';-import {onVoiceFrame} from './clock.mjs';-const demo=document.querySelector('#product-demo'),reduce=matchMedia('(prefers-reduced-motion: reduce)'),desktop=matchMedia('(min-width:761px)');-let cycleDuration=Infinity;-let frame,ready=false,visible=false,started=false,startPhase,lastSent=-1,last={phase:0,bands:[0,0,0]},override=new URLSearchParams(location.search).get('static')==='1'?8:undefined;-const eligible=()=>desktop.matches&&!reduce.matches;-const send=data=>frame?.contentWindow?.postMessage(data,location.origin);-function render(value){- last=value;- if(!ready)return;- const playing=visible&&!document.hidden&&eligible();- send({type:'yogurt-hero-playing',playing});- if(!playing)return;- startPhase??=value.phase;- const seconds=override??(value.phase-startPhase)%cycleDuration;- if(override!==undefined||value.phase-lastSent>=.05){- lastSent=value.phase;- send({type:'yogurt-hero-time',seconds,bands:value.bands});- }- // The pointer follows every paint; heavier fixture updates keep their 20 Hz cadence.- send({type:'yogurt-hero-cursor',seconds});-}-// Light stills use the same app stylesheet as the live frame. Dark stills are in the page picture.-let poster;-function fitFrames(){- if(frame)frame.style.setProperty('--renderer-scale',demo.clientWidth/1000);- if(poster)poster.style.transform='scale('+demo.clientWidth/Number(poster.width)+')';-}-function updatePoster(){- if(document.documentElement.dataset.theme!=='light'||ready){- poster?.remove();poster=undefined;- return;- }- const scene=desktop.matches?(reduce.matches?'answer':'arrival'):'phone';- if(!poster){- poster=document.createElement('iframe');poster.className='hero-light-poster';poster.title='Launch planning';- poster.inert=true;poster.tabIndex=-1;poster.setAttribute('aria-hidden','true');poster.setAttribute('sandbox','allow-same-origin');- }- const src='/marketing/stills/hero-light-'+scene+'.html';- if(poster.getAttribute('src')!==src){- poster.width=desktop.matches?'1000':'600';poster.height=desktop.matches?'608':'912';- poster.src=src;fitFrames();- }- if(!poster.isConnected)demo.prepend(poster);-}-function load(){- if(started||!eligible())return;- started=true;- frame=document.createElement('iframe');frame.className='hero-renderer';frame.title='Fictional Yogurt meeting';- frame.tabIndex=-1;frame.inert=true;frame.setAttribute('aria-hidden','true');frame.setAttribute('sandbox','allow-scripts allow-same-origin');- frame.style.setProperty('--renderer-scale',demo.clientWidth/1000);frame.src='/marketing/app/frame.html';demo.append(frame);-}-window.addEventListener('message',event=>{- if(ready||event.origin!==location.origin||event.source!==frame?.contentWindow||event.data?.type!=='yogurt-hero-ready')return;- if(Number.isFinite(event.data.duration)&&event.data.duration>0)cycleDuration=event.data.duration;- // The app bundle initializes its own theme. Apply the page choice before revealing it.- syncFrameTheme(frame);- ready=true;render(last);demo.dataset.live='true';updatePoster();window.dispatchEvent(new Event('hero-renderer-ready'));-});-new ResizeObserver(fitFrames).observe(demo);-new MutationObserver(updatePoster).observe(document.documentElement,{attributes:true,attributeFilter:['data-theme']});-new IntersectionObserver(([entry])=>{visible=entry.isIntersecting;load();render(last)},{threshold:0}).observe(demo);-function mode(){- if(!eligible()){frame?.remove();frame=undefined;ready=false;started=false;startPhase=undefined;delete demo.dataset.live;}- else load();- updatePoster();-}-reduce.addEventListener('change',mode);desktop.addEventListener('change',mode);-document.addEventListener('visibilitychange',()=>render(last));-// Deterministic browser export can seek the same fixture independently of the static preview.-window.addEventListener('hero-capture',event=>{if(Number.isFinite(event.detail)){override=event.detail;render(last)}});-onVoiceFrame(render);updatePoster();load();diff --git a/site/public/marketing/language-dots.mjs b/site/public/marketing/language-dots.mjsdeleted file mode 100644index a72d3172..00000000--- a/site/public/marketing/language-dots.mjs+++ /dev/null@@ -1,59 +0,0 @@-// Ordered dithering keeps the little groups of dots legible without adding noise.-const thresholds = [0,8,2,10,12,4,14,6,3,11,1,9,15,7,13,5]-const opacity = [0, .12, .4]--export function languageDots(canvas) {- const ctx = canvas.getContext('2d')- if (!ctx) return () => {}- let width, height, left, top, color- let elapsed = 0, last = 0, timer-- function draw() {- ctx.clearRect(0, 0, width, height)- ctx.fillStyle = color- const t = elapsed / 1000- const firstRow = Math.max(0, Math.ceil((top - 4.5) / 7))- const firstCol = Math.max(0, Math.ceil((left - 4.5) / 7))- for (let row = firstRow, y = 3 + row * 7; y < top + height; row++, y += 7) {- for (let col = firstCol, x = 3 + col * 7; x < left + width; col++, x += 7) {- const wave = Math.sin(x * .018 + y * .065 + t * .45 + .65 * Math.sin(x * .007 - y * .023 + t * .15))- const threshold = thresholds[(row % 4) * 4 + col % 4] / 16- const level = Math.max(0, Math.min(2, Math.floor(wave * .85 + .68 + threshold)))- if (level) {- ctx.globalAlpha = opacity[level]- ctx.fillRect(x - left, y - top, 1.5, 1.5)- }- }- }- }-- function resize() {- const field = canvas.getBoundingClientRect()- const card = canvas.closest('article').getBoundingClientRect()- width = field.width- height = field.height- left = Math.round(field.left - card.left)- top = Math.round(field.top - card.top)- const ratio = Math.min(devicePixelRatio, 2)- canvas.width = Math.round(width * ratio)- canvas.height = Math.round(height * ratio)- ctx.setTransform(ratio, 0, 0, ratio, 0, 0)- color = getComputedStyle(canvas).color- draw()- }- resize()- new ResizeObserver(resize).observe(canvas)- new MutationObserver(resize).observe(document.documentElement, { attributes: true, attributeFilter: ['data-theme'] })- return (running, reduced) => {- clearInterval(timer)- if (reduced) { elapsed = 0; draw() }- if (!running) return- last = performance.now()- timer = setInterval(() => {- const now = performance.now()- elapsed += Math.min(now - last, 150)- last = now- draw()- }, 80)- }-}diff --git a/site/public/marketing/navigation.mjs b/site/public/marketing/navigation.mjsdeleted file mode 100644index 29814cd0..00000000--- a/site/public/marketing/navigation.mjs+++ /dev/null@@ -1,104 +0,0 @@-const shell = document.querySelector('.sticky-header')-const header = shell.querySelector('.site-header')-const wordmark = header.querySelector('.wordmark')-const nav = header.querySelector('nav')-const toggle = nav.querySelector('.theme-toggle')-const hero = document.querySelector('.hero, .page-header')-const [left, middle, right] = shell.querySelector('.nav-surface').children-const reduced = matchMedia('(prefers-reduced-motion: reduce)')-let geometry, position = 0, velocity = 0, target = 0, frame = 0, lastTime = 0--function paint() {- const { width, height, inset, pillHeight, pillTop, logoShift, navShift } = geometry- const surfaceHeight = height + 1 + (pillHeight - height - 1) * position- const scale = surfaceHeight / height- const top = -1 + (pillTop + 1) * position- const endX = -(height + 1) / 2 * (1 - position) + inset * position- const seam = endX + surfaceHeight / 2- // Cover both antialiased joins so the page cannot show through the pill.- left.style.transform = `translate(${endX}px, ${top}px) scale(${scale})`- // Shrink a full-width strip. Zoom rounding on a one-pixel strip gets magnified across the bar.- middle.style.transform = `translate(${seam - 2}px, ${top}px) scale(${(width - 2 * seam + 4) / width}, ${scale})`- right.style.transform = `translate(${width - seam}px, ${top}px) scale(${scale})`- nav.style.setProperty('--nav-download-radius', (8 + (geometry.downloadRadius - 8) * position) + 'px')- const dy = (pillTop + (pillHeight - height) / 2) * position- wordmark.style.transform = `translate(${logoShift * position}px, ${dy}px)`- nav.style.transform = `translate(${navShift * position}px, ${dy}px)`- shell.toggleAttribute('data-floating', position > 0.02)-}--function settle() {- cancelAnimationFrame(frame)- frame = lastTime = velocity = 0- position = target- paint()-}--function tick(now) {- let elapsed = lastTime ? Math.min((now - lastTime) / 1000, .048) : 1 / 60- lastTime = now- // Short integration steps keep the spring stable when a frame runs late.- while (elapsed > .0001) {- const step = Math.min(elapsed, .006)- velocity += ((target - position) * 310 - velocity * 27.5) * step- position += velocity * step- elapsed -= step- }- if (Math.abs(position - target) < .00016 && Math.abs(velocity) < .004) {- settle()- return- }- paint()- frame = requestAnimationFrame(tick)-}--function update(immediate = false) {- shell.toggleAttribute('data-scrolled', scrollY > 1)- // A small dead band keeps trackpad jitter at the hero edge from reversing the spring.- target = Number(scrollY >= geometry.threshold - (target ? 12 : 0))- if (immediate) settle()- else if (position !== target || frame) {- if (reduced.matches || document.hidden) settle()- else if (!frame) frame = requestAnimationFrame(tick)- }-}--function measure() {- const { left, right, height } = header.getBoundingClientRect()- const width = shell.clientWidth- const phone = matchMedia('(max-width: 760px)').matches- // The theme toggle is absolutely positioned just before the links.- const controlsWidth = nav.offsetWidth - Math.min(0, toggle.offsetLeft)- const pillHeight = phone ? 48 : 52- const downloadHeight = nav.querySelector('.nav-download').offsetHeight- const rightPad = (pillHeight - downloadHeight) / 2- const leftPad = phone ? 12 : 16- const pillWidth = Math.min(width - 8, leftPad + wordmark.offsetWidth + (phone ? 12 : 26) + controlsWidth + rightPad)- const inset = (width - pillWidth) / 2- geometry = {- width, height, inset, pillTop: phone ? 8 : 10, pillHeight, downloadRadius: downloadHeight / 2,- logoShift: inset + leftPad - left, navShift: width - inset - rightPad - right,- threshold: hero.getBoundingClientRect().bottom + scrollY - height,- }- update(true)-}--measure()-shell.toggleAttribute('data-ready', true)-const resize = new ResizeObserver(measure)-for (const el of [shell, header, wordmark, toggle, nav, hero]) resize.observe(el)-window.addEventListener('scroll', () => update(), { passive: true })-window.addEventListener('pageshow', measure)-document.addEventListener('visibilitychange', () => update(true))-reduced.addEventListener('change', () => update(true))-document.addEventListener('focusin', ({ target }) => {- if (shell.contains(target) || target.closest('dialog, .skip') || !target.matches(':focus-visible')) return- requestAnimationFrame(() => {- if (document.activeElement !== target) return- const { top, bottom, height } = target.getBoundingClientRect()- const clearance = geometry.height + 8- if (bottom > 0 && top < clearance && height <= innerHeight - clearance) {- scrollBy({ top: top - clearance, behavior: 'instant' })- }- })-})diff --git a/site/public/marketing/reserve.mjs b/site/public/marketing/reserve.mjsdeleted file mode 100644index 2e04f9b5..00000000--- a/site/public/marketing/reserve.mjs+++ /dev/null@@ -1,42 +0,0 @@-// Measure the tallest single open row at this width. Keyboard focus stays in the live list.-function reserve(list, rows, select) {- let lastWidth = 0- function measure(force = false) {- const width = list.getBoundingClientRect().width- if (!width || (!force && width === lastWidth)) return- lastWidth = width- const copy = list.cloneNode(true)- copy.inert = true- copy.setAttribute('aria-hidden', 'true')- Object.assign(copy.style, {- position: 'absolute',- visibility: 'hidden',- width: width + 'px',- height: 'max-content',- minHeight: '0',- })- copy.querySelectorAll('[id]').forEach((el) => el.removeAttribute('id'))- copy.querySelectorAll('[name]').forEach((el) => el.removeAttribute('name'))- list.after(copy)- const items = [...copy.querySelectorAll(rows)]- let height = 0- for (const active of items) {- for (const row of items) select(row, row === active)- height = Math.max(height, copy.getBoundingClientRect().height)- }- copy.remove()- list.style.minHeight = Math.ceil(height) + 'px'- }- new ResizeObserver(() => measure()).observe(list)- document.fonts.ready.then(() => measure(true))-}-reserve(document.querySelector('.tour-list'), '.tour-item', (row, open) => {- row.dataset.selected = String(open)-})--function revealAnswer() {- const item = document.getElementById(location.hash.slice(1))- if (item?.matches('.faq-cards details')) item.open = true-}-window.addEventListener('hashchange', revealAnswer)-revealAnswer()diff --git a/site/public/marketing/ribbon-geometry.mjs b/site/public/marketing/ribbon-geometry.mjsdeleted file mode 100644index b851aee1..00000000--- a/site/public/marketing/ribbon-geometry.mjs+++ /dev/null@@ -1,28 +0,0 @@-export function ribbonGeometry(width,appWidth){- // Curved wings at every width; the art keeps its 1728px height cap and scales down below it- const art=Math.min(width,1728)- return {width,height:art*.4256,gap:(width-appWidth)/2,baselineGap:(art-appWidth)/2,- attachment:appWidth/art,covered:appWidth/width}-}--const mix=(a,b,t)=>a.map((value,i)=>value+(b[i]-value)*t)--export function ribbonPath(original,g,progress=1){- const points=original.match(/-?\d*\.?\d+/g).map(Number)- // Keep the remaining part of the exact cubic, so the edge grows without changing shape.- const t=Math.max(0,Math.min(1,(1-progress)/(1-g.covered)))- const edge=value=>{- const y=value/650*g.height,anchor=g.height/2+(y-g.height/2)*g.attachment- const p0=[0,y],p1=[g.gap*.55,y],p2=[g.gap-g.baselineGap*.5,anchor-(anchor-y)*.5],p3=[g.gap,anchor]- const a=mix(p0,p1,t),b=mix(p1,p2,t),c=mix(p2,p3,t)- const d=mix(a,b,t),e=mix(b,c,t)- return [mix(d,e,t),e,c,p3]- }- const top=edge(points[1]),point=p=>p.join(' ')- let path=`M${point(top[0])} C${top.slice(1).map(point).join(' ')} L${g.width/2} ${g.height/2}`- if(original.endsWith('Z')){- const bottom=edge(points[5])- path+=` L${point(bottom[3])} C${bottom.slice(0,3).reverse().map(point).join(' ')}Z`- }- return path-}diff --git a/site/public/marketing/ribbons.mjs b/site/public/marketing/ribbons.mjsdeleted file mode 100644index db580bc1..00000000--- a/site/public/marketing/ribbons.mjs+++ /dev/null@@ -1,42 +0,0 @@-const svg=document.querySelector('.signal-wings');-const reduce=matchMedia('(prefers-reduced-motion: reduce)');-const animations=[];-let visible=false,timer;-const easing='cubic-bezier(.45,0,.55,1)';-function animate(element,frames,name){- const animation=element.animate(frames.map(frame=>({...frame,easing})),{duration:24000,iterations:Infinity});- animation.id='ribbon-life-'+name;animation.pause();animations.push(animation);-}-function start(){- const base='var(--ai-base)',highlight='var(--ai-highlight)';- const sweeps=[- [base,base,highlight,base,base],- [base,highlight,base,highlight,base],- [highlight,base,base,base,highlight],- ];- sweeps.forEach((colors,index)=>animate(svg.querySelector(`#ribbon-purple stop:nth-child(${index+1})`),colors.map(stopColor=>({stopColor})),'color-'+index));- const drift=[0,50,100,50,0].map(position=>({backgroundPosition:`${position}% 50%`}));- const headline=document.querySelector('.headline-word');- if(headline&&CSS.supports('background-clip','text'))animate(headline,drift,'headline');- document.querySelectorAll('.hero-actions .button.primary').forEach((button,index)=>animate(button,drift,'download-'+index));- animate(svg.parentElement,['0px','var(--ribbon-sway)','0px','calc(-1 * var(--ribbon-sway))','0px'].map(y=>({transform:`translateY(${y})`})),'sway');-}-function sync(){- if(document.documentElement.dataset.heroEntry!=='complete'||document.documentElement.dataset.heroStatic==='true')return;- if(!animations.length&&!reduce.matches)start();- const running=visible&&!document.hidden&&!reduce.matches;- svg.dataset.running=String(running);- clearInterval(timer);- const sway=animations.at(-1);- if(reduce.matches)animations.forEach(animation=>animation.currentTime=0);- if(running){- sway.play();- // Slow colour travel needs ten paints a second; the sway stays compositor-smooth.- timer=setInterval(()=>animations.slice(0,-1).forEach(animation=>animation.currentTime=sway.currentTime),100);- }else sway?.pause();-}-new IntersectionObserver(([entry])=>{visible=entry.isIntersecting;sync()}).observe(svg);-window.addEventListener('hero-entry-complete',sync);-document.addEventListener('visibilitychange',sync);-reduce.addEventListener('change',sync);-sync();diff --git a/site/public/marketing/signal.mjs b/site/public/marketing/signal.mjsdeleted file mode 100644index 5048e115..00000000--- a/site/public/marketing/signal.mjs+++ /dev/null@@ -1,15 +0,0 @@-export function speechSignal({frames,step,duration}){- // Monotone cubic interpolation preserves measured peaks without sharp velocity changes.- const slopes=frames.map((frame,index)=>frame.map((value,channel)=>{- const before=value-frames[(index+frames.length-1)%frames.length][channel];- const after=frames[(index+1)%frames.length][channel]-value;- return before*after>0?2*before*after/(before+after):0;- }));- return time=>{- const at=(time%duration)/step,a=Math.floor(at),b=(a+1)%frames.length,blend=at-a;- const t2=blend*blend,t3=t2*blend;- const sample=frames[a].map((value,index)=>(2*t3-3*t2+1)*value+(t3-2*t2+blend)*slopes[a][index]+(-2*t3+3*t2)*frames[b][index]+(t3-t2)*slopes[b][index]);- const ambient=.028+.006*Math.sin(time*.83)+.004*Math.sin(time*1.37+.7);- return {level:ambient+(1-ambient)*sample[0],bands:sample.slice(1)};- };-}diff --git a/site/public/marketing/site.css b/site/public/marketing/site.cssdeleted file mode 100644index 245f9bec..00000000--- a/site/public/marketing/site.css+++ /dev/null@@ -1,2793 +0,0 @@-@font-face{font-family:Bricolage;src:url("/marketing/assets/bricolage-grotesque.ttf") format("truetype");font-weight:600;font-display:swap}-:root{color-scheme:dark;--paper:#f6f3fb;--bg:#17151b;--border:#ffffff15;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}-*{box-sizing:border-box}-body{margin:0;background:var(--bg);color:var(--paper);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}-:where(h1,h2,h3,h4,h5,h6){text-wrap:balance}-p{text-wrap:pretty}-a{color:inherit;text-decoration:none}-button{font:inherit;color:inherit;cursor:pointer}-a,button{-webkit-tap-highlight-color:transparent}-button:focus-visible,a:focus-visible{outline:2px solid var(--brand);outline-offset:5px}-/* Hash destinations retain keyboard focus without a region-sized outline. */-:where(body,main,section,article)[tabindex="-1"]:focus{outline:none}-.skip{position:fixed;top:12px;left:12px;transform:translateY(-180%);z-index:10;background:var(--violet);padding:12px 16px;border-radius:8px}-.skip:focus{transform:none}-.site-header{height:98px;max-width:1280px;margin:auto;padding:0 32px;display:flex;align-items:center;justify-content:space-between}-.wordmark{display:flex;align-items:center}-.wordmark img{width:125px;height:35px;display:block}-.hero{overflow:hidden}-.hero-copy{position:relative;z-index:1;text-align:center;padding:47px 24px 70px}-.hero h1{font-family:Bricolage,sans-serif;font-size:clamp(76.5px,8.5vw,129.2px);line-height:.98;font-weight:550;letter-spacing:-.067em;margin:0 0 28px}-.hero h1 span{color:var(--purple-soft)}-.hero-copy p{font-size:18px;line-height:1.65;letter-spacing:-.012em;color:#aaa3b5;margin:0 auto;max-width:620px}-.hero-actions{margin-top:30px;display:flex;justify-content:center;gap:11px}-.button{height:46px;display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;padding:0 20px 0 17px;border:1px solid transparent;border-radius:10px;font-size:var(--ui-size);line-height:1.43;font-weight:500;letter-spacing:-.007em;transition:border-color 150ms ease,background-color 150ms ease,box-shadow 150ms ease,transform 120ms cubic-bezier(.23,1,.32,1)}-.button>svg{width:18px;height:18px;flex:none}-.button.primary{background:linear-gradient(180deg,var(--purple-soft),var(--purple-base) 52%,var(--purple-base));color:#fff;border-color:color-mix(in srgb,var(--purple-soft) 53.333%,transparent);box-shadow:inset 0 1px 0 #ffffff29,0 1px 2px #0006,0 0 0 3px color-mix(in srgb,var(--purple-base) 6.275%,transparent)}-.button.secondary{background:linear-gradient(#2d2933,#26222b);border-color:#ffffff12;color:var(--purple-line);box-shadow:inset 0 1px 0 #ffffff06,0 1px 2px #0003}-.button:active{transform:scale(.98)}-@media (hover:hover) and (pointer:fine){-.button.secondary:hover{background:linear-gradient(#36313e,#2d2835);border-color:#ffffff26;color:#fff}}-.product-stage{position:relative;padding:0 52px;height:480px;isolation:isolate}-.product-window{max-width:1120px;margin:0 auto;border-radius:13px 13px 0 0;position:relative;background:white;box-shadow:0 0 0 1px #ffffff26,0 -2px 2px #ffffff10,0 15px 65px color-mix(in srgb,var(--purple-deep) 24.706%,transparent);overflow:hidden}-.product-window img{display:block;width:100%;height:auto}-@media (max-width:760px){.site-header{height:80px;padding:0 24px}-.wordmark img{width:112px;height:32px}-.hero-copy{padding:44px 20px 48px}-.hero h1{font-size:clamp(62.9px,11.05vw,85px);letter-spacing:-.065em;margin-bottom:23px}-.hero-copy p{font-size:16px;line-height:1.65;max-width:340px}-.desktop-break{display:none}-.hero-actions{gap:9px;margin-top:27px}-.button{height:44px;gap:8px;padding:0 14px 0 12px;border-radius:9px}-.button>svg{width:16px;height:16px}-.product-stage{height:340px;padding:0 20px}-.product-window{width:760px;max-width:none;margin-left:0;border-radius:10px 10px 0 0}-.product-window img{width:760px;max-width:none}}-@media (max-width:360px){.hero h1{font-size:57.8px}-.hero-copy{padding-inline:16px}-.hero-actions{gap:7px}-.button{padding:0 11px;gap:6px;}-.product-stage{padding-inline:16px}}-@media (prefers-reduced-motion:reduce){.button{transition:none}-.button:active{transform:none}}-@media (max-width:760px){.product-stage{height:auto}-.product-window{width:100%;max-width:1120px;max-height:clamp(180px,44vw,310px)}-.product-window img{width:100%;max-width:100%}}-.signal-wings{width: 100%; height: 100%; display: block;}-.signal-reflection{animation: reflection-pass 16s linear infinite;- will-change: transform;}-.product-window{box-shadow: 0 0 0 1px color-mix(in srgb,var(--purple-line) 21.961%,transparent), 0 -1px 0 color-mix(in srgb,var(--purple-line) 15.686%,transparent), 0 12px 65px color-mix(in srgb,var(--purple-deep) 40.000%,transparent);}-@media (prefers-reduced-motion: reduce){.signal-reflection{animation: none; will-change: auto;}}-html{scrollbar-gutter: stable;scroll-behavior:smooth}-@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}-.hero h1 .headline-visual{color: var(--paper);}-.hero h1 .headline-word{color: var(--purple-soft);}-.backdrop{display: none;}-.backdrop{position: absolute; z-index: -1; inset: -72px 0 0; pointer-events: none;}-.backdrop svg{display: block; width: 100%; height: 100%;}-.skip{clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; transform: none;}-.skip:focus{clip-path: none; width: auto; height: auto;}-@media (max-width:760px){.backdrop{inset: -25px 0 0;}}-[data-background="ribbon"] .backdrop.ribbon{display: block;}-@media (max-width:360px){.hero h1{font-size:clamp(42.5px,15.13vw,54.4px)}-.headline-visual{white-space:nowrap}}-.continuation{max-width:1120px;margin-inline:auto}-.continuation h2{font-family:Bricolage,sans-serif;font-weight:500;letter-spacing:-.045em;line-height:1.08;font-size:clamp(34px,4vw,52px);margin:0;color:var(--purple-tint)}-.continuation h2{scroll-margin-top:30px}-.continuation p{color:#a59caf;font-size:16px;line-height:1.65}-.faq-story{display:grid;grid-template-columns:1fr 1.25fr;gap:110px;padding:110px 0}-.faq-list{padding-top:2px}-.faq-list details{border-bottom:1px solid #ffffff10}-.faq-list summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;color:var(--purple-line);font-size:14px;line-height:1.4;outline-offset:5px}-.faq-list summary::-webkit-details-marker{display:none}-.faq-list summary>span{color:#80728f;font-size:19px;font-weight:300;transition:transform 150ms ease}-.faq-list details[open] summary>span{transform:rotate(45deg);color:var(--purple-soft)}-.faq-list p{font-size:13px;line-height:1.85;margin:0 25px 23px 0;color:#8f839e;max-width:560px}-@media (hover:hover) and (pointer:fine){.faq-list summary:hover{color:var(--purple-tint)}-.faq-list summary:hover>span{color:var(--purple-soft)}}-@media (max-width:1200px){.continuation{margin-inline:40px}-.faq-story{gap:70px}}-@media (max-width:800px){.continuation{margin-inline:24px}-.faq-story{padding:75px 0;grid-template-columns:1fr;gap:28px}}-@media (max-width:520px){.continuation{margin-inline:20px}-.continuation h2{font-size:36px}-.faq-story{padding-block:70px}-.faq-story h2{font-size:32px}-.faq-list summary{font-size:13px;min-height:64px}-.faq-list p{font-size:12px}}-@media (prefers-reduced-motion:reduce){.faq-list summary>span{transition:none}}-.product-stage{height:auto;padding-bottom:104px}-.product-stage>.backdrop{bottom:auto;height:552px}-.product-window{border-radius:13px;max-height:none}-@media (max-width:760px){.product-stage{padding-bottom:64px}-.product-stage>.backdrop{height:calc(clamp(180px,44vw,310px) + 25px)}-.product-window{max-height:none;border-radius:10px}}-.demo-window{container-type:inline-size;color:#323039;background:#fff;border:1px solid #c7c4cd;box-shadow:0 30px 100px -25px #09060c99,0 3px 12px #0003;cursor:default}-.demo-shell{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:1cqw;height:60em;display:grid;grid-template-columns:18em minmax(0,1fr);line-height:1.5;position:relative;text-align:left;user-select:none;overflow:hidden}-.demo-shell *{box-sizing:border-box}-.demo-shell p,.demo-shell h3{margin:0}-.demo-shell svg{width:1.55em;height:1.55em;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;display:block;flex:none}-.demo-shell [data-demo-icon]{display:inline-flex;align-items:center;justify-content:center;flex:none}-.demo-sidebar{background:#f5f5f7;border-right:1px solid #e0dee5;padding:0 1.3em;display:flex;flex-direction:column}-.demo-window-controls{height:6em;display:flex;align-items:center;justify-content:space-between;color:#8b8792;padding:0 .4em}-.demo-traffic{display:flex;gap:.62em}-.demo-traffic i{width:.92em;height:.92em;border-radius:50%;background:#fa625e;box-shadow:inset 0 0 0 .5px #0001}-.demo-traffic i:nth-child(2){background:#f5c346}-.demo-traffic i:nth-child(3){background:#5cbd5f}-.demo-search{display:flex;gap:.75em;align-items:center;border:1px solid #dedce3;background:#fff;border-radius:.55em;padding:.65em .75em;color:#77717f;font-size:1.04em}-.demo-search kbd{margin-left:auto;font:inherit;font-size:.85em;color:#aaa3b2}-.demo-nav{margin-top:1.4em}-.demo-nav-item{display:flex;align-items:center;gap:.8em;font-size:1.15em;font-weight:500;padding:.75em .7em;border-radius:.5em;margin-bottom:.25em;color:#6b6374}-.demo-brand{margin-top:auto;padding:1.5em .4em 1.8em;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e1dee6;color:#8e8697}-.demo-brand img{width:9.3em;height:auto;display:block}-.demo-brand .demo-small-mark{display:none}-.demo-main{position:relative;min-width:0;background:#fff}-.demo-toolbar{height:6em;border-bottom:1px solid #e5e3e9;display:flex;align-items:center;justify-content:space-between;padding:0 2.5em;font-size:1.04em;color:#81788a}-.demo-crumb,.demo-meeting-tools{display:flex;align-items:center;gap:1em}-.demo-crumb b{font-weight:500;color:#5c5268}-.demo-native{display:inline-flex;align-items:center;justify-content:center;gap:.65em;white-space:nowrap;padding:.48em .8em;border-radius:.6em;border:1px solid var(--purple-line);color:#746580;background:#faf7fd;font-size:1em;font-weight:500}-.demo-native>[data-demo-icon=copy]{border-left:1px solid var(--purple-line);padding-left:.7em}-.demo-meeting{position:absolute;inset:6.24em 0 0;overflow:hidden}-.demo-document{padding:3.1em 5.8em 0;max-width:78em;margin:auto}-.demo-document h3{font-size:2.8em;font-weight:600;letter-spacing:-.05em;line-height:1.2;margin-bottom:.9em;color:var(--purple-muted)}-.demo-note-meta{display:flex;align-items:center;gap:1em;flex-wrap:wrap;padding-bottom:1.8em;border-bottom:1px solid var(--purple-line)}-.demo-meeting-date{display:flex;align-items:center;gap:.65em;font-size:.95em;color:#a18eae}-.demo-meeting-date svg{width:1.25em;height:1.25em}-.demo-document-body{position:relative;padding-top:1.75em}-.demo-meeting-footer{position:absolute;bottom:1.7em;left:5.8em;right:5.8em}-.demo-command-bar{display:flex;gap:.7em;align-items:stretch;font-size:1.06em;color:var(--purple-muted)}-.demo-transcript-control{display:flex;align-items:center;gap:.5em;border:1px solid var(--purple-line);border-radius:.65em;padding:.75em .9em;background:#faf7fd;white-space:nowrap}-.demo-transcript-control>[data-demo-icon=down]{width:1em}-.demo-shell[data-transcript-open=false] .demo-transcript-control>[data-demo-icon=down]{transform:rotate(180deg)}-.demo-question{display:flex;align-items:center;justify-content:space-between;gap:.7em;flex:1;border:1px solid var(--purple-line);border-radius:.65em;padding:.75em 1em;color:var(--purple-soft);background:#fff;min-width:0}-.demo-question>[data-demo-icon]{padding:.25em;background:var(--purple-soft);color:#fff;border-radius:.45em}-.demo-question svg{width:1.15em;height:1.15em}-.demo-voice{display:flex;align-items:center;gap:.18em;width:1.2em;height:1.4em}-.demo-voice i{height:1.2em;width:.2em;border-radius:.2em;background:var(--purple-base);transform:scaleY(.3)}-.demo-shell:not([data-scene=capture]) .demo-voice{display:none}-.demo-status{display:flex;gap:.55em;align-items:center;justify-content:center;color:var(--purple-soft);font-size:.8em;margin-top:.8em}-.demo-status i{font-style:normal}-.demo-status svg{width:1em;height:1em}-.demo-microphone{display:flex;align-items:center;gap:.5em}-.demo-shell:not([data-scene=capture]) .demo-microphone{display:none}-.demo-window[data-paused=true] *{transition:none!important}-@media (max-width:760px){.demo-shell{font-size:8px;height:490px;grid-template-columns:43px minmax(0,1fr)}-.demo-sidebar{padding:0 6px}-.demo-window-controls{height:42px;justify-content:center;padding:0}-.demo-traffic{gap:2px}-.demo-traffic i{width:5px;height:5px}-.demo-window-controls>[data-demo-icon],.demo-search>span:not([data-demo-icon]),.demo-search kbd,.demo-nav-item>span:not([data-demo-icon]),.demo-brand>[data-demo-icon]{display:none}-.demo-search{padding:8px 0;justify-content:center;font-size:10px;border-color:transparent;background:transparent}-.demo-nav-item{justify-content:center;padding:9px 0;font-size:11px}-.demo-brand{padding:14px 0}-.demo-brand .demo-full-wordmark{display:none}-.demo-brand .demo-small-mark{display:block;width:23px;height:23px;object-fit:contain;margin:auto}-.demo-toolbar{height:42px;padding:0 13px;font-size:7.5px}-.demo-meeting-tools>.demo-native{padding:4px}-.demo-meeting-tools>.demo-native>[data-demo-icon=copy]{display:none}-.demo-crumb{gap:4px}-.demo-meeting{inset:42px 0 0}-.demo-document{padding:25px 17px 0}-.demo-document h3{font-size:22px;margin-bottom:16px}-.demo-note-meta{gap:8px;padding-bottom:15px}-.demo-meeting-date{font-size:8px}-.demo-document-body{padding-top:17px}-.demo-meeting-footer{left:15px;right:15px;bottom:17px}-.demo-command-bar{font-size:8px;gap:5px}-.demo-transcript-control{padding:8px 6px;gap:4px}-.demo-question{padding:6px;font-size:8px}-.demo-status{font-size:6.5px;gap:4px;flex-wrap:wrap;line-height:1.3;margin-top:7px}-.demo-microphone{display:none}-.demo-shell .demo-status>span:last-child{display:none}}-@media (max-width:360px){.demo-toolbar{padding:0 9px;font-size:7px}-.demo-meeting-tools>.demo-native{display:none}-.demo-document{padding-left:13px;padding-right:13px}-.demo-document h3{font-size:21px}-.demo-meeting-date{font-size:7px}-.demo-meeting-footer{left:12px;right:12px}-.demo-question{font-size:7px}-.demo-question>[data-demo-icon]{display:none}}-@media (prefers-reduced-motion:reduce){.demo-shell *{transition:none!important;animation:none!important}}-:root{color-scheme:light;--bg:#fff;--paper:#29262e;--border:#e8e5ed}-body{background:#fff;color:var(--paper)}-::selection{background:var(--selection-bg, var(--link));color:var(--selection-ink, var(--page))}-.site-footer,.button.primary{--selection-bg:#fff;--selection-ink:var(--brand)}-.site-footer .footer-download{--selection-bg:var(--brand);--selection-ink:#fff}-button:focus-visible,a:focus-visible{outline-color:var(--brand)}-.hero h1 .headline-word{color:var(--purple-base)}-.hero-copy p{color:#716a79}-.button.primary{background:linear-gradient(180deg,var(--purple-soft),var(--purple-base) 55%,var(--purple-base));border-color:var(--purple-base);box-shadow:inset 0 1px #ffffff70,0 1px 2px color-mix(in srgb,var(--brand) 14%,transparent),0 3px 5px color-mix(in srgb,var(--brand) 10%,transparent)}-.button.secondary{color:#514859;background:linear-gradient(#fff,#faf9fc);border-color:var(--purple-line);box-shadow:inset 0 1px #fff,0 1px 2px color-mix(in srgb,var(--purple-muted) 5.098%,transparent)}-.product-window.demo-window{border-color:#dedbe3;box-shadow:0 28px 65px -25px color-mix(in srgb,var(--purple-deep) 18.039%,transparent),0 3px 10px color-mix(in srgb,var(--purple-muted) 7.059%,transparent)}-.backdrop.ribbon{opacity:.9}-.signal-reflection{animation-duration:24s}-.continuation h2{color:#29262e}-.continuation p{color:#6d6476}-.faq-list p{color:#786584}-.faq-list details{border-color:var(--purple-line)}-.faq-list summary{color:#5f4d6c}-.faq-list summary>span{color:var(--purple-muted)}-.faq-list details[open] summary>span{color:var(--purple-muted)}-@media (hover:hover) and (pointer:fine){.button.primary:hover{background:var(--brand-dark);border-color:var(--brand-dark);box-shadow:inset 0 1px #ffffff70,0 3px 8px color-mix(in srgb,var(--brand) 15%,transparent)}--.faq-list summary:hover,.faq-list summary:hover>span{color:var(--purple-muted)}}-:root{--surface:#f6f6f8;--ink:#26242b;--muted:#6b6772;--line:#e8e6eb;--lime:#e8fb72}-body{color:var(--ink)}-.site-header{max-width:1280px;height:88px;padding-inline:40px}-.wordmark img{width:108px;height:30px}-.site-header nav{display:flex;align-items:center;gap:30px;font-size:13px;color:#504b58}-.site-header nav>a{padding:9px 0;border-radius:3px}--.site-header .nav-download{height:36px;padding:0 9.5px;border-radius:8px;color:#51495c}-.hero-copy{padding-top:54px;padding-bottom:66px}-.hero h1{font-size:clamp(74.8px,8.5vw,125.8px)}-.hero-copy p{color:#67616e;font-size:18px}-.hero-actions{margin-top:28px}-.backdrop.ribbon{opacity:1}-.product-stage{padding-bottom:92px}-.product-stage>.backdrop{height:552px}-.product-window.demo-window{border-color:#e0dfe5;box-shadow:0 32px 72px -24px #20202924,0 8px 24px -12px #20202914,0 1px 3px #2020290a}-@media (min-width:1000px){.product-window.demo-window{width:76vw;max-width:1200px}}-.demo-shell{height:60em}-.demo-document h3{color:#2e2935}-.demo-document-body{padding-top:1.6em}-.demo-question{color:#85768f}-.demo-status{color:#9b8ea4}-.section-wrap{width:calc(100% - 80px);max-width:1120px;margin-inline:auto}-.steps-section{padding:74px 0 100px;border-top:1px solid var(--line)}-.section-heading{display:grid;grid-template-columns:1fr 1fr;align-items:end;margin-bottom:48px}-.section-heading h2,.privacy-copy h2,.local-copy h2{font:500 46px/1.08 Bricolage,sans-serif;letter-spacing:-.045em;margin:0;color:var(--ink)}-.steps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}-.step-copy{padding-top:25px}-.step-number{color:var(--violet);font-size:11px;font-weight:600;display:block;margin-bottom:13px}-.step h3{font-size:18px;letter-spacing:-.45px;line-height:1.3;margin:0 0 11px;font-weight:550}-.step-copy p{font-size:14px;line-height:1.7;margin:0;color:var(--muted);max-width:320px}-.privacy-section,.local-section{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center;border-top:1px solid var(--line);padding:95px 0}-.privacy-copy p,.local-copy p{font-size:15px;line-height:1.75;color:var(--muted);max-width:360px;margin:25px 0 0}-.local-section{border-bottom:1px solid var(--line)}-.faq-story{padding:90px 0;gap:90px}-.faq-story h2{color:var(--ink);font-size:40px}-.faq-list summary{color:#55485f;font-size:14px;min-height:65px}-.faq-list p{color:#82708f}-.faq-list details{border-color:var(--purple-line)}-.brand-footer{border-top:1px solid var(--purple-line);background:#faf9fb;padding-bottom:16px}-.footer-main{display:grid;grid-template-columns:2.1fr 1fr 1fr;gap:55px;padding:62px 0 52px}-.footer-brand{display:flex;align-items:flex-start;gap:24px}-.footer-icon{display:block;width:104px;height:104px}-.tactile-icon{filter:drop-shadow(0 9px 9px color-mix(in srgb,var(--purple-muted) 13.725%,transparent));overflow:visible}-.footer-brand p{margin:0;font-size:13px;line-height:1.75;color:#70627a}-.footer-brand div>span{display:block;margin-top:14px;color:#93809f;font-size:11px}-.footer-column h3{font-size:11px;font-weight:600;color:#71617c;margin:9px 0 17px}-.footer-column>a{display:block;font-size:12px;color:#796487;padding:0;line-height:1.6;margin:12px 0;border:0;background:none;cursor:pointer;text-align:left}-.footer-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--purple-line);padding:20px 0;color:#8c749e;font-size:10px}-.footer-bottom>div{display:flex;align-items:center;gap:20px}-@media (hover:hover) and (pointer:fine){.site-header nav>a:hover,.footer-column>a:hover{color:var(--brand)}-.footer-brand>a{transition:transform 180ms cubic-bezier(.22,1,.36,1)}-.footer-brand>a:hover{transform:translateY(-2px)}}-@media (max-width:1000px){.steps-grid{gap:18px}-.step h3{font-size:16px}-.step-copy p{font-size:13px}-.privacy-section,.local-section{gap:50px}-.section-heading h2,.privacy-copy h2,.local-copy h2{font-size:40px}-.footer-main{gap:30px;grid-template-columns:1.9fr 1fr 1fr}-.footer-brand{gap:15px}-.footer-icon{width:83px;height:83px}}-@media (max-width:760px){.site-header{height:76px;padding:0 22px}-.wordmark img{width:101px;height:29px}-.site-header nav{gap:19px;font-size:11px}--.hero-copy{padding:45px 20px 48px}-.hero h1{font-size:clamp(55.25px,11.05vw,83.3px)}-.hero-copy p{font-size:16px}-.product-stage{padding-bottom:65px}-.demo-shell{height:490px}-.section-wrap{width:calc(100% - 40px)}-.steps-section{padding:58px 0 65px}-.section-heading{display:block;margin-bottom:34px}-.section-heading h2{font-size:38px}-.steps-grid{grid-template-columns:1fr;gap:42px;max-width:460px;margin:auto}-.step-copy{padding-top:21px}-.step-number{margin-bottom:10px}-.step h3{font-size:19px}-.step-copy p{font-size:14px;max-width:390px}-.privacy-section,.local-section{grid-template-columns:1fr;padding:65px 0;gap:35px}-.privacy-copy,.local-copy{max-width:460px;width:100%;margin:auto}-.privacy-copy h2,.local-copy h2{font-size:38px}-.privacy-copy p,.local-copy p{font-size:14px;margin-top:20px;max-width:420px}-.local-copy{order:-1}-.faq-story{padding:65px 0;gap:27px}-.faq-story h2{font-size:34px}-.faq-list summary{font-size:13px}-.faq-list p{font-size:12px}-.footer-main{grid-template-columns:1fr 1fr;padding:42px 0 30px;gap:30px}-.footer-brand{grid-column:1/-1;gap:20px;padding-bottom:5px}-.footer-icon{width:90px;height:90px}-.footer-column h3{font-size:11px;margin-bottom:14px}-.footer-column>a{font-size:12px}-.footer-bottom{font-size:9px;gap:15px}-.footer-bottom>div{gap:10px}}-@media (max-width:360px){.site-header nav{gap:12px;font-size:10px}-.site-header{padding-inline:18px}-.hero h1{font-size:clamp(42.5px,15.13vw,54.4px)}-.step h3{font-size:18px}-.footer-brand{gap:14px}-.footer-brand p{font-size:12px}}-@media (prefers-reduced-motion:reduce){.footer-brand>a{transition:none}}-.button.secondary{background:#fff;color:#353539;border:1px solid #dcdcdf;box-shadow:0 1px 2px color-mix(in srgb,var(--purple-muted) 4.314%,transparent),inset 0 1px 0 #fff;transition:background-color 150ms ease,border-color 150ms ease,box-shadow 150ms ease,transform 140ms cubic-bezier(.23,1,.32,1)}-.site-header .nav-download{color:#353539;background:#fff;border-color:#dcdcdf}-.button.secondary:active{background:#f8f8f9;box-shadow:inset 0 1px 2px color-mix(in srgb,var(--purple-muted) 3.137%,transparent);transform:scale(.98)}-@media (hover:hover) and (pointer:fine){.button.secondary:hover{background:#fcfcfd;color:#202024;border-color:#c7c7cd;box-shadow:0 2px 4px color-mix(in srgb,var(--purple-muted) 4.706%,transparent)}-.footer-column a:hover{color:var(--brand)}}-.product-stage{padding-bottom:0;margin-bottom:92px}-.product-stage>.backdrop{top:-30px;bottom:auto;height:calc(100% + 60px)}-.demo-shell{height:54em;grid-template-columns:20.5em minmax(0,1fr)}-.demo-document{padding:2.9em 4.8em 0}-.demo-document h3{font-size:2.65em;letter-spacing:-.045em}-.demo-note-meta{border:0;padding-bottom:.3em;gap:.8em}-.demo-document-body{padding-top:2em}-.demo-meeting-date{border:1px solid #dedee4;border-radius:.55em;padding:.5em .7em;color:#777781;margin:0}-.demo-native{background:#fff;color:#45454e;border-color:#dedee4;box-shadow:0 1px 2px #00000006}-.demo-sidebar{background:#f4f4f6;padding:0 1.2em}-.demo-search{font-size:1.12em;padding:.75em;color:#74747e;border-radius:.65em;border-color:#dedee4;background:#fafafb}-.demo-window-controls{height:6em}-.demo-nav{margin-top:1.5em}-.demo-nav-item{font-size:1.15em;color:#45454d;gap:.8em;padding:.7em .75em;min-width:0}-.demo-nav-item small{margin-left:auto;font-size:.7em;font-weight:400;color:#91919b}-.demo-nav-item>span:not([data-demo-icon]){min-width:0}-.demo-nav-item svg{color:#8a8a94}-.demo-space-label{margin:3.3em .8em .9em;color:#8a8a94;font-size:1em}-.demo-planned-note{font-size:1em;line-height:1.7;color:#92929c;padding:.8em;margin:0!important}-.demo-sidebar-bottom{margin-top:auto;margin-bottom:.6em}-.demo-brand{margin-top:0;border-color:#dedee4;padding:1.5em .4em;color:#8a8a94}-.demo-toolbar{color:#85858f}-.demo-crumb b{color:#53535e}-.demo-crumb>[data-demo-icon=left]{margin-right:.15em}-.demo-crumb{gap:.75em}-.demo-meeting-footer{left:4.2em;right:4.2em;bottom:1.5em;background:linear-gradient(transparent,#fff 20%);padding-top:1em}-.demo-command-bar{border:1px solid #dedee4;border-radius:.85em;padding:.4em;gap:.4em;background:#fff;box-shadow:0 1px 3px #00000006;color:#777781}-.demo-transcript-control{border:0;background:transparent;padding:.7em;color:#676771}-.demo-question{border:0;padding:.6em .65em;background:transparent;color:#92929c}-.demo-question>[data-demo-icon=arrow]{background:transparent;color:#9c9ca5}-.demo-status{color:#9797a0}-.demo-shell .demo-status>span:last-child{white-space:nowrap}-.steps-section,.privacy-section,.local-section,.faq-story{border:0}-.steps-section{padding:45px 0 85px}-.section-heading{display:block;margin-bottom:46px}-.section-heading h2{max-width:500px}-.step-number{color:#919198;transition:color 300ms ease}-.step h3{color:#37373e}-.step[data-active=true] .step-number{color:var(--purple-base)}-.privacy-section,.local-section{padding:80px 0}-.faq-story{padding:85px 0 95px;grid-template-columns:.8fr 1.6fr;gap:70px;align-items:start}-.faq-story h2{font-size:43px}-.faq-list{display:grid;gap:8px}-.faq-list details{border:0;background:#fafafa;border-radius:12px;overflow:hidden}-.faq-list summary{min-height:74px;padding:20px 23px;color:#34343b;font-size:14px;font-weight:500;gap:20px}-.faq-list summary span{font-size:23px;font-weight:300;color:var(--purple-base);line-height:1;transition:transform 200ms cubic-bezier(.23,1,.32,1)}-.faq-list details[open] summary span{transform:rotate(45deg)}-.faq-list p{margin:0;padding:0 23px 23px;color:#72727c;font-size:13px;line-height:1.8}-.faq-list details[open]{background:#f8f8fa}-.faq-list summary:focus-visible{outline:2px solid var(--brand);outline-offset:-3px;border-radius:12px}-.brand-footer{position:relative;width:calc(100% - 80px);max-width:1120px;margin:0 auto 30px;padding:0 48px;border:0;border-radius:22px;background:#f7f7f9;overflow:hidden}-.footer-main{grid-template-columns:1.85fr 1fr 1fr;padding:52px 0 48px;gap:45px}-.footer-brand{gap:20px}-.footer-icon{width:76px;height:76px}-.brand-footer .footer-brand .footer-name{font:600 25px/1.1 Bricolage,sans-serif;letter-spacing:-.04em;display:block;margin:2px 0 11px;color:#2c2c33}-.footer-brand p{font-size:12px;line-height:1.8;color:#606066}-.footer-column h3{font-size:12px;color:#41414a;margin-top:3px;margin-bottom:20px}-.footer-column>a{font-size:13px;color:#606066;margin:13px 0}-.footer-bottom{border:0;padding:19px 0 30px;font-size:11px;color:#606066}-.footer-bottom>div{gap:17px}-@media (max-width:1000px){.demo-shell{height:56em}-.footer-main{gap:25px}-.brand-footer{padding-inline:30px}-.footer-brand{gap:14px}-.footer-icon{width:65px;height:65px}-.brand-footer .footer-brand .footer-name{font-size:23px}-.faq-story{gap:45px}}-@media (max-width:760px){.product-stage{margin-bottom:55px}-.product-stage>.backdrop{top:0;height:100%}-.demo-shell{height:570px;grid-template-columns:43px minmax(0,1fr)}-.demo-document{padding:24px 17px 0}-.demo-document h3{font-size:22px}-.demo-document-body{padding-top:22px}-.demo-note-meta{padding-bottom:0;gap:8px}-.demo-meeting-date{font-size:7px}-.demo-sidebar{padding:0 6px}-.demo-window-controls{height:42px}-.demo-space-label,.demo-planned-note,.demo-nav-item small{display:none}-.demo-nav-item>span:not([data-demo-icon]){display:none}-.demo-search{padding:8px 0;border:0;background:none;font-size:10px}-.demo-nav-item{padding:9px 0;font-size:11px}-.demo-sidebar-bottom{margin-bottom:0}-.demo-brand{padding:13px 0}-.demo-meeting-footer{left:12px;right:12px;bottom:14px}-.demo-command-bar{font-size:8px}-.demo-transcript-control{padding:7px 4px}-.demo-question{font-size:8px}-.demo-status{font-size:6.5px}-.steps-section{padding:25px 0 45px}-.section-heading{margin-bottom:25px}-.step-copy{padding-top:12px}-.privacy-section,.local-section{padding:55px 0}-.faq-story{padding:55px 0 65px;grid-template-columns:1fr;gap:24px}-.faq-story h2{font-size:36px}-.faq-list summary{min-height:70px;padding:19px;font-size:13px}-.faq-list p{padding:0 19px 20px;font-size:12px}-.brand-footer{width:calc(100% - 30px);padding:0 25px;margin-bottom:15px;border-radius:18px}-.footer-main{padding:35px 0 23px;grid-template-columns:1fr 1fr;gap:27px}-.footer-brand{gap:20px}-.footer-icon{width:65px;height:65px}-.brand-footer .footer-brand .footer-name{font-size:24px}-.footer-brand p{font-size:12px}-.footer-bottom{font-size:9px;padding:20px 0 25px;gap:10px}-.footer-bottom>div{gap:10px}}-@media (max-width:360px){.demo-document{padding-inline:13px}-.demo-document h3{font-size:21px}-.demo-meeting-date{font-size:6.5px}-.demo-shell{height:570px}-.footer-brand{gap:15px}-.footer-icon{width:59px;height:59px}-.brand-footer .footer-brand .footer-name{font-size:23px}-.footer-bottom>div{gap:8px}}-@media (prefers-reduced-motion:reduce){.step-number,.faq-list summary span{transition:none}}-.faq-list summary{color:#34343b}-@media (hover: hover) { .faq-list summary:hover{color:#34343b} }-.faq-list summary .faq-plus{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;color:#787881}-@media (hover: hover) { .faq-list summary:hover .faq-plus{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;color:#787881} }-.faq-plus svg{display:block;width:20px;height:20px}-.faq-list summary{transition:background-color 150ms ease}-@media (hover:hover) and (pointer:fine){.faq-list summary:hover{background:#f1f1f4}-.faq-list details[open] summary:hover{background:#f1f1f4}}-.footer-download{margin-top:18px;gap:8px;height:36px;padding:0 13px;border-radius:9px;white-space:nowrap}-.footer-download svg{width:15px;height:15px;flex:none}-.footer-main{grid-template-columns:1.9fr 1fr 1fr}-.footer-bottom{padding-top:0}-@media (max-width:760px){.footer-main{grid-template-columns:1fr 1fr}-.footer-brand{grid-column:1/-1}-.footer-download{margin-top:16px}-.footer-bottom{padding-top:10px}}-@media (prefers-reduced-motion:reduce){.faq-list summary{transition:none}}-.steps-grid{gap:24px}-.step{min-width:0;background:#f7f7f9;border-radius:16px;overflow:hidden}-.step-copy{padding:4px 24px 28px}-.step-number{font-variant-numeric:tabular-nums;margin-bottom:10px}-.step h3{font-size:18px}-.step-copy p{font-size:13px;line-height:1.75}-@media (max-width:1000px){.steps-grid{gap:16px}-.step-copy{padding-inline:20px}-.step h3{font-size:16px}}-@media (max-width:760px){.steps-grid{gap:22px}-.step-copy{padding:4px 25px 27px}-.step h3{font-size:19px}-.step-copy p{font-size:14px}}-@media (max-width:360px){.step-copy{padding-inline:20px}}-.plain-word{display:none}-body[data-letter=plain] .plain-word{display:inline}-.site-header nav{font-size:14px;font-weight:500;color:#4c4c55;gap:28px;letter-spacing:-.01em}-.site-header .nav-download{font-weight:500}-.made-by{display:inline-flex;align-items:center;gap:7px;color:#606066;text-decoration:none;border-radius:5px}-.made-by img{display:block;width:76px;height:26px}-.made-by:focus-visible{outline:2px solid var(--brand);outline-offset:5px}-@media (hover:hover) and (pointer:fine){.made-by:hover{color:#34343c}-.made-by:hover img{opacity:.8}}-@media (max-width:760px){.site-header nav{font-size:12px;gap:19px}-.made-by{gap:5px}-.made-by img{width:66px;height:22px}}-@media (max-width:360px){.site-header nav{font-size:11px;gap:13px}}-.hero h1{margin-bottom:20px}-.hero-copy p{line-height:1.6}-.hero-actions{margin-top:24px}-.steps-section .section-heading h2{max-width:640px}-.step{background:transparent;overflow:visible}-.steps-grid{gap:28px}-.step-copy{padding:25px 4px 0}-.step h3{font-size:20px;letter-spacing:-.55px}-.step-copy p{font-size:14px;line-height:1.7;max-width:315px}-.step-number{font-size:11px;margin-bottom:13px}-.process-art{height:326px;position:relative;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:24px;background:#f6f6f8;color:#303039}-.process-art svg,.feature-asset svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}-.process-art img{width:18px;height:18px}-.meter-bars{display:flex;align-items:center;gap:2px;height:34px}-.meter-bars i{height:var(--bar);width:2px;border-radius:2px;background:var(--purple-base);transform-origin:center}-.assemble-art{padding:38px 20px;background:radial-gradient(ellipse at 50% 30%,#fff,#f0f0f4)}-.result-paper{position:relative;margin:auto;width:100%;max-width:270px;padding:22px 19px 24px;border:1px solid #dedee4;border-radius:9px;background:#fff;box-shadow:0 12px 22px -12px color-mix(in srgb,var(--purple-muted) 18.824%,transparent),0 3px 4px color-mix(in srgb,var(--purple-muted) 2.745%,transparent);z-index:1;transform:rotate(-2deg)}-.result-paper:before{content:"";position:absolute;inset:5px -5px -5px 5px;background:#fff;border:1px solid #e2e2e7;border-radius:9px;z-index:-1;transform:rotate(4deg);box-shadow:0 2px 3px color-mix(in srgb,var(--purple-muted) 3.137%,transparent)}-.result-paper:after{content:"";position:absolute;inset:0;border-radius:8px;background:#fff;z-index:-1}-.result-top{display:flex;align-items:center;gap:7px;color:#606066;font-size:10px;position:relative;margin-bottom:25px}-.result-check{margin-left:auto;color:var(--purple-base)}-.result-check svg{width:15px;height:15px}-.writing-label{display:none}-.result-paper h4{font:600 19px/1.15 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.35px;margin:0 0 12px}-.result-paper p{font-size:11px;line-height:1.65;color:#54545A;margin:0 0 22px}-.action-item{display:flex;align-items:center;gap:6px;font-size:9px;color:#606066;margin-top:11px}-.action-item i{width:7px;height:7px;flex:none;border:1px solid #9B9BA2;border-radius:2px}-.answer-art{padding:35px 24px;background:#f6f6f8}-.question-capsule{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#29272f;color:#fff;padding:13px 12px 13px 15px;border:1px solid #24222b;border-radius:12px;box-shadow:0 5px 10px color-mix(in srgb,var(--purple-muted) 7.451%,transparent);font-size:11px;white-space:nowrap}-.question-capsule i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ffffff20;color:#fff;flex:none}-.question-capsule svg{width:15px;height:15px}-.answer-result{padding:24px 8px 0}-.answer-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#89838f;margin-bottom:9px}-.answer-label img{width:14px;height:14px}-.answer-word{display:block;font:500 42px/1.05 Bricolage,sans-serif;letter-spacing:-1.8px;color:var(--purple-base)}-.step[data-active=true] .summary-reveal{animation:paper-write 900ms cubic-bezier(.22,1,.36,1) 1.35s both}-.step[data-active=true] .summary-reveal:nth-child(3){animation-delay:1.7s}-.step[data-active=true] .summary-reveal:nth-child(4){animation-delay:2.1s}-.step[data-active=true] .summary-reveal:nth-child(5){animation-delay:2.45s}-.step[data-active=true] .result-check{animation:content-arrive 400ms cubic-bezier(.22,1,.36,1) 2.9s both}-.step[data-active=true] .ready-label{animation:content-arrive 400ms ease 1.7s both}-.step[data-active=true] .writing-label{display:block;position:absolute;left:25px;animation:writing-done 1.7s linear both}-.step[data-active=true] .question-capsule>span{animation:line-write 800ms steps(22,end) .15s both}-.step[data-active=true] .question-capsule i svg{animation:send-question 800ms cubic-bezier(.22,1,.36,1) 1s both}-.step[data-active=true] .answer-word{animation:paper-write 800ms cubic-bezier(.22,1,.36,1) 1.6s both}-.feature-asset{position:relative;min-width:0;height:380px;display:flex;align-items:center;justify-content:center;color:#29292C}-.privacy-section,.local-section{gap:75px}-.privacy-copy h2,.local-copy h2{font-size:48px}-.privacy-copy p,.local-copy p{max-width:355px;font-size:15px;line-height:1.8}-.roster-asset{padding:15px 30px 65px 0}-.roster-sheet{width:100%;max-width:330px;background:#fff;border:1px solid #E6E6E8;border-radius:13px;padding:20px 25px;box-shadow:0 20px 40px -20px #17171A25,0 2px 5px #17171A05}-.roster-top{display:flex;justify-content:space-between;font-size:12px;color:#606066;align-items:center;margin-bottom:10px}-.roster-top b{display:grid;place-items:center;border-radius:5px;background:#F3F3F3;color:#606066;width:24px;height:22px;font-size:11px;font-weight:500}-.roster-person{display:flex;align-items:center;gap:13px;padding:15px 0}-.person-orb{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:17px;font-weight:500;flex:none;box-shadow:inset 0 1px 0 #ffffff60}-.orb-a{background:linear-gradient(135deg,var(--purple-base),var(--purple-base));color:white;outline:2px solid var(--purple-line);outline-offset:3px}-.orb-b{background:#e8c16a;color:#58431c}-.you-orb{background:#3b7666;color:white}-.roster-person strong{font-size:14px;font-weight:500}-.roster-person small{display:block;font-size:10px;color:#606066;margin-top:4px}-.roster-level{display:flex;align-items:center;gap:3px;height:20px;margin-left:auto}-.roster-level i{width:3px;height:7px;background:var(--purple-soft);border-radius:3px}-.roster-level i:nth-child(2){height:14px}-.roster-level i:nth-child(3){height:19px}-.roster-level i:nth-child(4){height:12px}-.mic-state{margin-left:auto;color:#b1aebb}-.mic-state svg{width:14px;height:14px}-.outside-recorder{position:absolute;right:0;bottom:33px;display:flex;align-items:center;gap:13px;min-width:270px;background:#232326;border:1px solid #48484D;border-radius:14px;padding:16px 17px;color:#F7F7FA;box-shadow:none}-.outside-recorder>img{width:29px;height:29px;filter:brightness(0) invert(1)}-.outside-recorder strong{display:block;font-size:12px;font-weight:500}-.outside-recorder div>span{display:block;font-size:10px;color:#B9B9C1;margin-top:4px}-.outside-recorder .roster-level{margin-left:16px}-.folder-asset{flex-direction:column;padding-top:16px}-.folder-object{width:340px;height:262px;max-width:100%;position:relative;perspective:900px}-.file-peek{position:absolute;top:13px;width:142px;height:190px;padding:16px 13px;border:1px solid #d9d5df;border-radius:8px;background:linear-gradient(#fff,#f9f8fc);box-shadow:0 4px 10px color-mix(in srgb,var(--purple-deep) 4.706%,transparent)}-.file-peek>svg{color:var(--purple-muted);width:17px;height:17px}-.file-peek>span{display:block;font-size:9px;font-weight:500;color:#8b8198;margin-top:9px}-.audio-file{left:10px;transform:rotate(-9deg)}-.transcript-file{left:96px;top:0;transform:rotate(1deg)}-.notes-file{right:9px;top:24px;transform:rotate(9deg)}-.notes-file strong{font-size:10px;display:block;margin-top:17px;letter-spacing:-.2px}-.file-wave{margin-top:17px}-.file-wave .meter-bars{gap:3px}-.file-wave .meter-bars i{background:var(--purple-soft);width:2px}-.file-wave .meter-bars i:nth-child(n/**/+14){display:none}-.folder-front{position:absolute;inset:117px 0 0;background:linear-gradient(155deg,var(--purple-soft),var(--purple-base) 50%,var(--purple-base));border:1px solid var(--purple-base);border-radius:12px 12px 15px 15px;box-shadow:inset 0 1px 0 var(--purple-line),0 8px 18px -7px color-mix(in srgb,var(--purple-dark) 18.824%,transparent);transform:rotateX(-8deg);transform-origin:bottom;padding:27px 24px;color:#fff}-.folder-front img{position:absolute;width:29px;height:29px;right:24px;top:29px;filter:brightness(0) invert(1)}-.folder-front strong{display:block;font:500 21px/1.2 Bricolage,sans-serif;letter-spacing:-.5px}-.folder-front span{display:block;color:var(--purple-line);font-size:10px;margin-top:9px}-@media (max-width:1000px){.steps-grid{gap:18px}-.process-art{padding-inline:16px;height:310px}-.step h3{font-size:18px}-.step-copy p{font-size:13px}-.question-capsule{font-size:10px;padding-inline:10px}-.answer-word{font-size:36px}-.result-paper{padding-inline:14px}-.privacy-section,.local-section{gap:45px}-.privacy-copy h2,.local-copy h2{font-size:42px}-.roster-asset{padding-right:15px}-.outside-recorder{min-width:245px;gap:9px}-.outside-recorder .roster-level{margin-left:6px}}-@media (max-width:760px){.hero h1{margin-bottom:20px}-.hero-actions{margin-top:24px}-.steps-grid{gap:38px;max-width:420px}-.process-art{height:326px;padding-inline:30px}-.step-copy{padding:20px 5px 0}-.step h3{font-size:21px}-.step-copy p{font-size:14px;max-width:370px}-.question-capsule{font-size:12px}-.answer-word{font-size:47px}-.result-paper{padding-inline:22px;max-width:285px}-.feature-asset{max-width:440px;width:100%;margin:auto}-.privacy-copy h2,.local-copy h2{font-size:40px}-.local-copy{order:-1}-.privacy-section,.local-section{gap:20px}-.folder-object{width:320px}}-@media (max-width:360px){.process-art{padding-inline:20px}-.question-capsule{font-size:10px}-.answer-word{font-size:40px}-.roster-asset{padding-right:8px}-.roster-sheet{padding-inline:21px}-.outside-recorder{min-width:235px}-.folder-object{width:265px}-.file-peek{width:118px}-.transcript-file{left:74px}-.folder-front{padding-inline:18px}-.folder-front strong{font-size:19px}-.folder-front img{right:17px;width:25px}-.folder-front span{font-size:9px}}-@media (prefers-reduced-motion:reduce){.step[data-active=true] .process-art *{animation:none!important}-.step[data-active=true] .writing-label{display:none}}-.process-art{background:#F6F6F6;border:1px solid #E6E6E8;border-radius:15px}-.listen-art{padding:34px 29px;justify-content:space-between}-.assemble-art{padding:29px 24px;background:#f7f7f8}-.result-paper{width:100%;max-width:266px;min-height:248px;padding:24px 21px;transform:none;border:1px solid #E6E6E8;border-radius:10px;box-shadow:0 8px 15px -11px #17171A38,0 2px 3px #17171A05}-.result-paper:before,.result-paper:after{display:none}-.result-top{font-size:11px;margin-bottom:24px}-.result-paper h4{font-size:21px;letter-spacing:-.35px}-.result-paper p{font-size:12px;line-height:1.6;margin-bottom:24px}-.action-item{font-size:10px;gap:7px;margin-top:13px;white-space:nowrap}-.answer-art{padding:41px 24px;justify-content:flex-start;background:#f7f7f8}-.question-capsule{background:linear-gradient(#FFFFFF,#FDFDFD);border:1px solid #E6E6E8;border-radius:11px;box-shadow:0 2px 3px #17171A07,inset 0 1px 0 #fff;color:#29292C;padding:12px 12px 12px 15px;gap:8px;font-size:13px;font-weight:400;min-height:53px}-.question-capsule i{width:27px;height:27px;background:linear-gradient(#3f3a48,#2b2733);border:1px solid #2e2936;box-shadow:inset 0 1px 0 #ffffff25,0 1px 2px color-mix(in srgb,var(--purple-muted) 9.020%,transparent);border-radius:7px;color:#fff}-.question-capsule svg{width:14px;height:14px}-.answer-result{padding:43px 11px 0}-.answer-label{font-size:11px;color:#606066;gap:8px;margin-bottom:12px}-.answer-label img{width:15px;height:15px}-.answer-word{font-size:48px;font-weight:500;letter-spacing:-1.9px;color:var(--purple-base)}-.step[data-active=true] .question-capsule>span{animation:line-write 900ms steps(22,end) .2s both}-.step[data-active=true] .question-capsule i svg{animation:send-question 650ms cubic-bezier(.22,1,.36,1) 1.2s both}-.step[data-active=true] .answer-result{animation:answer-arrive 800ms cubic-bezier(.22,1,.36,1) 1.95s both}-.step[data-active=true] .answer-word{animation:none}-.roster-sheet{padding-top:20px;padding-bottom:18px}-.roster-person{height:76px;position:relative}-.roster-person small{opacity:0;transition:opacity 180ms ease}-.person-orb{outline:2px solid transparent;outline-offset:3px;transition:outline-color 220ms ease}-.orb-a{outline-color:transparent}-.roster-person[data-speaking=true] .person-orb{outline-color:var(--purple-line)}-.roster-person[data-speaking=true] small{opacity:1}-.person-signal{margin-left:auto;width:32px;height:24px;position:relative}-.person-signal>.mic-state,.person-signal>.roster-level{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;transition:opacity 160ms ease}-.person-signal>.roster-level{opacity:0}-.roster-person[data-speaking=true] .mic-state{opacity:0}-.roster-person[data-speaking=true] .roster-level{opacity:1}-.roster-asset .roster-level{gap:3px;height:24px}-.roster-asset .roster-level i{height:22px;width:3px;border-radius:3px;transform:scaleY(.136364);transform-origin:center;background:var(--purple-soft)}-.outside-recorder .roster-level{width:27px;margin-left:auto}-.outside-recorder .roster-level i{background:var(--purple-soft)}-.roster-asset[data-speaking=false] .outside-recorder .roster-level i{background:#8A8A92}-.roster-asset[data-speaking=false] .outside-recorder .roster-level{opacity:.75}-.roster-asset .outside-recorder{bottom:24px}-@media (max-width:1100px) and (min-width:761px){.listen-art{padding-inline:20px}-.assemble-art{padding-inline:15px}-.result-paper{padding-inline:16px}-.action-item{font-size:9px}-.answer-art{padding-inline:16px}-.question-capsule{font-size:11px;padding-inline:10px}-.answer-word{font-size:43px}}-@media (max-width:760px){.process-art{height:326px}-.listen-art{padding:33px 27px}-.assemble-art{padding:29px 24px}-.result-paper{max-width:282px;min-height:252px;padding-inline:23px}-.action-item{font-size:11px}-.answer-art{padding:40px 25px}-.question-capsule{font-size:13px}-.answer-word{font-size:52px}-.answer-label{font-size:12px}-.roster-asset{order:2}}-@media (max-width:360px){.listen-art{padding-inline:19px}-.assemble-art{padding-inline:15px}-.result-paper{padding-inline:17px}-.action-item{font-size:10px}-.answer-art{padding-inline:16px}-.question-capsule{font-size:11px}-.answer-word{font-size:47px}}-@media (prefers-reduced-motion:reduce){.step[data-active=true] .process-art *{animation:none!important}-.roster-person small,.person-orb,.person-signal>*{transition:none}}-[id^=ribbon-entry-surface-] stop:last-child{stop-color:var(--ai-base)}-.signal-wings{visibility:hidden}-html[data-ribbon-paint=ready] .signal-wings{visibility:visible}-html:not([data-hero-entry=complete]) .signal-wings>use{visibility:hidden}-.product-stage{isolation:isolate}-.product-stage>.backdrop{z-index:0}-.product-stage>.product-window{position:relative;z-index:1;background:#fff}-@media (prefers-reduced-motion:reduce){html .signal-wings{visibility:visible}}--.hero .headline-visual{white-space:nowrap}-.hero .headline-take,.hero .headline-word{display:inline-block}-.hero h1 .headline-take{color:inherit}-@media (scripting:enabled) and (prefers-reduced-motion:no-preference){- html[data-hero-entry=pending]:not([data-hero-static]) .product-window{transform:translateY(16px) scale(.988)}- html:not([data-hero-static]) .hero-copy :is(.yc-pill,.headline-take,.headline-word,p,.hero-actions>.button,.hero-actions>.mobile-download,.download-requirements):not(:focus-visible){- animation:hero-arrival 180ms var(--ease-enter) var(--entry-delay,0ms) backwards;- }- .hero-copy :is(.headline-take,.headline-word){--entry-delay:12ms}- .hero-copy>p{--entry-delay:45ms}- .hero-actions>:is(.button,.mobile-download){--entry-delay:80ms}- .hero-actions>.download-requirements{--entry-delay:112ms}- @keyframes hero-arrival{from{opacity:.72}to{opacity:1}}-}---body[data-demo=transcript] .hero-transcript-panel{position:absolute;left:4.2em;right:4.2em;bottom:8em;height:23.2em;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dddde3;border-radius:1em;box-shadow:0 12px 32px #1818200b,0 2px 5px #18182006}-.hero-transcript-search{display:flex;align-items:center;gap:.8em;padding:1.05em 1.35em;background:#f7f7f9;border-bottom:1px solid #e5e5e9;color:#86868f;font-size:1.08em}-.hero-transcript-search>span:nth-child(2){flex:1}-.hero-transcript-search svg{width:1.2em;height:1.2em}-.hero-transcript{display:grid;align-content:start;gap:.75em;padding:1.1em 1.55em 1.2em;overflow:hidden}-.hero-transcript-turn{opacity:1;transition:opacity 280ms cubic-bezier(.16,.8,.25,1)}-.hero-transcript-turn[data-visible=false]{opacity:0}-.hero-transcript-byline{display:flex;align-items:center;gap:.65em;font-size:1.02em;color:#85858e;margin-bottom:.35em}-.hero-transcript-byline strong{font-size:1em;font-weight:500;color:#72727c}-.hero-transcript-turn[data-speaker=you] strong{color:var(--brand)}-.hero-transcript-byline time{font-size:.84em;font-variant-numeric:tabular-nums;color:#a3a3ab;margin-inline-start:auto}-.hero-transcript-turn p{font-size:1.18em;line-height:1.55;color:#45454f}-.hero-transcript-word{opacity:1;transition:opacity 280ms cubic-bezier(.16,.8,.25,1)}-.hero-transcript-word[data-visible=false]{opacity:0}-body[data-demo=transcript] .demo-window{overflow:visible}-body[data-demo=transcript] .demo-shell{overflow:hidden;border-radius:inherit}-body[data-demo=transcript] .hero-listening-widget{position:absolute;right:2.2em;bottom:-1.4em;display:flex;align-items:center;gap:.75em;width:218px;height:42px;padding:7px 8px 7px 11px;border:1px solid #48484d;border-radius:12px;background:#232326;color:#f4f3f7;font-size:11px;box-shadow:none}-.hero-listening-widget>img{width:20px;height:20px;filter:brightness(0) invert(1);opacity:.96}-.hero-listening-meter{display:flex;align-items:center;gap:2px;height:18px;width:18px;margin-inline-start:2px;color:var(--brand-soft)}-.hero-listening-meter i{display:block;width:2px;height:17px;border-radius:3px;background:currentColor;transform:scaleY(.16);transform-origin:center}-.hero-listening-stop{display:grid;place-items:center;height:26px;width:26px;margin-inline-start:auto;border:1px solid var(--brand);border-radius:6px;background:var(--brand);color:#fff}-.hero-listening-stop svg{width:15px;height:15px;fill:currentColor;stroke:none}-body[data-demo=transcript] .demo-transcript-control{color:var(--brand)}-body[data-demo=transcript] .demo-transcript-control>[data-demo-icon=down]{transform:none}-body[data-demo=transcript] .demo-command-bar{border:0;background:transparent;box-shadow:none;gap:.65em;padding:0}-body[data-demo=transcript] .demo-transcript-control,body[data-demo=transcript] .demo-question{border:1px solid #dedee4;border-radius:.7em;background:#fff;padding:.8em}-body[data-demo=transcript] .demo-question>[data-demo-icon=arrow]{background:none;color:#a2a2aa}-body[data-demo=transcript] .hero-record-controls{display:flex;align-items:center;gap:.25em;padding:.2em;border:1px solid #e2e2e7;background:#f4f4f6;border-radius:.7em}-.hero-record-controls>span{display:flex;align-items:center;gap:.4em;padding:.55em .6em;color:#686871;font-size:.9em;white-space:nowrap}-.hero-record-controls svg{height:1.1em;width:1.1em;fill:none;stroke:currentColor;stroke-width:1.8}-.hero-record-controls>span:last-child svg{fill:currentColor;stroke:none}-body[data-demo=transcript] .hero-duration,body[data-demo=transcript] .hero-duration+i{display:none}-@media (max-width:760px){-body[data-demo=transcript] .demo-document-body{padding-top:12px}-body[data-demo=transcript] .hero-transcript-panel{left:12px;right:12px;bottom:95px;height:275px;border-radius:9px}-.hero-transcript-search{font-size:9px;gap:7px;padding:10px}-.hero-transcript-search>[data-demo-icon=copy]{display:none}-.hero-transcript{gap:14px;padding:13px 12px}-.hero-transcript-byline{font-size:9px;margin-bottom:4px}-.hero-transcript-turn p{font-size:10.5px;line-height:1.55}-body[data-demo=transcript] .demo-command-bar{display:grid;grid-template-columns:auto 1fr;gap:6px}-body[data-demo=transcript] .hero-record-controls{grid-column:1/-1;justify-self:end}-body[data-demo=transcript] .hero-listening-widget{right:14px;bottom:-18px;transform:scale(.9);transform-origin:bottom right}}-@media (max-width:360px){.hero-transcript{gap:8px}-.hero-transcript-turn p{font-size:10px}-.hero-transcript-byline{font-size:8.5px}}-@media (prefers-reduced-motion:reduce){.hero-transcript-turn,.hero-transcript-word{opacity:1!important;transition:none}}-body[data-demo=transcript] .demo-shell .demo-voice{display:flex}-body[data-demo=transcript] .demo-voice i{background:var(--brand)}-body[data-demo=transcript] .demo-transcript-control>[data-demo-icon=wave]{display:none}-:root{--ease-enter:cubic-bezier(.23,1,.32,1);--ease-ui:cubic-bezier(.32,.72,0,1)}-.button.primary{background:linear-gradient(var(--brand),var(--brand-dark));border-color:var(--brand-dark);color:#fff}-.hero h1 .headline-word{color:var(--brand)}-.step[data-active=true] .step-number,.result-check,.answer-word,.made-by:focus-visible{color:var(--brand)}-.folder-front{background:linear-gradient(155deg,color-mix(in srgb,var(--brand) 82%,white),var(--brand) 50%,var(--brand-dark));border-color:var(--brand);box-shadow:inset 0 1px var(--brand-rim),0 8px 18px -7px color-mix(in srgb,var(--brand) 28%,transparent)}-.folder-front span{color:#fff}-.orb-a{background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 86%,white),var(--brand))}-.roster-person[data-speaking=true] .person-orb{outline-color:var(--brand-soft)}-.roster-asset .roster-level i{background:var(--brand)}-.outside-recorder .roster-level i{background:color-mix(in srgb,var(--brand) 42%,white)}-.person-orb{transition:outline-color 150ms var(--ease-ui)}-.roster-person .person-signal>.mic-state{opacity:calc(1 - var(--voice,0));transition:none}-.roster-person .person-signal>.roster-level,.roster-person[data-speaking] small{opacity:var(--voice,0);transition:none}-.roster-person[data-speaking] .person-orb{outline-color:color-mix(in srgb,var(--brand-soft) calc(var(--voice,0)*100%),transparent);transition:none}-.person-orb{border-radius:12px;border:1px solid #ffffff26;background:linear-gradient(150deg,#57515f,#302c36);color:#fff;box-shadow:inset 0 1px 0 #ffffff36,0 2px 4px #29202c16}-.person-orb.orb-a{background:linear-gradient(145deg,color-mix(in srgb,var(--brand) 78%,white),var(--brand-dark))}-.person-orb.you-orb{background:linear-gradient(145deg,#75717e,#4b4653)}-.file-wave .meter-bars i{background:var(--brand-soft)}-.steps-section .process-art{background:linear-gradient(145deg,#FFFFFF,#F6F6F6);border-color:#E6E6E8}-.listen-art{padding:45px 23px 0;justify-content:flex-start;overflow:hidden}-.transcript-viewport{position:relative;overflow:visible}-.transcript-flow{position:relative;padding:8px 0 0}-.transcript-turn{display:grid;grid-template-columns:26px 1fr;column-gap:11px;margin-bottom:17px;opacity:0;transform:none;transition:opacity 140ms var(--ease-ui),transform 200ms var(--ease-enter)}-.transcript-turn[data-visible=true]{opacity:1;transform:none}-.transcript-turn:last-child{mask-image:linear-gradient(#000 0%,#0008 48%,transparent 100%)}-.transcript-avatar{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;border:1px solid #ffffff20;background:linear-gradient(145deg,#514b5c,#2c2833);box-shadow:inset 0 1px 0 #ffffff35,0 2px 3px #25202d12}-.transcript-avatar.you{background:linear-gradient(145deg,color-mix(in srgb,var(--brand) 80%,white),var(--brand-dark))}-.transcript-avatar svg{width:15px;height:15px;fill:#fff;stroke:none}-.transcript-turn b{display:block;margin:3px 0 6px;font-size:10px;font-weight:500;color:#606066;line-height:1}-.transcript-turn p{font-size:13px;line-height:1.55;color:#54545A;margin:0;letter-spacing:0}-.step[data-active=true] .summary-reveal,.step[data-active=true] .result-check,.step[data-active=true] .ready-label,.step[data-active=true] .writing-label,.step[data-active=true] .question-capsule>span,.step[data-active=true] .question-capsule i svg,.step[data-active=true] .answer-result{animation:none}-.summary-reveal{opacity:1;transform:none;transition:none}-.summary-reveal.action-item>i{opacity:0;transition:opacity 140ms linear}-.summary-reveal.action-item[data-visible=true]>i{opacity:1}-.stream-word{position:relative;opacity:0;transition:opacity 100ms linear}-.result-paper .stream-word{filter:blur(2px);transition:opacity 140ms linear,filter 180ms var(--ease-enter)}-.stream-word[data-visible=true]{opacity:1}-.result-paper .stream-word[data-visible=true]{filter:none}-.stream-word[data-cursor=true]:after{content:"";position:absolute;right:-3px;top:12%;height:80%;width:1px;background:var(--brand);opacity:.7}-.step:not([data-running=true]) .stream-word{transition:none}-.result-top{display:grid;grid-template-columns:18px minmax(0,1fr) 16px;align-items:center;gap:7px;min-height:18px}-.result-top>img{grid-area:1 / 1;width:18px;height:18px}-.step .result-paper .writing-label,.result-paper .ready-label{grid-area:1 / 2;position:static;display:flex;align-items:center;gap:8px;height:18px;line-height:18px;white-space:nowrap;transition:opacity 180ms linear;pointer-events:none}-.step .result-paper .writing-label{opacity:1}-.result-paper .ready-label{opacity:0}-.result-paper .result-check{grid-area:1 / 3;margin:0;display:flex;align-items:center;opacity:0;transform:scale(.94);transition:opacity 150ms linear,transform 180ms var(--ease-ui)}-.step .result-paper[data-ready=true] .writing-label{opacity:0;visibility:visible}-.result-paper[data-ready=true] .ready-label,.result-paper[data-ready=true] .result-check{opacity:1;transform:none}-.summary-loader,.send-spinner{display:block;width:12px;height:12px;flex:none;margin:0;border:1.5px solid #E6E6E8;border-top-color:var(--brand);border-radius:50%;animation:working-spin 650ms linear infinite}-.question-capsule{position:relative}-.question-capsule>span{clip-path:none!important;opacity:1!important;flex:1;min-width:0}-.question-capsule[data-empty=true]>.typed-question{color:#606066}-.question-capsule[data-send=typing]>.typed-question:after{content:"";display:inline-block;height:13px;vertical-align:-2px;width:1px;background:#606066;margin-left:2px}-.question-capsule i{position:relative;background:linear-gradient(var(--brand),var(--brand-dark));border-color:var(--brand-dark);transition:transform 110ms var(--ease-ui),box-shadow 110ms var(--ease-ui)}-.question-capsule[data-send=press] i{transform:translateY(1px) scale(.9);box-shadow:inset 0 2px 4px #0004}-.question-capsule i svg{transition:opacity 100ms linear,transform 160ms var(--ease-ui)}-.send-spinner{position:absolute;width:13px;height:13px;border-color:#ffffff55;border-top-color:#fff;opacity:0;transition:opacity 100ms linear}-.question-capsule[data-send=loading] i>svg:not(.sent-check),.question-capsule[data-send=sent] i>svg:not(.sent-check){opacity:0;transform:translateY(-3px) scale(.9)}-.question-capsule i .sent-check{position:absolute;opacity:0;transform:scale(.8)}-.question-capsule[data-send=sent] i .sent-check{opacity:1;transform:none}-.question-capsule:is([data-send=press],[data-send=loading]){border-color:color-mix(in srgb,var(--brand) 42%,#E6E6E8)}-.question-capsule[data-send=loading] .send-spinner{opacity:1}-.answer-result{opacity:0;transform:translateY(8px);transition:opacity 140ms var(--ease-enter),transform 280ms var(--ease-enter)}-.answer-result[data-visible=true]{opacity:1;transform:none}-.answer-word{color:var(--brand)}-.step:not([data-running=true]) :is(.summary-loader,.send-spinner),.result-paper[data-ready=true] .summary-loader,.question-capsule:not([data-send=loading]) .send-spinner{animation-play-state:paused}-@media (max-width:1100px) and (min-width:761px){.listen-art{padding-inline:16px}-.transcript-turn p{font-size:12px}-.transcript-turn{column-gap:7px}}-@media (max-width:760px){.listen-art{padding:45px 25px 0}-.transcript-turn p{font-size:13px;line-height:1.55}-.transcript-turn b{font-size:11px}}-@media (max-width:360px){.listen-art{padding-inline:17px}-.transcript-turn p{font-size:12px}}-@media (prefers-reduced-motion:reduce){.process-art *,.roster-asset *{transition:none!important;animation:none!important}}-#ribbon-purple stop:nth-child(1),#ribbon-purple stop:nth-child(2){stop-color:var(--ai-base)}-#ribbon-purple stop:nth-child(3){stop-color:var(--ai-highlight)}-#ribbon-surface stop,[id^=ribbon-entry-surface-] stop{stop-color:var(--ai-highlight)}-#ribbon-surface stop:last-child{stop-color:var(--ai-base)}-#ribbon-glint stop{stop-color:var(--ai-highlight)}-[data-ribbon-band] path[stroke]{stroke:var(--ai-highlight)}-#wing>path[stroke]{stroke:var(--ai-highlight)}-.file-peek{border-color:#E6E6E8;border-radius:10px;background:linear-gradient(145deg,#FFFFFF,#F6F6F6 70%,#E6E6E8);box-shadow:inset 0 1px 0 #fff,0 2px 3px #17171A0c,0 9px 18px -9px #17171A24;padding:14px 12px}-.file-peek>svg{display:inline-block;vertical-align:middle;padding:4px;width:23px;height:23px;border-radius:6px;background:#F3F3F3;color:#606066;box-shadow:inset 0 1px 0 #fff;border:1px solid #E6E6E8;stroke-width:1.7}-.file-peek>span{display:inline-block;margin:0 0 0 5px;vertical-align:middle;font-size:10px;font-weight:550;color:#54545A;letter-spacing:-.15px}-.file-meta{display:block;color:#606066;font-size:8px;line-height:1.4;font-variant-numeric:tabular-nums;margin-top:9px}-.audio-file .file-meta{margin-top:9px}-.file-wave{margin-top:8px}-.file-wave .meter-bars{height:25px;transform:scaleY(.68);transform-origin:center}-.file-wave .meter-bars i{background:var(--brand);opacity:.75}-.file-excerpt{margin:13px 0 0;font-size:11px;font-weight:450;line-height:1.45;color:#54545A;letter-spacing:-.15px}-.transcript-file .file-meta{margin-top:7px}-.notes-file strong{font-size:11px;font-weight:550;margin-top:14px;color:#29292C}-.file-task{margin:9px 0 0;font-size:8px;color:#606066;white-space:nowrap}-.file-task b{font-weight:500;color:var(--brand);margin-right:3px}-@media (max-width:360px){.file-peek{padding-inline:9px}-.file-peek>svg{width:20px;height:20px;padding:3px}-.file-peek>span{font-size:9px;margin-left:3px}-.file-excerpt{font-size:10px}}-@media (min-width:761px){body[data-background=ribbon] .hero-copy{padding-bottom:82px}}-/* Explicit width keeps the mirror at the page edge while height caps at the 1728px composition. */-.product-stage>.backdrop.ribbon{top:50%;width:100%;height:auto;aspect-ratio:1000/425.6;max-height:735.4368px;translate:0 -50%}-@media (max-width:760px){.product-stage>.backdrop.ribbon{height:100%;aspect-ratio:auto;max-height:none}}-html[data-hero-static=true] .signal-reflection{animation:none}-.person-orb.orb-a,.person-orb.orb-b{background:linear-gradient(145deg,#FFFFFF,#ECECEE);border-color:#E6E6E8;color:#606066;box-shadow:inset 0 1px 0 #fff,0 2px 3px #17171A0a}-.person-orb.you-orb{background:linear-gradient(145deg,color-mix(in srgb,var(--brand) 83%,white),var(--brand-dark));border-color:var(--brand-dark);color:white;box-shadow:inset 0 1px 0 #ffffff45,0 2px 3px #29202c14}-.person-orb{font-size:14px;font-weight:560;letter-spacing:-.35px}-.faq-list details{background:#fafafa;transition:background-color 140ms ease}-.faq-list details[open]{background:#f6f5f8}-.faq-list summary{background:transparent;color:#34343b;transition:none}-@media (hover: hover) { .faq-list summary:hover,.faq-list details[open] summary:hover{background:transparent;color:#34343b;transition:none} }-.faq-list summary .faq-plus,.faq-list details[open] summary .faq-plus{color:#787881}-@media (hover: hover) { .faq-list summary:hover .faq-plus{color:#787881} }-.faq-list summary:focus-visible{outline:none}-.faq-list details:has(summary:focus-visible){outline:2px solid var(--brand);outline-offset:3px}-@media (hover:hover) and (pointer:fine){.faq-list details:hover{background:#f1f0f4}}-@media (prefers-reduced-motion:reduce){.faq-list details{transition:none}}-/* The product uses the native application's neutral dark materials. */-.product-stage>.product-window.demo-window{- --app-bg:#1B1B1D;--app-chrome:#242425;--app-float:#29292B;--app-line:#343436;- --app-ink:#E7E6EB;--app-muted:#A7A4AD;--app-written:#C6C3CC;--app-control:#333335;- color:var(--app-ink);background:var(--app-bg);border-color:#48484D;border-radius:14px;- box-shadow:0 32px 72px -24px #20202935,0 8px 24px -12px #20202920,0 1px 3px #20202910;-}-body[data-demo=transcript] .demo-shell{font-size:.9cqw;height:56em;grid-template-columns:19.26em minmax(0,1fr);letter-spacing:-.012em}-.demo-sidebar{background:var(--app-chrome);border-color:var(--app-line);padding:0 .93em}-.demo-window-controls{height:4.815em;flex:none;justify-content:flex-start;gap:2em;margin:0 -.93em 1.48em;padding:0 1.67em;border-bottom:1px solid var(--app-line);color:var(--app-muted)}-.demo-window-controls>[data-demo-icon]{width:1.5em}-.demo-traffic{gap:.74em}-.demo-traffic i{width:1.02em;height:1.02em}-.demo-search{height:2.835em;margin:0 .28em;padding:0 .93em;border:0;border-radius:.56em;background:var(--app-control);color:var(--app-written);font-size:1.11em}-.demo-search svg{height:1.17em;width:1.17em;color:var(--app-muted)}-.demo-search kbd{font-size:.83em;color:var(--app-muted)}-.demo-nav{margin-top:1.57em}-.demo-nav-item{height:2.92em;margin-bottom:0;padding:0 1.02em;gap:.93em;border-radius:.56em;font-size:1.11em;font-weight:450;color:var(--app-muted)}-.demo-nav-item svg{color:var(--app-muted);width:1.33em;height:1.33em}-.demo-nav-selected{background:#3B393F;color:var(--app-ink)}-.demo-nav-selected svg{color:var(--app-written)}-.demo-nav-item small{font-size:.75em;color:var(--app-muted)}-.demo-space-label{margin:2.78em 1.02em .74em;font-size:1.02em;color:var(--app-muted)}-.demo-sidebar-bottom{margin-bottom:0}-.demo-brand{padding:1.39em .74em;border-color:var(--app-line);color:var(--app-muted)}-.demo-brand .demo-full-wordmark{width:10.6em}-.demo-main{background:var(--app-bg)}-.demo-toolbar{height:4.63em;padding:0 2.14em;background:var(--app-chrome);border-color:var(--app-line);font-size:1.04em;color:var(--app-muted)}-.demo-crumb{gap:.8em;min-width:0}-.demo-crumb b{font-weight:500;color:var(--app-written);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}-.demo-native{height:2.5em;padding:0 .8em;border:0;border-radius:.54em;box-shadow:none;background:var(--app-control);color:var(--app-ink)}-.demo-native>[data-demo-icon=copy]{border-color:#535357}-.demo-meeting{inset:4.815em 0 0}-.demo-document{max-width:70.37em;padding:3.15em 4.45em 0}-.demo-document h3{color:var(--app-ink);font-size:2.6em;font-weight:600;letter-spacing:-.03em;line-height:1.2;margin-bottom:1.35rem}-.demo-note-meta{gap:.75em}-.demo-meeting-date{border-color:var(--app-line);color:var(--app-muted);font-size:1.05em;border-radius:.56em;padding:.5em .7em}-.demo-recording-chip{display:flex;align-items:center;gap:.55em;border:1px solid var(--app-line);border-radius:.56em;padding:.5em .7em;font-size:1.05em;color:var(--app-ink)}-.demo-recording-chip i{width:.62em;height:.62em;border-radius:50%;background:#F098A5}--body[data-demo=transcript] .hero-transcript-panel{left:50%;right:auto;transform:translateX(-50%);bottom:7.8em;width:min(66.67em,calc(100% - 5.2em));height:29em;border-color:var(--app-line);border-radius:1.1em;background:var(--app-float);box-shadow:0 16px 44px #0003,0 2px 6px #0002}-.hero-transcript-search{font-size:1.2em;padding:.8em 1.15em;gap:.65em;background:var(--app-chrome);border-color:var(--app-line);color:var(--app-muted)}-.hero-transcript{gap:1.1em;padding:1.2em 1.6em}-.hero-transcript-byline{font-size:1.1em;margin-bottom:.35em}-.hero-transcript-byline strong{font-weight:500;color:var(--app-muted)}-.hero-transcript-turn[data-speaker=you] strong{color:var(--purple-soft)}-.hero-transcript-byline time{font-size:.84em;color:var(--app-muted)}-.hero-transcript-turn p{font-size:1.3em;line-height:1.55;color:var(--app-ink)}-.demo-meeting-footer{left:2.6em;right:2.6em;bottom:1.1em;padding-top:1em;background:linear-gradient(transparent,var(--app-bg) 20%)}-body[data-demo=transcript] .demo-command-bar{gap:.74em;font-size:1.11em}-body[data-demo=transcript] .demo-transcript-control,body[data-demo=transcript] .demo-question,body[data-demo=transcript] .hero-record-controls{height:3.17em;border-color:var(--app-line);border-radius:.67em;background:var(--app-float);box-shadow:0 1px 2px #0001}-body[data-demo=transcript] .demo-transcript-control{color:var(--app-written);padding:0 .83em}-body[data-demo=transcript] .demo-voice i{background:var(--purple-soft)}-body[data-demo=transcript] .demo-question{height:2.935em;color:var(--app-muted);font-size:1.08em;padding:.3em .4em .3em .85em}-body[data-demo=transcript] .demo-question>[data-demo-icon=arrow]{color:#75717D}-body[data-demo=transcript] .hero-record-controls{padding:.33em;gap:.17em}-.hero-record-controls>span{height:2.33em;padding:0 .66em;font-size:1em;font-weight:500;color:var(--app-ink)}-.hero-record-controls>span+span{border-left:1px solid var(--app-line)}-.demo-status{color:var(--app-muted);font-size:.95em;margin-top:.8em}-body[data-demo=transcript] .hero-listening-widget{top:-52px;right:22px;bottom:auto;gap:12px;width:120px;height:42px;padding:7px 8px 7px 11px;border-radius:12px;transform:none;box-shadow:none}-.hero-listening-widget>img{width:20px;height:20px}-.hero-listening-meter{margin-inline-start:0;flex:none;width:18px}-.hero-listening-stop{flex:none}-@media(max-width:760px){- .hero-copy{padding-bottom:70px}- body[data-demo=transcript] .demo-shell{font-size:8px;height:570px;grid-template-columns:43px minmax(0,1fr)}- .demo-sidebar{padding:0 6px}- .demo-window-controls{height:42px;margin:0 -6px 13px;padding:0;justify-content:center;gap:0}- .demo-traffic{gap:3px}.demo-traffic i{width:5px;height:5px}- .demo-search{height:31px;margin:0;padding:0;background:transparent}- .demo-nav-item{height:35px;padding:0;justify-content:center}- .demo-brand{padding:14px 0}- .demo-brand .demo-small-mark{width:22px;height:22px}- .demo-toolbar{height:42px;padding:0 12px;font-size:8px}- .demo-crumb{gap:5px}.demo-crumb b{max-width:110px}- .demo-meeting-tools{gap:5px}- .demo-native{height:24px;padding:0 6px}- .demo-meeting{inset:42px 0 0}- .demo-document{padding:26px 16px 0}- .demo-document h3{font-size:22px;margin-bottom:16px}-.demo-meeting-date,.demo-recording-chip{font-size:8px}-- body[data-demo=transcript] .hero-transcript-panel{left:12px;right:12px;bottom:95px;transform:none;width:auto;height:315px;border-radius:9px}- .hero-transcript-search{font-size:10px;padding:11px 10px;gap:7px}- .hero-transcript{padding:13px 12px;gap:15px}- .hero-transcript-byline{font-size:9px;margin-bottom:4px}- .hero-transcript-turn p{font-size:11px;line-height:1.55}- .demo-meeting-footer{left:12px;right:12px;bottom:14px}- body[data-demo=transcript] .demo-command-bar{font-size:9px;gap:6px}- body[data-demo=transcript] .demo-transcript-control{padding:0 6px}- .demo-status{font-size:6.5px}- body[data-demo=transcript] .hero-listening-widget{top:-52px;right:12px;bottom:auto;transform:none}-}-@media(max-width:360px){- .demo-document{padding-inline:13px}.demo-document h3{font-size:21px}- .demo-meeting-date{font-size:7px}- .hero-transcript{gap:10px}.hero-transcript-turn p{font-size:10.5px}-}--@keyframes reflection-pass{- 0%, 16% { transform: translateX(0); }- 80%, 100% { transform: translateX(1400px); }-}-@keyframes listening{- 0%,100% { transform: scaleY(.65); }- 22% { transform: scaleY(.9); }- 44% { transform: scaleY(.5); }- 64% { transform: scaleY(1); }- 82% { transform: scaleY(.75); }-}-@keyframes line-write{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}-@keyframes content-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}-@keyframes paper-write{from{opacity:.25;clip-path:inset(0 0 100% 0);transform:translateY(5px)}to{opacity:1;clip-path:inset(0);transform:none}}-@keyframes cursor{50%{opacity:0}}-@keyframes writing-done{0%,80%{opacity:1}100%{opacity:0}}-@keyframes send-question{0%,100%{transform:none;opacity:1}45%{transform:translateY(-7px);opacity:0}46%{transform:translateY(7px);opacity:0}}-@keyframes answer-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}-@keyframes working-spin{to{transform:rotate(360deg)}}--.site-footer{--field-top:80;--notch-x:280;--notch-y:112;--corner:16;--icon-size:96px;--icon-width:264px;overflow:visible;padding-inline:32px;background:linear-gradient(180deg,var(--purple-base),var(--purple-base) calc(var(--icon-size)*.45),var(--purple-dark) var(--icon-size))}-.site-footer[data-shaped=true]{background:none}-.footer-field{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;visibility:hidden}-.site-footer[data-shaped=true] .footer-field{visibility:visible}-.footer-field-base{fill:url(#footer-base)}-.footer-field-wash{fill:url(#footer-wash)}-.site-footer .footer-main,.site-footer .footer-bottom{position:relative;z-index:1;width:100%;max-width:none}-.site-footer .footer-main{padding:calc(var(--icon-size) + 32px) 0 20px;align-items:start;grid-template-columns:1.9fr 1fr 1fr}-.site-footer .footer-brand{padding:0;display:block}-.site-footer .footer-brand div{min-width:0}-.site-footer .footer-brand p{color:#fff;font-size:var(--ui-size);line-height:1.5}-.site-footer .footer-column h3,.site-footer .footer-column>a{color:#fff}-@media (hover: hover) { .site-footer .footer-column>a:hover{color:#fff} }-.site-footer .footer-column{align-self:start}-.site-footer .footer-column h3{margin:0 0 16px}-.site-footer .footer-column>a{display:flex;align-items:center;gap:5px;font-size:var(--ui-size);margin:10px 0}-.site-footer .footer-column>a:last-child{margin-bottom:0}-.site-footer .button.footer-download{background:#fff;color:var(--ink);border-color:#fff;box-shadow:none;transform:none}-.site-footer .footer-bottom,.site-footer .made-by,.site-footer .made-by:focus-visible{color:#fff}-@media (hover: hover) { .site-footer .made-by:hover{color:#fff} }-.site-footer .made-by img{filter:brightness(0) invert(1);opacity:1}-.site-footer .made-by {font-size:var(--ui-size)}-@media (hover: hover) { .site-footer .made-by:hover img{filter:brightness(0) invert(1);opacity:1} }-.site-footer .footer-bottom{flex-wrap:wrap;font-size:var(--caption-size);padding:16px 0 20px;border-top:1px solid #ffffff26}-.link-label {- position: relative;- inline-size: fit-content;-}-.link-label::after {- content: "";- position: absolute;- inset: auto 0 -3px;- border-bottom: 1px solid currentColor;- transform-origin: left;- transform: scaleX(var(--underline-scale, 0));- transition: transform 180ms var(--ease-enter);- pointer-events: none;-}-.link-arrow {- flex: none;- transform: translateX(var(--arrow-offset, 0px));- transition: transform 180ms var(--ease-enter);-}-a:focus-visible {- --underline-scale: 1;- --arrow-offset: 3px;-}-@media (hover: hover) {- a:hover {- --underline-scale: 1;- --arrow-offset: 3px;- }-}-@media (prefers-reduced-motion: reduce) {- .link-label::after, .link-arrow { transition: none; }- .link-arrow { transform: none; }-}-@media(hover:hover) and (pointer:fine){- .site-footer .button.footer-download:hover{background:var(--purple-tint);border-color:var(--purple-tint);box-shadow:inset 0 1px #ffffff70,0 3px 8px color-mix(in srgb,var(--brand) 15%,transparent)}-}-.site-footer a:focus-visible{outline:2px solid #fff;outline-offset:4px}-.site-footer .footer-dock{position:absolute;top:0;left:0;z-index:2;width:var(--icon-width);height:var(--icon-size);display:flex;align-items:center;justify-content:center;background:none;border-radius:calc(var(--icon-size)*185/824);color:#FBFAFF;overflow:visible;transition:none}-@media (hover: hover) { .site-footer .footer-dock:hover{transform:none;text-decoration:none;background:none} }-.site-footer .footer-dock:focus-visible{outline-color:var(--footer-purple)}-.footer-dock-art{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible;pointer-events:none}-.site-footer:not([data-shaped=true]) .footer-dock{background:linear-gradient(var(--face-start),var(--face-mid))}-.site-footer:not([data-shaped=true]) .footer-dock-art{visibility:hidden}-/* Tight optical bounds include the descenders; paths and proportions match the app Wordmark. */-.footer-dock-lockup{position:relative;display:block;width:auto;height:42px;overflow:visible;flex:none}-@media(max-width:760px){- .site-footer{--field-top:60;--notch-x:232;--notch-y:92;--corner:16;--icon-size:76px;--icon-width:216px;padding-inline:24px}- .site-footer .footer-main{grid-template-columns:1fr 1fr;gap:24px;padding-bottom:16px}- .site-footer .footer-brand{padding:0}- .site-footer .footer-bottom{gap:10px}- .site-footer .made-by{gap:4px}- .site-footer .made-by img{width:66px;height:22px}- .footer-dock-lockup{height:35px}-}--@media(max-width:360px){- .site-footer{--field-top:54;--notch-x:198;--notch-y:86;--icon-size:70px;--icon-width:182px}- .footer-dock-lockup{height:28px}-}--/* Shared site palette. */-:root{- --purple-base:#6F00FF;--purple-dark:#6200E0;- --purple-deep:color-mix(in srgb,var(--purple-base) 75%,black);- --purple-soft:color-mix(in srgb,var(--purple-base) 52%,white);- --purple-tint:color-mix(in srgb,var(--purple-base) 8%,white);- --purple-line:color-mix(in srgb,var(--purple-base) 28%,white);- --purple-rim:color-mix(in srgb,var(--purple-base) 40%,white);- --purple-muted:color-mix(in srgb,var(--purple-base) 25%,#606066);- --brand:var(--purple-base);--violet:var(--purple-base);--brand-dark:var(--purple-dark);--brand-deep:var(--purple-deep);--brand-soft:var(--purple-soft);--brand-tint:var(--purple-tint);--brand-line:var(--purple-line);--brand-rim:var(--purple-rim);- --face-start:var(--purple-base);--face-mid:color-mix(in srgb,var(--purple-base) 55%,var(--purple-dark));--face-end:var(--purple-dark);--field-end:var(--purple-dark);-}-----.hero h1 .headline-word{color:var(--purple-dark)}-.button.primary{background:linear-gradient(var(--purple-base),var(--purple-dark)) var(--purple-dark);border-color:var(--purple-dark)}-@media(hover:hover) and (pointer:fine){.button.primary:hover{background:var(--purple-dark);border-color:var(--purple-dark)}}-.site-footer{--footer-purple:var(--purple-base);background:linear-gradient(180deg,var(--face-start),var(--face-mid) 45%,var(--face-end) 100%)}-.site-footer[data-shaped=true]{background:none}-#footer-base stop:first-child,#footer-icon-face stop:first-child{stop-color:var(--face-start)}-#footer-base stop:nth-child(2),#footer-icon-face stop:nth-child(2){stop-color:var(--face-mid)}-#footer-base stop:last-child,#footer-icon-face stop:last-child{stop-color:var(--face-end)}-#footer-wash stop{stop-color:var(--field-end)}----.footer-dock-art rect[fill="#6F00FF"]{fill:var(--purple-base)}--.footer-dock-art rect[stroke^="url"]{stroke:url(#footer-icon-rim)}---/* The app owns the inside of the window. The existing ribbon composition owns its box. */-.product-stage>.product-window.demo-window{--app-bg:#1b1b1d;--app-line:#343436;aspect-ratio:1000/608;height:auto;background:#1b1b1d;border-color:#343436;isolation:isolate;transition:none}-.hero-still{position:absolute;inset:0;display:block;pointer-events:none;border-radius:inherit;overflow:hidden}-.hero-still img{display:block;width:100%;height:100%;max-width:none}-.hero-renderer{position:absolute;left:0;top:0;width:1000px;height:608px;transform:scale(var(--renderer-scale));transform-origin:top left;border:0;pointer-events:none;opacity:0}-.product-window[data-live=true] .hero-renderer{opacity:1}-.product-window[data-live=true] .hero-still{visibility:hidden}-@media(max-width:760px){.product-stage>.product-window.demo-window{aspect-ratio:375/570}}--.site-footer{--face-start:color-mix(in srgb,var(--purple-base) 78.04%,white);--face-mid:var(--purple-base);--face-end:color-mix(in srgb,var(--purple-base) 81.96%,black)}--.hero-renderer{clip-path:inset(0 round 12px)}--.hero-light-poster{position:absolute;inset:0 auto auto 0;transform-origin:top left;border:0;pointer-events:none}-:root[data-theme=light] .hero-still,-:root[data-theme=dark] .hero-light-poster,-.product-window[data-live=true] .hero-light-poster{visibility:hidden}-.hero-no-script-poster{display:none;position:absolute;inset:0;width:100%;height:100%}-.hero-no-script-poster iframe{border:0}-@media(min-width:761px){:root[data-theme=light] .hero-no-script-poster.desktop{display:block}}-@media(max-width:760px){:root[data-theme=light] .hero-no-script-poster.phone{display:block}}--/* Real app fragments, without window chrome. Final geometry is reserved before any content is revealed. */-.fragment-art{height:304px;margin:0;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--surface);border-radius:16px}-.fragment-art picture{display:block;width:100%;height:304px;flex:none}-.fragment-art img{display:block;width:100%;height:auto;max-width:none}-.step-copy{padding-inline:0}-/* Crossfade the complete still into the ready animation; other cards remain complete. */-.fragment-art iframe{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;pointer-events:none;transition:opacity .28s ease-out}-.fragment-art picture{opacity:1;transition:opacity .28s ease-out}-.fragment-art[data-live=true] iframe{opacity:1}-.fragment-art[data-live=true] picture{opacity:0}-@media(max-width:760px),(prefers-reduced-motion:reduce){.fragment-art picture{opacity:1!important;transition:none}.fragment-art iframe{display:none}}-@media(max-width:1000px) and (min-width:761px){- .steps-grid{grid-template-columns:1fr;gap:36px}- .step{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center}- .step-copy{padding:0}-}--@media(prefers-reduced-motion:reduce){.folder-asset *{animation:none!important}}--/* Requirements stay with the download action; each item wraps as a unit. */-.download-requirements{display:block;font-size:.8125rem;font-weight:400;line-height:1.54;letter-spacing:0;color:#6b6674}-.download-requirements>span{white-space:nowrap}-.hero-actions{position:relative}-.hero-actions>.download-requirements{position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);text-align:center}-.site-footer .download-requirements{display:flex;flex-wrap:wrap;align-items:baseline;gap:0;margin-top:8px;font-size:var(--caption-size);line-height:1.5;color:#fff;opacity:.9}--/* Static grain is baked once, not filtered per frame. */-.signal-wings{overflow:visible}-.signal-reflection{animation:none}--.backdrop.ribbon{--ribbon-sway:6px}-.backdrop.ribbon:has(.signal-wings[data-running=true]){will-change:transform}-@media(max-width:760px){.backdrop.ribbon{--ribbon-sway:3px}}--.download-alternatives{display:block}-.site-footer .download-alternatives{font-size:var(--ui-size)}-.site-footer .download-alternatives::before{content:" · ";white-space:pre}-@media(max-width:1000px){.site-footer .download-alternatives{flex-basis:100%}.site-footer .download-alternatives::before{content:none}}-.download-alternatives a{font-size:var(--ui-size)}--/* Mobile visitors choose a desktop installer without being assigned a Mac download. */-.download-requirements[hidden]{display:none}-.mobile-download{position:relative;display:inline-block;text-align:left}-.mobile-download>summary{list-style:none;cursor:pointer}-.mobile-download>summary::-webkit-details-marker{display:none}-.mobile-download>summary::after{content:"";flex:none;width:6px;height:6px;margin:-3px 2px 0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform 150ms ease}-.mobile-download[open]>summary::after{margin-top:3px;transform:rotate(-135deg)}-.mobile-download-list{position:absolute;top:calc(100% + 8px);left:0;z-index:10;width:280px;max-width:calc(100vw - 48px);padding:6px;background:#fff;color:var(--ink);border:1px solid #e5e3e9;border-radius:14px;box-shadow:0 8px 28px #26242b24}-.mobile-download-list>a{display:flex;flex-direction:column;gap:3px;padding:10px;border-radius:7px;color:var(--ink);text-decoration:none;font-size:var(--ui-size);line-height:1.4}-.mobile-download-list strong{font-weight:600}-.mobile-download-list span{font-size:var(--caption-size);color:#6b6674}-.mobile-download-list>a:focus-visible{background:#f4f3f6;color:var(--ink)}-@media (hover: hover) { .mobile-download-list>a:hover{background:#f4f3f6;color:var(--ink)} }-.mobile-download summary:focus-visible,.mobile-download-list>a:focus-visible{outline:2px solid var(--brand);outline-offset:2px}-.hero-copy:has(.mobile-download[open]){z-index:5}-.site-footer .footer-main:has(.mobile-download[open]){z-index:3}-.site-header .mobile-download-list{left:auto;right:0}--/* A quiet endorsement, one subtitle and one alternate-download line. */-.yc-pill{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:7px 12px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:500;line-height:1.38;color:#737373;margin-bottom:32px}-.yc-mark{display:grid;place-items:center;width:17px;height:17px;background:#f26522;color:#fff}-.yc-mark svg{width:12px;height:14px}-.hero-copy{padding-top:40px}-.hero h1{margin-bottom:24px}-.hero-actions{margin-top:28px}-body[data-background=ribbon] .hero-copy{padding-bottom:70px}-@media(max-width:760px){.yc-pill{margin-bottom:28px}.hero-copy{padding-top:32px}.hero h1{margin-bottom:20px}.hero-actions{margin-top:24px}}--.hero-copy p>span{white-space:nowrap}-/* the longest sentence may wrap on a phone rather than run off the edge */-.hero-copy p>span.hero-wrap{white-space:normal}-/* The closing sentence takes its own line, so the subtitle never breaks mid-thought on a wide screen; balanced if it wraps on a phone. */-.hero-copy p>span.hero-wrap{display:block;text-wrap:balance}--/* Keep each phone step's introduction directly above its own illustration. */-@media(max-width:760px){- .steps-grid{gap:64px}- .step{display:flex;flex-direction:column;gap:24px}- .step-copy{order:-1;padding:0}- .step-number{margin-bottom:10px}- .step h3{margin-bottom:10px}- .fragment-art{height:auto;aspect-ratio:320/280}- .fragment-art picture{height:auto}-}--/* Short laptop viewports keep the live transcript in the first screen. */-@media(min-width:761px) and (max-height:820px){- body[data-background=ribbon] .hero-copy{padding-top:20px}-}--/* Only the liquid surface moves; the number and reserved circle box stay fixed. */-.step-number{width:30px;height:30px;line-height:1;transition:none}-.step-number svg{display:block;width:100%;height:100%;overflow:visible}-.step-number text{font-family:inherit;font-size:12px;font-weight:600;letter-spacing:0}-.step-outline{fill:#f6f3fa;stroke:#ded5e9;stroke-width:1}-.step-fill{fill:var(--brand)}-.step-digit{fill:#655d70}-.step-digit-filled{fill:#fff}--/* The toggle occupies the space before the existing navigation without moving its links. */-.site-header nav{position:relative}-.theme-toggle{position:absolute;right:calc(100% + 12px);display:grid;place-items:center;width:36px;height:36px;padding:8px;border:0;border-radius:8px;background:transparent;color:inherit}-.theme-toggle[hidden]{display:none}-.theme-toggle svg{width:20px;height:20px}-.theme-toggle .theme-sun,:root[data-theme=dark] .theme-toggle .theme-moon{display:none}-:root[data-theme=dark] .theme-toggle .theme-sun{display:block}-@media (hover: hover) { .theme-toggle:hover{background:var(--surface)} }-.theme-switching *,.theme-switching *::before,.theme-switching *::after{transition:none!important}-@media(max-width:360px){.theme-toggle{right:calc(100% + 4px);width:32px;height:32px;padding:6px}}--/* App palette; light rules and the violet brand surfaces remain unchanged. */-:root[data-theme=dark]{color-scheme:dark;--bg:#1B1B1D;--float:#29292B;--ink:#E7E6EB;--muted:#A7A4AD;--line:#343436;--accent:#B780FF;--surface:#202021;--paper:var(--ink);--border:var(--line)}-:root[data-theme=dark] body{background:var(--bg)}-/* Defined window edges; the app's own materials stay untouched. */-:root[data-theme=dark] .product-stage>.product-window.demo-window{border-color:rgb(255 255 255 / 14%)}-:root[data-theme=dark] .product-stage>.product-window.demo-window::after{- content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none;- box-shadow:inset 0 1px 0 rgb(255 255 255 / 12%);-}-:root[data-theme=light] .product-stage>.product-window.demo-window{background:var(--page);border:1px solid var(--section-frame-border)}-:root[data-theme=dark] :is(a,button,summary):focus-visible{outline-color:var(--accent)}-:root[data-theme=dark] .faq-list details:has(summary:focus-visible){outline-color:var(--accent)}-:root[data-theme=dark] :is(.site-header nav,.hero-copy p,.yc-pill,.download-requirements,.faq-list p,.roster-top,.roster-person small,.file-meta,.file-task,.file-excerpt,.file-peek>span){color:var(--muted)}-:root[data-theme=dark] :is(.step h3,.feature-asset,.notes-file strong,.faq-list summary){color:var(--ink)}-@media (hover: hover) { :root[data-theme=dark] .faq-list summary:hover{color:var(--ink)} }-:root[data-theme=dark] :is(.hero h1 .headline-word,.file-task b){color:var(--accent)}-@media (hover: hover) { :root[data-theme=dark] .site-header nav>a:hover{color:var(--accent)} }-:root[data-theme=dark] .wordmark img{filter:brightness(0) invert(1)}-:root[data-theme=dark] .button.secondary{background:var(--float);border-color:var(--line);color:var(--ink);box-shadow:0 1px 2px #0003}-:root[data-theme=dark] .button.secondary:active{background:#333335;border-color:#606066;color:var(--ink)}-@media (hover: hover) { :root[data-theme=dark] .button.secondary:hover{background:#333335;border-color:#606066;color:var(--ink)} }-:root[data-theme=dark] .skip{color:#fff}-:root[data-theme=dark] .step-outline{fill:var(--float);stroke:var(--line)}-:root[data-theme=dark] .step-digit{fill:var(--muted)}-:root[data-theme=dark] :is(.roster-sheet,.file-peek){background:var(--float);border-color:var(--line);box-shadow:0 12px 24px -12px #0006}-:root[data-theme=dark] :is(.roster-top b,.file-peek>svg,.person-orb.orb-a,.person-orb.orb-b){background:#333335;color:var(--ink);border-color:var(--line);box-shadow:none}-:root[data-theme=dark] :is(.roster-asset .roster-level i,.file-wave .meter-bars i){background:var(--accent)}-:root[data-theme=dark] .faq-list details{background:var(--surface)}-:root[data-theme=dark] .faq-list details[open]{background:var(--float)}-@media (hover: hover) { :root[data-theme=dark] .faq-list details:hover{background:var(--float)} }-:root[data-theme=dark] .faq-list summary .faq-plus{color:var(--muted)}-:root[data-theme=dark] .mobile-download-list{background:var(--float);border-color:var(--line)}-:root[data-theme=dark] .mobile-download-list span{color:var(--muted)}-:root[data-theme=dark] .mobile-download-list>a:focus-visible{background:#333335}-@media (hover: hover) { :root[data-theme=dark] .mobile-download-list>a:hover{background:#333335} }-:root[data-theme=dark] .site-footer .button.footer-download{background:#fff;border-color:#fff;color:#26242b}-:root[data-theme=dark] .site-footer .download-requirements{color:#fff;opacity:1}-:root[data-theme=dark] .site-footer a:focus-visible{outline-color:#fff}--/* Transparent light screenshots cannot supply legible dark resting states. */-.fragment-rest{display:none}-:root[data-theme=dark]{--card:#202021;--control:#333335}-:root[data-theme=dark] .fragment-art{background:var(--card)}-:root[data-theme=dark] .fragment-art::after{content:"";position:absolute;inset:0;border:1px solid var(--line);border-radius:inherit;pointer-events:none}-:root[data-theme=dark] .step-outline{fill:var(--card)}-:root[data-theme=dark] .fragment-art picture{display:none}-:root[data-theme=dark] .fragment-rest{display:block;position:absolute;inset:24px 24px auto;color:var(--muted);font-size:15px;line-height:1.7}-:root[data-theme=dark] .fragment-art[data-state=done] .fragment-rest{color:var(--ink)}-/* Swap whole surfaces so the live words never blend with their completed fallback. */-:root[data-theme=dark] .fragment-art iframe{background:var(--card);transition:none}-/* The seams between ribbon bands read as gaps in the page: white on light, the page dark on dark.- They are drawn through <use>, so they take the colour by inheritance; a selector on the source path never reaches the copy. */-[data-hero-divider]{color:#fff}-[data-theme=dark] [data-hero-divider]{color:var(--bg)}-:root[data-theme=dark] .fragment-art[data-live=true] .fragment-rest{visibility:hidden}-.fragment-rest p,.fragment-rest h4,.fragment-rest ul{margin:0}-.rest-summary h4{font-size:15px;font-weight:600;line-height:1.4;letter-spacing:-.015em;color:inherit}-.rest-summary h4:not(:first-child){margin-top:1.7em}-.rest-summary ul{padding-left:1.15em;margin-top:.35em}-.rest-summary li{padding-left:.15em;margin-top:.25em}-.rest-summary strong{font-weight:600;color:inherit}-.rest-transcript>div+div{margin-top:20px}-.rest-transcript span{display:block;font-size:12px;line-height:16px;margin:0 4px 4px}-.rest-transcript p{width:fit-content;max-width:85%;padding:5px 10px;border-radius:9px;background:var(--control);font-size:13.5px;line-height:1.5}-.rest-transcript .rest-mine span{text-align:right}-.rest-transcript .rest-mine p{margin-left:auto}-.rest-ask .rest-question{width:fit-content;max-width:80%;margin-left:auto;border-radius:12px;background:var(--control);color:var(--ink);padding:8px 12px;font-size:14px;line-height:20px}-.rest-byline{display:flex;align-items:center;gap:9px;margin-top:16px;font-size:12px;line-height:20px;color:var(--muted)}-.rest-byline img{width:20px;height:20px;flex:none}-.rest-answer{margin:16px 0 0 29px;font-size:14.5px;line-height:1.6}-.rest-answer p+p{margin-top:.45em}-.rest-answer sup{color:var(--accent);font-size:.68em}-@media(max-width:760px),(prefers-reduced-motion:reduce){- :root[data-theme=dark] .fragment-rest{color:var(--ink);visibility:visible}-}-@media(max-width:760px){- :root[data-theme=dark] .fragment-art{min-height:280px}- :root[data-theme=dark] .fragment-rest{inset:20px 20px auto}- .rest-transcript p,.rest-ask .rest-question,.rest-answer{font-size:15px}-}--/* Hero actions keep enough room for every platform label. */-.stars-count{display:inline-block;font-variant-numeric:tabular-nums;text-align:end;white-space:nowrap}-.hero-actions{--stars-action-gap:11px;gap:var(--stars-action-gap);width:fit-content;max-width:100%;flex-wrap:wrap;margin-inline:auto}-.hero-actions>:is(.button,.mobile-download){flex:0 0 auto;min-width:max-content}-.hero-actions>.mobile-download>summary{width:100%}-.hero-actions .button {- height: 36px;- padding-inline: 13px;- gap: 6px;- border-radius: 8px;-}-.hero-actions .button > svg {width:14px;height:14px}-.stars-label{white-space:nowrap}-@media(max-width:760px){- .hero-actions{--stars-action-gap:9px}- .hero-actions .button {- height: 44px;- padding-inline: 8px;- gap: 5px;- }-}-@media(max-width:360px){.hero-actions{--stars-action-gap:7px}}--/* Shared dimensions between the navigation, hero and meeting window. */-:root {- --content-width: min(76vw, 1200px);- --prose-size: 1.0625rem;- --prose-leading: 1.62;- --prose-measure: 56ch;- --heading-description-gap: .5625rem;- --paragraph-gap: 1.25rem;- --reading-section-gap: 6rem;- --reading-weight: 550;- --ui-size: .875rem;- --caption-size: .75rem;- --nav-height: 80px;- scroll-padding-top: calc(var(--nav-height) + 8px);- --page: #fff;- --panel: #f6f6f6;- --hairline: #e6e6e8;- --section-frame-border: #eeeeef;- --reading: #606066;- --link: var(--brand);-}-:root[data-theme='dark'] {- --page: #1b1b1d;- --panel: #202021;- --hairline: #343436;- --section-frame-border: #2a2a2c;- --reading: #a7a4ad;- --link: var(--accent);-}-.sticky-header {- position: sticky;- top: 0;- z-index: 9;- pointer-events: none;-}-.sticky-header:not([data-ready]) { background: var(--page); }-.sticky-header:not([data-ready]) .nav-surface { visibility: hidden; }-.nav-surface { position: absolute; inset: 0; overflow: clip; }-.nav-surface i {- position: absolute;- inset: 0 auto 0 0;- width: calc(var(--nav-height) / 2);- background: var(--page);- border: 1px solid transparent;- transform-origin: top left;- pointer-events: auto;-}-.sticky-header[data-scrolled] .nav-surface i { border-color: var(--hairline); }-.sticky-header[data-scrolled]:not([data-floating]) .nav-surface i {- border-color: color-mix(in srgb, var(--hairline) 35%, var(--page));-}-.nav-surface i:first-child { border-right: 0; border-radius: 100% 0 0 100% / 50% 0 0 50%; clip-path: ellipse(100% 50% at right center); }-.nav-surface i:nth-child(2) { width: 100%; border-inline: 0; }-.nav-surface i:last-child { border-left: 0; border-radius: 0 100% 100% 0 / 0 50% 50% 0; clip-path: ellipse(100% 50% at left center); }-.sticky-header :is(a, button, summary, .mobile-download-list) { pointer-events: auto; }-.site-header {- position: relative;- width: var(--content-width);- max-width: none;- height: var(--nav-height);- padding-inline: 0;-}-.site-header nav {- gap: 22px;-}-.site-header .nav-stars {- display: inline-flex;- align-items: center;- gap: 7px;- color: var(--ink);- font-size: 13px;- font-variant-numeric: tabular-nums;-}-.nav-stars svg {- width: 17px;- height: 17px;-}-.site-header nav .nav-download {- display: inline-flex;- font-size: var(--ui-size);- border-radius: var(--nav-download-radius, 8px);-}-.hero .hero-copy {- width: var(--content-width);- max-width: none;- margin-inline: auto;- text-align: center;- padding: 40px 0;-}-.hero-copy .yc-pill {- margin: 0 0 20px;- font-size: .8125rem;- min-height: 30px;- padding: 5px 9px;-}-.hero .hero-copy h1 {- font: 600 5.25rem/1.05 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;- letter-spacing: -.05em;- margin: 0 0 20px;-}-.hero-copy > p {- max-width: 560px;- margin: 0 auto;- font-size: var(--prose-size);- line-height: var(--prose-leading);- letter-spacing: normal;-}-.hero-copy > p .hero-wrap {- display: block;- margin-top: 2px;-}-.hero .hero-actions {- display: flex;- flex-wrap: wrap;- justify-content: center;- align-items: center;- gap: 12px;- width: fit-content;- max-width: min(100%, 420px);- margin: 24px auto 0;-}-.hero .hero-actions > :is(.button, .mobile-download) {- flex: 0 0 auto;- min-width: max-content;-}-.hero .hero-actions > .download-requirements {- position: static;- transform: none;- flex-basis: 100%;- width: 100%;- padding: 0;- text-align: center;-}-.hero .download-alternatives {- display: block;-}-.hero-actions .demo-play svg {- width: 12px;- height: 12px;-}-.site-footer {- background: var(--brand);-}-.site-footer .footer-field-base,-.site-footer .footer-dock-art > rect:first-of-type {- fill: var(--brand);-}-.site-footer .footer-field-wash,-.site-footer .footer-dock-art > rect[filter] {- display: none;-}-.site-footer:not([data-shaped='true']) .footer-dock {- background: var(--brand);-}-@media (min-width: 761px) and (max-width: 999px) {- :root {- --content-width: calc(100% - 104px);- }-}-@media (max-width: 760px) {- :root {- --content-width: calc(100% - 40px);- --nav-height: 72px;- }- .site-header nav {- gap: 10px;- }- .site-header .wordmark img {- width: 100px;- height: auto;- }- .site-header nav > a.nav-stars,- .site-header nav > a.nav-download {- display: inline-flex;- }- .site-header .nav-download {- height: 32px;- padding: 0 9px;- }- .hero .hero-copy {- padding: 24px 0 32px;- }- .hero .hero-copy h1 {- font-size: 3.625rem;- margin-bottom: 18px;- }- .hero .hero-actions {- gap: 10px;- }-}-@media (max-width: 360px) {- :root {- --content-width: calc(100% - 32px);- }- .site-header .wordmark img {- width: min(92px, calc(100vw - 246px));- }- .hero .hero-copy h1 {- font-size: 3.125rem;- }-}--.demo-dialog {- width: min(960px, 90vw, calc(90vh * 1280 / 828));- max-height: 90vh;- padding: 0;- margin: auto;- border: 0;- background: transparent;- color: #fff;- overflow: visible;- overscroll-behavior: contain;-}-.demo-player {- position: relative;- width: 100%;- aspect-ratio: 1280/828;- overflow: hidden;- border-radius: 14px;- background: #000;- box-shadow: 0 30px 80px -20px #0009;-}-.demo-dialog video {- position: absolute;- inset: 0;- display: block;- width: 100%;- height: 100%;- object-fit: contain;-}-.demo-close {- position: absolute;- top: 12px;- right: 12px;- z-index: 1;- display: grid;- place-items: center;- width: 32px;- height: 32px;- padding: 0;- border: 1px solid #fff3;- border-radius: 50%;- background: rgb(0 0 0 / 45%);- color: #fff;- backdrop-filter: blur(4px);-}-.demo-close svg {- width: 14px;- height: 14px;-}-.demo-dialog button:focus-visible,-.demo-dialog video:focus-visible {- outline: 2px solid #fff;- outline-offset: 2px;-}-.demo-dialog video:focus-visible {- outline-offset: -2px;-}-.demo-video-message {- display: flex;- align-items: center;- justify-content: center;- gap: 12px;-}-.demo-video-message p {- font-size: 1rem;- line-height: 1.5;- margin: 8px 0 0;-}-.demo-video-message p:empty {- margin: 0;-}-.demo-video-message button {- margin-top: 8px;-}-.demo-video-message button[hidden] {- display: none;-}-@media (hover: hover) and (pointer: fine) {- .demo-close:hover {- background: rgb(0 0 0 / 65%);- }-}--.section-wrap:is(.product-tour, .app-features, .open-progress) {- padding-block: 96px 0;-}-.section-intro {- margin-bottom: 32px;-}-.section-intro h2,-.faq-story h2 {- font: 600 1.75rem/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;- letter-spacing: -.023em;- margin: 0 0 var(--heading-description-gap);-}-.section-intro p {- font-size: var(--prose-size);- line-height: var(--prose-leading);- color: var(--reading);- margin: 0;- max-width: var(--prose-measure);-}-.section-intro .quiet-link { color: var(--ink); }-.tour-layout,-.feature-grid,-.growth-block,-.faq-cards {- border: 1px solid var(--section-frame-border);-}-.tour-layout,-.feature-grid,-.growth-block {- --tray-space: 7px;- display: grid;- gap: var(--tray-space);- padding: var(--tray-space);- border-radius: calc(7px + var(--tray-space) + 1px);- background: var(--panel);-}-.tour-layout {- grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);- align-items: stretch;-}-.tour-list {- display: flex;- flex-direction: column;- gap: var(--tray-space);-}-.tour-item,-.tour-visual {- background: var(--page);- border-radius: 7px;-}-.tour-item {- flex: 0 0 auto;- padding: 0 20px 24px;-}-.tour-item h3 {- margin: 0;-}-.tour-item button {- display: grid;- grid-template-columns: 32px minmax(0, 1fr) 14px;- gap: 12px;- align-items: center;- width: 100%;- background: none;- color: var(--ink);- border: 0;- font-size: 1.125rem;- line-height: 1.4;- font-weight: 500;- padding: 24px 0 0;- text-align: left;-}-/* Keep the full closed-row button hit area, including the space below its title. */-.tour-item[data-selected='false'] button {- padding-bottom: 24px;- margin-bottom: -24px;-}-.tour-item[data-selected='true'] {- flex-grow: 1;-}-.tour-detail {- display: grid;- grid-template-rows: 0fr;-}-.tour-item[data-selected='true'] .tour-detail {- grid-template-rows: 1fr;-}-.tour-description {- text-wrap: balance;- color: var(--reading);- font-size: 1rem;- line-height: 1.5;- min-height: 0;- overflow: hidden;- padding: 0 26px 0 44px;- visibility: hidden;- opacity: 0;- margin: 0;-}-.tour-item[data-selected='true'] .tour-description {- visibility: inherit;- opacity: 1;-}-@media (prefers-reduced-motion: no-preference) {- /* The inert copy used to reserve space must always measure the final heights. */- .tour-list:not([inert]) .tour-item { transition: flex-grow 240ms ease-out; }- .tour-list:not([inert]) .tour-detail { transition: grid-template-rows 240ms ease-out; }- .tour-list:not([inert]) .tour-item[data-selected='true'] .tour-description {- transition: opacity 120ms ease-out 70ms;- }-}-.tour-plus {- color: var(--reading);- text-align: right;-}-.tour-number {- position: relative;- isolation: isolate;- width: 32px;- height: 32px;- display: grid;- place-items: center;- font-size: .875rem;- font-variant-numeric: tabular-nums;- color: var(--reading);-}-.step-blob {- position: absolute;- inset: -2px;- width: 36px;- height: 36px;- z-index: -1;- overflow: visible;-}-.blob-base {- fill: var(--panel);-}-.marker-track,-.marker-rim {- fill: none;- stroke-width: 1.3;-}-.marker-track {- stroke: var(--hairline);-}-.marker-rim {- stroke: var(--link);- stroke-dasharray: 1;- stroke-dashoffset: 1;- stroke-linecap: round;-}-.marker-label-active {- display: none;-}-.tour-item:not([data-selected='true']) :is(.marker-rim, .marker-track) {- opacity: 0;-}-.tour-item[data-selected='true'] .blob-base {- fill: var(--brand);-}-.tour-item[data-selected='true'] .tour-number {- color: white;-}-.tour-visual {- display: grid;- align-items: center;- padding: 15px 22px;- min-width: 0;- min-height: 292px;-}-.tour-panel {- grid-area: 1/1;- width: 100%;-}-.tour-frame {- position: relative;- max-width: 420px;- height: 250px;- margin: auto;- overflow: hidden;-}-.tour-frame > iframe {- position: absolute;- inset: 0;- width: 100%;- height: 100%;- border: 0;- object-fit: contain;-}-.tour-frame iframe {- visibility: hidden;-}-.tour-frame[data-ready] iframe {- visibility: visible;-}-@media (max-width: 760px) {- .section-wrap:is(.product-tour, .app-features, .open-progress) {- padding-top: 72px;- }- .tour-layout,- .feature-grid,- .growth-block {- --tray-space: 6px;- }- .tour-layout {- grid-template-columns: minmax(0, 1fr);- }- .tour-item {- padding-inline: 16px;- }- .tour-visual {- padding: 8px 12px;- min-height: 254px;- }- .tour-frame {- height: 240px;- }- .section-intro h2,- .faq-story h2 {- font-size: 24px;- }-}-@media (prefers-reduced-motion: reduce) {- .marker-rim,- .marker-track {- visibility: hidden;- }-}-.feature-grid {- grid-template-columns: repeat(2, minmax(0, 1fr));- grid-auto-rows:1fr;-}-.feature-card {- background: var(--page);- border-radius: 7px;- position: relative;-}-.feature-copy {- display: flex;- flex-direction: column;- align-items: start;- min-width: 0;-}-.feature-label {- font-size: .8125rem;- line-height: 1.4;- color: var(--link);- margin-bottom: 12px;- font-weight: 500;-}-.feature-copy h3 {- font-size: 1.125rem;- line-height: 1.3;- letter-spacing: -.028em;- margin: 0 0 12px;- font-weight: 600;-}-.feature-copy p {- text-wrap: balance;- font-size: 1rem;- line-height: 1.65;- color: var(--reading);- margin: 0 0 16px;-}-.feature-copy a {- font-size: 11px;- line-height: 1.6;-}-.quiet-link {- display: inline-flex;- align-items: center;- gap: 5px;- font-weight: 500;- max-width: 100%;-}-.link-chevron {- width: 12px;- height: 12px;- flex: none;- color: var(--link);-}-.feature-visual {- position: relative;- container-type: inline-size;- pointer-events: none;- min-width: 0;-}-.material-art {- --color-brand: var(--brand);- --color-accent-purple-light: var(--link);- --color-knowledge: var(--ink);- --dial-index: color-mix(in srgb, var(--brand) 58%, #696571);- --seal-top: #f7f6f9;- --seal-mid: #e8e6ec;- --seal-base: #c9c6d0;- --seal-rim: #b7b2bf;-}-[data-theme='dark'] .material-art {- --color-white: #55555e;- --color-ink-50: #3d3d44;- --color-ink-100: #303036;- --color-ink-200: #25252b;- --color-ink-300: #707079;- --dial-index: color-mix(in srgb, var(--brand) 32%, #c8c4cd);- --seal-top: #5c5964;- --seal-mid: #46434c;- --seal-base: #333139;- --seal-rim: #85808d;-}-.dial-lock {- width: min(100%, 156px);- height: 154px;- overflow: visible;-}-.language-art svg {- display: block;- width: 100%;- height: auto;- fill: var(--link);- overflow: visible;-}-.faq-story {- align-items: first baseline;- padding-bottom: 36px;-}-.faq-list details:first-child {- border-top: 0;-}-@media (max-width: 760px) {- .feature-grid {- grid-template-columns: minmax(0, 1fr);- }- .feature-copy h3 {- font-size: 18px;- }- .faq-story {- align-items: start;- }-}--.material-art {- --color-brand: var(--brand);- --color-white: #fff;- --color-ink-50: #fafafa;- --color-ink-100: #f4f4f6;- --color-ink-200: #e6e6eb;- --color-ink-300: #c9c9d2;- --color-ink-400: #9999a5;- --color-ink-500: #6b6b76;- --color-ink-900: #1a1a25;- --color-surface-raised: #fbfbfd;- color: var(--color-brand);-}-[data-theme='dark'] .material-art {- --color-white: #414147;- --color-ink-50: #35353b;- --color-ink-100: #2b2b30;- --color-ink-200: #4d4d57;- --color-ink-300: #666671;- --color-ink-400: #9898a3;- --color-ink-500: #111114;- --color-ink-900: #000;- --color-surface-raised: #303035;-}-.folder-list {- position: relative;- pointer-events: auto;- width: 100%;- max-width: 230px;- padding: 8px;- border: 1px solid var(--line);- border-radius: 14px;- background: var(--bg);- box-shadow: 0 8px 18px -14px #0004;-}-.folder-row {- display: flex;- align-items: center;- gap: 11px;- position: relative;- min-height: 43px;- padding: 8px 12px;- border-radius: 8px;- color: var(--ink);- font-size: calc(.8125rem / var(--list-scale));- white-space: normal;-}-.folder-row svg {- /* Preserve the app’s 16px glyph when the illustrated list scales on a phone. */- width: calc(16px / var(--list-scale));- height: calc(16px / var(--list-scale));- flex: none;-}-.folder-list::before {- content: "";- position: absolute;- inset: 8px 8px auto;- height: calc((100% - 16px) / 3);- border-radius: 8px;- transform: translateY(calc(var(--hover-row, 0) * 100%));- transition: transform 180ms var(--ease-ui);- background: color-mix(in srgb, var(--ink) 5%, transparent);-}-@media (hover: hover) and (pointer: fine) {- .folder-row { cursor: pointer; }-}-@media (prefers-reduced-motion: reduce) {- .folder-list::before { transition: none; }-}-.folder-list [data-folder-color='violet'] svg {- color: #7434ca;-}-[data-theme='dark'] .folder-list [data-folder-color='violet'] svg {- color: #b995ff;-}-.folder-list [data-folder-color='teal'] svg {- color: #157d80;-}-[data-theme='dark'] .folder-list [data-folder-color='teal'] svg {- color: #72cece;-}-.folder-list [data-folder-color='amber'] svg {- color: #976b0d;-}-[data-theme='dark'] .folder-list [data-folder-color='amber'] svg {- color: #e5bd68;-}-/* All four cards share the same text box, art box and optical center. */-.feature-grid {- --edge: 24px;- --gutter: 20px;- --min-card: 232px;-}-.feature-grid .feature-card {- display: grid;- grid-template-columns: minmax(var(--min-copy, 10.75rem), 50fr) minmax(0, 43fr);- grid-template-rows: auto;- gap: var(--gutter);- padding: var(--edge);- height: auto;- min-height: var(--min-card);- align-items: stretch;-}-.feature-grid .feature-copy {- justify-content:center;- grid-area: 1/1;- padding: 0;- margin: 0;- background: transparent;-}-.feature-grid .feature-copy h3 {- max-width: none;-}-.feature-grid .feature-copy > a {- margin-top: auto;-}-.feature-grid .feature-visual {- grid-area: 1/2;- display: grid;- place-items: center;- grid-template: minmax(0, 1fr) / minmax(0, 1fr);- gap: 0;- padding: 0;- margin: 0;- height: auto;- min-height: 0;- align-self: stretch;- overflow: visible;-}-.feature-grid .folder-list {- display: grid;- grid-auto-rows: 1fr;- width: 200px;- margin: 0;- justify-self: center;- --list-scale: clamp(0.36, tan(atan2(calc(100cqi - 8px), 200px)), 0.91);- transform: scale(var(--list-scale));-}-.mcp-tiles {- --art-edge: #c4c3c9;- --art-rim: #fff;- --art-inner: #e4e2e7;- --art-glyph: #625f69;- --wire: var(--purple-base);- --pad-dot: #d2cfd4;- display: block;- width: min(100%, 224px);- height: auto;- overflow: visible;-}-:root[data-theme=dark] .mcp-tiles {- --art-edge: #57555d;- --art-rim: #66636b;- --art-inner: #49474f;- --art-glyph: #dedce2;- --wire: var(--link);- --pad-dot: #59575d;-}-.dial-index {- transform-box: fill-box;- transform-origin: center;- transform: rotate(-9deg);-}-.client-mark {- transform-box: fill-box;- transform-origin: center;-}-.client-mark.claude { color: #d97757; }-.client-mark.chatgpt { color: #000; }-.client-mark.cursor { color: #26251e; }-[data-theme='dark'] .client-mark.chatgpt { color: white; }-[data-theme='dark'] .client-mark.cursor { color: #edecec; }-.client-mark:not(.claude) { opacity: 0; }-.card-language .feature-visual { isolation: isolate; }-.language-dots {- position: absolute;- inset: 0;- width: 100%;- height: 100%;- pointer-events: none;- z-index: -1;- color: var(--link);- opacity: .72;- mask-image: linear-gradient(90deg, transparent, black 37%, black 96%, transparent),- linear-gradient(180deg, transparent, black 13%, black 87%, transparent);- mask-composite: intersect;-}-.feature-grid .language-art {- width: min(100%, 182px);- padding: 0;- margin: 0;- transform: none;-}-.feature-grid .dial-lock {- max-height: 100%;-}-@media (min-width: 761px) and (max-width: 1000px) {- .feature-grid {- --edge: 17px;- --gutter: 12px;- --min-card: 242px;- }-}-@media (max-width: 760px) {- .feature-grid {- --edge: 18px;- --gutter: 14px;- --min-copy: 10rem;- --min-card: 206px;- }-}-@media (max-width: 380px) {- .feature-grid {- --edge: 12px;- --gutter: 10px;- --min-card: 212px;- }-}-/* Give copy and art their own rows when both no longer fit side by side. */-@media (max-width: 359px) {- .feature-grid .feature-card { grid-template-columns: minmax(0, 1fr); }- .feature-grid .feature-visual { grid-area: 2 / 1; justify-self: center; width: min(100%, 11rem); height: 130px; }-}---.activity-board {- --pad: clamp(16px, 1.7vw, 26px);- font-variant-numeric: tabular-nums;-}-.oss-card {- min-width: 0;- isolation: isolate;- overflow: hidden;- background: var(--page);- border-radius: 7px;- box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hairline) 55%, transparent);- padding: var(--pad);- display: flex;- flex-direction: column;- align-items: flex-start;-}-@media (forced-colors: active) {- .oss-card { outline: 1px solid CanvasText; outline-offset: -1px; }-}-.oss-stat {- display: inline-flex;- flex-direction: column;- align-items: start;- position: relative;- z-index: 1;-}-.oss-figure {- display: flex;- align-items: center;- font-size: clamp(2.0625rem, 3.05vw, 2.875rem);- font-weight: 630;- line-height: 1;- letter-spacing: -0.06em;-}-.oss-calendar .oss-figure {- font-size: 1.875rem;-}-.oss-caption,-.oss-kicker {- font-size: .8125rem;- font-weight: 560;- line-height: 1.28;-}-.oss-caption {- margin-top: 4px;-}-.star-chart {- color: var(--link);-}-.chart-line {- fill: none;- stroke: currentColor;- stroke-width: 1.65;-}-.oss-week {- display: grid;- grid-template-columns: repeat(7, minmax(max-content, 1fr));- gap: 4px;-}-.week-day {- display: flex;- flex-direction: column;- align-items: center;- gap: 3px;-}-.week-day i {- height: 23px;- display: flex;- align-items: end;- justify-content: center;- width: 100%;- border-bottom: 1px solid var(--hairline);-}-.week-day b {- width: clamp(5px, 1.1vw, 16px);- background: var(--link);- opacity: 0.75;- border-radius: 2px 2px 0 0;-}-.week-day small,-.oss-latest time {- color: var(--reading);- font-size: .8125rem;-}-.activity-board {- grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);- grid-template-rows: minmax(102px, auto) minmax(48px, auto);-}-.activity-board .oss-card {- position: relative;- color: var(--ink);- text-decoration: none;- --inset: var(--pad);-}-.activity-board .card-arrow {- position: absolute;- right: var(--pad);- top: var(--arrow-top,var(--pad));- line-height: 0;-}-.activity-board .card-arrow svg {- height: 13px;- width: 13px;-}-.activity-board .oss-card:focus-visible {- z-index: 1;- outline: 2px solid var(--link);- outline-offset: -3px;-}-@media (hover: hover) {- .activity-board .oss-card:hover .card-arrow svg { color: var(--link); }-}-.activity-board .oss-card:focus-visible .card-arrow svg {- color: var(--link);-}-.activity-board .oss-history {- grid-row: span 2;- min-height: 165px;-}-.activity-board .oss-history .card-arrow {- position: static;- display: inline-flex;- vertical-align: middle;- margin-inline-start: 3px;-}-.activity-board .oss-calendar {- min-height: 0;- display: grid;- container: release-calendar / inline-size;- grid-template-columns: fit-content(42%) minmax(0, 1fr);- align-items: start;- padding-right: calc(var(--inset) + 13px);-}-.activity-board .oss-stat {- color: inherit;-}-.activity-board .oss-week {- place-self: end center;- width: min(100%, max(52cqi, 13rem));-}-/* Give seven weekday labels their own row when they cannot fit beside the count. */-@container release-calendar (max-width: 20rem) {- .oss-calendar .oss-week { grid-column: 1 / -1; justify-self: end; margin-block-start: .25rem; }-}-.activity-board .oss-latest {- --inset: 14px;- min-height: 0;- display: flex;- flex-direction: row;- align-items: center;- gap: 10px;- padding: 13px calc(var(--inset) + 20px) 13px var(--pad);-}-.activity-board .oss-latest strong {- margin: 0;- font-size: 1.25rem;-}-.activity-board .oss-latest time {- display: inline-flex;- align-items: center;- gap: 5px;- margin-left: auto;- border-radius: 999px;- background: var(--panel);- color: var(--reading);- padding: 4px 7px;- line-height: 1.2;- font-size: .8125rem;-}-.activity-board time[data-recent='true'] {- position: relative;-}-.activity-board time[data-recent='true']::before {- content: '';- width: 5px;- height: 5px;- border-radius: 50%;- background: var(--link);- flex: none;-}-.activity-board .star-plot {- position: absolute;- inset: 29% 0 0 13.5%;- pointer-events: none;- z-index: -1;-}-.activity-board .star-plot svg {- position: absolute;- inset: 0;- height: 100%;- width: 100%;- display: block;- overflow: visible;- pointer-events: none;-}-.chart-clip {transform-origin: 0 0}-@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {- .chart-clip {transform:scaleX(0)}- #progress:not([data-stars]) .stat-value {visibility: hidden}-}-@media (min-width: 761px) and (max-width: 965px) {- .activity-board .oss-latest {- flex-wrap: wrap;- gap: 4px 8px;- }- .activity-board .oss-latest time {- margin-left: 0;- }-}-@media (max-width: 760px) {- .activity-board {- grid-template-columns: minmax(0, 1fr);- grid-template-rows: auto;- }- .activity-board .oss-history {- grid-row: auto;- min-height: 130px;- }- .activity-board .oss-calendar {- min-height: 90px;- }- .activity-board .oss-latest {- --inset: 10px;- min-height: 46px;- padding-block: 10px;- gap: 7px;- }- .activity-board .oss-latest strong {- font-size: 1rem;- }-}-@media (max-width: 365px) {- .activity-board .oss-latest {- flex-wrap: wrap;- gap: 3px 8px;- }- .activity-board .oss-latest time {- margin-left: 0;- }-}--.hero .hero-copy {- padding-block: 40px !important;-}-.hero .demo-play {- margin: 0;-}-.section-wrap:is(.app-features, .open-progress),-.faq-section {- padding-top: 128px;-}-.faq-section {- padding-bottom: 128px;-}-.faq-cards {- --card-gap: 7px;- display: grid;- gap: var(--card-gap);- padding: var(--card-gap);- background: var(--panel);- border-radius: calc(7px + var(--card-gap) + 1px);-}-.faq-cards details {- min-width: 0;- background: var(--page);- border-radius: 7px;-}-.faq-cards summary {- display: grid;- grid-template-columns: minmax(0, 1fr) 14px;- gap: 16px;- align-items: center;- min-height: 56px;- padding: 14px 20px;- color: var(--ink);- font-size: var(--prose-size);- line-height: 1.45;- font-weight: var(--reading-weight);- cursor: pointer;- text-wrap: balance;- list-style: none;-}-.faq-cards summary::-webkit-details-marker { display: none; }-.faq-cards summary:focus-visible {- border-radius: 7px;- outline: 2px solid var(--link);- outline-offset: -3px;-}-.faq-cards .tour-plus { line-height: 1; color: var(--ink); }-.faq-cards .tour-plus::before { content: '+'; }-.faq-cards details[open] .tour-plus::before { content: '−'; }-.faq-cards summary:focus-visible .tour-plus { color: var(--link); }-@media (hover: hover) {- .faq-cards summary:hover .tour-plus { color: var(--link); }-}-.faq-cards details::details-content {- display: grid;- grid-template-rows: 0fr;-}-.faq-cards details[open]::details-content { grid-template-rows: 1fr; }-.faq-answer {- min-height: 0;- overflow: hidden;- opacity: 0;- visibility: hidden;-}-.faq-cards details[open] .faq-answer { opacity: 1; visibility: inherit; }-.faq-answer p {- box-sizing: content-box;- max-width: var(--prose-measure);- margin: 0;- padding: 0 20px 18px;- color: var(--reading);- font-size: var(--prose-size);- line-height: var(--prose-leading);- overflow-wrap: anywhere;-}-@media (prefers-reduced-motion: no-preference) {- .faq-cards details::details-content {- transition: grid-template-rows 240ms ease-out, content-visibility 240ms allow-discrete;- }- .faq-cards details[open] .faq-answer {- transition: opacity 120ms ease-out 70ms;- }-}-@media (max-width: 760px) {- .faq-cards { --card-gap: 6px; }- .faq-cards summary { min-height: 52px; padding: 14px 16px; }- .faq-answer p { padding: 0 16px 16px; }-}-.site-footer {- margin-top: 24px;-}-[data-theme='light'] .dial-index path {- stroke: #89838f;- stroke-width: 1.9;-}-[data-theme='dark'] .dial-lock line {- stroke: #71717c;-}-[data-theme='dark'] .material-art {- --color-white: #55555e;- --color-ink-50: #3d3d44;- --color-ink-100: #303036;- --color-ink-200: #25252b;- --color-ink-300: #707079;- --color-surface-raised: #34343b;-}-@media (max-width: 760px) {- .hero .hero-copy {- padding-block: 24px 32px !important;- }- .site-header nav .nav-download {- display: inline-flex !important;- }- .section-wrap:is(.app-features, .open-progress),- .faq-section {- padding-top: 88px;- }- .faq-section { padding-bottom: 88px; }-}--/* The same renderer supplies the initial frame and the complete reduced-motion still. */-.tour-frame[data-fragment='transcript'] {- --rest: url('/marketing/stills/fragment-transcript-desktop.webp');- --night: url('/marketing/stills/fragment-transcript-dark-desktop.webp');-}-.tour-frame[data-fragment='summary'] {- --rest: url('/marketing/stills/fragment-summary-desktop.webp');- --night: url('/marketing/stills/fragment-summary-dark-desktop.webp');-}-.tour-frame[data-fragment='ask'] {- --rest: url('/marketing/stills/fragment-ask-desktop.webp');- --night: url('/marketing/stills/fragment-ask-dark-desktop.webp');-}-.tour-frame:not([data-ready]) {- background: var(--rest) center/contain no-repeat;-}-[data-theme='dark'] .tour-frame:not([data-ready]) {- background-image: var(--night);-}--@media (max-width: 760px) {- .tour-frame {- height: 280px;- container-type: inline-size;- }- .tour-frame iframe {- left: 50%;- right: auto;- width: max(100%, 320px);- height: 280px;- transform: translateX(-50%) scale(min(1, tan(atan2(100cqw, 320px))));- transform-origin: 50% 50%;- }- .tour-frame[data-fragment='transcript'] {- --rest: url('/marketing/stills/fragment-transcript-phone.webp');- --night: url('/marketing/stills/fragment-transcript-dark-phone.webp');- }- .tour-frame[data-fragment='summary'] {- --rest: url('/marketing/stills/fragment-summary-phone.webp');- --night: url('/marketing/stills/fragment-summary-dark-phone.webp');- }- .tour-frame[data-fragment='ask'] {- --rest: url('/marketing/stills/fragment-ask-phone.webp');- --night: url('/marketing/stills/fragment-ask-dark-phone.webp');- }-}--.modal-open {- overflow: hidden;-}-.demo-dialog::backdrop {- background: rgb(0 0 0 / 0.65);-}-.demo-dialog .demo-player .demo-close {- z-index: 2;-}---.hero-actions {--ai-base:var(--brand)}-.site-footer .footer-field {filter:drop-shadow(0 2px 2px rgb(24 13 40 / 10%))}-.site-footer .footer-field-base {stroke:rgb(255 255 255 / 20%);stroke-width:1.25px}-.site-footer .footer-dock-art>rect[stroke] {stroke:rgb(255 255 255 / 22%)}--.site-header nav .nav-stars {font-size:var(--ui-size);letter-spacing:-.01em}-:root[data-theme] .site-header nav .nav-stars,-:root[data-theme] .site-header nav .nav-stars:is(:visited,:active),-:root[data-theme] .site-header nav .nav-stars span {color:inherit}-@media (hover: hover) { :root[data-theme] .site-header nav .nav-stars:hover {color:inherit} }-.site-header nav .nav-stars span {font-size:inherit}-.hero-copy>p .hero-wrap {text-wrap:balance}-.tour-plus {font-size:20px;font-weight:400}-.tour-item[data-selected=true] .tour-plus {color:var(--link)}-.tour-number {line-height:1;border-radius:50%}-.section-intro .quiet-link {font-weight:500}-.feature-copy .quiet-link {color:var(--ink);text-decoration:none}-.quiet-link .link-label {white-space:nowrap}-.quiet-link .link-chevron {color:currentColor}-.oss-caption,.oss-kicker {letter-spacing:-.016em}-.oss-kicker {color:var(--reading)}-.activity-board .oss-latest strong {font-weight:630;line-height:1;letter-spacing:-.045em}-.week-day small {line-height:1.3}-.chart-line {stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}-@media (hover: hover) { :root[data-theme=dark] .faq-story .faq-list details:hover {background:transparent} }-:root[data-theme=dark] .faq-story .faq-list details {background:transparent}-:root[data-theme=light] .faq-story .faq-list p {color:#72727c}-@media(max-width:760px){- .site-header nav .nav-stars {gap:5px}.site-header .nav-stars svg{width:15px;height:15px}- .hero-copy .yc-pill {margin-bottom:18px}- .section-intro {margin-bottom:24px}- .section-intro h2,.faq-story h2 {font-size:1.625rem;line-height:1.25}- .tour-item button {font-size:1.0625rem}- .feature-copy h3 {font-size:1.0625rem}- .activity-board {--pad:12px}- .oss-figure {font-size:2.25rem}.oss-calendar .oss-figure {font-size:1.625rem}- .oss-week {gap:2px}-}-@media(max-width:360px){.feature-copy .quiet-link{font-size:10px;gap:2px}.link-chevron{width:10px;height:10px}}--.feature-copy>*:last-child {margin-bottom:0}--.activity-board .oss-latest {- --arrow-top:auto;flex-wrap:wrap;align-items:center;justify-content:space-between;- column-gap:8px;row-gap:4px;padding:10px var(--pad);-}-.release-version,.release-status {display:inline-flex;align-items:baseline;gap:7px}-.release-version {white-space:nowrap}-.release-status {align-items:center;margin-left:auto;padding-right:21px}-.activity-board .release-status time {margin:0;white-space:nowrap}-.activity-board .release-status .card-arrow {align-self:center}-@keyframes release-pulse {- 0% {opacity:0;transform:scale(1)}- 8% {opacity:.68;transform:scale(1)}- 50%,100% {opacity:0;transform:scale(2.65)}-}-@media (prefers-reduced-motion: no-preference) {- .activity-board time[data-recent=true]::after {- content: '';- position: absolute;- inset-inline-start: 7px;- top: calc(50% - 2.5px);- width: 5px;- height: 5px;- box-sizing: border-box;- border: 1px solid var(--link);- border-radius: 50%;- pointer-events: none;- opacity: 0;- animation: release-pulse 3.6s var(--ease-enter) infinite;- animation-play-state: paused;- }- .activity-board time[data-pulsing=true]::after {animation-play-state: running}-}--.site-header .nav-stars span {inline-size:5ch;font-variant-numeric:tabular-nums;text-align:end}-.activity-board .release-status time {box-sizing:border-box;inline-size:13.6em}-.release-version {flex:1 0 auto;max-inline-size:100%;flex-wrap:wrap}-.release-version strong {min-inline-size:0;white-space:normal;overflow-wrap:anywhere}-.release-status {flex:none}-@media (max-width:760px) {- .activity-board .release-status time {inline-size:auto}-}--/* Soften the text alongside the pill, then return to sharp type below it. */-.sticky-header::before {- content: '';- position: absolute;- inset: 0 0 auto;- height: var(--nav-height);- pointer-events: none;- background: linear-gradient(to bottom, var(--page), transparent);- opacity: 0;- visibility: hidden;- transition: opacity 180ms ease-out, visibility 0s 180ms;-}-@supports ((mask-image: linear-gradient(black, transparent)) or (-webkit-mask-image: linear-gradient(black, transparent))) {- .sticky-header::before {- background: var(--page);- background: color-mix(in srgb, var(--page) 78%, transparent);- -webkit-backdrop-filter: blur(3px);- backdrop-filter: blur(3px);- --nav-fade: linear-gradient(to bottom, #000 0%, rgb(0 0 0 / 88%) 43%, rgb(0 0 0 / 44%) 73%, transparent 100%);- -webkit-mask-image: var(--nav-fade);- mask-image: var(--nav-fade);- }-}-.sticky-header[data-floating]::before {- opacity: 1;- visibility: visible;- transition-delay: 0s;-}-.sticky-header[data-floating] .nav-surface { filter: drop-shadow(0 2px 4px rgb(20 19 24 / 8%)); }-:root[data-theme='dark'] .sticky-header[data-floating] .nav-surface { filter: drop-shadow(0 2px 4px rgb(0 0 0 / 30%)); }-@media (prefers-reduced-motion: reduce) {- .sticky-header::before { transition: none; }-}-@media (prefers-reduced-transparency: reduce), (forced-colors: active) {- .sticky-header::before { display: none; }-}--/* Editorial text shared by the letter and release archive. */-.site-footer .footer-column h3 {- font-size: var(--caption-size);- line-height: 1.5;- font-weight: 600;- letter-spacing: .1em;- text-transform: uppercase;-}-.reading-shell {- display: flex;- flex-direction: column;- min-height: 100vh;- min-height: 100dvh;-}-.reading-shell > .reading-page { flex: 1 0 auto; }-.reading-page {- inline-size: min(52rem, calc(100% - 2.5rem));- margin-inline: auto;- padding-block-start: clamp(2.25rem, 5vw, 5rem);-}-.page-header, .updates-column {- max-inline-size: 41.75rem;- margin-inline: auto;-}-.page-header { text-align: start; margin-block-end: var(--paragraph-gap); }-.reading-page, .release-card ul {- font-size: var(--prose-size);- line-height: var(--prose-leading);- letter-spacing: normal;- color: var(--ink);-}-.release-card li {- max-inline-size: var(--prose-measure);-}-.page-header h1, .release-stack > .release-card .release-heading {- font-size: 1.5rem;- line-height: 1.25;- font-weight: var(--reading-weight);- letter-spacing: -.3px;-}-.page-header h1 {- font-family: Bricolage, sans-serif;- font-weight: 600;- margin: 0;-}-.release-batch .release-heading {- font-size: var(--prose-size);- line-height: var(--prose-leading);- font-weight: var(--reading-weight);- letter-spacing: -.2px;-}-.prose-link {- color: inherit;- text-decoration: underline;- text-decoration-thickness: 1px;- text-underline-offset: 4px;- text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);-}-.prose-link:focus-visible { text-decoration-color: currentColor; }-@media (hover: hover) {- .prose-link:hover { text-decoration-color: currentColor; }-}-@media (forced-colors: active) {- .prose-link { text-decoration-color: currentColor; }-}diff --git a/site/public/marketing/stars-data.mjs b/site/public/marketing/stars-data.mjsdeleted file mode 100644index d80c81cd..00000000--- a/site/public/marketing/stars-data.mjs+++ /dev/null@@ -1,31 +0,0 @@-export const repoAPI = 'https://api.github.com/repos/FrigadeHQ/yogurt'-const cacheKey = 'yogurt-github-activity-v1'-export const hour = 60 * 60 * 1000-const compact = new Intl.NumberFormat('en', {notation:'compact', maximumSignificantDigits:3})-export const navStars = count => count < 10000 ? count.toLocaleString('en') : compact.format(count)-const validCount = value => Number.isSafeInteger(value) && value >= 0-export const stableRelease = row => row && !row.draft && !row.prerelease &&- typeof row.tag_name === 'string' && /^v[\w.-]+$/.test(row.tag_name) && Number.isFinite(Date.parse(row.published_at))--export async function refreshSummary(built, { storage, getJSON, now = Date.now() }) {- let cached- try { cached = JSON.parse(storage.getItem(cacheKey)) } catch {}- const data = { ...built }- // A new deployment can be fresher than a visitor's cache, including after a failed request.- if (cached?.builtAt === built.capturedAt && Number.isFinite(cached.at) && now >= cached.at) {- const saved = cached.data- if (validCount(saved?.count)) data.count = saved.count- if (now - cached.at < hour) return data- }- // Keep one request per cache window, even after a rate limit.- function save() {- try { storage.setItem(cacheKey, JSON.stringify({ builtAt: built.capturedAt, at: now, data })) } catch {}- }- save()- try {- const repo = await getJSON(repoAPI)- if (validCount(repo?.stargazers_count)) data.count = repo.stargazers_count- } catch { /* Keep the cached or build-time star count. */ }- save()- return data-}diff --git a/site/public/marketing/stills/fragment-ask-dark-desktop.webp b/site/public/marketing/stills/fragment-ask-dark-desktop.webpdeleted file mode 100644index 4a97b1b8..00000000Binary files a/site/public/marketing/stills/fragment-ask-dark-desktop.webp and /dev/null differdiff --git a/site/public/marketing/stills/fragment-ask-dark-phone.webp b/site/public/marketing/stills/fragment-ask-dark-phone.webpdeleted file mode 100644index 99af36f8..00000000Binary files a/site/public/marketing/stills/fragment-ask-dark-phone.webp and /dev/null differdiff --git a/site/public/marketing/stills/fragment-ask-desktop.webp b/site/public/marketing/stills/fragment-ask-desktop.webpdeleted file mode 100644index e96e30d2..00000000Binary files a/site/public/marketing/stills/fragment-ask-desktop.webp and /dev/null differdiff --git a/site/public/marketing/stills/fragment-ask-phone.webp b/site/public/marketing/stills/fragment-ask-phone.webpdeleted file mode 100644index abda56de..00000000Binary files a/site/public/marketing/stills/fragment-ask-phone.webp and /dev/null differdiff --git a/site/public/marketing/stills/fragment-summary-dark-desktop.webp b/site/public/marketing/stills/fragment-summary-dark-desktop.webpdeleted file mode 100644index 92321c22..00000000Binary files a/site/public/marketing/stills/fragment-summary-dark-desktop.webp and /dev/null differdiff --git a/site/public/marketing/stills/fragment-summary-dark-phone.webp b/site/public/marketing/stills/fragment-summary-dark-phone.webpdeleted file mode 100644index 9e110634..00000000Binary files a/site/public/marketing/stills/fragment-summary-dark-phone.webp and /dev/null differdiff --git a/site/public/marketing/stills/fragment-summary-desktop.webp b/site/public/marketing/stills/fragment-summary-desktop.webpdeleted file mode 100644index 5d6b4e48..00000000Binary files a/site/public/marketing/stills/fragment-summary-desktop.webp and /dev/null differdiff --git a/site/public/marketing/stills/fragment-summary-phone.webp b/site/public/marketing/stills/fragment-summary-phone.webpdeleted file mode 100644index e54f1d8d..00000000Binary files a/site/public/marketing/stills/fragment-summary-phone.webp and /dev/null differdiff --git a/site/public/marketing/stills/fragment-transcript-dark-desktop.webp b/site/public/marketing/stills/fragment-transcript-dark-desktop.webpdeleted file mode 100644index a7862bd6..00000000Binary files a/site/public/marketing/stills/fragment-transcript-dark-desktop.webp and /dev/null differdiff --git a/site/public/marketing/stills/fragment-transcript-dark-phone.webp b/site/public/marketing/stills/fragment-transcript-dark-phone.webpdeleted file mode 100644index ed41878e..00000000Binary files a/site/public/marketing/stills/fragment-transcript-dark-phone.webp and /dev/null differdiff --git a/site/public/marketing/stills/fragment-transcript-desktop.webp b/site/public/marketing/stills/fragment-transcript-desktop.webpdeleted file mode 100644index bb2f5bac..00000000Binary files a/site/public/marketing/stills/fragment-transcript-desktop.webp and /dev/null differdiff --git a/site/public/marketing/stills/fragment-transcript-phone.webp b/site/public/marketing/stills/fragment-transcript-phone.webpdeleted file mode 100644index 5ddb1118..00000000Binary files a/site/public/marketing/stills/fragment-transcript-phone.webp and /dev/null differdiff --git a/site/public/marketing/stills/hero-desktop.webp b/site/public/marketing/stills/hero-desktop.webpdeleted file mode 100644index 28f68b40..00000000Binary files a/site/public/marketing/stills/hero-desktop.webp and /dev/null differdiff --git a/site/public/marketing/stills/hero-finished-desktop.webp b/site/public/marketing/stills/hero-finished-desktop.webpdeleted file mode 100644index 1815288e..00000000Binary files a/site/public/marketing/stills/hero-finished-desktop.webp and /dev/null differdiff --git a/site/public/marketing/stills/hero-light-answer.html b/site/public/marketing/stills/hero-light-answer.htmldeleted file mode 100644index 5faf9e4d..00000000--- a/site/public/marketing/stills/hero-light-answer.html+++ /dev/null@@ -1,75 +0,0 @@-<!doctype html>-<html class="main-window" data-ask-focused="false" data-marketing-theme="light" data-question-sent="true" data-ready="true" data-still="" data-typing="false" lang="en"><head><style data-tiptap-style="">.ProseMirror {- position: relative;-}--.ProseMirror {- word-wrap: break-word;- white-space: pre-wrap;- white-space: break-spaces;- -webkit-font-variant-ligatures: none;- font-variant-ligatures: none;- font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */-}--.ProseMirror [contenteditable="false"] {- white-space: normal;-}--.ProseMirror [contenteditable="false"] [contenteditable="true"] {- white-space: pre-wrap;-}--.ProseMirror pre {- white-space: pre-wrap;-}--img.ProseMirror-separator {- display: inline !important;- border: none !important;- margin: 0 !important;- width: 0 !important;- height: 0 !important;-}--.ProseMirror-gapcursor {- display: none;- pointer-events: none;- position: absolute;- margin: 0;-}--.ProseMirror-gapcursor:after {- content: "";- display: block;- position: absolute;- top: -2px;- width: 20px;- border-top: 1px solid black;- animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;-}--@keyframes ProseMirror-cursor-blink {- to {- visibility: hidden;- }-}--.ProseMirror-hideselection *::selection {- background: transparent;-}--.ProseMirror-hideselection *::-moz-selection {- background: transparent;-}--.ProseMirror-hideselection * {- caret-color: transparent;-}--.ProseMirror-focused .ProseMirror-gapcursor {- display: block;-}</style><meta charset="utf-8"/><meta content="noindex,nofollow" name="robots"/><meta content="default-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; base-uri 'none'; form-action 'none'" http-equiv="Content-Security-Policy"/><title>Launch planning · Yogurt</title><link href="/marketing/app/renderer.css" rel="stylesheet"/><style>html,body,#root{color-scheme:light}.note-primary-tabs [aria-selected="true"]{border-bottom-color:var(--primary)}.chat-panel{--chat-bottom:64px;--chat-height:440px}</style></head><body inert=""><div id="root"><div class="marketing-window"><div class="workspace" data-sidebar-motion="false" data-testid="workspace"><div class="workspace-window-bar"><div aria-hidden="true" class="workspace-drag-region drag" data-testid="titlebar"></div><button aria-controls="workspace-sidebar" aria-expanded="true" aria-keyshortcuts="Control+Meta+S" aria-label="Collapse sidebar" class="ghost-btn workspace-icon workspace-sidebar-toggle no-drag" data-testid="sidebar-collapse" title="Collapse sidebar (⌃⌘S)"><svg aria-hidden="true" class="sidebar-toggle-glyph rtl:-scale-x-100" data-icon="SidebarToggle" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><rect height="16" rx="4" width="18" x="3" y="4"></rect><rect class="sidebar-toggle-pane" fill="currentColor" height="9" rx="1" stroke="none" width="6" x="6.5" y="7.5"></rect></svg></button></div><div class="workspace-sidebar-gap" style="transition-property: width; transition-duration: 0ms; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); transition-delay: 0ms;"></div><div aria-label="Main navigation" class="workspace-sidebar" id="workspace-sidebar" role="complementary" style="transition-property: left, right, width; transition-duration: 0ms; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); transition-delay: 0ms;"><div class="workspace-sidebar-inner"><div class="sidebar-titlebar"></div><div class="workspace-sidebar-body"><button aria-label="Search" class="workspace-search no-drag" data-testid="search-open" title="Search (⌘K)"><svg aria-hidden="true" data-icon="Search" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><circle cx="10.5" cy="10.5" r="7"></circle><path d="M15.5 15.5 20.5 20.5"></path></svg><span>Search</span><kbd>⌘K</kbd></button><nav aria-label="Workspace"><button aria-label="Meetings" class="workspace-nav" data-sidebar="menu-button" data-testid="nav-home"><svg aria-hidden="true" data-icon="FileText" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M8 17H16" pathlength="1" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 13H12" pathlength="1" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5M20 10.6569V14C20 17.7712 20 19.6569 18.8284 20.8284C17.6569 22 15.7712 22 12 22C8.22876 22 6.34315 22 5.17157 20.8284C4 19.6569 4 17.7712 4 14V9.45584C4 6.21082 4 4.58831 4.88607 3.48933C5.06508 3.26731 5.26731 3.06508 5.48933 2.88607C6.58831 2 8.21082 2 11.4558 2C12.1614 2 12.5141 2 12.8372 2.11401C12.9044 2.13772 12.9702 2.165 13.0345 2.19575C13.3436 2.34355 13.593 2.593 14.0919 3.09188L18.8284 7.82843C19.4065 8.40649 19.6955 8.69552 19.8478 9.06306C20 9.4306 20 9.83935 20 10.6569Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg><span>Meetings</span></button><button aria-label="Ask" class="workspace-nav" data-sidebar="menu-button" data-testid="nav-chat"><svg aria-hidden="true" data-icon="MessageCircle" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M21.9598 12.9919C21.6856 17.2342 18.3536 20.6134 14.1706 20.8915C13.4574 20.9389 12.7285 21.001 12 21.001C10.4054 21.001 8.95127 20.8637 7.44544 20.2902C7.44544 20.2902 5.56108 21.7589 3.69962 21.4587C3.31009 21.3959 3.11532 21.3644 3.00091 21.1343C2.8865 20.9042 3.00788 20.6756 3.25063 20.2185C3.65964 19.4483 3.92248 18.6737 3.80076 17.8306C3.73703 17.3892 3.50433 16.9974 3.27644 16.6136L3.26529 16.5948C2.62637 15.5188 2.12462 14.2975 2.04024 12.9919C1.98659 12.1617 1.98659 11.3019 2.04024 10.4717C2.31441 6.22935 5.64639 2.85011 9.8294 2.57205C11.2536 2.47738 12.7435 2.47719 14.1706 2.57205C18.3536 2.85011 21.6856 6.22935 21.9598 10.4717C22.0134 11.3019 22.0134 12.1617 21.9598 12.9919Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.75 9.50098H12.25" pathlength="1" stroke="currentColor"></path><path d="M8.75 14.501H15.25" pathlength="1" stroke="currentColor"></path></svg><span>Ask</span></button></nav><div class="workspace-folder-label">Your workspace</div><nav aria-label="Folders" data-testid="sidebar-folders"><div aria-busy="false" class="loading-content" data-loading-phase="ready"><div class="loading-result"><div class="workspace-folder-list" data-testid="folder-reorder-list" style="overflow-anchor: none;"><div class="workspace-folder-item" data-folder="launch" data-moving="false" data-testid="sidebar-folder" style="z-index: unset; transform: none;"><button aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown" aria-label="Launch" class="workspace-nav" data-drop="false" data-sidebar="menu-button" data-testid="sidebar-folder-open"><span aria-hidden="true" class="folder-glyph" data-folder-color="violet" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span>Launch</span><small aria-label="{count} meetings" data-testid="sidebar-folder-count"></small></button><button aria-expanded="false" aria-haspopup="menu" aria-label="More for “Launch”" class="ghost-btn workspace-icon workspace-folder-more" data-testid="sidebar-folder-more" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="15" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div><div class="workspace-folder-item" data-folder="hiring" data-moving="false" data-testid="sidebar-folder" style="z-index: unset; transform: none;"><button aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown" aria-label="Hiring" class="workspace-nav" data-drop="false" data-sidebar="menu-button" data-testid="sidebar-folder-open"><span aria-hidden="true" class="folder-glyph" data-folder-color="teal" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span>Hiring</span><small aria-label="{count} meetings" data-testid="sidebar-folder-count"></small></button><button aria-expanded="false" aria-haspopup="menu" aria-label="More for “Hiring”" class="ghost-btn workspace-icon workspace-folder-more" data-testid="sidebar-folder-more" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="15" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div><div class="workspace-folder-item" data-folder="customer-calls" data-moving="false" data-testid="sidebar-folder" style="z-index: unset; transform: none;"><button aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown" aria-label="Customer calls" class="workspace-nav" data-drop="false" data-sidebar="menu-button" data-testid="sidebar-folder-open"><span aria-hidden="true" class="folder-glyph" data-folder-color="amber" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span>Customer calls</span><small aria-label="{count} meetings" data-testid="sidebar-folder-count"></small></button><button aria-expanded="false" aria-haspopup="menu" aria-label="More for “Customer calls”" class="ghost-btn workspace-icon workspace-folder-more" data-testid="sidebar-folder-more" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="15" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div></div></div></div><button aria-label="New folder" class="workspace-nav workspace-folder-new" data-sidebar="menu-button" data-testid="folder-create"><svg aria-hidden="true" class="lucide lucide-plus" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><span>New folder</span></button></nav></div><div class="workspace-sidebar-footer"><button aria-label="Trash" class="workspace-nav workspace-trash" data-sidebar="menu-button" data-testid="nav-trash"><svg aria-hidden="true" class="lucide lucide-trash lucide-trash-2" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M10 11v6"></path><path d="M14 11v6"></path><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"></path><path d="M3 6h18"></path><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path></svg><span>Trash</span></button><button aria-label="Settings" class="workspace-nav" data-sidebar="menu-button" data-testid="settings-open"><svg aria-hidden="true" data-icon="Settings" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5C13.933 8.5 15.5 10.067 15.5 12Z" stroke="currentColor"></path><path d="M21.011 14.0965C21.5329 13.9558 21.7939 13.8854 21.8969 13.7508C22 13.6163 22 13.3998 22 12.9669V11.0332C22 10.6003 22 10.3838 21.8969 10.2493C21.7938 10.1147 21.5329 10.0443 21.011 9.90358C19.0606 9.37759 17.8399 7.33851 18.3433 5.40087C18.4817 4.86799 18.5509 4.60156 18.4848 4.44529C18.4187 4.28902 18.2291 4.18134 17.8497 3.96596L16.125 2.98673C15.7528 2.77539 15.5667 2.66972 15.3997 2.69222C15.2326 2.71472 15.0442 2.90273 14.6672 3.27873C13.208 4.73448 10.7936 4.73442 9.33434 3.27864C8.95743 2.90263 8.76898 2.71463 8.60193 2.69212C8.43489 2.66962 8.24877 2.77529 7.87653 2.98663L6.15184 3.96587C5.77253 4.18123 5.58287 4.28891 5.51678 4.44515C5.45068 4.6014 5.51987 4.86787 5.65825 5.4008C6.16137 7.3385 4.93972 9.37763 2.98902 9.9036C2.46712 10.0443 2.20617 10.1147 2.10308 10.2492C2 10.3838 2 10.6003 2 11.0332V12.9669C2 13.3998 2 13.6163 2.10308 13.7508C2.20615 13.8854 2.46711 13.9558 2.98902 14.0965C4.9394 14.6225 6.16008 16.6616 5.65672 18.5992C5.51829 19.1321 5.44907 19.3985 5.51516 19.5548C5.58126 19.7111 5.77092 19.8188 6.15025 20.0341L7.87495 21.0134C8.24721 21.2247 8.43334 21.3304 8.6004 21.3079C8.76746 21.2854 8.95588 21.0973 9.33271 20.7213C10.7927 19.2644 13.2088 19.2643 14.6689 20.7212C15.0457 21.0973 15.2341 21.2853 15.4012 21.3078C15.5682 21.3303 15.7544 21.2246 16.1266 21.0133L17.8513 20.034C18.2307 19.8187 18.4204 19.711 18.4864 19.5547C18.5525 19.3984 18.4833 19.132 18.3448 18.5991C17.8412 16.6616 19.0609 14.6226 21.011 14.0965Z" stroke="currentColor" stroke-linecap="round"></path></svg><span>Settings</span></button><div class="workspace-brand"><span class="workspace-wordmark"><svg aria-label="Yogurt" class="shrink-0" data-testid="wordmark" height="25" role="img" viewbox="0 0 286 80" width="89.375"><path d="M21.528 8.111Q25.000 7.278 30.000 7.278L30.000 7.278Q35.000 7.278 45.833 7.833L56.667 8.389L56.667 8.389L56.111 20.056Q55.556 31.722 54.861 34.222L54.861 34.222Q54.167 36.722 53.472 37.556L53.472 37.556Q52.778 38.389 51.528 39.083L51.528 39.083Q50.278 39.778 44.028 40.889L44.028 40.889Q37.778 42.000 36.111 43.250L36.111 43.250Q34.444 44.500 33.889 45.750L33.889 45.750Q33.333 47.000 33.472 48.806L33.472 48.806Q33.611 50.611 34.583 52.417L34.583 52.417Q35.556 54.222 37.361 55.889L37.361 55.889Q39.167 57.556 40.694 58.250L42.222 58.944L42.222 58.944L42.361 59.778Q42.500 60.611 42.500 62.278L42.500 63.944L42.500 63.944L41.250 63.944Q40.000 63.944 35.139 62.972L35.139 62.972Q30.278 62.000 25.556 60.056L25.556 60.056Q20.833 58.111 18.194 56.306L18.194 56.306Q15.556 54.500 13.611 52.556L13.611 52.556Q11.667 50.611 10.278 48.667L10.278 48.667Q8.889 46.722 7.500 43.389L7.500 43.389Q6.111 40.056 5.556 36.861L5.556 36.861Q5.000 33.667 5.000 31.167L5.000 31.167Q5.000 28.667 5.417 26.028L5.417 26.028Q5.833 23.389 6.944 20.611L6.944 20.611Q8.056 17.833 9.444 15.889L9.444 15.889Q10.833 13.944 12.639 12.417L12.639 12.417Q14.444 10.889 16.250 9.917L16.250 9.917Q18.056 8.944 21.528 8.111L21.528 8.111Z M66.250 33.944Q68.611 33.667 72.639 33.667L72.639 33.667Q76.667 33.667 79.028 34.083L79.028 34.083Q81.389 34.500 83.889 35.611L83.889 35.611Q86.389 36.722 88.611 38.667L88.611 38.667Q90.833 40.611 92.083 42.694L92.083 42.694Q93.333 44.778 93.889 46.444L93.889 46.444Q94.444 48.111 94.861 51.306L94.861 51.306Q95.278 54.500 95.139 57.972L95.139 57.972Q95.000 61.444 94.444 64.222L94.444 64.222Q93.889 67.000 92.083 71.306L92.083 71.306Q90.278 75.611 89.028 77.278L89.028 77.278Q87.778 78.944 85.694 81.028L85.694 81.028Q83.611 83.111 80.694 85.194L80.694 85.194Q77.778 87.278 75.556 88.389L75.556 88.389Q73.333 89.500 71.111 90.333L71.111 90.333Q68.889 91.167 65.833 91.861L65.833 91.861Q62.778 92.556 59.028 92.833L55.278 93.111L55.278 93.111L55.278 89.222L55.278 89.222L56.944 88.528Q58.611 87.833 60.972 85.889L60.972 85.889Q63.333 83.944 64.444 81.722L64.444 81.722Q65.556 79.500 65.417 77.417L65.417 77.417Q65.278 75.333 64.722 74.639L64.722 74.639Q64.167 73.944 63.194 73.528L63.194 73.528Q62.222 73.111 56.667 72.972L56.667 72.972Q51.111 72.833 50.139 72.556L50.139 72.556Q49.167 72.278 48.472 71.583L48.472 71.583Q47.778 70.889 47.361 66.861L47.361 66.861Q46.944 62.833 46.944 57.833L46.944 57.833Q46.944 52.833 47.222 51.167L47.222 51.167Q47.500 49.500 48.611 46.722L48.611 46.722Q49.722 43.944 51.944 41.306L51.944 41.306Q54.167 38.667 56.667 37.139L56.667 37.139Q59.167 35.611 61.528 34.917L61.528 34.917Q63.889 34.222 66.250 33.944L66.250 33.944Z" style="fill: color-mix(in srgb, var(--primary), var(--accent));" transform="translate(0 5) scale(.65)"></path><path class="text-ink" d="M265 -179Q225 -179 184.0 -171.0Q143 -163 107.5 -146.5Q72 -130 48 -104L91 0Q120 -33 166.0 -50.0Q212 -67 259 -67Q314 -67 350.0 -44.5Q386 -22 405.0 25.0Q424 72 426 142L433 237H412Q402 169 379.0 126.5Q356 84 321.5 64.5Q287 45 241 45Q184 45 145.0 74.0Q106 103 86.5 160.0Q67 217 67 301V523H194V330Q194 236 217.0 193.5Q240 151 287 151Q312 151 333.0 164.5Q354 178 368.5 203.5Q383 229 391.5 267.0Q400 305 401 354V523H528V137Q528 74 517.5 23.5Q507 -27 486.0 -64.5Q465 -102 433.5 -128.0Q402 -154 360.0 -166.5Q318 -179 265 -179ZM875 -13Q798 -13 739.0 18.5Q680 50 646.5 111.5Q613 173 613 263Q613 355 647.5 415.5Q682 476 741.0 506.0Q800 536 874 536Q951 536 1010.0 505.0Q1069 474 1103.0 412.5Q1137 351 1137 260Q1137 168 1103.0 107.0Q1069 46 1009.5 16.5Q950 -13 875 -13ZM880 83Q922 83 951.0 102.5Q980 122 995.5 161.0Q1011 200 1011 254Q1011 311 994.5 351.5Q978 392 947.5 414.0Q917 436 871 436Q831 436 801.0 416.5Q771 397 755.5 359.0Q740 321 740 265Q740 177 777.5 130.0Q815 83 880 83ZM1428 -180Q1343 -180 1288.5 -167.0Q1234 -154 1208.0 -128.0Q1182 -102 1182 -64Q1182 -18 1218.5 11.5Q1255 41 1327 48V68Q1273 67 1245.0 79.5Q1217 92 1217 120Q1217 147 1244.5 168.0Q1272 189 1336 203V223Q1275 226 1241.0 261.5Q1207 297 1207 354Q1207 405 1235.0 444.0Q1263 483 1317.5 505.5Q1372 528 1450 528H1709V428L1545 452V430Q1607 420 1636.5 395.0Q1666 370 1666 327Q1666 286 1640.0 254.5Q1614 223 1564.5 205.5Q1515 188 1445 188Q1432 188 1417.0 189.0Q1402 190 1370 194Q1349 179 1336.0 167.5Q1323 156 1323 146Q1323 138 1333.0 132.5Q1343 127 1359.0 125.0Q1375 123 1390 123H1529Q1549 123 1580.5 120.0Q1612 117 1643.5 104.0Q1675 91 1696.5 63.0Q1718 35 1718 -16Q1718 -73 1685.5 -109.5Q1653 -146 1588.5 -163.0Q1524 -180 1428 -180ZM1439 -78Q1501 -78 1538.0 -71.0Q1575 -64 1591.0 -48.5Q1607 -33 1607 -9Q1607 13 1597.0 25.5Q1587 38 1571.5 43.0Q1556 48 1540.0 49.0Q1524 50 1513 50H1390Q1342 43 1322.5 23.0Q1303 3 1303 -21Q1303 -45 1319.0 -57.5Q1335 -70 1365.5 -74.0Q1396 -78 1439 -78ZM1442 257Q1494 257 1521.0 281.5Q1548 306 1548 346Q1548 389 1520.5 416.5Q1493 444 1441 444Q1389 444 1360.5 417.0Q1332 390 1332 348Q1332 321 1344.5 300.5Q1357 280 1381.5 268.5Q1406 257 1442 257ZM1968 -13Q1878 -13 1832.5 48.5Q1787 110 1787 235V523H1914V249Q1914 170 1938.0 131.0Q1962 92 2012 92Q2041 92 2063.0 106.5Q2085 121 2101.0 147.5Q2117 174 2126.5 209.0Q2136 244 2138 286V523H2264V215V0H2160L2162 165H2144Q2131 102 2107.5 63.0Q2084 24 2050.0 5.5Q2016 -13 1968 -13ZM2381 0V262V523H2487L2485 343H2503Q2512 407 2531.0 449.5Q2550 492 2584.0 513.5Q2618 535 2668 535Q2678 535 2689.5 534.0Q2701 533 2715 529L2710 396Q2694 402 2677.5 404.5Q2661 407 2647 407Q2608 407 2579.5 387.0Q2551 367 2533.5 330.5Q2516 294 2507 244V0ZM2961 -12Q2878 -12 2839.0 32.5Q2800 77 2800 171V422H2723L2725 522H2776Q2805 522 2819.0 531.0Q2833 540 2836 563L2848 639H2921V523H3059V418H2921V176Q2921 139 2938.5 122.0Q2956 105 2991 105Q3010 105 3028.5 109.5Q3047 114 3063 125V5Q3032 -5 3006.5 -8.5Q2981 -12 2961 -12Z" fill="currentColor" transform="translate(82 55) scale(.068 -.068)"></path></svg></span></div></div></div></div><div class="workspace-content"><header class="workspace-toolbar" data-note="true" data-recording-return="false"><div class="workspace-breadcrumb drag"><span class="workspace-history"><button aria-label="Back" class="ghost-btn workspace-icon no-drag" data-testid="nav-back" title="Back (⌘[)"><svg aria-hidden="true" class="lucide lucide-chevron-left rtl:-scale-x-100" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m15 18-6-6 6-6"></path></svg></button><button aria-label="Forward" class="ghost-btn workspace-icon no-drag" data-testid="nav-forward" disabled="" title="Forward (⌘])"><svg aria-hidden="true" class="lucide lucide-chevron-right rtl:-scale-x-100" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6"></path></svg></button></span><span aria-current="page" data-testid="workspace-heading" title="Launch planning">Launch planning</span></div><div class="workspace-toolbar-actions" id="workspace-actions"></div></header><div aria-busy="false" class="loading-content loading-note-frame" data-loading-phase="ready"><div class="loading-result"><div class="document-main relative flex h-full bg-bg" data-testid="note"><div class="note-topbar no-drag fixed end-4 top-[10px] z-[60]" data-testid="note-topbar"><div class="relative"><button aria-expanded="false" aria-haspopup="menu" aria-label="More" class="ghost-btn workspace-icon" data-testid="note-menu-button" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="17" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div></div><div class="note-layout relative flex min-w-0 flex-1 flex-col" data-tab-pointer="true"><header class="note-header note-page-width"><h1 class="note-title-type w-full font-sans" data-testid="note-title"><button class="note-title-btn -mx-1 max-w-full rounded-lg px-1 text-start" title="Rename">Launch planning</button></h1><div class="note-meta-row"><div class="note-metadata" data-testid="note-metadata"><div class="relative"><button aria-expanded="false" aria-haspopup="dialog" class="note-chip flex items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted" data-testid="note-date"><svg aria-hidden="true" class="lucide lucide-calendar-days" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M8 2v3"></path><path d="M16 2v3"></path><rect height="18" rx="2" width="18" x="3" y="3"></rect><path d="M3 9h18"></path><path d="M8 13h.01"></path><path d="M12 13h.01"></path><path d="M16 13h.01"></path><path d="M8 17h.01"></path><path d="M12 17h.01"></path><path d="M16 17h.01"></path></svg>Today</button></div><div class="relative"><button aria-expanded="false" aria-haspopup="dialog" class="note-chip flex items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted" data-testid="note-attendees" title="Kara Moore, Ray Mones, Lincoln Park, Charlotte Goode"><span class="flex items-center gap-1.5" data-testid="note-attendees-summary"><svg aria-hidden="true" class="lucide lucide-users" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path><path d="M16 3.128a4 4 0 0 1 0 7.744"></path><path d="M22 21v-2a4 4 0 0 0-3-3.87"></path><circle cx="9" cy="7" r="4"></circle></svg>Kara, Ray + 2</span></button></div><div class="relative"><button aria-expanded="false" aria-haspopup="menu" class="note-chip flex max-w-64 items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted" data-testid="note-folders" title="Launch"><span aria-hidden="true" class="folder-glyph" data-folder-color="violet" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span class="truncate" data-testid="note-folders-summary">Launch</span></button></div></div><div class="note-header-actions" data-testid="note-bar"><div aria-label="Meeting controls" class="note-recording-group" data-paused="false" data-recording="false" data-state="done" data-testid="note-state" role="group"><button aria-busy="false" aria-label="Resume recording" class="workspace-button note-resume-action" data-processing="false" data-testid="note-resume" title="Resume recording in this note"><span aria-hidden="true" class="swap"><span data-on="true"><svg data-icon="Mic" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14"><path d="M7 6.5C7 4.01472 9.01472 2 11.5 2C13.9853 2 16 4.01472 16 6.5V11.5C16 13.9853 13.9853 16 11.5 16C9.01472 16 7 13.9853 7 11.5V6.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.5 19H11.0828C7.57267 19 4.57706 16.4623 4 13M11.5 19H11.9172C15.4273 19 18.4229 16.4623 19 13M11.5 19V22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg></span><span data-on="false"><span class="summary-stop-icon"><svg data-icon="Loader" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14"><path d="M12 3V6" stroke="currentColor" stroke-linecap="round"></path><path d="M12 18V21" stroke="currentColor" stroke-linecap="round"></path><path d="M21 12L18 12" stroke="currentColor" stroke-linecap="round"></path><path d="M6 12L3 12" stroke="currentColor" stroke-linecap="round"></path><path d="M18.3635 5.63672L16.2422 7.75804" stroke="currentColor" stroke-linecap="round"></path><path d="M7.75804 16.2422L5.63672 18.3635" stroke="currentColor" stroke-linecap="round"></path><path d="M18.3635 18.3635L16.2422 16.2422" stroke="currentColor" stroke-linecap="round"></path><path d="M7.75804 7.75804L5.63672 5.63672" stroke="currentColor" stroke-linecap="round"></path></svg><span class="summary-stop-square"></span></span></span></span><span class="swap-text" data-resize="true"><span class="swap-in">Resume recording</span></span></button></div><div class="relative flex items-center gap-1.5"><span aria-atomic="true" aria-live="polite" class="pointer-events-none absolute end-0 top-full z-20 mt-2 flex w-max max-w-[min(280px,calc(100vw-48px))] items-start gap-1.5 rounded-md text-xs text-muted" data-testid="share-said" role="status"></span><button aria-expanded="false" aria-haspopup="menu" class="ghost-btn" data-state="idle" data-testid="share-button" title="Copy and export"><svg aria-hidden="true" data-icon="Copy" fill="none" height="13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="13"><path d="M7.5 14.5C7.5 11.2002 7.5 9.55025 8.52513 8.52513C9.55025 7.5 11.2002 7.5 14.5 7.5C17.7998 7.5 19.4497 7.5 20.4749 8.52513C21.5 9.55025 21.5 11.2002 21.5 14.5C21.5 17.7998 21.5 19.4497 20.4749 20.4749C19.4497 21.5 17.7998 21.5 14.5 21.5C11.2002 21.5 9.55025 21.5 8.52513 20.4749C7.5 19.4497 7.5 17.7998 7.5 14.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.5 16.5C6.10355 16.5 5.40533 16.5 4.84402 16.3036C3.83866 15.9518 3.0482 15.1613 2.69641 14.156C2.5 13.5947 2.5 12.8964 2.5 11.5V9.5C2.5 6.20017 2.5 4.55025 3.52513 3.52513C4.55025 2.5 6.20017 2.5 9.5 2.5H11.5C12.8964 2.5 13.5947 2.5 14.156 2.69641C15.1613 3.0482 15.9518 3.83866 16.3036 4.84402C16.5 5.40533 16.5 6.10355 16.5 7.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>Copy<svg aria-hidden="true" class="lucide lucide-chevron-down" fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="m6 9 6 6 6-6"></path></svg></button></div></div></div><div class="note-primary-tabs" data-summary-arriving="false"><div aria-label="Meeting view" class="contents" role="tablist"><button aria-controls="note-transcript-panel" aria-selected="false" data-testid="note-transcript-toggle" id="note-transcript-tab" role="tab" tabindex="-1"><svg aria-hidden="true" class="lucide lucide-audio-lines" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M2 10v3"></path><path d="M6 6v11"></path><path d="M10 3v18"></path><path d="M14 8v7"></path><path d="M18 5v13"></path><path d="M22 10v3"></path></svg>Transcript</button><button aria-controls="note-notes-panel" aria-selected="false" data-testid="note-notes-tab" data-version="enhanced" id="note-notes-tab" role="tab" tabindex="-1"><svg aria-hidden="true" class="lucide lucide-text-align-start lucide-text lucide-align-left" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M21 5H3"></path><path d="M15 12H3"></path><path d="M17 19H3"></path></svg>My notes</button><button aria-controls="note-notes-panel" aria-selected="true" data-testid="note-summary-tab" id="note-summary-tab" role="tab" tabindex="0"><svg aria-hidden="true" data-icon="Sparkles" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14"><path d="M15 2L15.5387 4.39157C15.9957 6.42015 17.5798 8.00431 19.6084 8.46127L22 9L19.6084 9.53873C17.5798 9.99569 15.9957 11.5798 15.5387 13.6084L15 16L14.4613 13.6084C14.0043 11.5798 12.4202 9.99569 10.3916 9.53873L8 9L10.3916 8.46127C12.4201 8.00431 14.0043 6.42015 14.4613 4.39158L15 2Z" stroke="currentColor" stroke-linejoin="round"></path><path d="M7 12L7.38481 13.7083C7.71121 15.1572 8.84275 16.2888 10.2917 16.6152L12 17L10.2917 17.3848C8.84275 17.7112 7.71121 18.8427 7.38481 20.2917L7 22L6.61519 20.2917C6.28879 18.8427 5.15725 17.7112 3.70827 17.3848L2 17L3.70827 16.6152C5.15725 16.2888 6.28879 15.1573 6.61519 13.7083L7 12Z" stroke="currentColor" stroke-linejoin="round"></path></svg>Summary</button></div><span aria-hidden="true" class="note-tab-indicator" data-testid="note-tab-indicator"></span></div></header><div class="note-reading-area"><div class="note-panels"><div class="note-reading-frame" data-active="false" data-generating="false" data-resetting="false"><div class="note-reading-clip"><section aria-labelledby="note-summary-tab" class="note-content note-notes-pane" data-orientation="vertical" data-slot="scroll-fade" id="note-notes-panel" role="tabpanel" style="overflow-y: auto; --scroll-fade-size: 20px; --scroll-fade-top: 0.0000; --scroll-fade-bottom: 0.0000; --scroll-fade-left: 0.0000; --scroll-fade-right: 0.0000;"><div class="note-page-width note-notes-body"><div class="" data-status="done" data-testid="note-enhanced"><div class="summary-rewrite" data-handoff="false" data-resetting="false" data-rewriting="false"><div class="summary-result"><div class="summary-surface" data-streaming="false" data-waiting="false"><svg aria-hidden="true" class="summary-ink-layer"><defs><filter color-interpolation-filters="sRGB" height="260%" id="_r_3_" width="160%" x="-30%" y="-80%"><fegaussianblur stddeviation=".9"></fegaussianblur><fecolormatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -8.5"></fecolormatrix></filter></defs><g class="summary-wash"></g></svg><div><div aria-label="Summary" aria-multiline="true" aria-readonly="false" class="tiptap ProseMirror note-prose outline-none enhanced" contenteditable="true" data-testid="note-enhanced-editor" dir="auto" role="textbox" spellcheck="true" style="opacity: 1;" tabindex="0" translate="no"><h2>Launch plan</h2><p>Publish the page Tuesday. Send the announcement Wednesday morning, after checking the links.</p><h2>Next steps</h2><ul><li><p><strong>Kara:</strong> Share the release notes draft Friday.</p></li><li><p><strong>Lincoln:</strong> Send the announcement Wednesday.</p></li><li><p><strong>You:</strong> Send Ray the asset list by Friday.</p></li></ul><h2>My reminders</h2><ul><li><p>Leave 30 minutes for a quiet QA pass.</p></li></ul></div></div><i aria-hidden="true" class="summary-heading-bar" hidden="" style="width: 142px; transform: scaleY(0.28); opacity: 0;"></i></div></div></div></div></div></section></div></div></div><dialog aria-labelledby="meeting-chat-title" class="chat-panel no-drag" data-testid="chat-panel" id="meeting-chat" open=""><div aria-hidden="true" class="chat-morph-surface"></div><div class="chat-panel-contents"><div aria-busy="false" class="ask-conversation"><header class="ask-conversation-head"><h2 id="meeting-chat-title" title="Launch date-Launch planning">Launch date</h2><div class="ask-header-actions"><button aria-expanded="false" aria-haspopup="menu" aria-label="More" class="ghost-btn workspace-icon ask-menu-trigger" data-testid="chat-menu" id="base-ui-_r_7_" tabindex="0" title="More" type="button"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="17" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button><button aria-label="Open in Ask" class="ghost-btn workspace-icon" data-testid="chat-expand" title="Open in Ask" type="button"><svg aria-hidden="true" class="lucide lucide-maximize-2" fill="none" height="15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="15" xmlns="http://www.w3.org/2000/svg"><path d="M15 3h6v6"></path><path d="m21 3-7 7"></path><path d="m3 21 7-7"></path><path d="M9 21H3v-6"></path></svg></button><button aria-label="Close" class="ghost-btn workspace-icon" data-testid="chat-close" title="Close" type="button"><svg aria-hidden="true" class="lucide lucide-x" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg></button></div></header><div class="ask-thread-wrap"><div class="ask-thread chat-history" data-orientation="vertical" data-slot="scroll-fade" style="overflow-y: auto; --scroll-fade-size: 20px; --scroll-fade-top: 0.0000; --scroll-fade-bottom: 0.0000; --scroll-fade-left: 0.0000; --scroll-fade-right: 0.0000;"><div class="ask-thread-content"><div aria-busy="false" class="loading-content" data-loading-phase="ready"><div class="loading-result"><div class="ask-turn" data-show-copy="true" data-status="done" data-testid="chat-turn"><p class="ask-question" data-testid="chat-question">When are we launching?</p><div class="note-prose chat-answer" data-testid="chat-answer" dir="auto"><p>The page goes live Tuesday.</p><p>Lincoln announces it <span class="citation-anchor">Wednesday.<span class="citation-group" data-single="true"><button aria-expanded="false" aria-haspopup="dialog" aria-label="Launch planning · Today" aria-pressed="false" class="source-citation" data-at="721500" data-base-ui-click-trigger="" data-meeting="sample-meeting" data-testid="source-citation" id="_r_9_-citation-59-1" tabindex="0" type="button"><span class="source-name">Launch planning</span></button></span></span></p></div><div class="chat-answer-actions"><button aria-label="Copy answer" class="ghost-btn chat-copy-action" data-testid="chat-copy-answer"><span aria-hidden="true" class="swap"><span data-on="true"><svg data-icon="Copy" fill="none" height="13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="13"><path d="M7.5 14.5C7.5 11.2002 7.5 9.55025 8.52513 8.52513C9.55025 7.5 11.2002 7.5 14.5 7.5C17.7998 7.5 19.4497 7.5 20.4749 8.52513C21.5 9.55025 21.5 11.2002 21.5 14.5C21.5 17.7998 21.5 19.4497 20.4749 20.4749C19.4497 21.5 17.7998 21.5 14.5 21.5C11.2002 21.5 9.55025 21.5 8.52513 20.4749C7.5 19.4497 7.5 17.7998 7.5 14.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.5 16.5C6.10355 16.5 5.40533 16.5 4.84402 16.3036C3.83866 15.9518 3.0482 15.1613 2.69641 14.156C2.5 13.5947 2.5 12.8964 2.5 11.5V9.5C2.5 6.20017 2.5 4.55025 3.52513 3.52513C4.55025 2.5 6.20017 2.5 9.5 2.5H11.5C12.8964 2.5 13.5947 2.5 14.156 2.69641C15.1613 3.0482 15.9518 3.83866 16.3036 4.84402C16.5 5.40533 16.5 6.10355 16.5 7.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg></span><span data-on="false"><svg aria-hidden="true" class="lucide lucide-check" fill="none" height="13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="13" xmlns="http://www.w3.org/2000/svg"><path d="M20 6 9 17l-5-5"></path></svg></span></span><span class="swap-text" data-widest="Copied"><span class="swap-in">Copy</span></span></button><span class="chat-answer-scope" title="Launch planning">Searched <span class="ask-scope-label"><span class="ask-scope-name">Launch planning</span></span></span><span class="sr-only" role="status"></span></div></div></div></div></div></div></div><div class="ask-composer chat-composer"><div aria-busy="false" class="loading-content" data-loading-phase="ready"><div class="loading-result"><form class="ask-box" data-testid="chat-box"><div class="ask-field"><textarea aria-autocomplete="list" aria-expanded="false" aria-label="Ask anything" data-testid="chat-input" id="meeting-question" maxlength="4000" placeholder="Ask anything" role="combobox" rows="1"></textarea><div class="ask-box-actions"><span class="ask-scope-group"><button aria-expanded="false" aria-haspopup="dialog" aria-label="Choose meetings or folders" class="ask-scope" data-base-ui-click-trigger="" data-testid="ask-scope" id="base-ui-_r_2_" tabindex="0" title="Choose meetings or folders" type="button"><svg aria-hidden="true" class="lucide lucide-file-text" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"></path><path d="M14 2v5a1 1 0 0 0 1 1h5"></path><path d="M10 9H8"></path><path d="M16 13H8"></path><path d="M16 17H8"></path></svg><span class="ask-scope-label"><span class="ask-scope-name">Launch planning</span></span><svg aria-hidden="true" class="lucide lucide-chevron-down" fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="m6 9 6 6 6-6"></path></svg></button><button aria-label="Clear" class="ask-scope-clear" data-testid="ask-scope-clear" title="Clear" type="button"><svg aria-hidden="true" class="lucide lucide-x" fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg></button></span><button aria-label="Ask" class="ask-toolbar-button ask-send" data-testid="chat-send" disabled="" type="submit"><span aria-hidden="true" class="orb-material"></span><svg aria-hidden="true" class="lucide lucide-arrow-up" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m5 12 7-7 7 7"></path><path d="M12 19V5"></path></svg></button></div></div><svg aria-hidden="true" class="ask-tracer" viewbox="0 0 0 0"><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: 0; opacity: 0.0061558297024311365;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -1; opacity: 0.05449673790581606;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -2; opacity: 0.14644660940672624;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -3; opacity: 0.2730047501302265;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -4; opacity: 0.4217827674798846;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -5; opacity: 0.5782172325201153;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -6; opacity: 0.7269952498697734;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -7; opacity: 0.8535533905932737;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -8; opacity: 0.9455032620941839;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -9; opacity: 0.9938441702975689;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -10; opacity: 0.9938441702975689;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -11; opacity: 0.945503262094184;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -12; opacity: 0.8535533905932737;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -13; opacity: 0.7269952498697735;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -14; opacity: 0.5782172325201156;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -15; opacity: 0.4217827674798847;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -16; opacity: 0.2730047501302266;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -17; opacity: 0.14644660940672632;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -18; opacity: 0.05449673790581613;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -19; opacity: 0.0061558297024311565;" width="0" x="1" y="1"></rect></svg></form></div></div></div><p aria-live="polite" class="sr-only" data-testid="chat-announce">The page goes live Tuesday.--Lincoln announces it Wednesday.[1]</p></div></div></dialog></div><footer class="note-footer"><div class="note-footer-bar"><div class="note-status pointer-events-auto flex flex-wrap items-center gap-1.5 text-[11px] text-muted"><p class="flex items-center gap-1.5" data-state="saved" data-testid="note-save-status" role="status"><svg aria-hidden="true" class="lucide lucide-lock" fill="none" height="10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="10" xmlns="http://www.w3.org/2000/svg"><rect height="11" rx="2" ry="2" width="18" x="3" y="11"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg><span>Saved on this Mac</span></p><span aria-hidden="true">·</span><span data-testid="note-duration">12 min</span><span aria-hidden="true">·</span>Yogurt can make mistakes.</div><button aria-controls="meeting-chat" aria-expanded="true" class="workspace-button chat-trigger" data-testid="chat-open" id="meeting-ask" title="Ask Yogurt (⌘J)" type="button"><svg aria-hidden="true" data-icon="MessageCircle" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M21.9598 12.9919C21.6856 17.2342 18.3536 20.6134 14.1706 20.8915C13.4574 20.9389 12.7285 21.001 12 21.001C10.4054 21.001 8.95127 20.8637 7.44544 20.2902C7.44544 20.2902 5.56108 21.7589 3.69962 21.4587C3.31009 21.3959 3.11532 21.3644 3.00091 21.1343C2.8865 20.9042 3.00788 20.6756 3.25063 20.2185C3.65964 19.4483 3.92248 18.6737 3.80076 17.8306C3.73703 17.3892 3.50433 16.9974 3.27644 16.6136L3.26529 16.5948C2.62637 15.5188 2.12462 14.2975 2.04024 12.9919C1.98659 12.1617 1.98659 11.3019 2.04024 10.4717C2.31441 6.22935 5.64639 2.85011 9.8294 2.57205C11.2536 2.47738 12.7435 2.47719 14.1706 2.57205C18.3536 2.85011 21.6856 6.22935 21.9598 10.4717C22.0134 11.3019 22.0134 12.1617 21.9598 12.9919Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.75 9.50098H12.25" pathlength="1" stroke="currentColor"></path><path d="M8.75 14.501H15.25" pathlength="1" stroke="currentColor"></path></svg><span>Ask Yogurt</span><kbd aria-hidden="true">⌘J</kbd></button></div></footer></div></div></div></div></div></div><div class="marketing-traffic"><i></i><i></i><i></i></div></div></div><div></div></body></html>diff --git a/site/public/marketing/stills/hero-light-arrival.html b/site/public/marketing/stills/hero-light-arrival.htmldeleted file mode 100644index 64433a6c..00000000--- a/site/public/marketing/stills/hero-light-arrival.html+++ /dev/null@@ -1,72 +0,0 @@-<!doctype html>-<html class="main-window" data-ask-focused="false" data-marketing-theme="light" data-ready="true" data-still="" data-typing="false" lang="en"><head><style data-tiptap-style="">.ProseMirror {- position: relative;-}--.ProseMirror {- word-wrap: break-word;- white-space: pre-wrap;- white-space: break-spaces;- -webkit-font-variant-ligatures: none;- font-variant-ligatures: none;- font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */-}--.ProseMirror [contenteditable="false"] {- white-space: normal;-}--.ProseMirror [contenteditable="false"] [contenteditable="true"] {- white-space: pre-wrap;-}--.ProseMirror pre {- white-space: pre-wrap;-}--img.ProseMirror-separator {- display: inline !important;- border: none !important;- margin: 0 !important;- width: 0 !important;- height: 0 !important;-}--.ProseMirror-gapcursor {- display: none;- pointer-events: none;- position: absolute;- margin: 0;-}--.ProseMirror-gapcursor:after {- content: "";- display: block;- position: absolute;- top: -2px;- width: 20px;- border-top: 1px solid black;- animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;-}--@keyframes ProseMirror-cursor-blink {- to {- visibility: hidden;- }-}--.ProseMirror-hideselection *::selection {- background: transparent;-}--.ProseMirror-hideselection *::-moz-selection {- background: transparent;-}--.ProseMirror-hideselection * {- caret-color: transparent;-}--.ProseMirror-focused .ProseMirror-gapcursor {- display: block;-}</style><meta charset="utf-8"/><meta content="noindex,nofollow" name="robots"/><meta content="default-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; base-uri 'none'; form-action 'none'" http-equiv="Content-Security-Policy"/><title>Launch planning · Yogurt</title><link href="/marketing/app/renderer.css" rel="stylesheet"/><style>html,body,#root{color-scheme:light}.note-primary-tabs [aria-selected="true"]{border-bottom-color:var(--primary)}.chat-panel{--chat-bottom:64px;--chat-height:440px}</style></head><body inert=""><div id="root"><div class="marketing-window"><div class="workspace" data-sidebar-motion="false" data-testid="workspace"><div class="workspace-window-bar"><div aria-hidden="true" class="workspace-drag-region drag" data-testid="titlebar"></div><button aria-controls="workspace-sidebar" aria-expanded="true" aria-keyshortcuts="Control+Meta+S" aria-label="Collapse sidebar" class="ghost-btn workspace-icon workspace-sidebar-toggle no-drag" data-testid="sidebar-collapse" title="Collapse sidebar (⌃⌘S)"><svg aria-hidden="true" class="sidebar-toggle-glyph rtl:-scale-x-100" data-icon="SidebarToggle" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><rect height="16" rx="4" width="18" x="3" y="4"></rect><rect class="sidebar-toggle-pane" fill="currentColor" height="9" rx="1" stroke="none" width="6" x="6.5" y="7.5"></rect></svg></button></div><div class="workspace-sidebar-gap" style="transition-property: width; transition-duration: 0ms; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); transition-delay: 0ms;"></div><div aria-label="Main navigation" class="workspace-sidebar" id="workspace-sidebar" role="complementary" style="transition-property: left, right, width; transition-duration: 0ms; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); transition-delay: 0ms;"><div class="workspace-sidebar-inner"><div class="sidebar-titlebar"></div><div class="workspace-sidebar-body"><button aria-label="Search" class="workspace-search no-drag" data-testid="search-open" title="Search (⌘K)"><svg aria-hidden="true" data-icon="Search" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><circle cx="10.5" cy="10.5" r="7"></circle><path d="M15.5 15.5 20.5 20.5"></path></svg><span>Search</span><kbd>⌘K</kbd></button><nav aria-label="Workspace"><button aria-label="Meetings" class="workspace-nav" data-sidebar="menu-button" data-testid="nav-home"><svg aria-hidden="true" data-icon="FileText" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M8 17H16" pathlength="1" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 13H12" pathlength="1" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5M20 10.6569V14C20 17.7712 20 19.6569 18.8284 20.8284C17.6569 22 15.7712 22 12 22C8.22876 22 6.34315 22 5.17157 20.8284C4 19.6569 4 17.7712 4 14V9.45584C4 6.21082 4 4.58831 4.88607 3.48933C5.06508 3.26731 5.26731 3.06508 5.48933 2.88607C6.58831 2 8.21082 2 11.4558 2C12.1614 2 12.5141 2 12.8372 2.11401C12.9044 2.13772 12.9702 2.165 13.0345 2.19575C13.3436 2.34355 13.593 2.593 14.0919 3.09188L18.8284 7.82843C19.4065 8.40649 19.6955 8.69552 19.8478 9.06306C20 9.4306 20 9.83935 20 10.6569Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg><span>Meetings</span></button><button aria-label="Ask" class="workspace-nav" data-sidebar="menu-button" data-testid="nav-chat"><svg aria-hidden="true" data-icon="MessageCircle" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M21.9598 12.9919C21.6856 17.2342 18.3536 20.6134 14.1706 20.8915C13.4574 20.9389 12.7285 21.001 12 21.001C10.4054 21.001 8.95127 20.8637 7.44544 20.2902C7.44544 20.2902 5.56108 21.7589 3.69962 21.4587C3.31009 21.3959 3.11532 21.3644 3.00091 21.1343C2.8865 20.9042 3.00788 20.6756 3.25063 20.2185C3.65964 19.4483 3.92248 18.6737 3.80076 17.8306C3.73703 17.3892 3.50433 16.9974 3.27644 16.6136L3.26529 16.5948C2.62637 15.5188 2.12462 14.2975 2.04024 12.9919C1.98659 12.1617 1.98659 11.3019 2.04024 10.4717C2.31441 6.22935 5.64639 2.85011 9.8294 2.57205C11.2536 2.47738 12.7435 2.47719 14.1706 2.57205C18.3536 2.85011 21.6856 6.22935 21.9598 10.4717C22.0134 11.3019 22.0134 12.1617 21.9598 12.9919Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.75 9.50098H12.25" pathlength="1" stroke="currentColor"></path><path d="M8.75 14.501H15.25" pathlength="1" stroke="currentColor"></path></svg><span>Ask</span></button></nav><div class="workspace-folder-label">Your workspace</div><nav aria-label="Folders" data-testid="sidebar-folders"><div aria-busy="false" class="loading-content" data-loading-phase="ready"><div class="loading-result"><div class="workspace-folder-list" data-testid="folder-reorder-list" style="overflow-anchor: none;"><div class="workspace-folder-item" data-folder="launch" data-moving="false" data-testid="sidebar-folder" style="z-index: unset; transform: none;"><button aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown" aria-label="Launch" class="workspace-nav" data-drop="false" data-sidebar="menu-button" data-testid="sidebar-folder-open"><span aria-hidden="true" class="folder-glyph" data-folder-color="violet" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span>Launch</span><small aria-label="{count} meetings" data-testid="sidebar-folder-count"></small></button><button aria-expanded="false" aria-haspopup="menu" aria-label="More for “Launch”" class="ghost-btn workspace-icon workspace-folder-more" data-testid="sidebar-folder-more" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="15" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div><div class="workspace-folder-item" data-folder="hiring" data-moving="false" data-testid="sidebar-folder" style="z-index: unset; transform: none;"><button aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown" aria-label="Hiring" class="workspace-nav" data-drop="false" data-sidebar="menu-button" data-testid="sidebar-folder-open"><span aria-hidden="true" class="folder-glyph" data-folder-color="teal" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span>Hiring</span><small aria-label="{count} meetings" data-testid="sidebar-folder-count"></small></button><button aria-expanded="false" aria-haspopup="menu" aria-label="More for “Hiring”" class="ghost-btn workspace-icon workspace-folder-more" data-testid="sidebar-folder-more" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="15" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div><div class="workspace-folder-item" data-folder="customer-calls" data-moving="false" data-testid="sidebar-folder" style="z-index: unset; transform: none;"><button aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown" aria-label="Customer calls" class="workspace-nav" data-drop="false" data-sidebar="menu-button" data-testid="sidebar-folder-open"><span aria-hidden="true" class="folder-glyph" data-folder-color="amber" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span>Customer calls</span><small aria-label="{count} meetings" data-testid="sidebar-folder-count"></small></button><button aria-expanded="false" aria-haspopup="menu" aria-label="More for “Customer calls”" class="ghost-btn workspace-icon workspace-folder-more" data-testid="sidebar-folder-more" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="15" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div></div></div></div><button aria-label="New folder" class="workspace-nav workspace-folder-new" data-sidebar="menu-button" data-testid="folder-create"><svg aria-hidden="true" class="lucide lucide-plus" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><span>New folder</span></button></nav></div><div class="workspace-sidebar-footer"><button aria-label="Trash" class="workspace-nav workspace-trash" data-sidebar="menu-button" data-testid="nav-trash"><svg aria-hidden="true" class="lucide lucide-trash lucide-trash-2" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M10 11v6"></path><path d="M14 11v6"></path><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"></path><path d="M3 6h18"></path><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path></svg><span>Trash</span></button><button aria-label="Settings" class="workspace-nav" data-sidebar="menu-button" data-testid="settings-open"><svg aria-hidden="true" data-icon="Settings" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5C13.933 8.5 15.5 10.067 15.5 12Z" stroke="currentColor"></path><path d="M21.011 14.0965C21.5329 13.9558 21.7939 13.8854 21.8969 13.7508C22 13.6163 22 13.3998 22 12.9669V11.0332C22 10.6003 22 10.3838 21.8969 10.2493C21.7938 10.1147 21.5329 10.0443 21.011 9.90358C19.0606 9.37759 17.8399 7.33851 18.3433 5.40087C18.4817 4.86799 18.5509 4.60156 18.4848 4.44529C18.4187 4.28902 18.2291 4.18134 17.8497 3.96596L16.125 2.98673C15.7528 2.77539 15.5667 2.66972 15.3997 2.69222C15.2326 2.71472 15.0442 2.90273 14.6672 3.27873C13.208 4.73448 10.7936 4.73442 9.33434 3.27864C8.95743 2.90263 8.76898 2.71463 8.60193 2.69212C8.43489 2.66962 8.24877 2.77529 7.87653 2.98663L6.15184 3.96587C5.77253 4.18123 5.58287 4.28891 5.51678 4.44515C5.45068 4.6014 5.51987 4.86787 5.65825 5.4008C6.16137 7.3385 4.93972 9.37763 2.98902 9.9036C2.46712 10.0443 2.20617 10.1147 2.10308 10.2492C2 10.3838 2 10.6003 2 11.0332V12.9669C2 13.3998 2 13.6163 2.10308 13.7508C2.20615 13.8854 2.46711 13.9558 2.98902 14.0965C4.9394 14.6225 6.16008 16.6616 5.65672 18.5992C5.51829 19.1321 5.44907 19.3985 5.51516 19.5548C5.58126 19.7111 5.77092 19.8188 6.15025 20.0341L7.87495 21.0134C8.24721 21.2247 8.43334 21.3304 8.6004 21.3079C8.76746 21.2854 8.95588 21.0973 9.33271 20.7213C10.7927 19.2644 13.2088 19.2643 14.6689 20.7212C15.0457 21.0973 15.2341 21.2853 15.4012 21.3078C15.5682 21.3303 15.7544 21.2246 16.1266 21.0133L17.8513 20.034C18.2307 19.8187 18.4204 19.711 18.4864 19.5547C18.5525 19.3984 18.4833 19.132 18.3448 18.5991C17.8412 16.6616 19.0609 14.6226 21.011 14.0965Z" stroke="currentColor" stroke-linecap="round"></path></svg><span>Settings</span></button><div class="workspace-brand"><span class="workspace-wordmark"><svg aria-label="Yogurt" class="shrink-0" data-testid="wordmark" height="25" role="img" viewbox="0 0 286 80" width="89.375"><path d="M21.528 8.111Q25.000 7.278 30.000 7.278L30.000 7.278Q35.000 7.278 45.833 7.833L56.667 8.389L56.667 8.389L56.111 20.056Q55.556 31.722 54.861 34.222L54.861 34.222Q54.167 36.722 53.472 37.556L53.472 37.556Q52.778 38.389 51.528 39.083L51.528 39.083Q50.278 39.778 44.028 40.889L44.028 40.889Q37.778 42.000 36.111 43.250L36.111 43.250Q34.444 44.500 33.889 45.750L33.889 45.750Q33.333 47.000 33.472 48.806L33.472 48.806Q33.611 50.611 34.583 52.417L34.583 52.417Q35.556 54.222 37.361 55.889L37.361 55.889Q39.167 57.556 40.694 58.250L42.222 58.944L42.222 58.944L42.361 59.778Q42.500 60.611 42.500 62.278L42.500 63.944L42.500 63.944L41.250 63.944Q40.000 63.944 35.139 62.972L35.139 62.972Q30.278 62.000 25.556 60.056L25.556 60.056Q20.833 58.111 18.194 56.306L18.194 56.306Q15.556 54.500 13.611 52.556L13.611 52.556Q11.667 50.611 10.278 48.667L10.278 48.667Q8.889 46.722 7.500 43.389L7.500 43.389Q6.111 40.056 5.556 36.861L5.556 36.861Q5.000 33.667 5.000 31.167L5.000 31.167Q5.000 28.667 5.417 26.028L5.417 26.028Q5.833 23.389 6.944 20.611L6.944 20.611Q8.056 17.833 9.444 15.889L9.444 15.889Q10.833 13.944 12.639 12.417L12.639 12.417Q14.444 10.889 16.250 9.917L16.250 9.917Q18.056 8.944 21.528 8.111L21.528 8.111Z M66.250 33.944Q68.611 33.667 72.639 33.667L72.639 33.667Q76.667 33.667 79.028 34.083L79.028 34.083Q81.389 34.500 83.889 35.611L83.889 35.611Q86.389 36.722 88.611 38.667L88.611 38.667Q90.833 40.611 92.083 42.694L92.083 42.694Q93.333 44.778 93.889 46.444L93.889 46.444Q94.444 48.111 94.861 51.306L94.861 51.306Q95.278 54.500 95.139 57.972L95.139 57.972Q95.000 61.444 94.444 64.222L94.444 64.222Q93.889 67.000 92.083 71.306L92.083 71.306Q90.278 75.611 89.028 77.278L89.028 77.278Q87.778 78.944 85.694 81.028L85.694 81.028Q83.611 83.111 80.694 85.194L80.694 85.194Q77.778 87.278 75.556 88.389L75.556 88.389Q73.333 89.500 71.111 90.333L71.111 90.333Q68.889 91.167 65.833 91.861L65.833 91.861Q62.778 92.556 59.028 92.833L55.278 93.111L55.278 93.111L55.278 89.222L55.278 89.222L56.944 88.528Q58.611 87.833 60.972 85.889L60.972 85.889Q63.333 83.944 64.444 81.722L64.444 81.722Q65.556 79.500 65.417 77.417L65.417 77.417Q65.278 75.333 64.722 74.639L64.722 74.639Q64.167 73.944 63.194 73.528L63.194 73.528Q62.222 73.111 56.667 72.972L56.667 72.972Q51.111 72.833 50.139 72.556L50.139 72.556Q49.167 72.278 48.472 71.583L48.472 71.583Q47.778 70.889 47.361 66.861L47.361 66.861Q46.944 62.833 46.944 57.833L46.944 57.833Q46.944 52.833 47.222 51.167L47.222 51.167Q47.500 49.500 48.611 46.722L48.611 46.722Q49.722 43.944 51.944 41.306L51.944 41.306Q54.167 38.667 56.667 37.139L56.667 37.139Q59.167 35.611 61.528 34.917L61.528 34.917Q63.889 34.222 66.250 33.944L66.250 33.944Z" style="fill: color-mix(in srgb, var(--primary), var(--accent));" transform="translate(0 5) scale(.65)"></path><path class="text-ink" d="M265 -179Q225 -179 184.0 -171.0Q143 -163 107.5 -146.5Q72 -130 48 -104L91 0Q120 -33 166.0 -50.0Q212 -67 259 -67Q314 -67 350.0 -44.5Q386 -22 405.0 25.0Q424 72 426 142L433 237H412Q402 169 379.0 126.5Q356 84 321.5 64.5Q287 45 241 45Q184 45 145.0 74.0Q106 103 86.5 160.0Q67 217 67 301V523H194V330Q194 236 217.0 193.5Q240 151 287 151Q312 151 333.0 164.5Q354 178 368.5 203.5Q383 229 391.5 267.0Q400 305 401 354V523H528V137Q528 74 517.5 23.5Q507 -27 486.0 -64.5Q465 -102 433.5 -128.0Q402 -154 360.0 -166.5Q318 -179 265 -179ZM875 -13Q798 -13 739.0 18.5Q680 50 646.5 111.5Q613 173 613 263Q613 355 647.5 415.5Q682 476 741.0 506.0Q800 536 874 536Q951 536 1010.0 505.0Q1069 474 1103.0 412.5Q1137 351 1137 260Q1137 168 1103.0 107.0Q1069 46 1009.5 16.5Q950 -13 875 -13ZM880 83Q922 83 951.0 102.5Q980 122 995.5 161.0Q1011 200 1011 254Q1011 311 994.5 351.5Q978 392 947.5 414.0Q917 436 871 436Q831 436 801.0 416.5Q771 397 755.5 359.0Q740 321 740 265Q740 177 777.5 130.0Q815 83 880 83ZM1428 -180Q1343 -180 1288.5 -167.0Q1234 -154 1208.0 -128.0Q1182 -102 1182 -64Q1182 -18 1218.5 11.5Q1255 41 1327 48V68Q1273 67 1245.0 79.5Q1217 92 1217 120Q1217 147 1244.5 168.0Q1272 189 1336 203V223Q1275 226 1241.0 261.5Q1207 297 1207 354Q1207 405 1235.0 444.0Q1263 483 1317.5 505.5Q1372 528 1450 528H1709V428L1545 452V430Q1607 420 1636.5 395.0Q1666 370 1666 327Q1666 286 1640.0 254.5Q1614 223 1564.5 205.5Q1515 188 1445 188Q1432 188 1417.0 189.0Q1402 190 1370 194Q1349 179 1336.0 167.5Q1323 156 1323 146Q1323 138 1333.0 132.5Q1343 127 1359.0 125.0Q1375 123 1390 123H1529Q1549 123 1580.5 120.0Q1612 117 1643.5 104.0Q1675 91 1696.5 63.0Q1718 35 1718 -16Q1718 -73 1685.5 -109.5Q1653 -146 1588.5 -163.0Q1524 -180 1428 -180ZM1439 -78Q1501 -78 1538.0 -71.0Q1575 -64 1591.0 -48.5Q1607 -33 1607 -9Q1607 13 1597.0 25.5Q1587 38 1571.5 43.0Q1556 48 1540.0 49.0Q1524 50 1513 50H1390Q1342 43 1322.5 23.0Q1303 3 1303 -21Q1303 -45 1319.0 -57.5Q1335 -70 1365.5 -74.0Q1396 -78 1439 -78ZM1442 257Q1494 257 1521.0 281.5Q1548 306 1548 346Q1548 389 1520.5 416.5Q1493 444 1441 444Q1389 444 1360.5 417.0Q1332 390 1332 348Q1332 321 1344.5 300.5Q1357 280 1381.5 268.5Q1406 257 1442 257ZM1968 -13Q1878 -13 1832.5 48.5Q1787 110 1787 235V523H1914V249Q1914 170 1938.0 131.0Q1962 92 2012 92Q2041 92 2063.0 106.5Q2085 121 2101.0 147.5Q2117 174 2126.5 209.0Q2136 244 2138 286V523H2264V215V0H2160L2162 165H2144Q2131 102 2107.5 63.0Q2084 24 2050.0 5.5Q2016 -13 1968 -13ZM2381 0V262V523H2487L2485 343H2503Q2512 407 2531.0 449.5Q2550 492 2584.0 513.5Q2618 535 2668 535Q2678 535 2689.5 534.0Q2701 533 2715 529L2710 396Q2694 402 2677.5 404.5Q2661 407 2647 407Q2608 407 2579.5 387.0Q2551 367 2533.5 330.5Q2516 294 2507 244V0ZM2961 -12Q2878 -12 2839.0 32.5Q2800 77 2800 171V422H2723L2725 522H2776Q2805 522 2819.0 531.0Q2833 540 2836 563L2848 639H2921V523H3059V418H2921V176Q2921 139 2938.5 122.0Q2956 105 2991 105Q3010 105 3028.5 109.5Q3047 114 3063 125V5Q3032 -5 3006.5 -8.5Q2981 -12 2961 -12Z" fill="currentColor" transform="translate(82 55) scale(.068 -.068)"></path></svg></span></div></div></div></div><div class="workspace-content"><header class="workspace-toolbar" data-note="true" data-recording-return="false"><div class="workspace-breadcrumb drag"><span class="workspace-history"><button aria-label="Back" class="ghost-btn workspace-icon no-drag" data-testid="nav-back" title="Back (⌘[)"><svg aria-hidden="true" class="lucide lucide-chevron-left rtl:-scale-x-100" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m15 18-6-6 6-6"></path></svg></button><button aria-label="Forward" class="ghost-btn workspace-icon no-drag" data-testid="nav-forward" disabled="" title="Forward (⌘])"><svg aria-hidden="true" class="lucide lucide-chevron-right rtl:-scale-x-100" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6"></path></svg></button></span><span aria-current="page" data-testid="workspace-heading" title="Launch planning">Launch planning</span></div><div class="workspace-toolbar-actions" id="workspace-actions"></div></header><div aria-busy="false" class="loading-content loading-note-frame" data-loading-phase="ready"><div class="loading-result"><div class="document-main relative flex h-full bg-bg" data-testid="note"><div class="note-topbar no-drag fixed end-4 top-[10px] z-[60]" data-testid="note-topbar"><div class="relative"><button aria-expanded="false" aria-haspopup="menu" aria-label="More" class="ghost-btn workspace-icon" data-testid="note-menu-button" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="17" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div></div><div class="note-layout relative flex min-w-0 flex-1 flex-col" data-tab-pointer="false"><header class="note-header note-page-width"><h1 class="note-title-type w-full font-sans" data-testid="note-title"><button class="note-title-btn -mx-1 max-w-full rounded-lg px-1 text-start" title="Rename">Launch planning</button></h1><div class="note-meta-row"><div class="note-metadata" data-testid="note-metadata"><div class="relative"><button aria-expanded="false" aria-haspopup="dialog" class="note-chip flex items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted" data-testid="note-date"><svg aria-hidden="true" class="lucide lucide-calendar-days" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M8 2v3"></path><path d="M16 2v3"></path><rect height="18" rx="2" width="18" x="3" y="3"></rect><path d="M3 9h18"></path><path d="M8 13h.01"></path><path d="M12 13h.01"></path><path d="M16 13h.01"></path><path d="M8 17h.01"></path><path d="M12 17h.01"></path><path d="M16 17h.01"></path></svg>Today</button></div><div class="relative"><button aria-expanded="false" aria-haspopup="dialog" class="note-chip flex items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted" data-testid="note-attendees" title="Kara Moore, Ray Mones, Lincoln Park, Charlotte Goode"><span class="flex items-center gap-1.5" data-testid="note-attendees-summary"><svg aria-hidden="true" class="lucide lucide-users" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path><path d="M16 3.128a4 4 0 0 1 0 7.744"></path><path d="M22 21v-2a4 4 0 0 0-3-3.87"></path><circle cx="9" cy="7" r="4"></circle></svg>Kara, Ray + 2</span></button></div><div class="relative"><button aria-expanded="false" aria-haspopup="menu" class="note-chip flex max-w-64 items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted" data-testid="note-folders" title="Launch"><span aria-hidden="true" class="folder-glyph" data-folder-color="violet" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span class="truncate" data-testid="note-folders-summary">Launch</span></button></div></div><div class="note-header-actions" data-testid="rec-bar"><div aria-label="Recording" class="note-recording-group" data-paused="false" data-recording="true" data-state="recording" data-testid="note-state" role="group"><span class="note-recording-status"><svg aria-hidden="true" class="text-muted" height="14" width="15" xmlns="http://www.w3.org/2000/svg"><g fill="currentColor" opacity=".5"><circle cx="1.5" cy="7" r="1.5"></circle><circle cx="7.5" cy="7" r="1.5"></circle><circle cx="13.5" cy="7" r="1.5"></circle></g></svg><time aria-label="Recorded time" class="note-elapsed" data-testid="note-elapsed">12:00</time></span><button aria-label="Pause recording" class="note-record-action note-pause-action" data-testid="note-pause" title="Pause recording"><span aria-hidden="true" class="swap"><span data-on="true"><svg data-icon="Pause" fill="currentColor" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" viewbox="0 0 24 24" width="14"><path d="M4 7C4 5.58579 4 4.87868 4.43934 4.43934C4.87868 4 5.58579 4 7 4C8.41421 4 9.12132 4 9.56066 4.43934C10 4.87868 10 5.58579 10 7V17C10 18.4142 10 19.1213 9.56066 19.5607C9.12132 20 8.41421 20 7 20C5.58579 20 4.87868 20 4.43934 19.5607C4 19.1213 4 18.4142 4 17V7Z" stroke="currentColor"></path><path d="M14 7C14 5.58579 14 4.87868 14.4393 4.43934C14.8787 4 15.5858 4 17 4C18.4142 4 19.1213 4 19.5607 4.43934C20 4.87868 20 5.58579 20 7V17C20 18.4142 20 19.1213 19.5607 19.5607C19.1213 20 18.4142 20 17 20C15.5858 20 14.8787 20 14.4393 19.5607C14 19.1213 14 18.4142 14 17V7Z" stroke="currentColor"></path></svg></span><span data-on="false"><svg data-icon="Play" fill="currentColor" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" viewbox="0 0 24 24" width="14"><path d="M18.8906 12.846C18.5371 14.189 16.8667 15.138 13.5257 17.0361C10.296 18.8709 8.6812 19.7884 7.37983 19.4196C6.8418 19.2671 6.35159 18.9776 5.95624 18.5787C5 17.6139 5 15.7426 5 12C5 8.2574 5 6.3861 5.95624 5.42132C6.35159 5.02245 6.8418 4.73288 7.37983 4.58042C8.6812 4.21165 10.296 5.12907 13.5257 6.96393C16.8667 8.86197 18.5371 9.811 18.8906 11.154C19.0365 11.7084 19.0365 12.2916 18.8906 12.846Z" stroke="currentColor" stroke-linejoin="round"></path></svg></span></span></button><button aria-label="Finish recording" class="note-record-action note-finish-action primary" data-testid="note-stop" title="Finish recording">Finish</button></div><div class="relative flex items-center gap-1.5"><span aria-atomic="true" aria-live="polite" class="pointer-events-none absolute end-0 top-full z-20 mt-2 flex w-max max-w-[min(280px,calc(100vw-48px))] items-start gap-1.5 rounded-md text-xs text-muted" data-testid="share-said" role="status"></span><button aria-expanded="false" aria-haspopup="menu" class="ghost-btn" data-state="idle" data-testid="share-button" title="Copy and export"><svg aria-hidden="true" data-icon="Copy" fill="none" height="13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="13"><path d="M7.5 14.5C7.5 11.2002 7.5 9.55025 8.52513 8.52513C9.55025 7.5 11.2002 7.5 14.5 7.5C17.7998 7.5 19.4497 7.5 20.4749 8.52513C21.5 9.55025 21.5 11.2002 21.5 14.5C21.5 17.7998 21.5 19.4497 20.4749 20.4749C19.4497 21.5 17.7998 21.5 14.5 21.5C11.2002 21.5 9.55025 21.5 8.52513 20.4749C7.5 19.4497 7.5 17.7998 7.5 14.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.5 16.5C6.10355 16.5 5.40533 16.5 4.84402 16.3036C3.83866 15.9518 3.0482 15.1613 2.69641 14.156C2.5 13.5947 2.5 12.8964 2.5 11.5V9.5C2.5 6.20017 2.5 4.55025 3.52513 3.52513C4.55025 2.5 6.20017 2.5 9.5 2.5H11.5C12.8964 2.5 13.5947 2.5 14.156 2.69641C15.1613 3.0482 15.9518 3.83866 16.3036 4.84402C16.5 5.40533 16.5 6.10355 16.5 7.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>Copy<svg aria-hidden="true" class="lucide lucide-chevron-down" fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="m6 9 6 6 6-6"></path></svg></button></div></div></div><div class="note-primary-tabs" data-summary-arriving="false"><div aria-label="Meeting view" class="contents" role="tablist"><button aria-controls="note-transcript-panel" aria-selected="true" data-testid="note-transcript-toggle" id="note-transcript-tab" role="tab" tabindex="0"><svg aria-hidden="true" class="lucide lucide-audio-lines" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M2 10v3"></path><path d="M6 6v11"></path><path d="M10 3v18"></path><path d="M14 8v7"></path><path d="M18 5v13"></path><path d="M22 10v3"></path></svg>Transcript</button><button aria-controls="note-notes-panel" aria-selected="false" data-testid="note-notes-tab" data-version="mine" id="note-notes-tab" role="tab" tabindex="-1"><svg aria-hidden="true" class="lucide lucide-text-align-start lucide-text lucide-align-left" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M21 5H3"></path><path d="M15 12H3"></path><path d="M17 19H3"></path></svg>My notes</button></div><div class="note-primary-tools"><div class="transcript-toolbar" data-find-below="true"><div class="transcript-find" data-open="false"><button aria-controls="_r_2_" aria-expanded="false" aria-hidden="false" aria-label="Search the transcript" class="ghost-btn transcript-find-trigger" data-testid="transcript-find-open" tabindex="0" title="Search the transcript (⌘F)" type="button"><svg aria-hidden="true" class="lucide lucide-search" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m21 21-4.34-4.34"></path><circle cx="11" cy="11" r="8"></circle></svg></button><div aria-hidden="true" class="transcript-find-clip" id="_r_2_" inert=""><div class="transcript-search-field"><svg aria-hidden="true" class="lucide lucide-search shrink-0 text-muted" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m21 21-4.34-4.34"></path><circle cx="11" cy="11" r="8"></circle></svg><input aria-describedby="_r_1_" aria-label="Search the transcript" data-testid="transcript-search" placeholder="Search" spellcheck="false" value=""/><span class="transcript-find-controls"><span aria-hidden="true" class="transcript-find-results" data-visible="false" inert=""><span class="transcript-find-count"><span aria-hidden="true" class="transcript-find-reserve">99,999 of 99,999</span><span aria-hidden="true" class="transcript-find-reserve">No matches</span><span aria-atomic="true" aria-live="polite" data-testid="transcript-find-count" id="_r_1_" role="status"></span></span><span class="transcript-find-arrows"><button aria-keyshortcuts="Shift+Enter Meta+Shift+G" aria-label="Previous match" class="ghost-btn workspace-icon" data-testid="transcript-find-previous" disabled="" title="Previous match (⇧Enter · ⇧⌘G)" type="button"><svg aria-hidden="true" class="lucide lucide-chevron-up" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m18 15-6-6-6 6"></path></svg></button><button aria-keyshortcuts="Enter Meta+G" aria-label="Next match" class="ghost-btn workspace-icon" data-testid="transcript-find-next" disabled="" title="Next match (Enter · ⌘G)" type="button"><svg aria-hidden="true" class="lucide lucide-chevron-down" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m6 9 6 6 6-6"></path></svg></button></span></span><button aria-keyshortcuts="Escape" aria-label="Close" class="ghost-btn workspace-icon transcript-find-close" data-testid="transcript-find-close" title="Close (Esc)" type="button"><svg aria-hidden="true" class="lucide lucide-x" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg></button></span></div></div></div></div></div><span aria-hidden="true" class="note-tab-indicator" data-testid="note-tab-indicator"></span></div></header><div class="note-reading-area"><div class="note-panels"><div class="note-reading-frame" data-active="false" data-generating="false" data-resetting="false" hidden=""><div class="note-reading-clip"><section aria-labelledby="note-notes-tab" class="note-content note-notes-pane" data-orientation="vertical" data-slot="scroll-fade" id="note-notes-panel" role="tabpanel" style="overflow-y: auto;"><div class="note-page-width note-notes-body"><div class="summary-surface" data-streaming="false" data-waiting="false"><svg aria-hidden="true" class="summary-ink-layer"><defs><filter color-interpolation-filters="sRGB" height="260%" id="_r_0_" width="160%" x="-30%" y="-80%"><fegaussianblur stddeviation=".9"></fegaussianblur><fecolormatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -8.5"></fecolormatrix></filter></defs><g class="summary-wash"></g></svg><div><div aria-label="My notes" aria-multiline="true" aria-readonly="false" class="tiptap ProseMirror note-prose outline-none min-h-[40vh]" contenteditable="true" data-testid="note-mine" dir="auto" role="textbox" spellcheck="true" style="opacity: 1;" tabindex="0" translate="no"><ul><li><p>Leave 30 minutes for a quiet QA pass.</p></li></ul></div></div><i aria-hidden="true" class="summary-heading-bar" hidden="" style="width: 142px; transform: scaleY(0.28); opacity: 0;"></i></div></div></section></div></div><section aria-labelledby="note-transcript-tab" class="note-content note-transcript-pane" id="note-transcript-panel" role="tabpanel"><section aria-label="Transcript" class="transcript-inline" data-testid="transcript-panel" style="--playback-inset: 0px;"><div class="transcript-scroll-wrap relative flex min-h-0 flex-1 flex-col"><ol class="loading-content transcript-loading-content flex flex-1 flex-col gap-2 overflow-y-auto px-4 pb-4 pt-2 text-sm leading-[1.55]" data-loaded="true" data-loading-phase="ready" data-orientation="vertical" data-slot="scroll-fade" data-testid="transcript" style="overflow-y: auto; --scroll-fade-size: 20px; --scroll-fade-top: 0.0000; --scroll-fade-bottom: 0.0000; --scroll-fade-left: 0.0000; --scroll-fade-right: 0.0000;"><li class="transcript-turn flex flex-col gap-[5px] items-start" data-testid="transcript-turn" data-track="them"><p class="turn-head flex items-baseline gap-2 px-1 text-xs"><span class="line-who font-medium text-muted name-in" data-color="0" data-folder-color="violet" data-testid="transcript-who">Kara Moore</span><time class="turn-time tabular-nums text-muted">11:49</time></p><p class="bubble bubble-them" data-testid="transcript-bubble" data-track="them" dir="auto"><span class="line" data-key="them:709000" data-start="709000" data-testid="transcript-line" data-track="them" title="11:49"><span data-testid="transcript-text">The launch page is ready for review.</span><time class="sr-only" data-testid="transcript-time">11:49</time></span></p></li></ol></div></section></section></div></div><footer class="note-footer"><div class="note-footer-bar"><div class="note-status pointer-events-auto flex flex-wrap items-center gap-1.5 text-[11px] text-muted"><div class="relative flex min-w-0 items-center gap-1.5"><button aria-expanded="false" aria-haspopup="menu" class="bar-btn flex max-w-[220px] items-center gap-1.5 rounded-md px-1.5 py-0.5 hover:text-ink aria-expanded:text-ink" data-testid="rec-mic-chip" title="Microphone"><span aria-hidden="true" class="swap"><span data-on="true"><svg aria-hidden="true" class="lucide lucide-mic" fill="none" height="11" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="11" xmlns="http://www.w3.org/2000/svg"><path d="M12 19v3"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><rect height="13" rx="3" width="6" x="9" y="2"></rect></svg></span><span data-on="false"><svg data-icon="Pause" fill="currentColor" height="11" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" viewbox="0 0 24 24" width="11"><path d="M4 7C4 5.58579 4 4.87868 4.43934 4.43934C4.87868 4 5.58579 4 7 4C8.41421 4 9.12132 4 9.56066 4.43934C10 4.87868 10 5.58579 10 7V17C10 18.4142 10 19.1213 9.56066 19.5607C9.12132 20 8.41421 20 7 20C5.58579 20 4.87868 20 4.43934 19.5607C4 19.1213 4 18.4142 4 17V7Z" stroke="currentColor"></path><path d="M14 7C14 5.58579 14 4.87868 14.4393 4.43934C14.8787 4 15.5858 4 17 4C18.4142 4 19.1213 4 19.5607 4.43934C20 4.87868 20 5.58579 20 7V17C20 18.4142 20 19.1213 19.5607 19.5607C19.1213 20 18.4142 20 17 20C15.5858 20 14.8787 20 14.4393 19.5607C14 19.1213 14 18.4142 14 17V7Z" stroke="currentColor"></path></svg></span></span><span class="truncate" data-testid="rec-mic">Mac microphone</span><svg aria-hidden="true" class="lucide lucide-chevron-down shrink-0" fill="none" height="11" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="11" xmlns="http://www.w3.org/2000/svg"><path d="m6 9 6 6 6-6"></path></svg></button></div><div class="relative flex min-w-0 items-center"><button aria-expanded="false" aria-haspopup="menu" class="bar-btn flex items-center gap-1.5 rounded-md px-1.5 py-0.5 hover:text-ink aria-expanded:text-ink" data-testid="spoken-chip" title="Spoken language"><svg aria-hidden="true" class="lucide lucide-languages shrink-0" fill="none" height="11" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="11" xmlns="http://www.w3.org/2000/svg"><path d="m5 8 6 6"></path><path d="m4 14 6-6 2-3"></path><path d="M2 5h12"></path><path d="M7 2h1"></path><path d="m22 22-5-10-5 10"></path><path d="M14 18h6"></path></svg><span class="truncate" data-testid="spoken-name">English</span><svg aria-hidden="true" class="lucide lucide-chevron-down shrink-0" fill="none" height="11" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="11" xmlns="http://www.w3.org/2000/svg"><path d="m6 9 6 6 6-6"></path></svg></button></div><span aria-hidden="true">·</span><p class="flex items-center gap-1.5" data-state="saved" data-testid="note-save-status" role="status"><svg aria-hidden="true" class="lucide lucide-lock" fill="none" height="10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="10" xmlns="http://www.w3.org/2000/svg"><rect height="11" rx="2" ry="2" width="18" x="3" y="11"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg><span>Saved on this Mac</span></p><span aria-hidden="true">·</span>Yogurt can make mistakes.</div><button aria-controls="meeting-chat" aria-expanded="false" class="workspace-button chat-trigger" data-testid="chat-open" id="meeting-ask" title="Ask Yogurt (⌘J)" type="button"><svg aria-hidden="true" data-icon="MessageCircle" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M21.9598 12.9919C21.6856 17.2342 18.3536 20.6134 14.1706 20.8915C13.4574 20.9389 12.7285 21.001 12 21.001C10.4054 21.001 8.95127 20.8637 7.44544 20.2902C7.44544 20.2902 5.56108 21.7589 3.69962 21.4587C3.31009 21.3959 3.11532 21.3644 3.00091 21.1343C2.8865 20.9042 3.00788 20.6756 3.25063 20.2185C3.65964 19.4483 3.92248 18.6737 3.80076 17.8306C3.73703 17.3892 3.50433 16.9974 3.27644 16.6136L3.26529 16.5948C2.62637 15.5188 2.12462 14.2975 2.04024 12.9919C1.98659 12.1617 1.98659 11.3019 2.04024 10.4717C2.31441 6.22935 5.64639 2.85011 9.8294 2.57205C11.2536 2.47738 12.7435 2.47719 14.1706 2.57205C18.3536 2.85011 21.6856 6.22935 21.9598 10.4717C22.0134 11.3019 22.0134 12.1617 21.9598 12.9919Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.75 9.50098H12.25" pathlength="1" stroke="currentColor"></path><path d="M8.75 14.501H15.25" pathlength="1" stroke="currentColor"></path></svg><span>Ask Yogurt</span><kbd aria-hidden="true">⌘J</kbd></button></div></footer></div></div></div></div></div></div><div class="marketing-traffic"><i></i><i></i><i></i></div></div></div><div></div></body></html>diff --git a/site/public/marketing/stills/hero-light-phone.html b/site/public/marketing/stills/hero-light-phone.htmldeleted file mode 100644index b44a743b..00000000--- a/site/public/marketing/stills/hero-light-phone.html+++ /dev/null@@ -1,75 +0,0 @@-<!doctype html>-<html class="main-window" data-ask-focused="false" data-marketing-theme="light" data-question-sent="true" data-ready="true" data-still="" data-typing="false" lang="en"><head><style data-tiptap-style="">.ProseMirror {- position: relative;-}--.ProseMirror {- word-wrap: break-word;- white-space: pre-wrap;- white-space: break-spaces;- -webkit-font-variant-ligatures: none;- font-variant-ligatures: none;- font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */-}--.ProseMirror [contenteditable="false"] {- white-space: normal;-}--.ProseMirror [contenteditable="false"] [contenteditable="true"] {- white-space: pre-wrap;-}--.ProseMirror pre {- white-space: pre-wrap;-}--img.ProseMirror-separator {- display: inline !important;- border: none !important;- margin: 0 !important;- width: 0 !important;- height: 0 !important;-}--.ProseMirror-gapcursor {- display: none;- pointer-events: none;- position: absolute;- margin: 0;-}--.ProseMirror-gapcursor:after {- content: "";- display: block;- position: absolute;- top: -2px;- width: 20px;- border-top: 1px solid black;- animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;-}--@keyframes ProseMirror-cursor-blink {- to {- visibility: hidden;- }-}--.ProseMirror-hideselection *::selection {- background: transparent;-}--.ProseMirror-hideselection *::-moz-selection {- background: transparent;-}--.ProseMirror-hideselection * {- caret-color: transparent;-}--.ProseMirror-focused .ProseMirror-gapcursor {- display: block;-}</style><meta charset="utf-8"/><meta content="noindex,nofollow" name="robots"/><meta content="default-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; base-uri 'none'; form-action 'none'" http-equiv="Content-Security-Policy"/><title>Launch planning · Yogurt</title><link href="/marketing/app/renderer.css" rel="stylesheet"/><style>html,body,#root{color-scheme:light}.note-primary-tabs [aria-selected="true"]{border-bottom-color:var(--primary)}.chat-panel{--chat-bottom:64px;--chat-height:440px}</style></head><body inert=""><div id="root"><div class="marketing-window"><div class="workspace sidebar-collapsed" data-sidebar-motion="false" data-testid="workspace"><div class="workspace-window-bar"><div aria-hidden="true" class="workspace-drag-region drag" data-testid="titlebar"></div><button aria-controls="workspace-sidebar" aria-expanded="false" aria-keyshortcuts="Control+Meta+S" aria-label="Expand sidebar" class="ghost-btn workspace-icon workspace-sidebar-toggle no-drag" data-testid="sidebar-expand" title="Expand sidebar (⌃⌘S)"><svg aria-hidden="true" class="sidebar-toggle-glyph rtl:-scale-x-100" data-icon="SidebarToggle" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><rect height="16" rx="4" width="18" x="3" y="4"></rect><rect class="sidebar-toggle-pane" fill="currentColor" height="9" rx="1" stroke="none" width="6" x="6.5" y="7.5"></rect></svg></button></div><div class="workspace-sidebar-gap" style="transition-property: width; transition-duration: 0ms; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); transition-delay: 0ms;"></div><div aria-label="Main navigation" class="workspace-sidebar" id="workspace-sidebar" role="complementary" style="transition-property: left, right, width; transition-duration: 0ms; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); transition-delay: 0ms;"><div class="workspace-sidebar-inner"><div class="sidebar-titlebar"></div><div class="workspace-sidebar-body"><button aria-label="Search" class="workspace-search no-drag" data-testid="search-open" title="Search (⌘K)"><svg aria-hidden="true" data-icon="Search" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><circle cx="10.5" cy="10.5" r="7"></circle><path d="M15.5 15.5 20.5 20.5"></path></svg><span>Search</span><kbd>⌘K</kbd></button><nav aria-label="Workspace"><button aria-label="Meetings" class="workspace-nav" data-sidebar="menu-button" data-testid="nav-home" title="Meetings"><svg aria-hidden="true" data-icon="FileText" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M8 17H16" pathlength="1" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 13H12" pathlength="1" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5M20 10.6569V14C20 17.7712 20 19.6569 18.8284 20.8284C17.6569 22 15.7712 22 12 22C8.22876 22 6.34315 22 5.17157 20.8284C4 19.6569 4 17.7712 4 14V9.45584C4 6.21082 4 4.58831 4.88607 3.48933C5.06508 3.26731 5.26731 3.06508 5.48933 2.88607C6.58831 2 8.21082 2 11.4558 2C12.1614 2 12.5141 2 12.8372 2.11401C12.9044 2.13772 12.9702 2.165 13.0345 2.19575C13.3436 2.34355 13.593 2.593 14.0919 3.09188L18.8284 7.82843C19.4065 8.40649 19.6955 8.69552 19.8478 9.06306C20 9.4306 20 9.83935 20 10.6569Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg><span>Meetings</span></button><button aria-label="Ask" class="workspace-nav" data-sidebar="menu-button" data-testid="nav-chat" title="Ask"><svg aria-hidden="true" data-icon="MessageCircle" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M21.9598 12.9919C21.6856 17.2342 18.3536 20.6134 14.1706 20.8915C13.4574 20.9389 12.7285 21.001 12 21.001C10.4054 21.001 8.95127 20.8637 7.44544 20.2902C7.44544 20.2902 5.56108 21.7589 3.69962 21.4587C3.31009 21.3959 3.11532 21.3644 3.00091 21.1343C2.8865 20.9042 3.00788 20.6756 3.25063 20.2185C3.65964 19.4483 3.92248 18.6737 3.80076 17.8306C3.73703 17.3892 3.50433 16.9974 3.27644 16.6136L3.26529 16.5948C2.62637 15.5188 2.12462 14.2975 2.04024 12.9919C1.98659 12.1617 1.98659 11.3019 2.04024 10.4717C2.31441 6.22935 5.64639 2.85011 9.8294 2.57205C11.2536 2.47738 12.7435 2.47719 14.1706 2.57205C18.3536 2.85011 21.6856 6.22935 21.9598 10.4717C22.0134 11.3019 22.0134 12.1617 21.9598 12.9919Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.75 9.50098H12.25" pathlength="1" stroke="currentColor"></path><path d="M8.75 14.501H15.25" pathlength="1" stroke="currentColor"></path></svg><span>Ask</span></button></nav><div class="workspace-folder-label">Your workspace</div><nav aria-label="Folders" data-testid="sidebar-folders"><div aria-busy="false" class="loading-content" data-loading-phase="ready"><div class="loading-result"><div class="workspace-folder-list" data-testid="folder-reorder-list" style="overflow-anchor: none;"><div class="workspace-folder-item" data-folder="launch" data-moving="false" data-testid="sidebar-folder" style="z-index: unset; transform: none;"><button aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown" aria-label="Launch" class="workspace-nav" data-drop="false" data-sidebar="menu-button" data-testid="sidebar-folder-open" title="Launch"><span aria-hidden="true" class="folder-glyph" data-folder-color="violet" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span>Launch</span><small aria-label="{count} meetings" data-testid="sidebar-folder-count"></small></button><button aria-expanded="false" aria-haspopup="menu" aria-label="More for “Launch”" class="ghost-btn workspace-icon workspace-folder-more" data-testid="sidebar-folder-more" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="15" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div><div class="workspace-folder-item" data-folder="hiring" data-moving="false" data-testid="sidebar-folder" style="z-index: unset; transform: none;"><button aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown" aria-label="Hiring" class="workspace-nav" data-drop="false" data-sidebar="menu-button" data-testid="sidebar-folder-open" title="Hiring"><span aria-hidden="true" class="folder-glyph" data-folder-color="teal" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span>Hiring</span><small aria-label="{count} meetings" data-testid="sidebar-folder-count"></small></button><button aria-expanded="false" aria-haspopup="menu" aria-label="More for “Hiring”" class="ghost-btn workspace-icon workspace-folder-more" data-testid="sidebar-folder-more" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="15" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div><div class="workspace-folder-item" data-folder="customer-calls" data-moving="false" data-testid="sidebar-folder" style="z-index: unset; transform: none;"><button aria-keyshortcuts="Alt+ArrowUp Alt+ArrowDown" aria-label="Customer calls" class="workspace-nav" data-drop="false" data-sidebar="menu-button" data-testid="sidebar-folder-open" title="Customer calls"><span aria-hidden="true" class="folder-glyph" data-folder-color="amber" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span>Customer calls</span><small aria-label="{count} meetings" data-testid="sidebar-folder-count"></small></button><button aria-expanded="false" aria-haspopup="menu" aria-label="More for “Customer calls”" class="ghost-btn workspace-icon workspace-folder-more" data-testid="sidebar-folder-more" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="15" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div></div></div></div><button aria-label="New folder" class="workspace-nav workspace-folder-new" data-sidebar="menu-button" data-testid="folder-create" title="New folder"><svg aria-hidden="true" class="lucide lucide-plus" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><span>New folder</span></button></nav></div><div class="workspace-sidebar-footer"><button aria-label="Trash" class="workspace-nav workspace-trash" data-sidebar="menu-button" data-testid="nav-trash" title="Trash"><svg aria-hidden="true" class="lucide lucide-trash lucide-trash-2" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M10 11v6"></path><path d="M14 11v6"></path><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"></path><path d="M3 6h18"></path><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path></svg><span>Trash</span></button><button aria-label="Settings" class="workspace-nav" data-sidebar="menu-button" data-testid="settings-open" title="Settings"><svg aria-hidden="true" data-icon="Settings" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5C13.933 8.5 15.5 10.067 15.5 12Z" stroke="currentColor"></path><path d="M21.011 14.0965C21.5329 13.9558 21.7939 13.8854 21.8969 13.7508C22 13.6163 22 13.3998 22 12.9669V11.0332C22 10.6003 22 10.3838 21.8969 10.2493C21.7938 10.1147 21.5329 10.0443 21.011 9.90358C19.0606 9.37759 17.8399 7.33851 18.3433 5.40087C18.4817 4.86799 18.5509 4.60156 18.4848 4.44529C18.4187 4.28902 18.2291 4.18134 17.8497 3.96596L16.125 2.98673C15.7528 2.77539 15.5667 2.66972 15.3997 2.69222C15.2326 2.71472 15.0442 2.90273 14.6672 3.27873C13.208 4.73448 10.7936 4.73442 9.33434 3.27864C8.95743 2.90263 8.76898 2.71463 8.60193 2.69212C8.43489 2.66962 8.24877 2.77529 7.87653 2.98663L6.15184 3.96587C5.77253 4.18123 5.58287 4.28891 5.51678 4.44515C5.45068 4.6014 5.51987 4.86787 5.65825 5.4008C6.16137 7.3385 4.93972 9.37763 2.98902 9.9036C2.46712 10.0443 2.20617 10.1147 2.10308 10.2492C2 10.3838 2 10.6003 2 11.0332V12.9669C2 13.3998 2 13.6163 2.10308 13.7508C2.20615 13.8854 2.46711 13.9558 2.98902 14.0965C4.9394 14.6225 6.16008 16.6616 5.65672 18.5992C5.51829 19.1321 5.44907 19.3985 5.51516 19.5548C5.58126 19.7111 5.77092 19.8188 6.15025 20.0341L7.87495 21.0134C8.24721 21.2247 8.43334 21.3304 8.6004 21.3079C8.76746 21.2854 8.95588 21.0973 9.33271 20.7213C10.7927 19.2644 13.2088 19.2643 14.6689 20.7212C15.0457 21.0973 15.2341 21.2853 15.4012 21.3078C15.5682 21.3303 15.7544 21.2246 16.1266 21.0133L17.8513 20.034C18.2307 19.8187 18.4204 19.711 18.4864 19.5547C18.5525 19.3984 18.4833 19.132 18.3448 18.5991C17.8412 16.6616 19.0609 14.6226 21.011 14.0965Z" stroke="currentColor" stroke-linecap="round"></path></svg><span>Settings</span></button><div class="workspace-brand"><span class="workspace-wordmark"><svg aria-label="Yogurt" class="shrink-0" data-testid="wordmark" height="25" role="img" viewbox="0 0 286 80" width="89.375"><path d="M21.528 8.111Q25.000 7.278 30.000 7.278L30.000 7.278Q35.000 7.278 45.833 7.833L56.667 8.389L56.667 8.389L56.111 20.056Q55.556 31.722 54.861 34.222L54.861 34.222Q54.167 36.722 53.472 37.556L53.472 37.556Q52.778 38.389 51.528 39.083L51.528 39.083Q50.278 39.778 44.028 40.889L44.028 40.889Q37.778 42.000 36.111 43.250L36.111 43.250Q34.444 44.500 33.889 45.750L33.889 45.750Q33.333 47.000 33.472 48.806L33.472 48.806Q33.611 50.611 34.583 52.417L34.583 52.417Q35.556 54.222 37.361 55.889L37.361 55.889Q39.167 57.556 40.694 58.250L42.222 58.944L42.222 58.944L42.361 59.778Q42.500 60.611 42.500 62.278L42.500 63.944L42.500 63.944L41.250 63.944Q40.000 63.944 35.139 62.972L35.139 62.972Q30.278 62.000 25.556 60.056L25.556 60.056Q20.833 58.111 18.194 56.306L18.194 56.306Q15.556 54.500 13.611 52.556L13.611 52.556Q11.667 50.611 10.278 48.667L10.278 48.667Q8.889 46.722 7.500 43.389L7.500 43.389Q6.111 40.056 5.556 36.861L5.556 36.861Q5.000 33.667 5.000 31.167L5.000 31.167Q5.000 28.667 5.417 26.028L5.417 26.028Q5.833 23.389 6.944 20.611L6.944 20.611Q8.056 17.833 9.444 15.889L9.444 15.889Q10.833 13.944 12.639 12.417L12.639 12.417Q14.444 10.889 16.250 9.917L16.250 9.917Q18.056 8.944 21.528 8.111L21.528 8.111Z M66.250 33.944Q68.611 33.667 72.639 33.667L72.639 33.667Q76.667 33.667 79.028 34.083L79.028 34.083Q81.389 34.500 83.889 35.611L83.889 35.611Q86.389 36.722 88.611 38.667L88.611 38.667Q90.833 40.611 92.083 42.694L92.083 42.694Q93.333 44.778 93.889 46.444L93.889 46.444Q94.444 48.111 94.861 51.306L94.861 51.306Q95.278 54.500 95.139 57.972L95.139 57.972Q95.000 61.444 94.444 64.222L94.444 64.222Q93.889 67.000 92.083 71.306L92.083 71.306Q90.278 75.611 89.028 77.278L89.028 77.278Q87.778 78.944 85.694 81.028L85.694 81.028Q83.611 83.111 80.694 85.194L80.694 85.194Q77.778 87.278 75.556 88.389L75.556 88.389Q73.333 89.500 71.111 90.333L71.111 90.333Q68.889 91.167 65.833 91.861L65.833 91.861Q62.778 92.556 59.028 92.833L55.278 93.111L55.278 93.111L55.278 89.222L55.278 89.222L56.944 88.528Q58.611 87.833 60.972 85.889L60.972 85.889Q63.333 83.944 64.444 81.722L64.444 81.722Q65.556 79.500 65.417 77.417L65.417 77.417Q65.278 75.333 64.722 74.639L64.722 74.639Q64.167 73.944 63.194 73.528L63.194 73.528Q62.222 73.111 56.667 72.972L56.667 72.972Q51.111 72.833 50.139 72.556L50.139 72.556Q49.167 72.278 48.472 71.583L48.472 71.583Q47.778 70.889 47.361 66.861L47.361 66.861Q46.944 62.833 46.944 57.833L46.944 57.833Q46.944 52.833 47.222 51.167L47.222 51.167Q47.500 49.500 48.611 46.722L48.611 46.722Q49.722 43.944 51.944 41.306L51.944 41.306Q54.167 38.667 56.667 37.139L56.667 37.139Q59.167 35.611 61.528 34.917L61.528 34.917Q63.889 34.222 66.250 33.944L66.250 33.944Z" style="fill: color-mix(in srgb, var(--primary), var(--accent));" transform="translate(0 5) scale(.65)"></path><path class="text-ink" d="M265 -179Q225 -179 184.0 -171.0Q143 -163 107.5 -146.5Q72 -130 48 -104L91 0Q120 -33 166.0 -50.0Q212 -67 259 -67Q314 -67 350.0 -44.5Q386 -22 405.0 25.0Q424 72 426 142L433 237H412Q402 169 379.0 126.5Q356 84 321.5 64.5Q287 45 241 45Q184 45 145.0 74.0Q106 103 86.5 160.0Q67 217 67 301V523H194V330Q194 236 217.0 193.5Q240 151 287 151Q312 151 333.0 164.5Q354 178 368.5 203.5Q383 229 391.5 267.0Q400 305 401 354V523H528V137Q528 74 517.5 23.5Q507 -27 486.0 -64.5Q465 -102 433.5 -128.0Q402 -154 360.0 -166.5Q318 -179 265 -179ZM875 -13Q798 -13 739.0 18.5Q680 50 646.5 111.5Q613 173 613 263Q613 355 647.5 415.5Q682 476 741.0 506.0Q800 536 874 536Q951 536 1010.0 505.0Q1069 474 1103.0 412.5Q1137 351 1137 260Q1137 168 1103.0 107.0Q1069 46 1009.5 16.5Q950 -13 875 -13ZM880 83Q922 83 951.0 102.5Q980 122 995.5 161.0Q1011 200 1011 254Q1011 311 994.5 351.5Q978 392 947.5 414.0Q917 436 871 436Q831 436 801.0 416.5Q771 397 755.5 359.0Q740 321 740 265Q740 177 777.5 130.0Q815 83 880 83ZM1428 -180Q1343 -180 1288.5 -167.0Q1234 -154 1208.0 -128.0Q1182 -102 1182 -64Q1182 -18 1218.5 11.5Q1255 41 1327 48V68Q1273 67 1245.0 79.5Q1217 92 1217 120Q1217 147 1244.5 168.0Q1272 189 1336 203V223Q1275 226 1241.0 261.5Q1207 297 1207 354Q1207 405 1235.0 444.0Q1263 483 1317.5 505.5Q1372 528 1450 528H1709V428L1545 452V430Q1607 420 1636.5 395.0Q1666 370 1666 327Q1666 286 1640.0 254.5Q1614 223 1564.5 205.5Q1515 188 1445 188Q1432 188 1417.0 189.0Q1402 190 1370 194Q1349 179 1336.0 167.5Q1323 156 1323 146Q1323 138 1333.0 132.5Q1343 127 1359.0 125.0Q1375 123 1390 123H1529Q1549 123 1580.5 120.0Q1612 117 1643.5 104.0Q1675 91 1696.5 63.0Q1718 35 1718 -16Q1718 -73 1685.5 -109.5Q1653 -146 1588.5 -163.0Q1524 -180 1428 -180ZM1439 -78Q1501 -78 1538.0 -71.0Q1575 -64 1591.0 -48.5Q1607 -33 1607 -9Q1607 13 1597.0 25.5Q1587 38 1571.5 43.0Q1556 48 1540.0 49.0Q1524 50 1513 50H1390Q1342 43 1322.5 23.0Q1303 3 1303 -21Q1303 -45 1319.0 -57.5Q1335 -70 1365.5 -74.0Q1396 -78 1439 -78ZM1442 257Q1494 257 1521.0 281.5Q1548 306 1548 346Q1548 389 1520.5 416.5Q1493 444 1441 444Q1389 444 1360.5 417.0Q1332 390 1332 348Q1332 321 1344.5 300.5Q1357 280 1381.5 268.5Q1406 257 1442 257ZM1968 -13Q1878 -13 1832.5 48.5Q1787 110 1787 235V523H1914V249Q1914 170 1938.0 131.0Q1962 92 2012 92Q2041 92 2063.0 106.5Q2085 121 2101.0 147.5Q2117 174 2126.5 209.0Q2136 244 2138 286V523H2264V215V0H2160L2162 165H2144Q2131 102 2107.5 63.0Q2084 24 2050.0 5.5Q2016 -13 1968 -13ZM2381 0V262V523H2487L2485 343H2503Q2512 407 2531.0 449.5Q2550 492 2584.0 513.5Q2618 535 2668 535Q2678 535 2689.5 534.0Q2701 533 2715 529L2710 396Q2694 402 2677.5 404.5Q2661 407 2647 407Q2608 407 2579.5 387.0Q2551 367 2533.5 330.5Q2516 294 2507 244V0ZM2961 -12Q2878 -12 2839.0 32.5Q2800 77 2800 171V422H2723L2725 522H2776Q2805 522 2819.0 531.0Q2833 540 2836 563L2848 639H2921V523H3059V418H2921V176Q2921 139 2938.5 122.0Q2956 105 2991 105Q3010 105 3028.5 109.5Q3047 114 3063 125V5Q3032 -5 3006.5 -8.5Q2981 -12 2961 -12Z" fill="currentColor" transform="translate(82 55) scale(.068 -.068)"></path></svg></span></div></div></div></div><div class="workspace-content"><header class="workspace-toolbar" data-note="true" data-recording-return="false"><div class="workspace-breadcrumb drag"><span class="workspace-history"><button aria-label="Back" class="ghost-btn workspace-icon no-drag" data-testid="nav-back" title="Back (⌘[)"><svg aria-hidden="true" class="lucide lucide-chevron-left rtl:-scale-x-100" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m15 18-6-6 6-6"></path></svg></button><button aria-label="Forward" class="ghost-btn workspace-icon no-drag" data-testid="nav-forward" disabled="" title="Forward (⌘])"><svg aria-hidden="true" class="lucide lucide-chevron-right rtl:-scale-x-100" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6"></path></svg></button></span><span aria-current="page" data-testid="workspace-heading" title="Launch planning">Launch planning</span></div><div class="workspace-toolbar-actions" id="workspace-actions"></div></header><div aria-busy="false" class="loading-content loading-note-frame" data-loading-phase="ready"><div class="loading-result"><div class="document-main relative flex h-full bg-bg" data-testid="note"><div class="note-topbar no-drag fixed end-4 top-[10px] z-[60]" data-testid="note-topbar"><div class="relative"><button aria-expanded="false" aria-haspopup="menu" aria-label="More" class="ghost-btn workspace-icon" data-testid="note-menu-button" title="More"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="17" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div></div><div class="note-layout relative flex min-w-0 flex-1 flex-col" data-tab-pointer="true"><header class="note-header note-page-width"><h1 class="note-title-type w-full font-sans" data-testid="note-title"><button class="note-title-btn -mx-1 max-w-full rounded-lg px-1 text-start" title="Rename">Launch planning</button></h1><div class="note-meta-row"><div class="note-metadata" data-testid="note-metadata"><div class="relative"><button aria-expanded="false" aria-haspopup="dialog" class="note-chip flex items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted" data-testid="note-date"><svg aria-hidden="true" class="lucide lucide-calendar-days" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M8 2v3"></path><path d="M16 2v3"></path><rect height="18" rx="2" width="18" x="3" y="3"></rect><path d="M3 9h18"></path><path d="M8 13h.01"></path><path d="M12 13h.01"></path><path d="M16 13h.01"></path><path d="M8 17h.01"></path><path d="M12 17h.01"></path><path d="M16 17h.01"></path></svg>Today</button></div><div class="relative"><button aria-expanded="false" aria-haspopup="dialog" class="note-chip flex items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted" data-testid="note-attendees" title="Kara Moore, Ray Mones, Lincoln Park, Charlotte Goode"><span class="flex items-center gap-1.5" data-testid="note-attendees-summary"><svg aria-hidden="true" class="lucide lucide-users" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path><path d="M16 3.128a4 4 0 0 1 0 7.744"></path><path d="M22 21v-2a4 4 0 0 0-3-3.87"></path><circle cx="9" cy="7" r="4"></circle></svg>Kara, Ray + 2</span></button></div><div class="relative"><button aria-expanded="false" aria-haspopup="menu" class="note-chip flex max-w-64 items-center gap-1.5 rounded-md border border-line px-2.5 text-[13px] text-muted" data-testid="note-folders" title="Launch"><span aria-hidden="true" class="folder-glyph" data-folder-color="violet" data-folder-icon="folder"><svg aria-hidden="true" class="lucide lucide-folder" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></span><span class="truncate" data-testid="note-folders-summary">Launch</span></button></div></div><div class="note-header-actions" data-testid="note-bar"><div aria-label="Meeting controls" class="note-recording-group" data-paused="false" data-recording="false" data-state="done" data-testid="note-state" role="group"><button aria-busy="false" aria-label="Resume recording" class="workspace-button note-resume-action" data-processing="false" data-testid="note-resume" title="Resume recording in this note"><span aria-hidden="true" class="swap"><span data-on="true"><svg data-icon="Mic" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14"><path d="M7 6.5C7 4.01472 9.01472 2 11.5 2C13.9853 2 16 4.01472 16 6.5V11.5C16 13.9853 13.9853 16 11.5 16C9.01472 16 7 13.9853 7 11.5V6.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.5 19H11.0828C7.57267 19 4.57706 16.4623 4 13M11.5 19H11.9172C15.4273 19 18.4229 16.4623 19 13M11.5 19V22" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg></span><span data-on="false"><span class="summary-stop-icon"><svg data-icon="Loader" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14"><path d="M12 3V6" stroke="currentColor" stroke-linecap="round"></path><path d="M12 18V21" stroke="currentColor" stroke-linecap="round"></path><path d="M21 12L18 12" stroke="currentColor" stroke-linecap="round"></path><path d="M6 12L3 12" stroke="currentColor" stroke-linecap="round"></path><path d="M18.3635 5.63672L16.2422 7.75804" stroke="currentColor" stroke-linecap="round"></path><path d="M7.75804 16.2422L5.63672 18.3635" stroke="currentColor" stroke-linecap="round"></path><path d="M18.3635 18.3635L16.2422 16.2422" stroke="currentColor" stroke-linecap="round"></path><path d="M7.75804 7.75804L5.63672 5.63672" stroke="currentColor" stroke-linecap="round"></path></svg><span class="summary-stop-square"></span></span></span></span><span class="swap-text" data-resize="true"><span class="swap-in">Resume recording</span></span></button></div><div class="relative flex items-center gap-1.5"><span aria-atomic="true" aria-live="polite" class="pointer-events-none absolute end-0 top-full z-20 mt-2 flex w-max max-w-[min(280px,calc(100vw-48px))] items-start gap-1.5 rounded-md text-xs text-muted" data-testid="share-said" role="status"></span><button aria-expanded="false" aria-haspopup="menu" class="ghost-btn" data-state="idle" data-testid="share-button" title="Copy and export"><svg aria-hidden="true" data-icon="Copy" fill="none" height="13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="13"><path d="M7.5 14.5C7.5 11.2002 7.5 9.55025 8.52513 8.52513C9.55025 7.5 11.2002 7.5 14.5 7.5C17.7998 7.5 19.4497 7.5 20.4749 8.52513C21.5 9.55025 21.5 11.2002 21.5 14.5C21.5 17.7998 21.5 19.4497 20.4749 20.4749C19.4497 21.5 17.7998 21.5 14.5 21.5C11.2002 21.5 9.55025 21.5 8.52513 20.4749C7.5 19.4497 7.5 17.7998 7.5 14.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.5 16.5C6.10355 16.5 5.40533 16.5 4.84402 16.3036C3.83866 15.9518 3.0482 15.1613 2.69641 14.156C2.5 13.5947 2.5 12.8964 2.5 11.5V9.5C2.5 6.20017 2.5 4.55025 3.52513 3.52513C4.55025 2.5 6.20017 2.5 9.5 2.5H11.5C12.8964 2.5 13.5947 2.5 14.156 2.69641C15.1613 3.0482 15.9518 3.83866 16.3036 4.84402C16.5 5.40533 16.5 6.10355 16.5 7.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>Copy<svg aria-hidden="true" class="lucide lucide-chevron-down" fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="m6 9 6 6 6-6"></path></svg></button></div></div></div><div class="note-primary-tabs" data-summary-arriving="false"><div aria-label="Meeting view" class="contents" role="tablist"><button aria-controls="note-transcript-panel" aria-selected="false" data-testid="note-transcript-toggle" id="note-transcript-tab" role="tab" tabindex="-1"><svg aria-hidden="true" class="lucide lucide-audio-lines" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M2 10v3"></path><path d="M6 6v11"></path><path d="M10 3v18"></path><path d="M14 8v7"></path><path d="M18 5v13"></path><path d="M22 10v3"></path></svg>Transcript</button><button aria-controls="note-notes-panel" aria-selected="false" data-testid="note-notes-tab" data-version="enhanced" id="note-notes-tab" role="tab" tabindex="-1"><svg aria-hidden="true" class="lucide lucide-text-align-start lucide-text lucide-align-left" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M21 5H3"></path><path d="M15 12H3"></path><path d="M17 19H3"></path></svg>My notes</button><button aria-controls="note-notes-panel" aria-selected="true" data-testid="note-summary-tab" id="note-summary-tab" role="tab" tabindex="0"><svg aria-hidden="true" data-icon="Sparkles" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="14"><path d="M15 2L15.5387 4.39157C15.9957 6.42015 17.5798 8.00431 19.6084 8.46127L22 9L19.6084 9.53873C17.5798 9.99569 15.9957 11.5798 15.5387 13.6084L15 16L14.4613 13.6084C14.0043 11.5798 12.4202 9.99569 10.3916 9.53873L8 9L10.3916 8.46127C12.4201 8.00431 14.0043 6.42015 14.4613 4.39158L15 2Z" stroke="currentColor" stroke-linejoin="round"></path><path d="M7 12L7.38481 13.7083C7.71121 15.1572 8.84275 16.2888 10.2917 16.6152L12 17L10.2917 17.3848C8.84275 17.7112 7.71121 18.8427 7.38481 20.2917L7 22L6.61519 20.2917C6.28879 18.8427 5.15725 17.7112 3.70827 17.3848L2 17L3.70827 16.6152C5.15725 16.2888 6.28879 15.1573 6.61519 13.7083L7 12Z" stroke="currentColor" stroke-linejoin="round"></path></svg>Summary</button></div><span aria-hidden="true" class="note-tab-indicator" data-testid="note-tab-indicator"></span></div></header><div class="note-reading-area"><div class="note-panels"><div class="note-reading-frame" data-active="false" data-generating="false" data-resetting="false"><div class="note-reading-clip"><section aria-labelledby="note-summary-tab" class="note-content note-notes-pane" data-orientation="vertical" data-slot="scroll-fade" id="note-notes-panel" role="tabpanel" style="overflow-y: auto; --scroll-fade-size: 20px; --scroll-fade-top: 0.0000; --scroll-fade-bottom: 0.0000; --scroll-fade-left: 0.0000; --scroll-fade-right: 0.0000;"><div class="note-page-width note-notes-body"><div class="" data-status="done" data-testid="note-enhanced"><div class="summary-rewrite" data-handoff="false" data-resetting="false" data-rewriting="false"><div class="summary-result"><div class="summary-surface" data-streaming="false" data-waiting="false"><svg aria-hidden="true" class="summary-ink-layer"><defs><filter color-interpolation-filters="sRGB" height="260%" id="_r_3_" width="160%" x="-30%" y="-80%"><fegaussianblur stddeviation=".9"></fegaussianblur><fecolormatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -8.5"></fecolormatrix></filter></defs><g class="summary-wash"></g></svg><div><div aria-label="Summary" aria-multiline="true" aria-readonly="false" class="tiptap ProseMirror note-prose outline-none enhanced" contenteditable="true" data-testid="note-enhanced-editor" dir="auto" role="textbox" spellcheck="true" style="opacity: 1;" tabindex="0" translate="no"><h2>Launch plan</h2><p>Publish the page Tuesday. Send the announcement Wednesday morning, after checking the links.</p><h2>Next steps</h2><ul><li><p><strong>Kara:</strong> Share the release notes draft Friday.</p></li><li><p><strong>Lincoln:</strong> Send the announcement Wednesday.</p></li><li><p><strong>You:</strong> Send Ray the asset list by Friday.</p></li></ul><h2>My reminders</h2><ul><li><p>Leave 30 minutes for a quiet QA pass.</p></li></ul></div></div><i aria-hidden="true" class="summary-heading-bar" hidden="" style="width: 142px; transform: scaleY(0.28); opacity: 0;"></i></div></div></div></div></div></section></div></div></div><dialog aria-labelledby="meeting-chat-title" aria-modal="true" class="chat-panel no-drag" data-testid="chat-panel" id="meeting-chat" open=""><div aria-hidden="true" class="chat-morph-surface"></div><div class="chat-panel-contents"><div aria-busy="false" class="ask-conversation"><header class="ask-conversation-head"><h2 id="meeting-chat-title" title="Launch date-Launch planning">Launch date</h2><div class="ask-header-actions"><button aria-expanded="false" aria-haspopup="menu" aria-label="More" class="ghost-btn workspace-icon ask-menu-trigger" data-testid="chat-menu" id="base-ui-_r_7_" tabindex="0" title="More" type="button"><svg aria-hidden="true" class="lucide lucide-ellipsis lucide-more-horizontal" fill="none" height="17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="17" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button><button aria-label="Open in Ask" class="ghost-btn workspace-icon" data-testid="chat-expand" title="Open in Ask" type="button"><svg aria-hidden="true" class="lucide lucide-maximize-2" fill="none" height="15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="15" xmlns="http://www.w3.org/2000/svg"><path d="M15 3h6v6"></path><path d="m21 3-7 7"></path><path d="m3 21 7-7"></path><path d="M9 21H3v-6"></path></svg></button><button aria-label="Close" class="ghost-btn workspace-icon" data-testid="chat-close" title="Close" type="button"><svg aria-hidden="true" class="lucide lucide-x" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg></button></div></header><div class="ask-thread-wrap"><div class="ask-thread chat-history" data-orientation="vertical" data-slot="scroll-fade" style="overflow-y: auto; --scroll-fade-size: 20px; --scroll-fade-top: 0.0000; --scroll-fade-bottom: 0.0000; --scroll-fade-left: 0.0000; --scroll-fade-right: 0.0000;"><div class="ask-thread-content"><div aria-busy="false" class="loading-content" data-loading-phase="ready"><div class="loading-result"><div class="ask-turn" data-show-copy="true" data-status="done" data-testid="chat-turn"><p class="ask-question" data-testid="chat-question">When are we launching?</p><div class="note-prose chat-answer" data-testid="chat-answer" dir="auto"><p>The page goes live Tuesday.</p><p>Lincoln announces it <span class="citation-anchor">Wednesday.<span class="citation-group" data-single="true"><button aria-expanded="false" aria-haspopup="dialog" aria-label="Launch planning · Today" aria-pressed="false" class="source-citation" data-at="721500" data-base-ui-click-trigger="" data-meeting="sample-meeting" data-testid="source-citation" id="_r_9_-citation-59-1" tabindex="0" type="button"><span class="source-name">Launch planning</span></button></span></span></p></div><div class="chat-answer-actions"><button aria-label="Copy answer" class="ghost-btn chat-copy-action" data-testid="chat-copy-answer"><span aria-hidden="true" class="swap"><span data-on="true"><svg data-icon="Copy" fill="none" height="13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="13"><path d="M7.5 14.5C7.5 11.2002 7.5 9.55025 8.52513 8.52513C9.55025 7.5 11.2002 7.5 14.5 7.5C17.7998 7.5 19.4497 7.5 20.4749 8.52513C21.5 9.55025 21.5 11.2002 21.5 14.5C21.5 17.7998 21.5 19.4497 20.4749 20.4749C19.4497 21.5 17.7998 21.5 14.5 21.5C11.2002 21.5 9.55025 21.5 8.52513 20.4749C7.5 19.4497 7.5 17.7998 7.5 14.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.5 16.5C6.10355 16.5 5.40533 16.5 4.84402 16.3036C3.83866 15.9518 3.0482 15.1613 2.69641 14.156C2.5 13.5947 2.5 12.8964 2.5 11.5V9.5C2.5 6.20017 2.5 4.55025 3.52513 3.52513C4.55025 2.5 6.20017 2.5 9.5 2.5H11.5C12.8964 2.5 13.5947 2.5 14.156 2.69641C15.1613 3.0482 15.9518 3.83866 16.3036 4.84402C16.5 5.40533 16.5 6.10355 16.5 7.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg></span><span data-on="false"><svg aria-hidden="true" class="lucide lucide-check" fill="none" height="13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="13" xmlns="http://www.w3.org/2000/svg"><path d="M20 6 9 17l-5-5"></path></svg></span></span><span class="swap-text" data-widest="Copied"><span class="swap-in">Copy</span></span></button><span class="chat-answer-scope" title="Launch planning">Searched <span class="ask-scope-label"><span class="ask-scope-name">Launch planning</span></span></span><span class="sr-only" role="status"></span></div></div></div></div></div></div></div><div class="ask-composer chat-composer"><div aria-busy="false" class="loading-content" data-loading-phase="ready"><div class="loading-result"><form class="ask-box" data-testid="chat-box"><div class="ask-field"><textarea aria-autocomplete="list" aria-expanded="false" aria-label="Ask anything" data-testid="chat-input" id="meeting-question" maxlength="4000" placeholder="Ask anything" role="combobox" rows="1"></textarea><div class="ask-box-actions"><span class="ask-scope-group"><button aria-expanded="false" aria-haspopup="dialog" aria-label="Choose meetings or folders" class="ask-scope" data-base-ui-click-trigger="" data-testid="ask-scope" id="base-ui-_r_2_" tabindex="0" title="Choose meetings or folders" type="button"><svg aria-hidden="true" class="lucide lucide-file-text" fill="none" height="14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"></path><path d="M14 2v5a1 1 0 0 0 1 1h5"></path><path d="M10 9H8"></path><path d="M16 13H8"></path><path d="M16 17H8"></path></svg><span class="ask-scope-label"><span class="ask-scope-name">Launch planning</span></span><svg aria-hidden="true" class="lucide lucide-chevron-down" fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="m6 9 6 6 6-6"></path></svg></button><button aria-label="Clear" class="ask-scope-clear" data-testid="ask-scope-clear" title="Clear" type="button"><svg aria-hidden="true" class="lucide lucide-x" fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg></button></span><button aria-label="Ask" class="ask-toolbar-button ask-send" data-testid="chat-send" disabled="" type="submit"><span aria-hidden="true" class="orb-material"></span><svg aria-hidden="true" class="lucide lucide-arrow-up" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m5 12 7-7 7 7"></path><path d="M12 19V5"></path></svg></button></div></div><svg aria-hidden="true" class="ask-tracer" viewbox="0 0 0 0"><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: 0; opacity: 0.0061558297024311365;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -1; opacity: 0.05449673790581606;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -2; opacity: 0.14644660940672624;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -3; opacity: 0.2730047501302265;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -4; opacity: 0.4217827674798846;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -5; opacity: 0.5782172325201153;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -6; opacity: 0.7269952498697734;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -7; opacity: 0.8535533905932737;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -8; opacity: 0.9455032620941839;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -9; opacity: 0.9938441702975689;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -10; opacity: 0.9938441702975689;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -11; opacity: 0.945503262094184;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -12; opacity: 0.8535533905932737;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -13; opacity: 0.7269952498697735;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -14; opacity: 0.5782172325201156;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -15; opacity: 0.4217827674798847;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -16; opacity: 0.2730047501302266;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -17; opacity: 0.14644660940672632;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -18; opacity: 0.05449673790581613;" width="0" x="1" y="1"></rect><rect height="0" pathlength="100" rx="11" style="stroke-dashoffset: -19; opacity: 0.0061558297024311565;" width="0" x="1" y="1"></rect></svg></form></div></div></div><p aria-live="polite" class="sr-only" data-testid="chat-announce">The page goes live Tuesday.--Lincoln announces it Wednesday.[1]</p></div></div></dialog></div><footer class="note-footer"><div class="note-footer-bar"><div class="note-status pointer-events-auto flex flex-wrap items-center gap-1.5 text-[11px] text-muted"><p class="flex items-center gap-1.5" data-state="saved" data-testid="note-save-status" role="status"><svg aria-hidden="true" class="lucide lucide-lock" fill="none" height="10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="10" xmlns="http://www.w3.org/2000/svg"><rect height="11" rx="2" ry="2" width="18" x="3" y="11"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg><span>Saved on this Mac</span></p><span aria-hidden="true">·</span><span data-testid="note-duration">12 min</span><span aria-hidden="true">·</span>Yogurt can make mistakes.</div><button aria-controls="meeting-chat" aria-expanded="true" class="workspace-button chat-trigger" data-testid="chat-open" id="meeting-ask" title="Ask Yogurt (⌘J)" type="button"><svg aria-hidden="true" data-icon="MessageCircle" fill="none" height="16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" viewbox="0 0 24 24" width="16"><path d="M21.9598 12.9919C21.6856 17.2342 18.3536 20.6134 14.1706 20.8915C13.4574 20.9389 12.7285 21.001 12 21.001C10.4054 21.001 8.95127 20.8637 7.44544 20.2902C7.44544 20.2902 5.56108 21.7589 3.69962 21.4587C3.31009 21.3959 3.11532 21.3644 3.00091 21.1343C2.8865 20.9042 3.00788 20.6756 3.25063 20.2185C3.65964 19.4483 3.92248 18.6737 3.80076 17.8306C3.73703 17.3892 3.50433 16.9974 3.27644 16.6136L3.26529 16.5948C2.62637 15.5188 2.12462 14.2975 2.04024 12.9919C1.98659 12.1617 1.98659 11.3019 2.04024 10.4717C2.31441 6.22935 5.64639 2.85011 9.8294 2.57205C11.2536 2.47738 12.7435 2.47719 14.1706 2.57205C18.3536 2.85011 21.6856 6.22935 21.9598 10.4717C22.0134 11.3019 22.0134 12.1617 21.9598 12.9919Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.75 9.50098H12.25" pathlength="1" stroke="currentColor"></path><path d="M8.75 14.501H15.25" pathlength="1" stroke="currentColor"></path></svg><span>Ask Yogurt</span><kbd aria-hidden="true">⌘J</kbd></button></div></footer></div></div></div></div></div></div><div class="marketing-traffic"><i></i><i></i><i></i></div></div></div><div></div></body></html>diff --git a/site/public/marketing/stills/hero-phone.webp b/site/public/marketing/stills/hero-phone.webpdeleted file mode 100644index 85c16a83..00000000Binary files a/site/public/marketing/stills/hero-phone.webp and /dev/null differdiff --git a/site/public/marketing/stills/manifest.json b/site/public/marketing/stills/manifest.jsondeleted file mode 100644index ef10a444..00000000--- a/site/public/marketing/stills/manifest.json+++ /dev/null@@ -1,82 +0,0 @@-{- "appCommit": "125473d0db59640acfc96261b66b79544ada4302",- "bundleSha256": "7ea7d390704d873e34731997dc8236f53d51465ed1c28349321282a18f73060a",- "bundleCssSha256": "802f1ba3a9f1d0076d6f75a5206de0e55c0d8416f7d5d0bbf8b31106ffe430e6",- "generatedAt": "2026-11-18T19:16:45.187Z",- "images": {- "hero-desktop.webp": {- "bytes": 43268,- "sha256": "5b0d95c30846165b2f768c46969e364a32c10c79eaef2620d483d88497bd7b60"- },- "hero-finished-desktop.webp": {- "bytes": 77830,- "sha256": "e5eff186fd066bccceee216dd45021fbe3e2980fede8d2f245ae9b71e2f3d767"- },- "hero-phone.webp": {- "bytes": 62356,- "sha256": "be291b92d556882914140631d77abe7905899ce78c0830f2091c03fd15eb7a26"- },- "fragment-transcript-desktop.webp": {- "bytes": 13022,- "sha256": "0e250e5e449962ccc08709f11566b198f07d4f1ab98ee4fec9cc56352daeee88"- },- "fragment-transcript-phone.webp": {- "bytes": 14100,- "sha256": "94f86a5d7071d3fafd6fe535f3aabd2128be53f1c28509781bfa93f1986aa88e"- },- "fragment-transcript-dark-desktop.webp": {- "bytes": 12860,- "sha256": "28deb0790a42d4ed802e70afced8b3a0070f8d1261fcded4aac4953c81d7e7ce"- },- "fragment-transcript-dark-phone.webp": {- "bytes": 13950,- "sha256": "747b95710e0374abd7818e15c1cab2136d2146a4a848da5ef196ec45b100c75e"- },- "fragment-summary-desktop.webp": {- "bytes": 19180,- "sha256": "2571a449cff5770c19a60a63fd1395e2224e2d7f18d504502765e453eb535878"- },- "fragment-summary-phone.webp": {- "bytes": 19054,- "sha256": "fa6edf6f1ccced83d9ba3c193918dd62b47169305d7baa8d36c27896f03e08a0"- },- "fragment-summary-dark-desktop.webp": {- "bytes": 19320,- "sha256": "1cc1a58177b991371dbad6367741ad688ec0ddbd861475e3939280fd1b665440"- },- "fragment-summary-dark-phone.webp": {- "bytes": 19174,- "sha256": "bd9fcc65d980c373e5ed5e5ad579e7070eeb7f44bed4cc7b22d767b3058362bf"- },- "fragment-ask-desktop.webp": {- "bytes": 13618,- "sha256": "fde83c526eeb7373bc842a76dfa1fe57aa579d99bf70f236c56f71624bc98a2c"- },- "fragment-ask-phone.webp": {- "bytes": 13196,- "sha256": "e2cfd4e36e62d2824f1b44e1aa17db6bb5ba797b27c24e8216972cbcda82973d"- },- "fragment-ask-dark-desktop.webp": {- "bytes": 13218,- "sha256": "661e4046f4672b1243cafa7993c2c6f82155cff8d77da84e4b2b2624980527fa"- },- "fragment-ask-dark-phone.webp": {- "bytes": 12762,- "sha256": "dd7de3e3e92dc1bda8bf52fa9b77c6dba8a2d0e3ebe5aa7929671d8efba82b1e"- }- },- "posters": {- "hero-light-answer.html": {- "bytes": 46251,- "sha256": "232d26c607629101e9af70fb7a228ad224772c24e62afc191c4ddc0015423169"- },- "hero-light-arrival.html": {- "bytes": 42181,- "sha256": "7331f44e37791cf1996bb35489425bce482ee8873443db5b6263435f570c888f"- },- "hero-light-phone.html": {- "bytes": 46414,- "sha256": "5606911d2f2c7e53289080dd3a064db10981cd803d05d1ff9306ec33ecfd3d10"- }- }-}diff --git a/site/public/marketing/theme.mjs b/site/public/marketing/theme.mjsdeleted file mode 100644index fdde5f73..00000000--- a/site/public/marketing/theme.mjs+++ /dev/null@@ -1,42 +0,0 @@-const root=document.documentElement;-const toggle=document.querySelector('.theme-toggle');-const systemTheme=matchMedia('(prefers-color-scheme: dark)');-let preference;-try{const saved=localStorage.getItem('yogurt-theme');if(saved==='light'||saved==='dark')preference=saved}catch{}--export function syncFrameTheme(frame){- const frameRoot=frame.contentDocument?.documentElement;- if(!frameRoot)return;- const theme=root.dataset.theme;- frameRoot.dataset.marketingTheme=theme;- frameRoot.style.colorScheme=theme;- if(frame.classList.contains('hero-renderer')){- for(const node of frame.contentDocument.querySelectorAll('body, #root'))node.style.colorScheme=theme;- }-}--function render(){- const dark=root.dataset.theme==='dark';- toggle.setAttribute('aria-label',dark?'Switch to light mode':'Switch to dark mode');- toggle.setAttribute('aria-pressed',String(dark));- document.querySelector('meta[name="theme-color"]').content=dark?'#1B1B1D':'#ffffff';- document.querySelectorAll('.hero-renderer,.tour-frame iframe').forEach(syncFrameTheme);-}--toggle.addEventListener('click',()=>{- root.classList.add('theme-switching');- root.dataset.theme=root.dataset.theme==='dark'?'light':'dark';- preference=root.dataset.theme;- try{localStorage.setItem('yogurt-theme',preference)}catch{}- render();- requestAnimationFrame(()=>requestAnimationFrame(()=>root.classList.remove('theme-switching')));-});-function followSystem(){- if(preference)return;- root.dataset.theme=systemTheme.matches?'dark':'light';- render();-}-systemTheme.addEventListener('change',followSystem);-followSystem();-render();-toggle.hidden=false;diff --git a/site/public/marketing/timing.mjs b/site/public/marketing/timing.mjsdeleted file mode 100644index f13d7bcd..00000000--- a/site/public/marketing/timing.mjs+++ /dev/null@@ -1,45 +0,0 @@-export const question='When is the copy due?';-export const summaryTimes=[.38,.72,1.29,1.92];-export const summaryReady=2.6;-export const stepDurations=[2.9,2.8,4];-let keyTime=.36;-const keys=[...question].map((character,index)=>keyTime+=.047+(index%4)*.012+(character===' '?.035:0));-export const sendAt=keys.at(-1)+.5;-export const sentAt=sendAt+.24;-export const answerAt=sentAt+1.1;-export function questionFrame(time){- if(time===Infinity) return {text:question,send:'sent',answer:true};- const count=keys.filter(at=>at<=time).length;- return {- text:time<sentAt?question.slice(0,count):'',- send:time<keys[0]?'ready':time<keys.at(-1)?'typing':time<sendAt?'ready':time<sentAt?'press':time<answerAt?'loading':'sent',- answer:time>=answerAt,- };-}--// Fictional meeting timing: replies, short interruptions, overlap, and unequal pauses.-const turns=[[0,0,2.7],[2,2.25,3.8],[0,4.1,5.35],[1,5.3,8.55],[0,7.95,8.7],[2,9.5,12.9],[1,12.65,13.4],[0,14.15,17.6],[2,17.55,18.6],[0,18.8,20.2],[1,20.15,22.8]];-export function speakerEnvelopes(time){- const at=time%24,levels=[0,0,0];- for(const [person,start,end] of turns){- const edge=Math.max(0,Math.min((at-start)/.18,(end-at)/.36,1));- const envelope=edge*edge*(3-2*edge);- levels[person]=Math.max(levels[person],envelope);- }- return levels;-}--// The label shares the card clock, including its finished hold and off-screen pause.-export function stepCircleFrame(age,span){- const curve=(x,a,b,c,d)=>{- if(x<=0)return 0;if(x>=1)return 1;- const sample=(t,p,q)=>3*(1-t)**2*t*p+3*(1-t)*t*t*q+t**3;- let low=0,high=1;- for(let i=0;i<20;i++){const t=(low+high)/2;if(sample(t,a,c)<x)low=t;else high=t;}- return sample((low+high)/2,b,d);- };- const pull=curve(age/.26,.18,.8,.25,1);- const fill=age>span-.16?1-curve((age-span+.16)/.16,.2,0,.25,1):pull;- const u=(age-.26)/.28;- return {fill,blur:1.6*(1-pull),rebound:u>=0&&u<1?Math.sin(u*Math.PI*2)*(1-u)**2:0};-}diff --git a/site/public/marketing/updates.css b/site/public/marketing/updates.cssdeleted file mode 100644index c7f0512b..00000000--- a/site/public/marketing/updates.css+++ /dev/null@@ -1,52 +0,0 @@-.updates-column {- margin-block-end: var(--reading-section-gap);-}-.updates-activity {- margin: 0 0 20px;- border-radius: 12px;- box-shadow: inset 0 0 0 1px var(--section-frame-border);-}-@media (min-width: 761px) {- .updates-column .oss-calendar { min-height: 102px; }-}-.updates-activity strong { font-size: 21px; letter-spacing: -.035em; }-.updates-activity small { color: var(--reading); }-.release-stack :is(details, summary, #earlier) { scroll-margin-block-start: 4px; }-.release-card h2 {- display: flex;- align-items: baseline;- justify-content: space-between;- gap: 12px;- margin: 0;- font: inherit;- letter-spacing: normal;- text-align: start;-}-.release-heading { order: -1; overflow-wrap: anywhere; }-.release-meta { flex: none; font-size: var(--caption-size); font-weight: 400; color: var(--reading); white-space: nowrap; }-.release-stack > .release-card h2 { flex-direction: column; gap: 4px; }-.release-stack > .release-card .release-heading { order: 0; }-.release-card ul { margin: 0; padding: 0 20px var(--paragraph-gap) 36px; }-.release-card li { text-wrap: pretty; }-.release-card li + li { margin-top: 4px; }-.release-card .faq-answer p, .archive-end a { font-size: var(--ui-size); }-.release-card li::marker { color: var(--reading); font-size: .75em; }-.release-card strong { font-weight: 600; color: var(--ink); }-.release-batch { display: flow-root; }-.release-batch[hidden="until-found"] { display: flow-root; content-visibility: hidden; contain-intrinsic-size: 0; }-.release-batch > details { margin-top: var(--card-gap); }-.release-batch:first-child > details:first-child { margin-top: 0; }-.release-stack details[data-instant]::details-content, .release-stack details[data-instant] .faq-answer { transition: none; }-.archive-end { position: relative; min-height: 1px; text-align: center; overflow-anchor: none; }-.updates-page ~ .site-footer { overflow-anchor: none; }-.archive-end a { display: inline-block; margin-top: 12px; color: var(--reading); }-.auto-load a:not(:focus), .archive-status {- position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;-}-@media (max-width: 760px) {- .updates-activity strong { font-size: 18px; }- .release-card ul { padding-inline: 32px 16px; }-}-@media (max-width: 360px) {- .release-card ul { padding-inline: 24px 10px; }-}diff --git a/site/public/marketing/updates.mjs b/site/public/marketing/updates.mjsdeleted file mode 100644index c1abaecb..00000000--- a/site/public/marketing/updates.mjs+++ /dev/null@@ -1,64 +0,0 @@-const archive = document.getElementById('earlier')-const batches = [...archive?.querySelectorAll('.release-batch') || []]-const end = document.querySelector('.archive-end')-const status = document.querySelector('.archive-status')-let shown = batches.length-let observer--function revealThrough(index, announce = false) {- if (index < shown) return- const added = batches.slice(shown, index + 1)- for (const batch of added) batch.removeAttribute('hidden')- shown += added.length- if (announce) {- const count = added.reduce((n, batch) => n + batch.querySelectorAll('.release-card').length, 0)- const last = added[added.length - 1].querySelectorAll('.release-card')- status.textContent = count + (count === 1 ? ' more release loaded.' : ' more releases loaded.') +- (shown === batches.length ? ' All releases are visible.' : ' Showing through ' + last[last.length - 1].id + '.')- }- observer.disconnect()- if (shown < batches.length) observer.observe(end)-}--if (end && batches.length > 1 && 'IntersectionObserver' in window &&- 'onbeforematch' in document.documentElement && new URLSearchParams(location.search).get('all') !== '1') {- shown = 1- for (const batch of batches.slice(1)) batch.setAttribute('hidden', 'until-found')- end.classList.add('auto-load')- observer = new IntersectionObserver(entries => {- if (entries.some(entry => entry.isIntersecting) && shown < batches.length) revealThrough(shown, true)- }, {rootMargin:'0px 0px 320px'})- observer.observe(end)-- // Reveal in document order, including when Find, keyboard or assistive navigation reaches the edge.- archive.addEventListener('beforematch', event => {- revealThrough(batches.indexOf(event.target.closest('.release-batch')))- })- archive.addEventListener('focusin', event => {- if (shown === batches.length) return- const visibleCards = batches[shown - 1].querySelectorAll('.release-card')- if (event.target.closest('.release-card') === visibleCards[visibleCards.length - 1]) revealThrough(shown, true)- })-}--function revealFragment() {- const target = document.getElementById(location.hash.slice(1))- if (!target) return- // An explicit jump to the footer must land below the complete history.- revealThrough(target.id === 'footer' ? batches.length - 1 : batches.indexOf(target.closest('.release-batch')))- const details = target.closest('details')- if (details) {- details.dataset.instant = ''- for (let el = details; el; el = el.parentElement) {- if (el.tagName === 'DETAILS') el.open = true- }- }- target.scrollIntoView({behavior:'instant', block:'start'})- if (details) delete details.dataset.instant-}-revealFragment()-window.addEventListener('hashchange', revealFragment)-document.addEventListener('click', event => {- const link = event.target.closest('a[href^="#"]')- if (link && link.hash === location.hash) revealFragment()-})diff --git a/site/public/marketing/walkthrough.mjs b/site/public/marketing/walkthrough.mjsdeleted file mode 100644index 5bd02c7a..00000000--- a/site/public/marketing/walkthrough.mjs+++ /dev/null@@ -1,123 +0,0 @@-import { syncFrameTheme } from './theme.mjs'--const tour = document.querySelector('.tour-layout')-const buttons = [...tour.querySelectorAll('button[data-scene]')]-const panels = buttons.map((button) => document.getElementById(button.getAttribute('aria-controls')))-const reduced = matchMedia('(prefers-reduced-motion: reduce)')-const timings = [- [2.35, 3.6],- [0, 6.5],- [2.1, 4.2],-]-let active = 0,- elapsed = 0,- automatic = true,- visible = false,- previous = 0,- frame = 0,- lastSent = -1--function send(time) {- panels[active]- .querySelector('iframe')- ?.contentWindow.postMessage({ type: 'yogurt-fragment-time', seconds: time }, location.origin)-}-function stop() {- cancelAnimationFrame(frame)- frame = previous = 0-}-function tick(now) {- elapsed += previous ? Math.min(100, now - previous) / 1000 : 0- previous = now- const [offset, duration] = timings[active]- const progress = Math.min(1, elapsed / (duration + 1.4))- buttons[active].querySelector('.marker-rim').style.strokeDashoffset = String(1 - progress)- if (elapsed - lastSent >= 0.05) {- send(elapsed >= duration ? 99 : offset + elapsed)- lastSent = elapsed- }- if (progress < 1) frame = requestAnimationFrame(tick)- else if (automatic) select((active + 1) % buttons.length)- else {- send(99)- stop()- }-}-function sync() {- stop()- for (const panel of panels) {- panel- .querySelector('iframe')- ?.contentWindow.postMessage(- {- type: 'yogurt-fragment-playing',- playing: panel === panels[active] && visible && !document.hidden && !reduced.matches,- },- location.origin- )- }- if (!visible || document.hidden || reduced.matches) return- const art = panels[active].querySelector('.tour-frame')- if (!art.querySelector('iframe')) {- const child = document.createElement('iframe')- child.title = buttons[active].innerText.trim()- child.tabIndex = -1- child.inert = true- child.setAttribute('aria-hidden', 'true')- child.setAttribute('sandbox', 'allow-scripts allow-same-origin')- child.addEventListener('load', () => syncFrameTheme(child))- child.src =- '/marketing/app/frame.html?fragment=' +- art.dataset.fragment +- '&animate&theme=' +- document.documentElement.dataset.theme- art.append(child)- }- if (!art.hasAttribute('data-ready')) return- if (elapsed < timings[active][1] + 1.4) frame = requestAnimationFrame(tick)-}-function select(next, manual = false) {- if (manual) automatic = false- active = next- elapsed = 0- lastSent = -1- buttons.forEach((button, i) => {- const selected = i === active,- row = button.closest('.tour-item')- row.dataset.selected = String(selected)- button.setAttribute('aria-expanded', String(selected))- row.querySelector('.tour-plus').textContent = selected ? '−' : '+'- row.querySelector('.marker-rim').style.strokeDashoffset = '1'- panels[i].hidden = !selected- panels[i].setAttribute('aria-hidden', String(!selected))- })- sync()-}-buttons.forEach((button, i) => button.addEventListener('click', () => select(i, true)))-window.addEventListener('message', (event) => {- if (event.origin !== location.origin || event.data?.type !== 'yogurt-fragment-ready') return- const child = [...tour.querySelectorAll('iframe')].find((f) => f.contentWindow === event.source)- if (!child) return- syncFrameTheme(child)- child.parentElement.dataset.ready = ''- if (child.closest('.tour-panel') === panels[active]) {- send(reduced.matches ? 99 : timings[active][0])- sync()- }-})-new IntersectionObserver(- ([entry]) => {- visible = entry.isIntersecting && entry.intersectionRatio >= 0.35- sync()- },- { threshold: [0, 0.35] }-).observe(tour.querySelector('.tour-visual'))-reduced.addEventListener('change', () => {- if (reduced.matches)- for (const panel of panels) {- panel.querySelector('iframe')?.remove()- delete panel.querySelector('.tour-frame').dataset.ready- }- sync()-})-document.addEventListener('visibilitychange', sync)diff --git a/site/public/robots.txt b/site/public/robots.txtdeleted file mode 100644index 61acca36..00000000--- a/site/public/robots.txt+++ /dev/null@@ -1,4 +0,0 @@-User-agent: *-Allow: /--Sitemap: https://yogurt.so/sitemap.xmldiff --git a/site/renderer/README.md b/site/renderer/README.mddeleted file mode 100644index 2abeca2e..00000000--- a/site/renderer/README.md+++ /dev/null@@ -1,28 +0,0 @@-# Marketing demo source--These fixtures drive the app's real renderer in an isolated browser frame. They do not open a microphone, read local data or call native APIs. The website deploys the checked-in bundle and stills; its `build` command does not rebuild the app.--From the repository root:--```sh-pnpm install --frozen-lockfile --ignore-scripts-pnpm --dir site install --frozen-lockfile --ignore-workspace-pnpm --dir site site:bundle-pnpm --dir site dev --hostname 127.0.0.1 --port 43933-# In another terminal, with the site running:-pnpm --dir site site:stills-pnpm --dir site test-pnpm --dir site build-```--The bundle defaults to `origin/main` without changing the checkout. Set `YOGURT_APP_REF` to another local commit when needed. There are no archived-source overrides. Its manifest records the app commit, source overrides, source files and output hashes. `SITE_URL` changes the local origin used by the still exporter; `CHROME_BIN` changes its browser executable. The exporter uses headless Chrome directly, not Electron or Playwright.--`timeline.mjs` owns the 39-second hero sequence. `bridge.mjs` provides the in-memory app bridge and drives the editor and cursor. Native capabilities are disabled and updates stay idle in the browser-only fixture. `fragments.tsx` renders the three How it works surfaces. The walkthrough mounts the selected scene when it enters view. Summary uses the app’s SummaryWaiting and editor, and Ask uses AskConversation. Reduced motion uses themed stills from those same components. Rebundle and export the stills together when the app changes. `frame.css` styles only the isolated frames. Page layout stays in `public/marketing/site.css`.--The Vite-only `renderer` directory is excluded from Next's typecheck: its `@app` imports are resolved from the archived app source by `bundle.mjs`.--## Project activity--The site build reads the repository count, dated stargazers and published stable releases from the GitHub API. The Site workflow passes its read token to this build step. Dated stars are deduplicated by account and grouped by hour. Only times and counts are stored. The release bars use the last seven UTC dates including the build date.--The build writes a validated snapshot to `.next/cache/activity.json` before generating the static homepage. If an API request fails, the build can reuse the most recent cached snapshot or the checked-in `content/activity.json`. If only dated stars are unavailable, the chart keeps its dated series while the totals and releases refresh. After load, the browser checks GitHub for stars and the latest published stable release, caching successful or failed checks for an hour. A complete release list also updates the total. At 100 releases the browser uses the latest-release endpoint and the build supplies the total. The chart and weekday bars use the build snapshot. The browser calculates the release age locally. To refresh the checked-in fallback, run `pnpm --dir site site:stars` with the GitHub CLI signed in.diff --git a/site/renderer/bridge.mjs b/site/renderer/bridge.mjsdeleted file mode 100644index 9c3c83f4..00000000--- a/site/renderer/bridge.mjs+++ /dev/null@@ -1,215 +0,0 @@-import { sceneAt, duration, timing, mine, summary, question } from './timeline.mjs'-// Clamp the midnight edge so the demo still belongs to the visitor’s current day.-const loadedAt=Date.now(), dayStart=new Date(loadedAt).setHours(0,0,0,0)-// An in-memory fixture drives the real renderer. Nothing reaches IPC, storage or a device.-export const meeting = {- id: 'sample-meeting', title: 'Launch planning', startedAt: Math.max(loadedAt-720000,dayStart),- endedAt: null, durationMs: 720000, state: 'recording', eventId: null, app: null,- language: 'english', titleSource: 'user', attendees: ['Kara Moore', 'Ray Mones', 'Lincoln Park', 'Charlotte Goode'].map(name => ({ name })),-}-export const folders = [- { id: 'launch', name: 'Launch', color: 'violet', icon: 'rocket' },- { id: 'hiring', name: 'Hiring', color: 'teal', icon: 'users' },- { id: 'customer-calls', name: 'Customer calls', color: 'amber', icon: 'message' },-].map((folder,position)=>({...folder,createdAt:meeting.startedAt,position}))-const notes = { meetingId: meeting.id, mine, enhanced: null, edited: false, status: 'idle', draft: '', peopleChanged: false, saves: { mine: { revision: 0, status: 'saved' }, enhanced: { revision: 0, status: 'saved' } } }-export const sources = [{ n:1, meetingId:meeting.id, title:meeting.title, startedAt:meeting.startedAt, atMs:721500,- excerpt:'Ray Mones: Support has the checklist. We can publish Tuesday.\nLincoln Park: I’ll send the announcement on Wednesday morning.',- transcript:{speakers:['Kara Moore','Ray Mones','Lincoln Park'],lines:[- {track:'them',speaker:'Ray Mones',text:'Support has the checklist. We can publish Tuesday.',startMs:721500},- {track:'them',speaker:'Lincoln Park',text:'I’ll send the announcement on Wednesday morning.',startMs:725200},- ]},-}]-const context = [{kind:'meeting',id:meeting.id,title:meeting.title,startedAt:meeting.startedAt}]-export const chat = { id:'sample-conversation', title:'Launch date', chips:context, draft:'', draftChips:[], firstChips:null, turns:[], waitsForMeeting:false, waitsForModel:false }-export const fragment = new URLSearchParams(location.search).get('fragment')-const noop = () => {}, off = () => noop, read = value => async () => structuredClone(value)-const events = Object.fromEntries(['widget', 'level', 'segment', 'speakers', 'partial', 'reset', 'meeting', 'notes', 'chat'].map(key => {- const listeners = new Set()- return [key, { on: callback => { listeners.add(callback); return () => { listeners.delete(callback) } }, emit: value => listeners.forEach(callback => callback(structuredClone(value))) }]-}))-export const onReset = events.reset.on-const still = new URLSearchParams(location.search).get('still')-const requested = Number(still)-let time = still === null ? 0 : Math.max(0, Math.min(duration, still === '' || !Number.isFinite(requested) ? 33 : requested)), playing = false, transcript = sceneAt(time).transcript-let transcriptSignature = JSON.stringify(transcript), notesSignature = '', chatSignature = '', frame = 0, requestedTab, typedMine, typedEditor-notes.mine = typedMine = sceneAt(time).mine-const saveMine = (_id,text,revision) => { notes.mine=text; notes.saves.mine={revision,status:'saved'}; return structuredClone(notes.saves.mine) }-const widget = () => meeting.state !== 'recording' ? null : ({ kind: 'recording', meetingId: meeting.id, title: meeting.title, elapsedMs: 720000 + (time >= timing.resume ? 0 : time) * 1000, at: Date.now(), note: null })-window.yogurt = {- platform: 'darwin', fake: true,- capabilities: { calendar: false, callNames: false, permissionPrompts: false, mediaPause: false },- setup: { state: read({}), onState: off },- updates: { status: read({ version: '', available: false, on: false, state: 'idle' }), onStatus: off },- widget: { state: async () => widget(), onState: events.widget.on, onLevel: events.level.on },- meetings: { get: read(meeting), onChange: events.meeting.on, stop: async () => {}, resume: async () => { document.documentElement.dataset.resumeClicked='true'; return {id:meeting.id} } },- notes: { get: read(notes), onChange: events.notes.on, onFlushRequest: off, keptEdits: noop, setMine: async (...args) => saveMine(...args), setEnhanced: read({revision:0,status:'failed'}), flushSync: (id,side,text,revision) => side==='mine' ? saveMine(id,text,revision) : {revision,status:'saved'} },- transcript: { get: async () => structuredClone(transcript), onSpeakers: events.speakers.on, onSegment: events.segment.on, onPartial: events.partial.on },- conversations: { current:read(chat.id), get:read(chat), onChange:events.chat.on, targets:read(context), warm:noop,- draft:async (_id,value)=>{chat.draft=value},- ask:async (_id,q)=>{if(q===question)document.documentElement.dataset.questionSent='true'; chat.draft=''; return chat.id},- stop:async()=>{},- },- settings: { get: read({ theme: 'dark', locale: 'en', systemLocale: 'en', language: '', spoken: 'en', myName: 'You', macName: 'You', recordingReminder: false }), onLanguage: off },- audio: { tracks: read([]), onDeleted: off, mics: read({ devices: [], choice: null, using: 'Mac microphone', defaultName: 'Mac microphone' }), onMics: off },- folders: { suggestion:read(null), of: read([folders[0]]), list: read(folders), onChange: off },- onboarding: { nudge: read([]) }, nav: { go: noop, takeAsk: read(false), onAsk: off }, share: { copy: read('failed'), save: read('cancelled') },-}-// The embedded demonstration must never steal keyboard focus from the marketing page.-HTMLElement.prototype.focus = noop-if (still !== null) document.documentElement.dataset.still = ''-const interval = window.setInterval.bind(window)-window.setInterval = (callback, ms, ...args) => interval(() => { if (playing && still === null) callback(...args) }, ms)-const target = id => document.querySelector(`[data-testid="${id}"]`)-const click = (button, pointer = true) => button?.dispatchEvent(new MouseEvent('click', { bubbles: true, cancelable: true, detail: pointer ? 1 : 0 }))-function prepareEditor(s) {- const editor = target('note-mine')?.editor- if(editor && (typedEditor !== editor || typedMine !== s.mine)) {- typedEditor=editor- typedMine=s.mine- editor.commands.setContent({type:'doc',content:[{type:'bulletList',content:s.mine.split('\n').map(line=>({type:'listItem',content:[{type:'paragraph',content:line.slice(2)?[{type:'text',text:line.slice(2)}]:[]}]}))}]})- let end = 0- editor.state.doc.descendants((node, pos) => { if (node.isTextblock) end = pos + 1 + node.content.size })- editor.commands.setTextSelection(end)- }-}-function controls(s) {- document.activeElement?.blur()- const tab = target(s.tab)- // One activation per target lets the app's asynchronous view transition complete.- if ((still !== null || s.tab !== 'note-summary-tab') && tab && tab !== requestedTab) { requestedTab = tab; if (tab.getAttribute('aria-selected') !== 'true') click(tab, time >= timing.notes) }- if (time >= timing.ask && time < timing.close && target('chat-open')?.getAttribute('aria-expanded') !== 'true') click(target('chat-open'))- if(time >= timing.close && target('chat-close') && !document.documentElement.dataset.chatClosed) { click(target('chat-close')); document.documentElement.dataset.chatClosed='true' }- if(time >= timing.resume && !document.documentElement.dataset.resumeClicked) click(target('note-resume'))- prepareEditor(s)- document.documentElement.dataset.typing = String(time >= timing.type && time < timing.typed)- const input = target('chat-input')- if (s.askFocused && document.documentElement.dataset.askFocused !== 'true') click(input)- document.documentElement.dataset.askFocused = String(s.askFocused)- if (input && time < timing.send && input.value !== s.question) {- Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype, 'value').set.call(input, s.question)- input.dispatchEvent(new Event('input', { bubbles: true }))- }- // Native form activation is disabled by the sandbox; only notify React's in-memory handler.- if (time >= timing.send && time < timing.close && !document.documentElement.dataset.questionSent) {- if (input && input.value !== question) {- Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype, 'value').set.call(input, question)- input.dispatchEvent(new Event('input', { bubbles: true }))- } else if (target('chat-send') && !target('chat-send').disabled) target('chat-box')?.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true }))- }-}-// Move, settle, then click the actual control. The app itself selects Summary after Finish.-const clicks = [- {id:'note-notes-tab',start:timing.notes-1.2,at:timing.notes},- {id:'note-stop',start:timing.finish-1.3,at:timing.finish},- {id:'chat-open',start:timing.ask-1.3,at:timing.ask},- {id:'chat-input',start:timing.ask+.2,at:timing.askFocus},- {id:'chat-send',start:timing.send-1.1,at:timing.send},- {id:'chat-close',start:timing.close-1.1,at:timing.close},- {id:'note-resume',start:timing.resume-1.1,at:timing.resume},- {id:'note-transcript-toggle',start:timing.transcript-1.1,at:timing.transcript},- {id:'home',start:timing.transcript+.2,at:duration},-]-let cursorCue, cursorMotion, cursorStart=0-function moveCursor(cursorTime = time) {- const cursor = document.querySelector('.marketing-cursor')- if (!cursor) return- const home = { x:(window.innerWidth || 1000)*.75-4, y:(window.innerHeight || 608)*.82-3 }- if (!cursorMotion && !cursorCue) cursor.style.transform=`translate(${home.x}px,${home.y}px)`- const cue = clicks.findLast(c => cursorTime >= c.start)- cursor.style.opacity = cue && cursorTime < cue.at+(cue.id==='note-notes-tab'?.2:.35) && (still === null || cue.id !== 'home') ? '1' : '0'- if (cue?.id === 'chat-input') cursor.style.opacity = String(Math.max(0,Math.min(1,1-(cursorTime-cue.at-.15)/.2)))- cursor.dataset.clicking = String(!!cue && cue.id !== 'home' && cursorTime >= cue.at && cursorTime < cue.at+.15)- if (!cue) return- if (cue !== cursorCue) {- let {x,y} = home- if (cue.id !== 'home') {- const button = target(cue.id)- if (!button) return- const r = button.getBoundingClientRect()- if (!r.width || !r.height) return- x=r.x+r.width*.6-4; y=r.y+r.height*.6-3- }- let from = cursor.getBoundingClientRect()- if (cue.id === 'note-stop') {- const editor = target('note-mine')?.editor- if (!editor) return- const caret = editor.view.coordsAtPos(editor.state.selection.to)- if (caret.bottom <= caret.top) return- // The pointer returns beside the completed text, while still hidden.- from = { x:caret.left+10, y:caret.bottom+8 }- }- // Fit the input approach and a short settle into the existing pre-question gap.- const travel = cue.id === 'chat-input' ? (cue.at-cue.start-.1)*1000 : Math.max(240,Math.hypot(x-from.x,y-from.y)/.6)- cursorMotion?.cancel()- cursorMotion=cursor.animate([{transform:`translate(${from.x}px,${from.y}px)`},{transform:`translate(${x}px,${y}px)`}],{duration:travel,easing:'cubic-bezier(.45,0,.25,1)',fill:'both'})- cursorMotion.pause(); cursorCue=cue- // Late-mounted controls start where the pointer is, never partway through a new path.- cursorStart=still !== null ? cue.start : Math.max(cue.start,cursorTime-1/60)- }- cursorMotion.currentTime = Math.max(0,(cursorTime-cursorStart)*1000)-}--export function setTime(seconds, bands = [.4, .65, .5]) {- const reset = seconds < time- time = seconds- const s = sceneAt(time)- prepareEditor(s)- moveCursor()- if (reset) { delete document.documentElement.dataset.chatClosed; delete document.documentElement.dataset.resumeClicked; delete document.documentElement.dataset.questionSent }- if (time >= timing.finish && time < timing.resume && meeting.state === 'recording') click(target('note-stop'))- if (meeting.state !== s.state) { meeting.state = s.state; meeting.endedAt = s.state !== 'recording' ? meeting.startedAt+720000+timing.finish*1000 : null; events.meeting.emit() }- // The same saved-line set drives initial playback and rewind.- transcript = s.transcript- if (JSON.stringify(transcript) !== transcriptSignature) { transcriptSignature = JSON.stringify(transcript); transcript.filter(line=>!line.hidden).forEach(line => events.segment.emit(line)); events.speakers.emit(meeting.id) }- const liveWords = s.partial.split(' ').filter(Boolean).map((text, i) => ({ text, startMs: s.partialStart+i*200, endMs: s.partialStart+i*200+150 }))- events.partial.emit({ meetingId: meeting.id, track: 'them', startMs: s.partialStart, text: s.partial, words: liveWords })- Object.assign(notes, { status: s.status, enhanced: s.status === 'done' ? summary : null, draft: s.draft })- if (JSON.stringify(notes) !== notesSignature) { notesSignature = JSON.stringify(notes); events.notes.emit(notes) }- chat.turns = time < timing.send || time >= timing.resume ? [] : [{id:1,question,answer:s.answer+(time>=timing.answered?'[1]':''),status:time < timing.answered ? 'answering' : 'done',step:time<timing.answer?{kind:'loading'}:{kind:'reading',title:meeting.title},sources,scope:context}]- chat.firstChips = chat.turns.length ? context : null- if (JSON.stringify(chat) !== chatSignature) { chatSignature = JSON.stringify(chat); events.chat.emit(chat) }- if (time < 1.5 && still === null) bands = [.45 + .2*Math.sin(time*9), .55 + .18*Math.sin(time*13)]- const level = Array.isArray(bands) ? Math.max(0, ...bands.slice(0, 3).map(value => Number.isFinite(value) ? Math.max(0, Math.min(1, value)) : 0)) : 0- const levels = { me: meeting.state === 'recording' ? level : 0, them: meeting.state === 'recording' ? level : 0 }- events.level.emit(levels)- events.widget.emit(widget())- if (reset && !target('note-transcript-toggle')) events.reset.emit()- controls(s)- cancelAnimationFrame(frame)- // A seek can open a tab, dialog and composer together; let the real components mount first.- let remaining = 6- const settle = () => { controls(sceneAt(time)); events.level.emit(levels); events.partial.emit({ meetingId: meeting.id, track: 'them', startMs: s.partialStart, text: s.partial, words: liveWords }); if (--remaining) frame = requestAnimationFrame(settle) }- frame = requestAnimationFrame(settle)-}-export function ready() {- const finish = () => {- if (!target('note-transcript-toggle')) return- if (time === 0) {- controls(sceneAt(time))- if (document.querySelectorAll('[data-testid=transcript-who]').length < sceneAt(0).transcript.filter(line=>!line.hidden).length) return- }- observer.disconnect()- setTime(time)- requestAnimationFrame(()=>requestAnimationFrame(()=>{- document.documentElement.dataset.ready = 'true'- window.parent.postMessage({ type: 'yogurt-hero-ready', duration }, location.origin)- }))- }- const observer = new MutationObserver(finish)- observer.observe(document.body, { childList: true, subtree: true })- finish()- return () => observer.disconnect()-}-window.addEventListener('message', event => {- if (fragment || event.source !== window.parent || event.origin !== location.origin) return- if (event.data?.type === 'yogurt-hero-cursor' && Number.isFinite(event.data.seconds)) moveCursor(Math.max(0,Math.min(duration,event.data.seconds)))- if (event.data?.type === 'yogurt-hero-time' && Number.isFinite(event.data.seconds)) setTime(Math.max(0, Math.min(duration, event.data.seconds)), event.data.bands)- if (event.data?.type === 'yogurt-hero-playing' && typeof event.data.playing === 'boolean') {- playing = event.data.playing- document.documentElement.dataset.playing = String(playing)- }-})--export function fragmentChat(turn) { chat.turns=turn?[{id:1,...turn,sources,scope:context}]:[];chat.firstChips=context;events.chat.emit(chat) }-export function fragmentTranscript(lines, partial) { transcript=lines; for(const line of lines)events.segment.emit(line); events.speakers.emit(meeting.id); events.partial.emit({meetingId:meeting.id,...partial}) }diff --git a/site/renderer/entry.tsx b/site/renderer/entry.tsxdeleted file mode 100644index 37eb64ef..00000000--- a/site/renderer/entry.tsx+++ /dev/null@@ -1,25 +0,0 @@-import './bridge.mjs'-import { FragmentScene } from './fragments'-import { fragment } from './bridge.mjs'-import { createRoot } from 'react-dom/client'-import { useEffect, useState } from 'react'-import { Note } from '@app/screens/Note'-import { Workspace } from '@app/components/Workspace'-import '@app/styles.css'-import '@app/workspace.css'-import './frame.css'-import { meeting, folders, ready, onReset } from './bridge.mjs'-const noop = () => {}-document.documentElement.classList.add('main-window')-document.documentElement.dataset.marketingTheme = fragment ? (new URLSearchParams(location.search).get('theme') === 'dark' ? 'dark' : 'light') : 'dark'-if (fragment) document.documentElement.dataset.fragment = fragment-function Scene() {- const [revision, setRevision] = useState(0)- useEffect(() => onReset(() => setRevision(value => value + 1)), [])- useEffect(() => ready(), [revision])- return <><div className="marketing-window"><Workspace route={`/note/${meeting.id}`} meeting={meeting} folders={folders} go={noop}- search={noop} collapsed={matchMedia('(max-width:600px)').matches} sidebarMotion={false} toggleSidebar={noop}>- <Note key={revision} id={meeting.id} onTitleChange={noop} />- </Workspace><div className="marketing-traffic"><i/><i/><i/></div></div><svg className="marketing-cursor" viewBox="0 0 30 32" aria-hidden="true"><circle className="cursor-ring" cx="4" cy="3" r="12"/><path className="cursor-pointer" d="M4 3 24 13 15.1 15.7 11.3 25Z" strokeWidth="1.7" strokeLinejoin="round" strokeLinecap="round"/></svg></>-}-createRoot(document.getElementById('root')!).render(fragment ? <FragmentScene /> : <Scene />)diff --git a/site/renderer/fragment-summary.mjs b/site/renderer/fragment-summary.mjsdeleted file mode 100644index 56d94ec6..00000000--- a/site/renderer/fragment-summary.mjs+++ /dev/null@@ -1,20 +0,0 @@-const blocks = [- '## Tuesday launch',- '- Publish the page Tuesday.',- '- Announce it Wednesday morning.',- '## Next steps',- '- **Kara:** Release notes by Friday.',- '- **You:** Send Ray the asset list by Friday.',-]-export const finalPlan = blocks.join('\n')-// Keep the opening beat; shorten writing and block pauses by 20 percent.-const starts = [.95, 1.55, 2.6, 3.6, 4, 5.3].map(time => .95 + (time - .95) * .8)-export function fragmentSummaryAt(time) {- return blocks.flatMap((block, index) => {- const [, prefix, text] = block.match(/^(## |- )(.*)$/)- const words = text.split(' '), pace = (index < 3 ? .16 : .14) * .8- const count = Math.max(0, Math.min(words.length, Math.floor((time - starts[index]) / pace) + 1))- return count ? [prefix + words.slice(0, count).join(' ')] : []- }).join('\n')-}-export const summarySettled = 5.75diff --git a/site/renderer/fragment-transcript.mjs b/site/renderer/fragment-transcript.mjsdeleted file mode 100644index 0be7ed5e..00000000--- a/site/renderer/fragment-transcript.mjs+++ /dev/null@@ -1,17 +0,0 @@-// Fictional speech drives the app's partial/final path, never a separate word animation.-export const fragmentLines = [- {speaker:'Kara',text:'The launch page is ready for review.',track:'them',speakerColor:0},- {speaker:'Ray',text:'We can publish Tuesday.',track:'them',speakerColor:1},- {text:"I'll send Ray the asset list by Friday.",track:'me'},-].map((line,i)=>({...line,id:i+1,meetingId:'sample-meeting',startMs:10000+i*10000,endMs:14000+i*10000,hidden:false}))-const starts=[.8,2.65,4.05],ends=[2.35,3.8,5.95]-export function fragmentTranscriptAt(t){- // Hidden final lines supply the known speaker before the live turn begins.- const lines=fragmentLines.map((line,i)=>({...line,hidden:t<ends[i]}))- const index=starts.findIndex((start,i)=>t>=start&&t<ends[i])- if(index<0)return {lines,partial:{track:'them',startMs:0,text:'',words:[]}}- const line=fragmentLines[index],all=line.text.split(' ')- const count=Math.min(all.length,1+Math.floor((t-starts[index])/(ends[index]-starts[index])*(all.length-1)))- const words=all.slice(0,count).map((text,i)=>({text,startMs:line.startMs+i*350,endMs:line.startMs+(i+1)*350}))- return {lines,partial:{track:line.track,startMs:line.startMs,text:words.map(w=>w.text).join(' '),words}}-}diff --git a/site/renderer/fragments.tsx b/site/renderer/fragments.tsxdeleted file mode 100644index c68494da..00000000--- a/site/renderer/fragments.tsx+++ /dev/null@@ -1,117 +0,0 @@-import { useEffect, useState } from 'react'-import { createPortal } from 'react-dom'-import { Transcript } from '@app/components/Transcript'-import { SummaryWaiting } from '@app/components/SummaryWaiting'-import { Editor } from '@app/components/Editor'-import { AskConversation } from '@app/components/AskConversation'-import { Logo } from '@app/components/Logo'-import { chat, fragment, fragmentChat, fragmentTranscript, meeting } from './bridge.mjs'-import { question, answer } from './timeline.mjs'-import { fragmentLines, fragmentTranscriptAt } from './fragment-transcript.mjs'-import { finalPlan, fragmentSummaryAt, summarySettled } from './fragment-summary.mjs'--const noop = () => {}-const animated = new URLSearchParams(location.search).has('animate')-// Summary and Ask keep their complete layout; Transcript reserves three native turn slots.-if(fragment==='transcript')fragmentTranscript(fragmentLines,{track:'them',startMs:0,text:'',words:[]})-// Keep the completed answer mounted for word reveals; the native waiting row overlays its reserved slot.-if(fragment==='ask')fragmentChat({question,answer:answer+'[1]',status:animated?'waiting':'done'})--type Reveal = {element:HTMLElement;start:number;duration:number}-function reveals(root:HTMLElement) {- const items:Reveal[]=[]- const fade=(element:HTMLElement|null,start:number,duration=.28)=>{if(element)items.push({element,start,duration})}- const words=(element:HTMLElement,start:number,pace:number)=>{- const walker=document.createTreeWalker(element,NodeFilter.SHOW_TEXT),nodes:Text[]=[]- while(walker.nextNode())if(walker.currentNode.textContent?.trim()&&!walker.currentNode.parentElement?.closest('button,time,.sr-only'))nodes.push(walker.currentNode as Text)- let index=0- for(const node of nodes){- const replacement=document.createDocumentFragment()- for(const text of node.data.split(/(\s+)/)){- if(!text.trim()){replacement.append(text);continue}- const word=document.createElement('span');word.className='fragment-word';word.textContent=text- replacement.append(word);fade(word,start+index++*pace)- }- node.replaceWith(replacement)- }- }- if(fragment==='ask'){- const prompt=root.querySelector<HTMLElement>('.ask-question')!;fade(prompt,1);words(prompt,1,.045)- fade(root.querySelector('.fragment-byline'),2.05)- let start=4.45- root.querySelectorAll<HTMLElement>('.chat-answer>p').forEach(p=>{words(p,start,1.5/answer.split(' ').length);start+=p.textContent!.replace(/1$/,'').trim().split(/\s+/).length*1.5/answer.split(' ').length})- fade(root.querySelector('.source-citation'),5.95)- }- return items-}-export function FragmentScene() {- const [summaryTime,setSummaryTime]=useState(animated?0:99)- const waiting = fragment === 'summary' && summaryTime < 1.5- const [turn,setTurn]=useState<HTMLElement|null>(null)- const [transcriptRevision,setTranscriptRevision]=useState(0)- useEffect(()=>{- let prepared=false,items:Reveal[]=[],transcriptSignature='',measured:HTMLElement|null=null- const listener=(event:MessageEvent)=>{- if(event.source!==parent||event.origin!==location.origin)return- if(event.data?.type==='yogurt-fragment-playing'){- document.documentElement.dataset.paused=String(!event.data.playing)- return- }- if(event.data?.type!=='yogurt-fragment-time'||!Number.isFinite(event.data.seconds))return- const t=Math.max(0,Math.min(99,event.data.seconds))- if(fragment==='summary')setSummaryTime(t)- if(fragment==='ask')document.documentElement.style.setProperty('--reply-opacity',t>=2.05?'1':'0')- if(fragment==='transcript'){- const scene=fragmentTranscriptAt(t),signature=JSON.stringify(scene)- if(signature!==transcriptSignature){transcriptSignature=signature;fragmentTranscript(scene.lines,scene.partial)}- }- for(const {element,start,duration} of items){const progress=Math.max(0,Math.min(1,(t-start)/duration));element.style.opacity=String(1-(1-progress)**3)}- const pending=document.querySelector<HTMLElement>('.fragment-ask .chat-progress')- if(pending)pending.style.visibility=t>=2.05&&t<4.45?'visible':'hidden'- document.documentElement.dataset.fragmentPlaying=String(t<20)- }- window.addEventListener('message',listener)- const ready=()=>{- if(prepared||measured?.isConnected)return- const target=document.querySelector<HTMLElement>('.ask-turn');if(target)setTurn(target)- if(!document.querySelector('[data-testid="transcript"][data-loaded=true], [data-testid="fragment-plan"], [data-testid="chat-answer"]')||fragment==='ask'&&!document.querySelector('.fragment-byline'))return- prepared=true- void document.fonts.ready.then(()=>requestAnimationFrame(()=>{- if(fragment==='transcript'&&animated&&!measured){- measured=document.querySelector<HTMLElement>('[data-testid=transcript]')!- const turns=[...measured.querySelectorAll<HTMLElement>('.transcript-turn')]- const sheet=document.createElement('style')- // Measure the finished native layout while hidden, then reserve it for live speech.- sheet.textContent=`.fragment-transcript [data-testid=transcript]{height:${measured.getBoundingClientRect().height}px;display:grid;grid-template-rows:${turns.map(turn=>turn.getBoundingClientRect().height+'px').join(' ')};gap:20px}`+turns.map((turn,i)=>{- const bubble=turn.querySelector('.bubble')!.getBoundingClientRect()- return `.fragment-transcript .transcript-turn:nth-child(${i+1} of .transcript-turn) .bubble{width:${bubble.width}px;height:${bubble.height}px;flex:none}`- }).join('')- document.head.append(sheet)- fragmentTranscript([],{track:'them',startMs:0,text:'',words:[]})- prepared=false;setTranscriptRevision(1);return- }- if(fragment==='ask'){- const answer=document.querySelector<HTMLElement>('.chat-answer')!,turn=answer.closest<HTMLElement>('.ask-turn')!- turn.style.setProperty('--fragment-answer-top',`${answer.getBoundingClientRect().top-turn.getBoundingClientRect().top}px`)- }- items=reveals(document.querySelector('.marketing-fragment')!)- // Export URLs stay finished; live frames are empty before the host exposes them.- if(animated)for(const {element} of items)element.style.opacity='0'- document.documentElement.dataset.ready='true'- parent.postMessage({type:'yogurt-fragment-ready'},location.origin)- }))- }- const observer=new MutationObserver(ready);observer.observe(document.body,{childList:true,subtree:true,attributes:true,attributeFilter:['data-loaded']});ready()- return()=>{observer.disconnect();window.removeEventListener('message',listener)}- },[])- return <div className={`marketing-fragment fragment-${fragment}`}>- {fragment==='transcript'&&<Transcript key={transcriptRevision} id={meeting.id} recording inline />}- {fragment==='summary'&&<div className="fragment-plan" data-waiting={waiting}>- {waiting && <div className="summary-cue"><span>Summarizing…</span><SummaryWaiting /></div>}- <div className="fragment-plan-size" aria-hidden="true"><Editor markdown={finalPlan} editable={false} label="Tuesday launch" testId="fragment-plan-size" className="enhanced" /></div>- <div className="fragment-plan-live"><Editor markdown={fragmentSummaryAt(Math.max(0, summaryTime - .75))} streaming={animated&&summaryTime<summarySettled} editable={false} label="Tuesday launch" testId="fragment-plan" className="enhanced" /></div>- </div>}- {fragment==='ask'&&<><AskConversation id={chat.id} initial={chat} panel onSelect={noop} onSource={noop} onDeleted={noop}/>- {turn&&createPortal(<div className="fragment-byline"><Logo size={20}/><span>Yogurt</span></div>,turn)}</>}- </div>-}diff --git a/site/renderer/frame.css b/site/renderer/frame.cssdeleted file mode 100644index 69e3148c..00000000--- a/site/renderer/frame.css+++ /dev/null@@ -1,98 +0,0 @@-html,body,#root{height:100%;margin:0;overflow:hidden;color-scheme:dark}-html.main-window,body{background:transparent!important}-body{pointer-events:none;user-select:none;caret-color:transparent}-.marketing-window{position:absolute;inset:0;background:var(--bg);overflow:hidden;border-radius:12px}-/* Native fixed titlebar actions are relative to this isolated window. */-.marketing-window{transform:translateZ(0)}-/* Let the app's viewport clamp size Ask, rather than the demo's short note body. */-@media(min-width:1000px){.marketing-window .chat-panel{--chat-height:initial!important}}-/* Center the 10px dots in the native 52px title bar. */-.marketing-traffic{position:absolute;left:18px;top:21px;display:flex;gap:7px;z-index:100}-.marketing-traffic i{width:10px;height:10px;border-radius:50%;background:#ff6058}-.marketing-traffic i:nth-child(2){background:#febc2e}-.marketing-traffic i:nth-child(3){background:#29c840}-html[data-still] *,html[data-still] *::before,html[data-still] *::after{animation:none!important;transition:none!important}-html[data-playing=false] *,html[data-playing=false] *::before,html[data-playing=false] *::after{animation-play-state:paused!important}----/* The first turn predates the demo; only later names use the app reveal. */-.marketing-window .transcript-turn:nth-child(1) .name-in{animation:none}-/* Keep the pointer legible against the dark window. */-.marketing-cursor{position:fixed;top:0;left:0;width:30px;height:32px;z-index:1000;pointer-events:none;overflow:visible;opacity:0}-.cursor-pointer{fill:#2f3649;stroke:white;filter:drop-shadow(0 1px 1.5px #0e142633);transform-origin:4px 3px;transition:transform 130ms ease-out}-.marketing-cursor[data-clicking=true] .cursor-pointer{transform:scale(.88)}-.cursor-ring{fill:none;stroke:white;stroke-width:1.5px;opacity:0;transform-origin:4px 3px;transform:scale(.6);transition:transform 240ms ease-out,opacity 180ms ease-out}-.marketing-cursor[data-clicking=true] .cursor-ring{opacity:.3;transform:scale(1)}--html[data-typing=true] [data-testid=note-mine] li:last-child p::after{content:'';display:inline-block;height:1em;border-right:1.5px solid currentColor;vertical-align:-.1em;animation:demo-caret 900ms step-end infinite}-/* Tiptap's empty paragraph ends in a break; keep its preview caret on that line. */-html[data-typing=true] [data-testid=note-mine] li:last-child p:has(>br:only-child){position:relative}-html[data-typing=true] [data-testid=note-mine] li:last-child p:has(>br:only-child)::after{position:absolute;left:0;top:50%;translate:0 -50%}-@keyframes demo-caret{50%{opacity:0}}--/* Fragments render app components without window chrome. */-html[data-fragment]{color-scheme:light}-.marketing-fragment{position:absolute;inset:24px 24px auto;min-width:0}-.marketing-fragment .transcript-toolbar,.marketing-fragment .transcript-player-dock,-.marketing-fragment .ask-conversation-head,.marketing-fragment .ask-composer,.marketing-fragment .chat-answer-actions{display:none}-/* Measured native turns reserve the final layout before live words begin. */-.fragment-transcript .transcript-inline [data-testid=transcript]{padding:0;gap:20px;overflow:hidden;flex:none}-.fragment-transcript .transcript-turn{margin:0;min-width:0}-.fragment-transcript .turn-head{align-self:stretch}-.fragment-transcript .line-who{flex:1}-.fragment-transcript .turn-time{display:none}-/* This marketing fragment labels the mic side; the app and hero keep their native treatment. */-.fragment-transcript .transcript-turn[data-track=me]>p.sr-only{position:static;display:flex;align-self:stretch;width:auto;height:auto;margin:0;padding:0;overflow:visible;clip:auto;clip-path:none;white-space:normal;text-align:right;font-size:var(--text-xs);line-height:var(--text-xs--line-height);color:var(--muted)}-.fragment-transcript [data-testid=transcript-empty],.fragment-transcript .loading-placeholder{display:none}-.marketing-fragment .ask-thread{padding:0;overflow:visible}-.marketing-fragment .ask-turn>.ask-question{order:0}-.fragment-byline{display:flex;align-items:center;gap:9px;order:1;color:var(--muted);font-size:12px}-.marketing-fragment .ask-turn>:is(.chat-progress,.chat-answer){order:2}-.marketing-fragment .ask-turn>.chat-progress{margin:0}-.marketing-fragment .ask-turn>.chat-answer{margin-left:29px}--html[data-fragment-playing=false] *{animation-play-state:paused!important}--/* Native waiting row overlays the reserved answer slot; no content enters flow. */-.fragment-ask .ask-turn{position:relative}-.fragment-ask .ask-turn>.chat-progress{position:absolute;left:29px;top:var(--fragment-answer-top);visibility:hidden}--@media(max-width:320px){- .marketing-fragment{inset:20px 20px auto}- .marketing-fragment .bubble,.marketing-fragment .ask-question,.marketing-fragment .chat-answer{font-size:15px}-}--/* Demo speakers are known up front; reveal their native labels with the live turn. */-.marketing-window [data-testid=transcript-who],.fragment-transcript [data-testid=transcript-who]{visibility:visible;animation:none}--/* Reserve the finished document while its real editor streams in the same slot. */-.fragment-plan{position:relative}-.fragment-plan-size{visibility:hidden;pointer-events:none}-.fragment-plan-live{position:absolute;inset:0}--/* The visible input click stands in for focus without taking focus from the page. */-html[data-ask-focused=true] [data-testid=chat-suggestions]{visibility:hidden}--/* Marketing treatment of the native Ask turn; the app itself is unchanged. */-html[data-fragment=ask] .fragment-ask{inset:0;display:flex;align-items:center;justify-content:center;padding:28px}-.fragment-ask .ask-conversation{flex:none;width:100%;max-width:400px}-.fragment-ask .ask-thread-wrap,.fragment-ask .ask-thread{flex:none;overflow:visible!important}-.fragment-ask .ask-turn{gap:28px;margin:0}-.fragment-ask .ask-turn>.ask-question{max-width:85%;padding:10px 14px;border-radius:14px 14px 4px 14px}-.fragment-ask .ask-turn>.chat-answer{margin:0 24px 0 32px;padding:12px 16px;border:1px solid var(--line);border-radius:4px 14px 14px 14px;background:var(--float);font-size:14.5px;line-height:1.6}-.fragment-ask .chat-answer>p{margin:0}.fragment-ask .chat-answer>p+p{margin-top:6px}-.fragment-ask .fragment-byline{position:absolute;left:0;top:calc(var(--fragment-answer-top) + 12px);margin:0;width:20px;height:20px}-.fragment-ask .fragment-byline>span{display:none}-.fragment-ask .ask-turn>.chat-progress{left:48px;top:calc(var(--fragment-answer-top) + 12px);margin:0}-@media(max-width:320px){html[data-fragment=ask] .fragment-ask{padding:20px}.fragment-ask .ask-turn{gap:24px}.fragment-ask .ask-turn>.chat-answer{margin-right:0;font-size:14px}.fragment-ask .ask-turn>.ask-question{font-size:14px}}-.fragment-ask .ask-turn>.chat-answer{opacity:var(--reply-opacity,1);transition:opacity 180ms ease-out}-@media(prefers-reduced-motion:reduce){.fragment-ask .ask-turn>.chat-answer{transition:none}}--.fragment-plan[data-waiting=true] .fragment-plan-live {visibility:hidden}-.summary-cue {position:absolute;inset:0}-.summary-cue>span {display:block;color:var(--muted);font-size:14px;margin-bottom:8px}--.fragment-ask .ask-thread-wrap .ask-thread {width:100%;max-width:100%;min-width:0}-html[data-fragment][data-paused=true] *,html[data-fragment][data-paused=true] *::before,-html[data-fragment][data-paused=true] *::after {animation-play-state:paused!important}diff --git a/site/renderer/timeline.mjs b/site/renderer/timeline.mjsdeleted file mode 100644index 2f60bf87..00000000--- a/site/renderer/timeline.mjs+++ /dev/null@@ -1,43 +0,0 @@-// All people, words and times here are invented for the marketing demonstration.-export const timing = { notes:8, type:9.5, typed:14, finish:15.5, summaryStart:18, summary:20, ask:24, askFocus:24.85, question:25, send:27.4, answer:29.8, answered:31.3, close:34.6, resume:36.2, transcript:37.4 }-export const duration = 39-export const beats = [['arrival',0],['live',3.3],['notes',12],['finish',15.45],['writing',18],['summary',22.5],['question',26.5],['thinking',28],['answer',33]]-export const mine = '- Leave 30 minutes for a quiet QA pass.'-export const bullet = 'Note to self: send Ray the asset list by Friday.'-// Fixed, slightly uneven keystrokes keep exports repeatable without a mechanical cadence.-const keyWeights=[...bullet].map((_,index)=>1+(index%4)*.12+(bullet[index-1]===' '?.18:bullet[index-1]===':'?.65:0))-const keyTotal=keyWeights.reduce((sum,weight)=>sum+weight,0)-let keyElapsed=0-const keyTimes=keyWeights.map(weight=>timing.type+(keyElapsed+=weight)/keyTotal*(timing.typed-timing.type))-export const summary = '## Launch plan\nPublish the page Tuesday. Send the announcement Wednesday morning, after checking the links.\n## Next steps\n- **Kara:** Share the release notes draft Friday.\n- **Lincoln:** Send the announcement Wednesday.\n- **You:** Send Ray the asset list by Friday.\n## My reminders\n- Leave 30 minutes for a quiet QA pass.'-export const question = 'When are we launching?'-export const answer = 'The page goes live Tuesday.\n\nLincoln announces it Wednesday.'-const line = (id, speaker, text, startMs, endMs) => ({ id, meetingId: 'sample-meeting', track: 'them', speaker, speakerColor: ['Kara Moore', 'Ray Mones', 'Lincoln Park'].indexOf(speaker), text, startMs, endMs, hidden: false })-const opening = [- line(1, 'Kara Moore', 'The launch page is ready for review.', 709000, 712000),-]-const arrivals = [- { from: 1.5, to: 4.5, line: line(2, 'Ray Mones', 'Support has the checklist. We can publish Tuesday.', 721500, 724500) },- { from: 5.2, to: 7.5, line: line(3, 'Lincoln Park', 'I’ll send the announcement on Wednesday morning.', 725200, 727500) },-]-const words = (text, fraction) => text.split(' ').slice(0, Math.ceil(text.split(' ').length * Math.max(0, Math.min(1, fraction)))).join(' ')-export function sceneAt(t) {- const replay = t >= timing.resume- const meetingTime = replay ? 0 : t- const transcript = [...opening]- // Keep future speaker metadata present on every pass; hidden lines never render.- for (const arrival of arrivals) transcript.push({ ...arrival.line, hidden: meetingTime < arrival.to })- transcript.sort((a,b) => a.startMs-b.startMs)- const live = arrivals.find(a => meetingTime >= a.from && meetingTime < a.to)- const partial = live ? words(live.line.text, (meetingTime-live.from)/(live.to-live.from)) : ''- return { transcript, partial, partialStart: live?.line.startMs ?? 0,- state: replay || t < timing.finish ? 'recording' : t < timing.summary ? 'stopped' : 'done',- status: replay || t < timing.finish ? 'idle' : t < timing.summary ? 'writing' : 'done',- mine: mine + (!replay && t >= timing.type-1.1 ? '\n- ' + bullet.slice(0,keyTimes.filter(at=>at<=t).length) : ''),- draft: replay || t < timing.summaryStart ? '' : summary.slice(0,Math.floor(summary.length*Math.min(1,(t-timing.summaryStart)/(timing.summary-timing.summaryStart)))),- tab: t < timing.notes || t >= timing.transcript ? 'note-transcript-toggle' : t < timing.finish || replay ? 'note-notes-tab' : 'note-summary-tab',- askFocused: t >= timing.askFocus && t < timing.send,- question: t < timing.question ? '' : question.slice(0,Math.ceil(question.length*Math.min(1,(t-timing.question)/2))),- answer: t < timing.answer ? '' : words(answer,(t-timing.answer)/(timing.answered-timing.answer)),- }-}diff --git a/site/renderer/timeline.test.mjs b/site/renderer/timeline.test.mjsdeleted file mode 100644index 306a80e6..00000000--- a/site/renderer/timeline.test.mjs+++ /dev/null@@ -1,95 +0,0 @@-import assert from 'node:assert/strict'-import { sceneAt, timing, duration, mine, bullet, summary } from './timeline.mjs'-assert.equal(summary.split('## My reminders\n')[1],mine,'Summary reminders match the original notes')-assert.equal(sceneAt(0).transcript.filter(line=>!line.hidden).length,1)-assert.equal(sceneAt(3).transcript.filter(line=>!line.hidden).length,1)-assert(sceneAt(3).partial.length>0)-assert.deepEqual(sceneAt(7.6).transcript.map(line=>line.speaker),['Kara Moore','Ray Mones','Lincoln Park'])-assert.equal(sceneAt(timing.notes).mine,mine)-assert.equal(sceneAt(timing.type-.5).mine,mine+'\n- ')-assert.equal(sceneAt(timing.typed).mine,mine+'\n- '+bullet)-assert.equal(sceneAt(timing.resume).transcript.filter(line=>!line.hidden).length,1)-assert.equal(duration,39)-assert.equal(timing.ask,24)-assert.equal(timing.askFocus,24.85)-assert.equal(timing.question,25)-assert.equal(timing.send,27.4)-assert.equal(sceneAt(timing.askFocus-.01).askFocused,false)-assert.equal(sceneAt(timing.askFocus).askFocused,true)-assert.equal(sceneAt(timing.askFocus).question,'','input click precedes typing')-assert.equal(sceneAt(timing.send).askFocused,false)-assert.equal(sceneAt(0).askFocused,false,'replay clears the simulated focus')-assert(Math.abs(timing.answer-timing.send-2.4)<1e-9)-assert.equal(timing.answered-timing.answer,1.5)-console.log('Demo opening, typed bullet, resume and loop timing passed.')--for(const time of [0,2,3,4.6,6,7.6]){- const scene=sceneAt(time)- assert.equal(scene.transcript.length,3,'every pass includes the complete speaker metadata')- if(scene.partial){- const speaker=scene.transcript.filter(line=>line.startMs<=scene.partialStart).at(-1)- assert.equal(speaker.startMs,scene.partialStart,'live words inherit their own speaker, never the preceding turn')- assert(speaker.hidden,'future final text remains hidden while live words arrive')- }-}-assert.deepEqual(sceneAt(0).transcript,sceneAt(timing.resume).transcript)--const {stepCircleFrame}=await import('../public/marketing/timing.mjs')-for(const span of [7.1,8.1,8]){- assert.equal(stepCircleFrame(0,span).fill,0)- assert.equal(stepCircleFrame(.26,span).fill,1)- assert.equal(stepCircleFrame(.54,span).rebound,0)- assert.equal(stepCircleFrame(span,span).fill,0)- assert(stepCircleFrame(span-.08,span).fill>0)- for(let t=0;t<=span;t+=1/60){- const frame=stepCircleFrame(t,span)- assert(frame.fill>=0&&frame.fill<=1)- assert(Math.abs(frame.rebound)<=1)- if(t>=.26)assert.equal(frame.blur,0)- }-}-console.log('Step circle fill, rebound and release timing passed.')--assert.equal(timing.typed-timing.type,4.5)-assert(Math.abs(timing.finish-1.3-timing.typed-.2)<1e-9,'cursor returns 200 ms after typing')-assert.equal(timing.summaryStart-timing.finish,2.5,'preserve the Finish pending beat')-assert.equal(sceneAt(timing.finish).status,'writing')-assert.equal(sceneAt(timing.finish).draft,'','Finish leaves time for the native Summary outline and reading label')-assert.equal(sceneAt(timing.summaryStart).draft,'')-assert(sceneAt(timing.summaryStart+.5).draft.length>0,'Summary streams after the reading beat')-assert.equal(sceneAt(timing.summary).status,'done')-let count=0,last=timing.type-const intervals=[]-for(let t=timing.type;t<=timing.typed+.001;t+=.001){- const next=sceneAt(t).mine.slice(mine.length+3).length- assert(next>=count&&next<=count+1,'keystrokes arrive one at a time')- if(next>count){intervals.push(t-last);last=t;count=next}-}-assert.equal(count,bullet.length)-assert(Math.max(...intervals)>Math.min(...intervals)*1.3,'typing has a slight uneven rhythm')-console.log('Faster notes typing and cursor handoff timing passed.')--const {fragmentLines,fragmentTranscriptAt}=await import('./fragment-transcript.mjs')-for(const [time,index] of [[.8,0],[2.65,1],[4.05,2]]){- const scene=fragmentTranscriptAt(time)- const speaker=scene.lines.filter(line=>line.track===scene.partial.track&&line.startMs<=scene.partial.startMs).at(-1)- assert.equal(speaker.id,fragmentLines[index].id,'live turns have their own speaker from their first word')- assert(speaker.hidden)- assert(scene.partial.words.length>0)-}-assert.deepEqual(fragmentTranscriptAt(99).lines,fragmentLines)-console.log('Fragment live speaker metadata and final still passed.')--const {finalPlan,fragmentSummaryAt,summarySettled}=await import('./fragment-summary.mjs')-assert.equal(fragmentSummaryAt(0),'')-assert.equal(fragmentSummaryAt(.95),'## Tuesday')-assert.equal(fragmentSummaryAt(99),finalPlan)-assert.equal(fragmentSummaryAt(summarySettled),finalPlan)-let previous=''-for(let t=0;t<7.2;t+=1/60){- const next=fragmentSummaryAt(t)- assert(next.startsWith(previous),'Summary only appends words, including on replay')- previous=next-}-assert(summarySettled<7.2,'ink settles before the cycle hands off')-console.log('Native Summary stream cadence and completed still passed.')diff --git a/site/scripts/activity.mjs b/site/scripts/activity.mjsdeleted file mode 100644index e99c1e5d..00000000--- a/site/scripts/activity.mjs+++ /dev/null@@ -1,175 +0,0 @@-import { repoAPI as api, stableRelease, navStars } from '../public/marketing/stars-data.mjs'-const hour = 3600000,- day = hour * 24-const timestamp = (value) => Number.isFinite(Date.parse(value))-const version = (value) => typeof value === 'string' && /^v[\w.-]+$/.test(value)--export function validSnapshot(data) {- return (- !!data &&- timestamp(data.capturedAt) &&- timestamp(data.historyCapturedAt) &&- Number.isSafeInteger(data.count) &&- data.count > 0 &&- Number.isSafeInteger(data.releases) &&- data.releases > 0 &&- version(data.latest?.tag) &&- timestamp(data.latest.published) &&- Array.isArray(data.week) && data.week.length === 7 &&- data.week.every((n) => Number.isInteger(n) && n >= 0) &&- Array.isArray(data.history) &&- data.history.length > 0 &&- data.history.every(- (point, i) =>- Array.isArray(point) &&- point.length === 2 &&- Number.isFinite(point[0]) &&- Number.isSafeInteger(point[1]) &&- point[1] > 0 &&- (!i || (point[0] > data.history[i - 1][0] && point[1] > data.history[i - 1][1]))- )- )-}--// Store only timestamps and cumulative counts. No account information goes in the snapshot.-export function historyFromDates(dates) {- const points = []- dates- .sort((a, b) => a - b)- .forEach((time, i) => {- const last = points.at(-1)- if (last && Math.floor(last[0] / hour) === Math.floor(time / hour)) {- last[0] = time- last[1] = i + 1- } else points.push([time, i + 1])- })- return points-}-export async function githubPages(request, endpoint, accept) {- const rows = []- for (let page = 1; ; page++) {- const batch = await request(api + '/' + endpoint + '?per_page=100&page=' + page, accept)- if (!Array.isArray(batch)) throw Error('Incomplete page')- rows.push(...batch)- if (batch.length < 100) return rows- }-}--export async function getActivity(saved, request, now = new Date(), releaseRows) {- const repo = await request(api)- if (!Number.isSafeInteger(repo.stargazers_count) || repo.stargazers_count < 1)- throw Error('Invalid star count')- const releases = (releaseRows ?? await githubPages(request, 'releases'))- .filter(stableRelease)- .sort((a, b) => Date.parse(b.published_at) - Date.parse(a.published_at))- if (!releases.length) throw Error('No published releases')- const today = Date.parse(now.toISOString().slice(0, 10))- const week = Array(7).fill(0)- for (const release of releases) {- const index = 6 + Math.floor((Date.parse(release.published_at) - today) / day)- if (index >= 0 && index < 7) week[index]++- }- let history = saved?.history- let historyCapturedAt = saved?.historyCapturedAt- if (- !validSnapshot(saved) ||- saved.history.at(-1)[1] !== repo.stargazers_count ||- !(now - Date.parse(historyCapturedAt) < day)- ) {- try {- const stars = await githubPages(request, 'stargazers', 'application/vnd.github.star+json')- const dates = new Map()- for (const row of stars) {- if (!row.user?.id || !timestamp(row.starred_at)) throw Error('Invalid star timestamp')- dates.set(row.user.id, Date.parse(row.starred_at))- }- if (!dates.size) throw Error('No star history')- history = historyFromDates([...dates.values()])- historyCapturedAt = now.toISOString()- } catch (error) {- if (!validSnapshot(saved)) throw error- console.warn('Using cached star history from ' + historyCapturedAt)- }- }- const snapshot = {- capturedAt: now.toISOString(),- count: repo.stargazers_count,- history,- historyCapturedAt,- releases: releases.length,- week,- latest: { tag: releases[0].tag_name, published: new Date(releases[0].published_at).toISOString() },- }- if (!validSnapshot(snapshot)) throw Error('Invalid activity snapshot')- return snapshot-}-function releaseFields(releases) {- const latest = releases[0]- const end = Date.parse(latest.published.slice(0, 10))- const first = end - 6 * day- const counts = Array(7).fill(0)- for (const { published } of releases) {- const index = (Date.parse(published.slice(0, 10)) - first) / day- if (index >= 0 && index < 7) counts[index]++- }- const date = new Intl.DateTimeFormat('en-US', { month: 'short', day: 'numeric', timeZone: 'UTC' })- const weekday = new Intl.DateTimeFormat('en-US', { weekday: 'short', timeZone: 'UTC' })- const peak = Math.max(1, ...counts)- const bars = counts.map((count, i) => {- const when = new Date(first + i * day)- const label = date.format(when) + ', ' + count + (count === 1 ? ' release' : ' releases')- return `<span class="week-day" title="${label}"><i><b style="height:${100 * count / peak}%"></b></i><small>${weekday.format(when)}</small></span>`- }).join('')- const weekTotal = counts.reduce((sum, count) => sum + count, 0)- return {- releases: releases.length.toLocaleString('en-US'),- releaseNoun: releases.length === 1 ? 'release' : 'releases',- weekSummary: `${weekTotal} published ${date.formatRange(first, end)}`,- bars,- version: latest.version, published: latest.published,- releaseDate: new Date(latest.published).toLocaleDateString('en-US', {- month: 'short', day: 'numeric', year: 'numeric', timeZone: 'UTC',- }),- }-}--export function renderActivity(html, data, releases) {- const format = new Intl.NumberFormat('en-US')- const { count, history } = data- // The total may have refreshed even when dated history was unavailable.- const last = history.at(-1)- const observedAt = Date.parse(data.capturedAt)- const points = count !== last[1] && observedAt > last[0] ? [...history, [observedAt, count]] : history- const start = points[0][0], span = points.at(-1)[0] - start- const maximum = Math.max(count, last[1])- const vertices = points.map(([time, stars]) => {- const x = span ? 510 * (time - start) / span : 510- const y = 90 - 90 * stars / maximum- return x.toFixed(2) + ',' + y.toFixed(2)- })- const values = {- capturedAt: data.capturedAt,- stars: format.format(count),- navStars: navStars(count),- vertices: vertices.join(' '),- area: 'M' + vertices.join('L') + (span ? 'L510 90L0 90Z' : 'L510 90Z'),- ...releaseFields(releases),- historyLabel: `${format.format(last[1])} dated stars through ${new Date(history.at(-1)[0])- .toISOString()- .slice(0, 10)}`,- }- return html.replace(/\{\{(\w+)\}\}/g, (_, key) => {- if (!(key in values)) throw Error('Unknown activity field ' + key)- return String(values[key])- })-}--export async function refreshActivity(saved, request, now, releaseRows) {- try {- return await getActivity(saved, request, now, releaseRows)- } catch (error) {- if (!validSnapshot(saved)) throw error- console.warn('Using saved project activity from ' + saved.capturedAt + ' (' + error.message + ').')- return saved- }-}diff --git a/site/scripts/bundle.mjs b/site/scripts/bundle.mjsdeleted file mode 100644index a327f52b..00000000--- a/site/scripts/bundle.mjs+++ /dev/null@@ -1,84 +0,0 @@-import { createRequire } from 'node:module'-import { fileURLToPath, pathToFileURL } from 'node:url'-import path from 'node:path'-import fs from 'node:fs'-import os from 'node:os'-import { execFileSync } from 'node:child_process'-import { createHash } from 'node:crypto'-import { gzipSync } from 'node:zlib'--const site = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..'), repo = path.dirname(site)-const deps = path.resolve(process.env.YOGURT_BUILD_DEPS || repo)-const require = createRequire(path.join(deps, 'app/package.json'))-const { build } = await import(pathToFileURL(require.resolve('vite')))-const { default: react } = await import(pathToFileURL(require.resolve('@vitejs/plugin-react')))-const { default: tailwind } = await import(pathToFileURL(require.resolve('@tailwindcss/vite')))-const postcss = createRequire(fs.realpathSync(path.join(site, 'node_modules/next/package.json')))('postcss')-const outDir = path.join(site, 'public/marketing/app')-// Build the renderer from this repository at a reproducible commit.-const appCommit = execFileSync('git', ['rev-parse', process.env.YOGURT_APP_REF || 'origin/main'], { cwd: repo, encoding: 'utf8' }).trim()-const source = fs.realpathSync(fs.mkdtempSync(path.join(os.tmpdir(), 'yogurt-marketing-source-')))-process.on('exit', () => fs.rmSync(source, { recursive: true, force: true }))-const archive = execFileSync('git', ['archive', appCommit, 'app/src/renderer', 'app/src/shared'], { cwd: repo, maxBuffer: 32*1024*1024 })-execFileSync('tar', ['-xf', '-', '-C', source], { input: archive })-const sourceOverrides = {}-const sourceFiles = new Set()-await build({- configFile: false, root: path.join(site, 'renderer'), publicDir: false, base: '/marketing/app/',- define: { 'process.env.NODE_ENV': '"production"' },- resolve: { alias: [{ find: '@app', replacement: path.join(source, 'app/src/renderer/src') }] },- plugins: [- { name: 'renderer-only', enforce: 'pre',- async resolveId(id) {- if (/^(electron|node:|@yogurt\/picker)/.test(id)) throw new Error(`Native import prohibited: ${id}`)- if (!id.startsWith('.') && !id.startsWith('/') && !id.startsWith('@app') && !id.startsWith('\0')) {- return this.resolve(id, path.join(deps, 'app/marketing-entry.js'), { skipSelf: true })- }- },- transform(code, id) {- if (/\/app\/src\/(main|preload|engine)\//.test(id)) throw new Error(`Native source prohibited: ${id}`)- if (id.startsWith(source + '/app/src/')) sourceFiles.add(path.relative(source, id))- // Playback cannot exist in a marketing fixture; the real note/transcript/Ask remain unchanged.- if (id.endsWith('/components/Player.tsx')) return 'export function Player() { return null }'- if (id.endsWith('/components/FinishSetup.tsx')) return 'export function FinishSetup() { return null }'- if (id.endsWith('/components/RecordingHint.tsx')) return 'export function RecordingHint() { return null }'- // Shared platform helpers import this pure list from main; never bundle native permissions.- if (id.endsWith('/shared/platform.ts')) {- const permissions = execFileSync('git', ['show', `${appCommit}:app/src/main/permissions.ts`], { cwd: repo, encoding: 'utf8' })- const kinds = permissions.match(/export const PERMISSION_KINDS: PermissionKind\[\] = (\[[^\n]+\])/)[1]- return code.replace(/import \{ PERMISSION_KINDS \} from '\.\.\/main\/permissions'/, `const PERMISSION_KINDS: PermissionKind[] = ${kinds}`)- }- if (id.endsWith('/shared/i18n.ts')) return code.replace("'./locales/*.json'", "'./locales/en.json'")- if (/\/renderer\/src\/(styles|workspace)\.css$/.test(id)) {- // Force only this isolated frame to the renderer's own dark palette, even on a light OS.- const dark = []- const sheet = postcss.parse(code)- sheet.walkAtRules('media', rule => {- if (!/prefers-color-scheme:\s*dark/.test(rule.params)) return- rule.walkRules(node => {- const copy = node.clone()- copy.selectors = copy.selectors.map(selector => selector.includes(':root') ? selector.replace(':root', ':root[data-marketing-theme="dark"]') : `:root[data-marketing-theme="dark"] ${selector}`)- dark.push(copy.toString())- })- rule.remove()- })- code = sheet.toString()- code += '\n' + dark.join('\n')- return code.replace('@import "tailwindcss";', `@import "${require.resolve('tailwindcss/index.css')}" source(none);\n@source "${path.join(source, 'app/src/renderer/src')}";`)- }- },- }, react(), tailwind(),- ],- build: { outDir, emptyOutDir: true, sourcemap: false, minify: true, license: { fileName: 'LICENSES.txt' },- lib: { entry: path.join(site, 'renderer/entry.tsx'), name: 'YogurtMarketing', formats: ['iife'], fileName: () => 'renderer.js', cssFileName: 'renderer' },- },-})-const csp = "default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; connect-src 'none'; media-src 'none'; frame-src 'none'; form-action 'none'; base-uri 'none'"-fs.writeFileSync(path.join(outDir, 'frame.html'), `<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="Content-Security-Policy" content="${csp}"><title>Fictional meeting · Yogurt</title><meta name="robots" content="noindex,nofollow"><link rel="stylesheet" href="renderer.css"><script src="renderer.js" defer></script></head><body inert><div id="root"></div></body></html>\n`)-const files = Object.fromEntries(fs.readdirSync(outDir).map(name => {- const bytes = fs.readFileSync(path.join(outDir, name))- return [name, { bytes: bytes.length, gzipBytes: gzipSync(bytes, { level: 9 }).length, sha256: createHash('sha256').update(bytes).digest('hex') }]-}))-const manifest = { appCommit, sourceOverrides, generatedAt: new Date().toISOString(), source: 'app/src/renderer', fixture: 'site/renderer/bridge.mjs', nativeCode: false, stripped: ['Player', 'FinishSetup', 'RecordingHint', 'non-English locale tables'], sourceFiles: [...sourceFiles].sort(), files, totalGzipBytes: Object.entries(files).reduce((sum, [name, f]) => sum + (name.endsWith('.txt') ? 0 : f.gzipBytes), 0) }-fs.writeFileSync(path.join(outDir, 'manifest.json'), JSON.stringify(manifest, null, 2) + '\n')-console.log(`Renderer: ${(manifest.totalGzipBytes / 1024).toFixed(1)} KiB gzip. Stills must be regenerated with pnpm site:stills.`)diff --git a/site/scripts/download-clicks.test.mjs b/site/scripts/download-clicks.test.mjsdeleted file mode 100644index 7bd0ced0..00000000--- a/site/scripts/download-clicks.test.mjs+++ /dev/null@@ -1,67 +0,0 @@-import assert from 'node:assert/strict'-import releases from '../content/updates.json' with { type: 'json' }-import { homePage } from './site-page.mjs'-import { updatesPage } from './updates.mjs'-import { countDownloadClicks, platforms, release } from '../public/marketing/downloads.mjs'--function checkPage(html) {- const links = []- for (const [selector, region] of [- ['.site-header', html.match(/<header class="site-header"[^]*?<\/header>/)[0]],- ['.hero', html.match(/<section[^>]+class="hero"[^]*?<\/section>/)?.[0] || ''],- ['.site-footer', html.match(/<footer[^]*?<\/footer>/)[0]],- ['.updates-page', html.match(/<main[^>]+class="updates-page[^]*?<\/main>/)?.[0] || ''],- ]) {- for (const [, href] of region.matchAll(/<a\b[^>]*?href="([^"]+\/download\/[^"]+)"[^>]*>/g))- links.push({ href, region: selector, closest: s => s === selector, dataset: {} })- }- const installers = [...html.matchAll(/<a\b[^>]*?href="([^"]+\/download\/[^"]+)"[^>]*>/g)]- assert.equal(links.length, installers.length)- assert(links.length > 0)- // On a mobile device each primary download becomes a menu of real installer links.- for (const _ of html.matchAll(/<a\b[^>]*\bdata-download(?:=""|\s)/g)) {- for (const platform of Object.values(platforms))- links.push({ href: release + platform.file, region: '.mobile-download-list', closest: s => s === '.mobile-download-list', dataset: {} })- }-- const calls = []- let beforeSend- const listeners = {}- const doc = { referrer: '', querySelectorAll: selector => links.filter(link => selector === `a[href="${link.href}"]`),- addEventListener(name, fn, options) { assert(options.passive); listeners[name] = fn } }- countDownloadClicks(doc, (type, data) => {- if (type === 'beforeSend') beforeSend = data- else { assert.equal(type, 'event'); calls.push(data) }- })- const placements = { '.site-header': 'nav', '.hero': 'hero', '.site-footer': 'footer', '.mobile-download-list': 'mobile chooser', '.updates-page': 'updates' }- for (const link of links) {- const placement = placements[link.region]- const platform = Object.keys(platforms).find(key => link.href === release + platforms[key].file)- assert(platform)- assert.deepEqual(link.dataset, { downloadPlatform: platform, downloadPlacement: placement })- // Enter activates a native anchor with a click whose detail is zero.- for (const detail of [0, 1]) {- listeners.click({ target: { closest: () => link }, detail })- assert.deepEqual(calls.at(-1), { name: 'Download', data: { platform, placement } })- }- }- listeners.click({ target: { closest: () => null } })- listeners.click({ target: { closest: () => links[0] }, defaultPrevented: true })- assert.equal(calls.length, links.length * 2)- listeners.auxclick({ type: 'auxclick', button: 1, target: { closest: () => links[0] } })- listeners.auxclick({ type: 'auxclick', button: 2, target: { closest: () => links[0] } })- assert.equal(calls.length, links.length * 2 + 1)- const event = { type: 'event', url: 'https://yogurt.so/updates?from=test#release', payload: calls[0] }- assert.equal(beforeSend(event).url, 'https://yogurt.so/updates')- doc.referrer = 'https://example.org/?private=1'- assert.equal(beforeSend(event), null)- const pageview = { type: 'pageview', url: event.url }- assert.equal(beforeSend(pageview), pageview)- assert.match(html, /<meta name="referrer" content="strict-origin"/)- countDownloadClicks(doc, () => { throw Error('blocked') })- countDownloadClicks(doc, type => { if (type === 'event') throw Error('blocked') })- assert.doesNotThrow(() => listeners.click({ target: { closest: () => links[0] } }))-}-checkPage(homePage())-checkPage(updatesPage(releases))-console.log('Installer anchors, mobile choices, keyboard activation, event privacy and blocked analytics passed.')diff --git a/site/scripts/faq-clearance.test.mjs b/site/scripts/faq-clearance.test.mjsdeleted file mode 100644index ff52aa97..00000000--- a/site/scripts/faq-clearance.test.mjs+++ /dev/null@@ -1,94 +0,0 @@-import assert from 'node:assert/strict'--// Runs in the production document. Keep measuring while both the opening and closing-// cards are moving, including when an unusually long answer pushes the footer farther down.-async function measureFaq(longAnswers) {- const frame = document.querySelector('#questions .faq-cards')- const tab = document.querySelector('.site-footer .footer-dock')- const cards = [...frame.querySelectorAll('details')]- const originals = cards.map(card => card.querySelector('p').textContent)- await document.fonts.ready- frame.scrollIntoView({block: 'start', behavior: 'instant'})- if (longAnswers) {- cards.forEach((card, i) => {- card.querySelector('p').textContent = Array(5).fill(originals[i].trim()).join(' ')- })- }- const gap = () => tab.getBoundingClientRect().top - frame.getBoundingClientRect().bottom- const readings = {}- let frames = 0- async function sample(state, ms) {- const end = performance.now() + ms- let min = gap()- do {- await new Promise(requestAnimationFrame)- min = Math.min(min, gap())- frames++- } while (performance.now() < end)- readings[state] = min- }- function toggle(i) {- cards[i].querySelector('summary').click()- }- try {- await sample('closed', 30)- for (const [i, card] of cards.entries()) {- toggle(i)- await sample(card.id, 300)- if (!card.open || cards.filter(item => item.open).length !== 1) throw Error('FAQ selection failed')- const answer = card.querySelector('.faq-answer')- const text = card.querySelector('p').getBoundingClientRect()- if (!text.height || text.bottom > answer.getBoundingClientRect().bottom + 1 ||- text.bottom > frame.getBoundingClientRect().bottom || getComputedStyle(answer).opacity !== '1') {- throw Error('Answer did not finish expanding: ' + card.id)- }- }- toggle(cards.length - 1)- await sample('closing-last', 300)- for (const [n, i] of [4, 5, 0, 5, 5, 2, 1, 4, 5].entries()) {- toggle(i)- await sample('rapid-' + n, 35)- }- await sample('last-settled', 300)- return { readings, frames, theme: document.documentElement.dataset.theme, count: cards.length }- } finally {- cards.forEach((card, i) => {- card.open = false- if (longAnswers) card.querySelector('p').textContent = originals[i]- })- }-}--export async function verifyFaqClearance(call, origin) {- await call('Page.bringToFront')- for (const width of [320, 390, 768, 1280]) {- await call('Emulation.setDeviceMetricsOverride', {width, height: 900, deviceScaleFactor: 1, mobile: width < 761})- for (const theme of ['light', 'dark']) {- await call('Emulation.setEmulatedMedia', {features: [- {name: 'prefers-color-scheme', value: theme}, {name: 'prefers-reduced-motion', value: 'no-preference'},- ]})- for (const long of [false, true]) {- const url = new URL('/', origin)- url.searchParams.set('faq-check', [width, theme, long].join('-'))- url.hash = 'questions'- await call('Page.navigate', {url: url.href})- const sample = await call('Runtime.evaluate', {awaitPromise: true, returnByValue: true, expression: `(async () => {- if (document.readyState !== 'complete') await new Promise(resolve => addEventListener('load', resolve, {once:true}))- return (${measureFaq})(${long})- })()`})- assert(!sample.exceptionDetails, sample.exceptionDetails?.exception?.description)- const {readings, frames, count, theme: actualTheme} = sample.result.value- assert.equal(count, 6)- assert.equal(actualTheme, theme)- assert(frames > 20, 'must observe intermediate animation frames')- const required = (width <= 760 ? 88 : 128) + 24 // section spacing and footer clearance- const minimum = Math.min(...Object.values(readings))- const label = width + 'px ' + theme + (long ? ' extended' : ' published')- for (const [state, distance] of Object.entries(readings)) {- assert(distance >= required - 0.5, label + ' ' + state + ': ' + distance + 'px to the footer tab')- }- console.log('FAQ clearance', label, JSON.stringify({minimum, frames, readings}))- }- }- }-}diff --git a/site/scripts/features.test.mjs b/site/scripts/features.test.mjsdeleted file mode 100644index bef8ff00..00000000--- a/site/scripts/features.test.mjs+++ /dev/null@@ -1,144 +0,0 @@-import assert from 'node:assert/strict'-import { readFileSync } from 'node:fs'-import { dialTurn, rollingDial, clientFrames } from '../public/marketing/feature-motion.mjs'--const read = path => readFileSync(new URL(path, import.meta.url), 'utf8')-const html = read('../content/home.html')-const folder = html.match(/<article class="feature-card card-folders"[\s\S]*?<\/article>/)[0]-assert.doesNotMatch(folder, /tabindex|<button|<a\s|role="button"/)-assert.match(folder, /aria-hidden="true" class="feature-visual/)-for (const [icon, label, color] of [- ['rocket', 'Launch', 'violet'], ['users-round', 'Hiring', 'teal'], ['message-circle', 'Customer calls', 'amber'],-]) {- const row = folder.match(new RegExp('data-folder-color="' + color + '"[\\s\\S]*?</div>'))[0]- assert.ok(row.includes('lucide-' + icon) && row.includes('<span>' + label + '</span>'))- assert.match(row, /width="16" height="16"/)- assert.match(row, /stroke-width="1.75"/)-}--const arts = html.split('<article class="feature-card ').slice(1, 5).map(part => part.split('</article>')[0])-assert.equal(arts.filter(part => part.includes('language-dots')).length, 1)-assert.match(arts[3], /class="feature-visual">\s*<canvas class="language-dots"/)-assert.match(arts[2], /fill="url\(#wired-pad\)"/)-for (const name of ['Claude Desktop','ChatGPT desktop with a local plugin','Cursor']) {- assert.ok(arts[2].includes('role="img" aria-label="' + name + '"'))-}--// Check every possible previous distance, including the boundaries of the-// excluded region, so a fresh sweep cannot overrun a revolution or retrace one.-const angle = frame => Number(frame.transform.match(/-?[\d.]+/)[0])-for (const direction of [1,-1]) {- for (const previous of [undefined, ...Array.from({length:261}, (_, i) => 90 + i)]) {- for (const pick of [0, .125, .5, .875, .999999]) {- const turn = dialTurn(273, direction, previous, () => pick)- const [start, peak, settled, end] = turn.frames- assert.ok(turn.distance >= 90 && turn.distance <= 350)- if (previous != null) assert.ok(Math.abs(turn.distance - previous) >= 45)- assert.equal(angle(settled) - angle(start), direction * turn.distance)- assert.ok(Math.abs(angle(peak) - angle(start)) < 360)- assert.ok(Math.abs(angle(peak) - angle(settled)) < 1)- assert.equal(angle(end), angle(settled))- const travel = peak.offset * turn.duration- assert.equal(Math.round(travel), Math.round(220 + turn.distance * 8.8))- assert.equal(Math.round(settled.offset * turn.duration - travel), 200)- const hold = Math.round((1 - settled.offset) * turn.duration)- assert.ok(hold >= 2300 && hold <= 4400)- }- }-}--let rotor-const rolls = rollingDial({animate(frames, timing) {- rotor = { frames, timing, effect:{- setKeyframes(next) { rotor.frames = next },- updateTiming(next) { rotor.timing = next },- }, play(){this.playState='running'}, pause(){this.playState='paused'} }- return rotor-}})-rolls(false,false)-rolls(true,true)-assert.equal(rotor,undefined)-rolls(true,false)-assert.equal(rotor.timing.delay,420)-let last-for (let n = 0; n < 64; n++) {- const [start,,settled] = rotor.frames- assert.equal(Math.sign(angle(settled)-angle(start)), n%2===0 ? 1 : -1)- if (last!=null) assert.equal((angle(start) - last) % 360 || 0,0)- last = angle(settled)- rotor.playState='finished'- rotor.onfinish()- assert.equal(rotor.timing.delay,0)-}-rolls(false,false)-assert.equal(rotor.playState,'paused')-rolls(true,true)-assert.equal(rotor.playState,'paused')-rolls(true,false)-assert.equal(rotor.playState,'running')-const logo = clientFrames()-assert.deepEqual(logo.filter(f => f.opacity === 1).map(f => f.transform), ['scale(1)','scale(1)'])-assert.equal(logo[0].opacity, 0)-assert.equal(logo.at(-1).opacity, 0)-console.log('Feature artwork, accessible logo names, alternating dial stops and logo holds passed.')--// Run the homepage controller with a controllable viewport and clock.-const visible = new Map(), changes = [], events = new Map()-const preference = { matches: false, addEventListener: (_, callback) => changes.push(callback) }-globalThis.matchMedia = () => preference-globalThis.IntersectionObserver = class {- constructor(callback) { this.callback = callback }- observe(element) { visible.set(element, isVisible => this.callback([{isIntersecting:isVisible, intersectionRatio:Number(isVisible)}])) }-}-let tick-globalThis.setInterval = fn => { tick = fn; return 1 }-globalThis.clearInterval = () => { tick = undefined }-const clients = ['Claude','ChatGPT','Cursor'].map(() => ({- style: { removeProperty(key) { delete this[key] } },- animate() {- this.motion = {- currentTime: 0,- play() { this.state = 'running' },- pause() { this.state = 'paused' },- cancel() { this.state = 'cancelled' },- }- return this.motion- },-}))-const card = {}, inertArt = { closest: () => ({}), addEventListener() {} }-const tile = { closest: () => card, querySelectorAll: () => clients }-const selectors = { '.mcp-tiles': tile, '.language-dots': {...inertArt, getContext: () => null} }-globalThis.document = {- hidden: false,- querySelector: name => selectors[name] ?? inertArt,- addEventListener(type,callback) {- if (!events.has(type)) events.set(type, [])- events.get(type).push(callback)- },-}-await import('../public/marketing/features.mjs')-visible.get(card)(true)-assert.ok(clients.every(client => client.motion.state === 'running'))-visible.get(card)(false)-assert.ok(clients.every(client => client.motion.state === 'paused'))-preference.matches = true-changes.forEach(sync => sync())-assert.ok(clients.every(client => client.motion.state === 'cancelled'))-const shown = () => clients.map(client => client.style.opacity)-assert.deepEqual(shown(), ['1','0','0'])-assert.equal(tick,undefined)-visible.get(card)(true)-tick()-assert.deepEqual(shown(), ['0','1','0'])-document.hidden = true-events.get('visibilitychange').forEach(sync => sync())-assert.equal(tick, undefined)-document.hidden = false-events.get('visibilitychange').forEach(sync => sync())-tick()-assert.deepEqual(shown(), ['0','0','1'])-preference.matches = false-changes.forEach(sync => sync())-assert.equal(tick, undefined)-assert.ok(clients.every(client => client.motion.currentTime === 7200 && client.motion.state === 'running'))-console.log('Visible-only client loop, instant reduced-motion swaps and background pause passed.')diff --git a/site/scripts/fixtures/github-releases.json b/site/scripts/fixtures/github-releases.jsondeleted file mode 100644index ea122770..00000000--- a/site/scripts/fixtures/github-releases.json+++ /dev/null@@ -1,37 +0,0 @@-[- {- "tag_name": "v0.3.53",- "published_at": "2026-11-20T03:29:19Z",- "body": "- When you link a note to a calendar event, the picker now shows which calendar each event comes from, handy if you keep a work and a personal one.\n- A linked note's pill now names the meeting it belongs to, so you can tell at a glance what it's attached to.\n\n**Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/v0.3.52...v0.3.53\n",- "prerelease": false,- "draft": false- },- {- "tag_name": "v0.3.52",- "published_at": "2026-11-20T01:12:30Z",- "body": "- Yogurt now trusts the same certificates as your computer. On work networks that inspect secure traffic with their own certificate, the first-run model downloads no longer fail (#115).\n\n**Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/v0.3.51...v0.3.52\n",- "prerelease": false,- "draft": false- },- {- "tag_name": "v0.3.51",- "published_at": "2026-11-20T00:08:08Z",- "body": "- Ask is better at \"how did it go?\" questions. It now reads the meeting's summary and its key moments, gives an honest read of how things went, and keeps follow-up questions on the same meeting instead of wandering off to another one.\n- Macs with 24 GB of memory now get a notes model that leaves room for everything else, so writing notes after a long call no longer freezes the Mac.\n- Yogurt is now on Homebrew, through our own tap: `brew install --cask frigadehq/yogurt/yogurt` (#12).\n\n**Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/v0.3.50...v0.3.51\n",- "prerelease": false,- "draft": false- },- {- "tag_name": "v0.3.50",- "published_at": "2026-11-19T19:50:49Z",- "body": "- Teams calls get their names back. On Windows, Yogurt now recognises the Leave button even when Teams adds its shortcut to the label (#83), and on a Mac it asks the Teams app for its window contents before looking for the call (#111).\n- Every program and library in the Windows app is now signed, so PCs with Code Integrity turned on no longer block the speech engine during setup (#99).\n- Adding a calendar by link opens right in Settings, and each linked calendar has its own row.\n- The \"Stop recording?\" card is now the same compact card as the start offer, closes once the recording ends, and no longer shows up while a recording is still starting.\n\n**Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/v0.3.49...v0.3.50\n",- "prerelease": false,- "draft": false- },- {- "tag_name": "v0.3.49",- "published_at": "2026-11-19T17:45:03Z",- "body": "- Google Meet names are tidier: Yogurt no longer mistakes page text such as \"reCAPTCHA\" and \"Upgrade\", or messages in the chat panel, for people on the call.\n- In Ask, a cited sentence is now a soft highlight. Hover it to see the part of the meeting it came from.\n\n**Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/v0.3.48...v0.3.49\n",- "prerelease": false,- "draft": false- }-]diff --git a/site/scripts/headline.test.mjs b/site/scripts/headline.test.mjsdeleted file mode 100644index d483d383..00000000--- a/site/scripts/headline.test.mjs+++ /dev/null@@ -1,71 +0,0 @@-import { homePage } from './site-page.mjs'-import assert from 'node:assert/strict'-import {readFileSync} from 'node:fs'-import vm from 'node:vm'--const script=readFileSync(new URL('../public/marketing/ribbons.mjs',import.meta.url),'utf8')-for(const mode of ['normal','reduced','static','unsupported']){- const animations=[],listeners={},media={matches:mode==='reduced',addEventListener:(_type,fn)=>listeners.motion=fn}- let tick- const node=name=>({name,dataset:{},animate(frames,options){- const animation={name,frames,options,currentTime:0,pause(){this.paused=true},play(){this.paused=false}}- animations.push(animation);return animation- }})- const headline=node('headline'),button=node('download'),svg={...node('svg'),parentElement:node('sway'),querySelector:node}- const document={documentElement:{dataset:{heroEntry:'complete',heroStatic:mode==='static'?'true':undefined}},hidden:false,- querySelector:selector=>selector==='.signal-wings'?svg:headline,querySelectorAll:()=>[button],addEventListener:(_type,fn)=>listeners.visibility=fn}- vm.runInNewContext(script,{- document,window:{addEventListener(){}},matchMedia:()=>media,CSS:{supports:()=>mode!=='unsupported'},- IntersectionObserver:class{constructor(callback){this.callback=callback}observe(){this.callback([{isIntersecting:true}])}},- setInterval:fn=>{tick=fn;return 1},clearInterval:()=>{tick=undefined},- })- if(mode==='static'||mode==='reduced'){assert.equal(animations.length,0);continue}- const text=animations.find(animation=>animation.name==='headline'),download=animations.find(animation=>animation.name==='download'),sway=animations.at(-1)- if(mode==='unsupported')assert.equal(text,undefined)- for(const animation of [download,text].filter(Boolean)){- assert.equal(animation.options.duration,24000)- assert.equal(animation.options.iterations,Infinity)- assert.deepEqual(Array.from(animation.frames,frame=>frame.backgroundPosition),['0% 50%','50% 50%','100% 50%','50% 50%','0% 50%'])- }- const stops=animations.slice(0,3)- assert(stops.every(animation=>animation.frames.every(frame=>['var(--ai-base)','var(--ai-highlight)'].includes(frame.stopColor))))- assert.deepEqual([0,1,2,3,4].map(phase=>stops.findIndex(animation=>animation.frames[phase].stopColor==='var(--ai-highlight)')),[2,1,0,1,2])- sway.currentTime=6000;tick();assert(animations.every(animation=>animation.currentTime===6000))- document.hidden=true;listeners.visibility();assert(sway.paused);assert.equal(tick,undefined)- document.hidden=false;listeners.visibility();assert(!sway.paused)- media.matches=true;listeners.motion();assert(animations.every(animation=>animation.currentTime===0));assert(sway.paused)-}--const css=readFileSync(new URL('../public/marketing/headline.css',import.meta.url),'utf8')-const html=homePage()-assert(html.includes('href="/marketing/headline.css"'))-assert(css.includes('--ai-base:#6F00FF'))-assert(css.includes('--ai-highlight:#8B5CF6'))-assert.equal((css.match(/--ai-highlight:/g)||[]).length,1,'both themes share the saturated highlight')-assert(css.includes('--download-gradient-strength:1'))-assert(css.includes('calc(100% - 80% * var(--download-gradient-strength))'))-assert(css.includes('--ai-action-highlight:color-mix(in srgb,var(--ai-base) 20%,var(--ai-highlight))'))-assert(css.includes('--ai-text-base:color-mix(in srgb,var(--ai-base) 40%,var(--ai-highlight))'))-assert.equal((css.match(/linear-gradient\(110deg in srgb/g)||[]).length,2)-assert(css.includes('.hero-actions .button.primary:hover{background:var(--purple-dark)}'))-const rgb=hex=>hex.match(/[\da-f]{2}/gi).map(value=>parseInt(value,16))-const mix=(a,b,p)=>a.map((value,i)=>value*p+b[i]*(1-p))-const luminance=channels=>channels.map(value=>value/255).map(value=>value<=.04045?value/12.92:((value+.055)/1.055)**2.4).reduce((sum,value,i)=>sum+value*[.2126,.7152,.0722][i],0)-const base=rgb('6F00FF'),white=rgb('FFFFFF')-const contrast=(a,b)=>(Math.max(luminance(a),luminance(b))+.05)/(Math.min(luminance(a),luminance(b))+.05)-for(const theme of ['light','dark']){- const highlight=rgb('8B5CF6')- const textBase=theme==='light'?base:mix(base,highlight,.4),bg=theme==='light'?white:rgb('1B1B1D')- let buttonMinimum=Infinity,textMinimum=Infinity- for(let strength=0;strength<=100;strength++)for(let position=0;position<=100;position++){- const peak=mix(base,highlight,1-.8*strength/100)- if(strength===0)assert.deepEqual(peak,base)- buttonMinimum=Math.min(buttonMinimum,contrast(white,mix(base,peak,position/100)))- textMinimum=Math.min(textMinimum,contrast(bg,mix(textBase,mix(base,highlight,.2),position/100)))- }- assert(buttonMinimum>=4.5,'white button text meets contrast across the full sweep and strength range')- assert(textMinimum>=3,'headline meets large-text contrast across the full sweep')- console.log(`${theme}: button minimum ${buttonMinimum.toFixed(2)}:1; headline minimum ${textMinimum.toFixed(2)}:1`)-}-assert(contrast(white,rgb('6200E0'))>=4.5,'unchanged hover remains readable')-console.log('Headline and download share the ribbon clock and palette; strength, static/reduced motion and hidden-page pause passed.')diff --git a/site/scripts/hero-entry.test.mjs b/site/scripts/hero-entry.test.mjsdeleted file mode 100644index fb49e893..00000000--- a/site/scripts/hero-entry.test.mjs+++ /dev/null@@ -1,123 +0,0 @@-import assert from 'node:assert/strict'-import {readFileSync} from 'node:fs'-import vm from 'node:vm'-import {ribbonGeometry,ribbonPath} from '../public/marketing/ribbon-geometry.mjs'--const entry=readFileSync(new URL('../public/marketing/hero-entry.mjs',import.meta.url),'utf8').replace(/^import .*\n/,'')-const ribbons=readFileSync(new URL('../public/marketing/ribbons.mjs',import.meta.url),'utf8')-for(const width of [1280,1728,2560])for(const [search,reduced] of [['?static=1',false],['?static=1',true],['?static=0',true],['',true]]){- const dataset={heroEntry:'pending'},events=[]- if(search==='?static=1')dataset.heroStatic='true'- let viewport=width,onResize- const node=attributes=>({attributes,getAttribute(name){return this.attributes[name]},setAttribute(name,value){this.attributes[name]=value}})- const path=node({d:'M0 0 800 325 0 130Z'}),mirror=node({}),gradient=node({}),reflection=node({})- const product={}- const svg={...node({}),getBoundingClientRect:()=>({width:viewport,height:Math.min(viewport,1728)*.4256}),- querySelectorAll:selector=>selector==='defs path'?[path]:[mirror],querySelector:selector=>selector==='#ribbon-purple'?gradient:reflection}- const context=vm.createContext({- URLSearchParams,Event,location:{search},ribbonGeometry,ribbonPath,- getComputedStyle:()=>({width:Math.min(viewport*.76,1200)+'px',height:Math.min(viewport*.76,1200)*.608+'px'}),- matchMedia:()=>({matches:reduced,addEventListener(){}}),- document:{documentElement:{dataset},querySelector:selector=>selector==='.signal-wings'?svg:product},- window:{dispatchEvent:event=>events.push(event.type)},cancelAnimationFrame(){},- ResizeObserver:class{constructor(callback){onResize=callback}observe(){}},- })- await vm.runInContext(`(async()=>{${entry}})()`,context)- assert.equal(dataset.heroEntry,'complete')- assert.equal(dataset.ribbonPaint,'ready')- assert.equal(dataset.heroStatic,search==='?static=1'?'true':undefined)- assert.deepEqual(events,['hero-entry-complete'])- for(viewport of [2560,1728,1280]){- onResize()- const g=ribbonGeometry(viewport,Math.min(viewport*.76,1200))- assert.equal(path.attributes.d,ribbonPath('M0 0 800 325 0 130Z',g))- assert.equal(svg.attributes.viewBox,`0 0 ${g.width} ${g.height}`)- assert.equal(mirror.attributes.transform,`translate(${g.width} 0) scale(-1 1)`)- }-}--// Static captures must not restart the decorative motion after entry completes.-vm.runInNewContext(ribbons,{- document:{documentElement:{dataset:{heroEntry:'complete',heroStatic:'true'}},querySelector:()=>({}),addEventListener(){}},- matchMedia:()=>({matches:false,addEventListener(){}}),- window:{addEventListener(){}},- IntersectionObserver:class{constructor(callback){callback([{isIntersecting:true}])}observe(){}},-})-console.log('Static preview and reduced motion settle entry without starting ribbon animations.')--// Exercise the real entry clock and cleanup without a browser or native app.-for(const width of [390,1280,1728,2560]){- const dataset={heroEntry:'pending'},animations=[],listeners=[],events=[],materials=[],windowListeners=new Map()- let draw,onResize,viewport=width- const timeline={currentTime:1000}- const node=attributes=>({attributes,getAttribute(name){return this.attributes[name]},setAttribute(name,value){this.attributes[name]=value},- after(){},remove(){this.removed=true},cloneNode(){const copy=node({...this.attributes});materials.push(copy);return copy},- animate(frames,options){let finish;const animation={frames,currentTime:0,options,finished:new Promise(resolve=>finish=resolve),finish:()=>finish(),cancel(){}};animations.push(animation);return animation}})- const bands=Array.from({length:5},(_,i)=>{- const d=`M0 ${i*130} 800 325 0 ${(i+1)*130}Z`- const paths=[node({d}),node({d,fill:'url(#ribbon-surface)'})]- return {paths,querySelectorAll:()=>paths}- })- const seams=Array.from({length:4},(_,i)=>node({d:`M0 ${(i+1)*130} 800 325`}))- const paths=[...bands.flatMap(band=>band.paths),...seams],originals=paths.map(path=>path.attributes.d)- const appWidth=()=>viewport<=760?viewport-40:Math.min(viewport*.76,1200)- const appHeight=()=>viewport<=760?532:appWidth()*.608- const ribbonHeight=()=>viewport<=760?532:Math.min(viewport,1728)*.4256- const product={...node({}),dataset:{live:width===1280?'false':'true'}}- const svg={...node({}),getBoundingClientRect:()=>({width:viewport,height:ribbonHeight()}),- querySelectorAll:selector=>selector==='defs path'?paths:selector==='[data-ribbon-band]'?bands:[],- querySelector:selector=>selector.startsWith('#ribbon-seam-')?seams[Number(selector.at(-1))-1]:node({})}- const reduced={matches:false,addEventListener:(_name,callback)=>listeners.push(callback)}- const execution=vm.runInNewContext(`(async()=>{${entry}})()`,{- URLSearchParams,Event,location:{search:''},ribbonGeometry,ribbonPath,- matchMedia:query=>query.includes('reduce')?reduced:{matches:width>760,addEventListener(){}},- getComputedStyle:()=>({width:appWidth()+'px',height:appHeight()+'px'}),- document:{timeline,documentElement:{dataset},querySelector:selector=>selector==='.signal-wings'?svg:selector==='.product-window'?product:node({})},- window:{dispatchEvent:event=>events.push(event.type),addEventListener:(name,callback)=>windowListeners.set(name,callback)},- ResizeObserver:class{constructor(callback){onResize=callback}observe(){}},- requestAnimationFrame:callback=>{draw=callback;return 1},cancelAnimationFrame(){draw=null},- })- if(width===1280){- assert.equal(dataset.heroEntry,'pending','keep the CSS starting pose until the renderer is ready')- assert.equal(draw,undefined,'no ribbon drawing before the renderer is ready')- assert.equal(animations.length,0,'the window and ribbons wait for the renderer')- timeline.currentTime+=120- windowListeners.get('hero-renderer-ready')()- }- await execution- assert.equal(animations.length,3,'one window movement, one ribbon clock and one handoff')- const [movement,clock,completionClock]=animations- const delay=width===1280?150:270,ribbonStart=delay+240- assert.deepEqual(Array.from(movement.frames,frame=>({...frame})),[{transform:'translateY(16px) scale(.988)'},{transform:'none'}])- assert.equal(movement.options.duration,240)- assert.equal(movement.options.easing,'cubic-bezier(.23,1,.32,1)')- assert.equal(movement.options.fill,'backwards')- assert.equal(movement.options.delay,delay,'renderer load counts toward the window delay')- assert.equal(dataset.heroEntry,'running')- assert.equal(clock.options.duration,ribbonStart+4*55+350,'ribbons keep their duration and stagger')- assert.equal(completionClock.options.duration,delay+870,'the app demo starts on its existing schedule')- function expectedPath(progress){- const covered=Math.max(0,Math.min(1,(appWidth()-4)/viewport,(appHeight()-4)/ribbonHeight()))- return ribbonPath(originals[0],ribbonGeometry(viewport,appWidth()),covered+(1-covered)*(1-(1-progress)**3))- }- clock.currentTime=ribbonStart-1;draw();assert.equal(dataset.ribbonPaint,'waiting')- assert.equal(paths[0].attributes.d,expectedPath(0))- clock.currentTime=ribbonStart;draw();assert.equal(dataset.ribbonPaint,'ready')- assert.equal(paths[0].attributes.d,expectedPath(0),'no exposed stub at the cue')- clock.currentTime=ribbonStart+100;draw()- assert.equal(paths[0].attributes.d,expectedPath(100/350))- viewport=width===2560?1280:2560;onResize();draw()- assert.equal(paths[0].attributes.d,expectedPath(100/350),'resize preserves band progress')- if(width===2560){- reduced.matches=true;listeners.forEach(callback=>callback({matches:true}))- }else{- clock.currentTime=1140;draw();animations.forEach(animation=>animation.finish())- await new Promise(resolve=>setImmediate(resolve))- }- assert.equal(dataset.heroEntry,'complete')- assert.deepEqual(events,['hero-entry-complete'])- paths.forEach((path,i)=>assert.equal(path.attributes.d,ribbonPath(originals[i],ribbonGeometry(viewport,appWidth()))))- assert(materials.every(material=>material.removed),'temporary entry gradients are removed')- bands.forEach(band=>assert.equal(band.paths[1].attributes.fill,'url(#ribbon-surface)'))-}-console.log('Entry clock, live resize, reduced-motion interruption and final curved geometry cleanup passed.')diff --git a/site/scripts/hero-theme.test.mjs b/site/scripts/hero-theme.test.mjsdeleted file mode 100644index 5b8e4d15..00000000--- a/site/scripts/hero-theme.test.mjs+++ /dev/null@@ -1,71 +0,0 @@-import assert from 'node:assert/strict'-import { createHash } from 'node:crypto'-import { readFileSync } from 'node:fs'-import { runInNewContext } from 'node:vm'--const read = path => readFileSync(new URL(path, import.meta.url), 'utf8')-const controller = read('../public/marketing/hero-transcript.mjs').replace(/^import .*\n/gm, '')-const manifest = JSON.parse(read('../public/marketing/stills/manifest.json'))--for (const [scene, marker] of [['arrival', 'transcript-who'], ['answer', 'chat-answer'], ['phone', 'chat-answer']]) {- const file = 'hero-light-' + scene + '.html'- const poster = read('../public/marketing/stills/' + file)- assert(poster.includes('data-marketing-theme="light"'))- assert(poster.includes('href="/marketing/app/renderer.css"'))- assert(poster.includes('data-testid="' + marker + '"'))- assert.doesNotMatch(poster, /<script\b/i)- assert.equal(createHash('sha256').update(poster).digest('hex'), manifest.posters[file].sha256)-}--function page(theme, wide, reduced) {- const root = {dataset: {theme}}- const demo = {dataset: {}, clientWidth: wide ? 800 : 350}- const events = {}- const children = new Set()- demo.append = demo.prepend = node => { node.isConnected = true; children.add(node) }- const media = initial => ({matches: initial, addEventListener(_, fn) { this.change = fn }})- const desktop = media(wide), motion = media(reduced)- let themeChanged- const origin = 'https://example.test'- runInNewContext(controller, {- document: {- documentElement: root, querySelector: () => demo, addEventListener() {},- createElement: () => ({- style: {setProperty() {}}, contentWindow: {postMessage() {}},- setAttribute(key, value) { this[key] = value }, getAttribute(key) { return this[key] },- remove() { this.isConnected = false; children.delete(this) },- }),- },- window: {addEventListener(type, fn) { events[type] = fn }, dispatchEvent() {}},- matchMedia: query => query.includes('min-width') ? desktop : motion,- ResizeObserver: class { observe() {} }, IntersectionObserver: class { observe() {} },- MutationObserver: class { constructor(fn) { themeChanged = fn } observe() {} },- location: {origin, search: ''}, URLSearchParams, Event, onVoiceFrame() {},- syncFrameTheme(frame) { assert.equal(demo.dataset.live, undefined); frame.theme = root.dataset.theme },- })- const find = name => [...children].find(node => node.className === name)- return {- poster: () => find('hero-light-poster'), frame: () => find('hero-renderer'),- theme(value) { root.dataset.theme = value; themeChanged() },- ready() { events.message({origin, source: this.frame().contentWindow, data: {type:'yogurt-hero-ready'}}) },- reduce() { motion.matches = true; motion.change() },- }-}--for (const theme of ['light', 'dark']) for (const desktop of [true, false]) for (const reduced of [true, false]) {- const p = page(theme, desktop, reduced)- const expected = '/marketing/stills/hero-light-' + (desktop ? (reduced ? 'answer' : 'arrival') : 'phone') + '.html'- assert.equal(p.poster()?.src, theme === 'light' ? expected : undefined)- assert.equal(Boolean(p.frame()), desktop && !reduced)- p.theme('dark'); assert.equal(p.poster(), undefined)- p.theme('light'); assert.equal(p.poster().src, expected)- if (p.frame()) {- p.ready()- assert.equal(p.frame().theme, 'light')- assert.equal(p.poster(), undefined)- p.reduce()- assert.equal(p.frame(), undefined)- assert.match(p.poster().src, /hero-light-answer\.html$/)- }-}-console.log('Themed hero posters, first live frame, phone and reduced-motion transitions passed.')diff --git a/site/scripts/home-metadata.mjs b/site/scripts/home-metadata.mjsdeleted file mode 100644index a26a564f..00000000--- a/site/scripts/home-metadata.mjs+++ /dev/null@@ -1,41 +0,0 @@-import faq from '../content/faq.json' with { type: 'json' }-import { platforms, release } from '../public/marketing/downloads.mjs'--function escapeHtml(text) {- return text.replaceAll('&', '&').replaceAll('<', '<').replaceAll('>', '>').replaceAll('"', '"')-}--export function faqCards() {- return faq.map(({ id, question, answer }) => `<details name="yogurt-faq" id="${escapeHtml(id)}">- <summary>${escapeHtml(question)}<span class="tour-plus" aria-hidden="true"></span></summary>- <div class="faq-answer"><p>${escapeHtml(answer)}</p></div>- </details>`).join('\n ')-}--export function homeStructuredData(description, version) {- const organization = { '@type': 'Organization', '@id': 'https://frigade.com/#organization', name: 'Frigade', url: 'https://frigade.com/' }- const maker = { '@id': organization['@id'] }- const data = {- '@context': 'https://schema.org',- '@graph': [- {- '@type': 'SoftwareApplication', name: 'Yogurt', description, url: 'https://yogurt.so/',- operatingSystem: ['macOS', 'Windows', 'Linux'], applicationCategory: 'BusinessApplication',- offers: { '@type': 'Offer', price: 0, priceCurrency: 'USD' },- downloadUrl: Object.values(platforms).map(platform => release + platform.file),- softwareVersion: version,- license: { '@type': 'CreativeWork', name: 'MIT License', url: 'https://github.com/FrigadeHQ/yogurt/blob/main/LICENSE' },- author: maker, publisher: maker,- },- {- '@type': 'FAQPage', '@id': 'https://yogurt.so/#questions',- mainEntity: faq.map(({ question, answer }) => ({- '@type': 'Question', name: question,- acceptedAnswer: { '@type': 'Answer', text: answer },- })),- },- organization,- ],- }- return '<script type="application/ld+json">' + JSON.stringify(data).replaceAll('<', '\\u003c') + '</script>'-}diff --git a/site/scripts/home-metadata.test.mjs b/site/scripts/home-metadata.test.mjsdeleted file mode 100644index 4ce2c8cf..00000000--- a/site/scripts/home-metadata.test.mjs+++ /dev/null@@ -1,35 +0,0 @@-import assert from 'node:assert/strict'-import releases from './release-history.mjs'-import { homePage } from './site-page.mjs'-import { homeStructuredData } from './home-metadata.mjs'-import { updatesPage } from './updates.mjs'--const html = homePage()-const jsonLd = /<script type="application\/ld\+json">([^]*?)<\/script>/g-const scripts = [...html.split('</head>')[0].matchAll(jsonLd)]-assert.equal(scripts.length, 1)-const graph = JSON.parse(scripts[0][1])['@graph']-const app = graph.find(node => node['@type'] === 'SoftwareApplication')-const organization = graph.find(node => node['@type'] === 'Organization')-const questions = graph.find(node => node['@type'] === 'FAQPage').mainEntity-assert.equal(app.description, html.match(/<meta content="([^"]+)" name="description"/)[1])-assert.equal(app.softwareVersion, releases[0].version)-assert.equal(app.offers.price, 0)-assert.equal(app.license.name, 'MIT License')-assert.equal(organization.name, 'Frigade')-assert.deepEqual(app.author, { '@id': organization['@id'] })-assert.deepEqual(app.publisher, app.author)-assert.equal(app.downloadUrl.length, 3)-assert.doesNotMatch(updatesPage(releases), /application\/ld\+json/)--const decode = text => text.replaceAll('<', '<').replaceAll('>', '>').replaceAll('"', '"').replaceAll('&', '&')-const visible = [...html.matchAll(/<details name="yogurt-faq"[^>]*>([^]*?)<\/details>/g)].map(([, card]) => ({- question: decode(card.match(/<summary>([^<]+)/)[1]),- answer: decode(card.match(/<p>([^]*?)<\/p>/)[1]),-}))-assert(visible.length > 0)-assert.deepEqual(questions.map(q => ({ question: q.name, answer: q.acceptedAnswer.text })), visible)-const special = 'Meetings </script> & notes'-const escaped = [...homeStructuredData(special, 'v1.0.0').matchAll(jsonLd)]-assert.equal(JSON.parse(escaped[0][1])['@graph'][0].description, special)-console.log('Homepage JSON-LD parses and matches the visible FAQ, description, publisher and release.')diff --git a/site/scripts/indexnow.test.mjs b/site/scripts/indexnow.test.mjsdeleted file mode 100644index 0fca6b17..00000000--- a/site/scripts/indexnow.test.mjs+++ /dev/null@@ -1,28 +0,0 @@-import assert from 'node:assert/strict'-import { readFileSync } from 'node:fs'-import { submitIndexNow } from './submit-indexnow.mjs'-import { pageUrls } from './site-urls.mjs'--const prod = { VERCEL: '1', VERCEL_ENV: 'production', VERCEL_GIT_COMMIT_REF: 'main' }-let requests = 0-const send = async (endpoint, options) => {- requests++- assert.equal(endpoint, 'https://api.indexnow.org/indexnow')- assert.equal(options.method, 'POST')- assert(options.signal instanceof AbortSignal)- const body = JSON.parse(options.body)- assert.deepEqual(body.urlList, pageUrls)- assert.equal(body.host, 'yogurt.so')- assert.match(body.key, /^[a-f0-9]{32}$/)- assert.equal(body.keyLocation, 'https://yogurt.so/' + body.key + '.txt')- assert.equal(readFileSync(new URL('../public/' + body.key + '.txt', import.meta.url), 'utf8').trim(), body.key)- return { status: 202 }-}-for (const env of [{}, { ...prod, VERCEL: '' }, { ...prod, VERCEL_ENV: 'preview' }, { ...prod, VERCEL_GIT_COMMIT_REF: 'feature' }])- assert.match(await submitIndexNow(env, send), /skipped/)-assert.equal(requests, 0)-assert.match(await submitIndexNow(prod, send), /202/)-assert.equal(requests, 1)-assert.match(await submitIndexNow(prod, async () => ({ status: 403 })), /key/)-assert.match(await submitIndexNow(prod, async () => { throw Error('offline') }), /continuing/)-console.log('IndexNow permits only production main, uses its published key, and tolerates submission failures.')diff --git a/site/scripts/llms-full.mjs b/site/scripts/llms-full.mjsdeleted file mode 100644index 2187bc1c..00000000--- a/site/scripts/llms-full.mjs+++ /dev/null@@ -1,25 +0,0 @@-import { readFileSync } from 'node:fs'-import { join } from 'node:path'-import faq from '../content/faq.json' with { type: 'json' }-import releases from './release-history.mjs'--export function fullGuide() {- const shortGuide = readFileSync(join(process.cwd(), 'public/llms.txt'), 'utf8')- let overview = shortGuide.split('\n## Website\n')[0].trimEnd()- // A site-only checkout still contains the README facts in the short guide.- try {- const readme = readFileSync(join(process.cwd(), '../README.md'), 'utf8')- const features = readme.split('\n## What it does\n')[1]?.split('\n## ')[0].trim()- if (features) overview = overview.replace(/^What it does: .+$/m, () =>- '## Features\n\n' + features.replaceAll('**', ''))- } catch (error) {- if (error.code !== 'ENOENT') throw error- }-- const questions = faq.map(({ question, answer }) => question + '\n' + answer)- const updates = releases.slice(0, 5).map(({ version, published, headline, changes }) =>- [`${version} · ${published.slice(0, 10)} · ${headline}`, ...changes.map(line => '- ' + line),- 'https://yogurt.so/updates#' + version].join('\n'))- return [overview, '## Frequently asked questions', ...questions, '## Latest releases', ...updates].join('\n\n')- .replaceAll('\u00a0', ' ') + '\n'-}diff --git a/site/scripts/llms.test.mjs b/site/scripts/llms.test.mjsdeleted file mode 100644index b2b65977..00000000--- a/site/scripts/llms.test.mjs+++ /dev/null@@ -1,49 +0,0 @@-import assert from 'node:assert/strict'-import { execFileSync } from 'node:child_process'-import { readFileSync } from 'node:fs'-import faq from '../content/faq.json' with { type: 'json' }-import releases from './release-history.mjs'-import { fullGuide } from './llms-full.mjs'-import { platforms, release } from '../public/marketing/downloads.mjs'--const guide = readFileSync(new URL('../public/llms.txt', import.meta.url), 'utf8')-const targets = [...guide.matchAll(/\[[^\]\n]*\]\(([^)\n]+)\)/g)].map(match => match[1])-assert(targets.length > 0, 'The guide must link to the project.')-const shell = readFileSync(new URL('../content/shell.html', import.meta.url), 'utf8')-assert.equal(shell.match(/href="\/llms\.txt"/g)?.length, 1)-assert.match(shell, /class="footer-bottom"[^]*?<a class="link-label" href="\/llms\.txt">llms\.txt<\/a>/)--// The index includes documentation even when only site/ is checked out.-const files = new Set(execFileSync('git', ['ls-files', '-z'], {- cwd: new URL('../../', import.meta.url), encoding: 'utf8',-}).split('\0'))-const repo = 'https://github.com/FrigadeHQ/yogurt'-const destinations = new Set([repo, repo + '/issues', repo + '/releases', 'https://frigade.com/'])-for (const platform of Object.values(platforms)) destinations.add(release + platform.file)-for (const target of targets) {- const url = new URL(target)- let exists = destinations.has(target)- if (url.origin === 'https://yogurt.so') {- const path = url.pathname.replace(/^\/|\/$/g, '')- exists = files.has('site/app/' + (path ? path + '/' : '') + 'route.ts') || files.has('site/public/' + path)- } else if (target.startsWith(repo + '/blob/main/')) {- exists = files.has(decodeURIComponent(url.pathname.slice('/FrigadeHQ/yogurt/blob/main/'.length)))- }- assert(exists, 'Unknown llms.txt destination: ' + target)-}-const full = fullGuide()-assert(guide.split('## Optional')[1].includes('https://yogurt.so/llms-full.txt'))-for (const { question, answer } of faq) assert(full.includes((question + '\n' + answer).replaceAll('\u00a0', ' ')))-assert.deepEqual([...full.matchAll(/^https:\/\/yogurt\.so\/updates#(.+)$/gm)].map(m => m[1]), releases.slice(0, 5).map(row => row.version))-for (const row of releases.slice(0, 5)) {- assert(full.includes(row.headline))- for (const line of row.changes) assert(full.includes('- ' + line))-}--if (process.argv.includes('--live')) {- await Promise.all([...new Set(targets)].map(async target => {- const response = await fetch(target, {method: 'HEAD', signal: AbortSignal.timeout(20000)})- assert(response.ok, target + ' returned ' + response.status)- }))-}-console.log(targets.length + ' llms.txt destinations and the shared footer link passed.')diff --git a/site/scripts/navigation.test.mjs b/site/scripts/navigation.test.mjsdeleted file mode 100644index dc6114ae..00000000--- a/site/scripts/navigation.test.mjs+++ /dev/null@@ -1,93 +0,0 @@-import assert from 'node:assert/strict'-import { readFileSync } from 'node:fs'-import vm from 'node:vm'--const source = readFileSync(new URL('../public/marketing/navigation.mjs', import.meta.url), 'utf8')-const sheet = readFileSync(new URL('../public/marketing/site.css', import.meta.url), 'utf8')-assert.match(sheet, /\.nav-surface i:nth-child\(2\)\s*\{\s*width:\s*100%/)--function checkJoin(parts, width) {- const values = part => part.style.transform.match(/-?[\d.]+/g).map(Number)- const [left, , scaleX] = values(parts[1])- const [rightCap] = values(parts[2])- for (const dpr of [0.9, 1, 1.25, 1.5, 1.8, 2, 2.625]) {- const paintedRight = left + Math.round(width * dpr) / dpr * scaleX- const overlap = paintedRight - rightCap- assert(overlap > 0.5 && overlap < 3.5, `center strip join at ${width}px and ${dpr}x: ${overlap}px`)- }-}--for (const width of [1441, 1280, 761, 760, 390, 320]) {- const phone = width < 761, height = phone ? 72 : 80- const wordmark = { offsetWidth: phone ? 92 : 108, style: {} }- const toggle = { offsetLeft: -44 }- const download = { offsetHeight: phone ? 32 : 36 }- const nav = { offsetWidth: 130, style: { setProperty(k, v) { this[k] = v } }, querySelector: selector => selector === '.theme-toggle' ? toggle : download }- const header = {- getBoundingClientRect: () => ({ left: 16, right: width - 16, height }),- querySelector: selector => selector === 'nav' ? nav : wordmark,- }- const surface = { children: Array.from({ length: 3 }, () => ({ style: {} })) }- const shell = { clientWidth: width, toggleAttribute() {}, querySelector: s => s === '.site-header' ? header : surface }- let scroll, motionChange, frame, now = 0, reduced = false- const context = {- scrollY: 0, document: { querySelector: s => s === '.sticky-header' ? shell : hero, addEventListener() {} },- window: { addEventListener(name, cb) { if (name === 'scroll') scroll = cb } },- matchMedia: query => query.includes('reduce')- ? { get matches() { return reduced }, addEventListener(_, cb) { motionChange = cb } }- : { matches: phone },- ResizeObserver: class { observe() {} },- requestAnimationFrame(cb) { frame = cb; return 1 },- cancelAnimationFrame() { frame = null },- }- const hero = { getBoundingClientRect: () => ({ bottom: 1000 - context.scrollY }) }- vm.runInNewContext(source, context)- const original = wordmark.style.transform- const advance = () => {- const next = frame- frame = null- next(now += 16)- checkJoin(surface.children, width)- }- checkJoin(surface.children, width)- const move = y => { context.scrollY = y; scroll() }- move(1000 - height - 1)- assert(!frame, 'the full header stays still over the app')- move(1000 - height)- advance()- assert.notEqual(wordmark.style.transform, original)- move(0)- for (let i = 0; frame && i < 120; i++) advance()- assert(!frame, 'an interrupted morph stops scheduling frames when settled')- assert.equal(wordmark.style.transform, original)- move(1000)- advance()- reduced = true- motionChange()- checkJoin(surface.children, width)- const compact = wordmark.style.transform- const x = el => parseFloat(el.style.transform.slice('translate('.length))- const pillLeft = x(surface.children[0])- const rightPad = width - pillLeft - (width - 16 + x(nav))- const leftPad = 16 + x(wordmark) - pillLeft- assert.equal(rightPad, ((phone ? 48 : 52) - download.offsetHeight) / 2)- assert.equal(leftPad, phone ? 12 : 16)- assert.equal(nav.style['--nav-download-radius'], download.offsetHeight / 2 + 'px')- assert.notEqual(compact, original)- assert(!frame, 'enabling reduced motion finishes the current morph')- move(1000 - height - 5)- assert.equal(wordmark.style.transform, compact, 'nearby scroll jitter keeps the same state')- move(0)- assert.equal(wordmark.style.transform, original)- assert.equal(nav.style['--nav-download-radius'], '8px')- assert(!frame, 'reduced motion changes states immediately')-}-console.log('Sticky navigation threshold, reversal, settling and reduced motion passed at desktop and phone widths.')--// GitHub's stargazers page is a 404 unless you are signed in to GitHub, so no link on the site may point at it-{- const { readFileSync } = await import('node:fs')- const home = readFileSync(new URL('../content/home.html', import.meta.url), 'utf8')- if (/github\.com\/FrigadeHQ\/yogurt\/stargazers/.test(home)) throw new Error('the site links to the stargazers page, a 404 when signed out')- console.log('ok - no link to the stargazers page')-}diff --git a/site/scripts/release-history.mjs b/site/scripts/release-history.mjsdeleted file mode 100644index 8ff462bc..00000000--- a/site/scripts/release-history.mjs+++ /dev/null@@ -1,15 +0,0 @@-import { readFileSync } from 'node:fs'-import { join } from 'node:path'-import written from '../content/updates.json' with { type: 'json' }--// The build writes one snapshot before Next prerenders any routes. A fresh dev checkout uses the archive.-function readHistory() {- try {- return JSON.parse(readFileSync(join(process.cwd(), '.next/cache/updates.json'), 'utf8'))- } catch (error) {- if (error.code === 'ENOENT') return written- throw error- }-}--export default readHistory()diff --git a/site/scripts/release-notes.mjs b/site/scripts/release-notes.mjsdeleted file mode 100644index ae84ee76..00000000--- a/site/scripts/release-notes.mjs+++ /dev/null@@ -1,63 +0,0 @@-import { stableRelease } from '../public/marketing/stars-data.mjs'--function bulletText(text) {- return text- .replace(/\[([^\]]+)\]\(https?:\/\/[^\s)]+\)/gi, (link, label) => link.includes('/compare/') ? '' : label)- .replace(/<?https?:\/\/[^\s<>]+?\/compare\/[^\s<>]+>?/gi, '')- .replace(/\*\*([^*]+)\*\*|__([^_]+)__|`([^`]+)`/g, (_, bold, emphasis, code) => bold ?? emphasis ?? code)- .replace(/\s+/g, ' ').trim()-}--export function releaseBullets(body) {- const bullets = []- let fence = '', current = ''- function finish() {- const text = bulletText(current)- if (text && !/^Full Changelog\b/i.test(text)) bullets.push(text)- current = ''- }- for (const line of (body ?? '').replace(/<!--[\s\S]*?(?:-->|$)/g, '').split(/\r?\n/)) {- const marker = line.match(/^ {0,3}(`{3,}|~{3,})(.*)$/)- if (fence) {- if (marker && marker[1].startsWith(fence) && !marker[2].trim()) fence = ''- } else if (marker) {- finish()- fence = marker[1]- } else {- const bullet = line.match(/^ {0,3}[-*+]\s+(.+)$/)- if (bullet) { finish(); current = bullet[1] }- else if (/^\s*(?:\*\*)?Full Changelog\b/i.test(line)) finish()- else if (current && /^\s+\S/.test(line)) current += ' ' + line.trim()- else finish()- }- }- finish()- return bullets-}--export function releaseHeadline(bullet) {- // Lead with the main clause of “When you …, …”. Keep the full explanation in the bullet.- const clause = bullet.replace(/ by @[\w-]+ in https:\/\/github\.com\/\S+\/pull\/\d+\s*$/, '')- .replace(/^When you\b[^,]*,\s+(?=\S)/i, '')- .split(/[.!?](?=\s|$)|[:;]\s|,\s+(?=(?:handy|so|which)\b)/, 1)[0] || bullet- // Prefer a complete clause to a headline cut in the middle of a thought.- const phrase = (clause.length > 72 ? clause.split(/,\s+(?=and\b|but\b)/, 1)[0] : clause)- .replace(/\s*\(#[\d#, ]+\)$/, '')- const short = phrase.length <= 100 ? phrase : phrase.match(/^.{1,100}(?=\s)/u)?.[0] ?? phrase.slice(0, 100)- return (short.charAt(0).toUpperCase() + short.slice(1)).replace(/[\s.,:;!?…–—-]+$/, '')-}--export function releaseArchive(rows, overrides) {- const written = new Map(overrides.map(row => [row.version, row]))- const archive = new Map()- for (const row of rows) {- if (!stableRelease(row)) continue- const version = row.tag_name- const override = written.get(version)- const changes = override?.changes ?? releaseBullets(row.body)- if (!changes.length) continue- archive.set(version, { version, published: row.published_at,- headline: override?.headline ?? releaseHeadline(changes[0]), changes })- }- return [...archive.values()].sort((a, b) => Date.parse(b.published) - Date.parse(a.published) || b.version.localeCompare(a.version))-}diff --git a/site/scripts/release-notes.test.mjs b/site/scripts/release-notes.test.mjsdeleted file mode 100644index 94e0b814..00000000--- a/site/scripts/release-notes.test.mjs+++ /dev/null@@ -1,50 +0,0 @@-import assert from 'node:assert/strict'-import fixtures from './fixtures/github-releases.json' with { type: 'json' }-import written from '../content/updates.json' with { type: 'json' }-import saved from '../content/activity.json' with { type: 'json' }-import { githubPages, renderActivity } from './activity.mjs'-import { releaseArchive, releaseBullets, releaseHeadline } from './release-notes.mjs'-import { updatesPage } from './updates.mjs'--const [latest, network] = fixtures-const rows = releaseArchive(fixtures.toReversed(), [])-assert.deepEqual(rows.map(r => r.headline), [- 'The picker now shows which calendar each event comes from',- 'Yogurt now trusts the same certificates as your computer',- 'Ask is better at "how did it go?" questions',- 'Teams calls get their names back',- 'Google Meet names are tidier',-])-assert.deepEqual(rows[0].changes, latest.body.trim().split('\n').slice(0, 2).map(line => line.slice(2)))-assert.deepEqual(rows.map(r => r.changes.length), [2, 1, 3, 4, 2])-assert(rows.every(r => r.changes.every(text => !text.includes('/compare/') && !text.includes('Full Changelog'))))--const curated = written.find(r => r.version === network.tag_name)-const mixed = releaseArchive([latest, latest, { ...network, body: '' },- { ...network, tag_name: 'v9.0.0', draft: true }, { ...latest, prerelease: true, tag_name: 'v9.1.0' },- { ...latest, tag_name: 'v9.2.0', body: null }, { ...latest, tag_name: 'v9.3.0', body: '## Highlights\nA paragraph.' }],- [curated, { ...curated, version: 'v9.0.0' }])-assert.deepEqual(mixed, [rows[0], curated])-assert.equal(releaseHeadline('Upload a file: choose a recording.'), 'Upload a file')-assert.equal(releaseHeadline('See the calendar for v0.3.53. Next sentence.'), 'See the calendar for v0.3.53')-const long = 'Review ' + 'the next saved meeting '.repeat(10).trim()-assert(long.startsWith(releaseHeadline(long) + ' '))-assert(releaseHeadline(long).length <= 100)-assert.deepEqual(releaseBullets('- Save the note.\n **Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/a...b'), ['Save the note.'])-assert.deepEqual(releaseBullets('Heading\r\n* A **saved** note\r\n on two lines.\r\n\r\n~~~md\n- example only\n~~~\n<!--\n- hidden\n-->\n+ Read the [guide](https://example.org/guide).\n- https://github.com/FrigadeHQ/yogurt/compare/a...b\n- **Full Changelog**: [comparison](https://example.org/compare/a...b)'), ['A saved note on two lines.', 'Read the guide.'])-const literal = releaseArchive([{ ...latest, body: '- Keep <b>this</b> & {{literal}} as text.' }], [])-const html = renderActivity(updatesPage(literal), saved, literal)-assert(html.includes('<b>this</b> & {{literal}}'))-assert(!html.includes('<b>this</b>'))-const pages = []-const paged = await githubPages(async url => {- pages.push(new URL(url).searchParams.get('page'))- return pages.length === 1 ? Array(100).fill(network) : [latest]-}, 'releases')-assert.deepEqual(pages, ['1', '2'])-assert.deepEqual(releaseArchive(paged, [curated]), mixed)-await assert.rejects(githubPages(async url => {- if (url.endsWith('page=1')) return Array(100).fill(network)- throw Error('HTTP 429')-}, 'releases'), /429/)-console.log('Release fixtures, headlines, overrides, filters, escaping and complete pagination passed.')diff --git a/site/scripts/ribbon-geometry.test.mjs b/site/scripts/ribbon-geometry.test.mjsdeleted file mode 100644index e92801f3..00000000--- a/site/scripts/ribbon-geometry.test.mjs+++ /dev/null@@ -1,46 +0,0 @@-import assert from 'node:assert/strict'-import {readFileSync} from 'node:fs'-import {ribbonGeometry,ribbonPath} from '../public/marketing/ribbon-geometry.mjs'--const html=readFileSync(new URL('../content/home.html',import.meta.url),'utf8')-const originals=[...html.matchAll(/d="(M0 [\d.]+ 800 325(?: 0 [\d.]+Z)?)"/g)].map(match=>match[1])-assert(originals.length>50,'exercise the real fills, seams and fine stripes')-const numbers=path=>path.match(/-?\d*\.?\d+(?:e[+-]?\d+)?/g).map(Number)-const near=(a,b)=>assert(Math.abs(a-b)<1e-8,`${a} differs from ${b}`)-const cubic=(points,t)=>[0,1].map(axis=>(1-t)**3*points[0][axis]+3*(1-t)**2*t*points[1][axis]+3*(1-t)*t*t*points[2][axis]+t**3*points[3][axis])-const curve=values=>Array.from({length:4},(_,i)=>values.slice(i*2,i*2+2))--for(const width of [375,760,1280,1728,1729,2560,3840]){- const appWidth=width<=760?width-40:Math.min(width*.76,1200)- const g=ribbonGeometry(width,appWidth)- for(const original of originals){- const full=ribbonPath(original,g),fullPoints=numbers(full)- let lastX=Infinity- for(let step=0;step<=40;step++){- const progress=g.covered+(1-g.covered)*step/40- const path=ribbonPath(original,g,progress),points=numbers(path)- assert.equal(path.endsWith('Z'),original.endsWith('Z'))- assert(points.every(Number.isFinite))- assert(points[0]<=lastX+1e-8,'end cap moves outward without reversing')- lastX=points[0]- near(points[6],fullPoints[6]);near(points[7],fullPoints[7])- const t=(1-progress)/(1-g.covered)- for(const u of [0,.25,.5,.75,1]){- const actual=cubic(curve(points),u),expected=cubic(curve(fullPoints),t+(1-t)*u)- actual.forEach((value,i)=>near(value,expected[i]))- }- }- }- if(width>=1000){- const artHeight=Math.min(width,1728)*.4256,appHeight=appWidth*.608- near(artHeight*appWidth/Math.min(width,1728),appHeight*.7)- assert((artHeight-appHeight)/2+6<38,'top tip and sway stay below the platform line')- assert((artHeight-appHeight)/2+6<92,'bottom tip and sway fit before the next section')- }-}-// Approved C control points at 2560px, copied from the reviewed comparison geometry.-const approved=[0,0,374,0,548,56.1792,680,112.3584,1280,367.7184]-numbers(ribbonPath('M0 0 800 325',ribbonGeometry(2560,1200))).forEach((value,i)=>near(value,approved[i]))-// Laptops get the same curved wings, not the old straight art.-for(const width of [1280,1512])assert(ribbonPath('M0 0 800 325',ribbonGeometry(width,Math.min(width*.76,1200))).includes(' C'),'curved at laptop widths')-console.log('Curved geometry at every width, all band edges, monotonic entry and exact cubic trimming passed at phone, laptop and wide widths.')diff --git a/site/scripts/site-page.mjs b/site/scripts/site-page.mjsdeleted file mode 100644index 60f9d849..00000000--- a/site/scripts/site-page.mjs+++ /dev/null@@ -1,35 +0,0 @@-import { readFileSync } from 'node:fs'-import { join } from 'node:path'-import { faqCards, homeStructuredData } from './home-metadata.mjs'-import releases from './release-history.mjs'--const content = name => readFileSync(join(process.cwd(), 'content', name), 'utf8')--export function sitePage({ path, title, description, body, modules, structuredData = '' }) {- const home = path === '/'- const fields = {- Path: path, Home: home ? '' : '/', Title: title, Description: description, Content: body,- StructuredData: structuredData,- Hero: home ? 'data-hero-entry="pending"' : '',- Body: home ? 'data-background="ribbon" data-demo="transcript" data-letter="plain" data-motion="flow" data-source="sample"' : 'class="reading-shell"',- Styles: home ? '' : `<link rel="preload" as="font" type="font/ttf" href="/marketing/assets/bricolage-grotesque.ttf" crossorigin/><link rel="stylesheet" href="/marketing${path}.css"/>`,- Modules: modules.map(name => `<script type="module" src="/marketing/${name}.mjs"></script>`).join('\n'),- }- return content('shell.html').replace(/\{\{page(\w+)\}\}/g, (_, key) => fields[key])-}--export function pageHeader(title) {- return `<header class="page-header"><h1>${title}</h1></header>`-}--export function homePage() {- const description = 'Yogurt takes meeting notes with AI that runs locally on Mac, Windows and Linux. No bot joins the call. Free and open source.'- return sitePage({- path: '/',- title: 'Yogurt · AI meeting notes that stay on your computer',- description,- structuredData: homeStructuredData(description, releases[0].version),- body: content('home.html').replace('{{homeFaq}}', faqCards),- modules: ['demo-video', 'hero-entry', 'hero-transcript', 'ribbons', 'walkthrough', 'reserve', 'features', 'activity'],- })-}diff --git a/site/scripts/site-urls.mjs b/site/scripts/site-urls.mjsdeleted file mode 100644index 0da2522c..00000000--- a/site/scripts/site-urls.mjs+++ /dev/null@@ -1,2 +0,0 @@-// Canonical HTML pages published by the site.-export const pageUrls = ['https://yogurt.so/', 'https://yogurt.so/updates']diff --git a/site/scripts/stars-snapshot.mjs b/site/scripts/stars-snapshot.mjsdeleted file mode 100644index 4ea429ca..00000000--- a/site/scripts/stars-snapshot.mjs+++ /dev/null@@ -1,48 +0,0 @@-import { execFileSync } from 'node:child_process'-import { mkdir, readFile, writeFile, rename } from 'node:fs/promises'-import written from '../content/updates.json' with { type: 'json' }-import { releaseArchive } from './release-notes.mjs'-import { githubPages, refreshActivity, validSnapshot } from './activity.mjs'--const baked = new URL('../content/activity.json', import.meta.url)-const cache = new URL('../.next/cache/activity.json', import.meta.url)-async function read(url) {- try {- const value = JSON.parse(await readFile(url, 'utf8'))- if (validSnapshot(value)) return value- } catch {}-}-const saved = [await read(cache), await read(baked)]- .filter(Boolean)- .sort((a, b) => Date.parse(b.capturedAt) - Date.parse(a.capturedAt))[0]-async function request(url, accept = 'application/vnd.github+json') {- if (process.argv.includes('--save'))- return JSON.parse(execFileSync('gh', ['api', '-H', 'Accept: ' + accept, url], { encoding: 'utf8' }))- const headers = { Accept: accept }- if (process.env.GITHUB_TOKEN) headers.Authorization = 'Bearer ' + process.env.GITHUB_TOKEN- const response = await fetch(url, { headers, signal: AbortSignal.timeout(6000) })- if (!response.ok) throw Error('GitHub returned ' + response.status)- return response.json()-}-// Release notes and activity share one paginated API read. A partial fetch cannot replace the archive.-let rows = []-let releases = written-try {- rows = await githubPages(request, 'releases')- const archive = releaseArchive(rows, written)- if (!archive.length) throw Error('No published release notes')- releases = archive- console.log(`Updates: ${releases.length} releases through ${releases[0].version} from GitHub and editorial overrides.`)-} catch (error) {- console.warn(`Updates: using committed content/updates.json (${error.message}).`)-}-const snapshot = await refreshActivity(saved, request, new Date(), rows)-await mkdir(new URL('.', cache), { recursive: true })-const notesTmp = new URL('updates-' + process.pid + '.json', cache)-await writeFile(notesTmp, JSON.stringify(releases) + '\n')-await rename(notesTmp, new URL('updates.json', cache))-const tmp = new URL('activity-' + process.pid + '.json', cache)-await writeFile(tmp, JSON.stringify(snapshot) + '\n')-await rename(tmp, cache)-if (process.argv.includes('--save')) await writeFile(baked, JSON.stringify(snapshot) + '\n')-console.log(`Project activity: ${snapshot.count} stars, ${snapshot.releases} releases, ${snapshot.latest.tag}.`)diff --git a/site/scripts/stars.test.mjs b/site/scripts/stars.test.mjsdeleted file mode 100644index c4ab2793..00000000--- a/site/scripts/stars.test.mjs+++ /dev/null@@ -1,248 +0,0 @@-import { homePage } from './site-page.mjs'-import assert from 'node:assert/strict'-import { readFileSync } from 'node:fs'-import { getActivity, refreshActivity, renderActivity, validSnapshot } from './activity.mjs'--const load = (name) => readFileSync(new URL(name, import.meta.url), 'utf8')-const saved = JSON.parse(load('../content/activity.json'))-assert(validSnapshot(saved))-for (const broken of [- { week: [0] },- { history: [null] },- { latest: { tag: '<tag>' } },- { count: 0 },- {- history: [- [2, 3],- [1, 4],- ],- },-])- assert.equal(validSnapshot({ ...saved, ...broken }), false)--const now = new Date('2026-11-18T15:00:00Z')-const times = ['2026-11-11T23:59:59Z', '2026-11-12T00:00:00Z', '2026-11-18T12:00:00Z']-const releases = times.map((published_at, i) => ({ tag_name: 'v1.' + i, published_at }))-let requests = 0-const star = { user: { id: 1 }, starred_at: times[0] }-async function request(url, accept) {- requests++- if (url.includes('/releases?'))- return [...releases, { ...releases[2], draft: true }, { ...releases[2], prerelease: true }]- if (url.includes('/stargazers?')) {- assert.equal(accept, 'application/vnd.github.star+json')- return url.endsWith('page=1') ? Array(100).fill(star) : [star, { user: { id: 2 }, starred_at: times[2] }]- }- return { stargazers_count: 2 }-}-const fresh = await getActivity(undefined, request, now)-assert.equal(requests, 4)-assert.equal(fresh.count, 2)-assert.equal(fresh.releases, 3)-assert.equal(fresh.latest.tag, 'v1.2')-assert.deepEqual(fresh.week, [1, 0, 0, 0, 0, 0, 1])-assert.deepEqual(fresh.history, [- [Date.parse(times[0]), 1],- [Date.parse(times[2]), 2],-])-requests = 0-await getActivity(fresh, request, now)-assert.equal(requests, 2, 'Reuse fresh dated history')-const offline = () => {- throw Error('offline')-}-assert.deepEqual(await refreshActivity(fresh, offline, now), fresh)-const partial = await refreshActivity(- fresh,- (url, accept) =>- url.includes('/stargazers?')- ? offline()- : url.includes('/releases?')- ? request(url, accept)- : { stargazers_count: 3 },- now-)-assert.deepEqual(partial.history, fresh.history)-assert.equal(partial.count, 3)-const notes = releases.map(row => ({ version: row.tag_name, published: row.published_at })).reverse()-const html = renderActivity(homePage(), fresh, notes)-assert(!html.includes('{{'))-assert(html.includes('Yogurt on GitHub, 2 stars'))-assert(html.includes('href="/updates#v1.2"'))-assert.equal((html.match(/class="week-day"/g) || []).length, 7)-assert(html.includes('aria-label="2 published Nov 12'))-assert(!html.includes('in 7 days'))-function chartVertices(page) {- return page.match(/<polyline class="chart-line" points="([^"]+)"/)[1]-}-assert.match(html, /<g clip-path="url\(#history-trace\)">\s*<path class="chart-fill"[^>]*><\/path>\s*<polyline class="chart-line"[^>]*><\/polyline>\s*<\/g>/)-assert.doesNotMatch(html, /class="chart-dot"|point-overlay/)-assert.equal(chartVertices(html), '0.00,45.00 510.00,0.00')-assert.ok(html.includes('d="M' + chartVertices(html).replaceAll(' ', 'L') + 'L510 90L0 90Z"'))-const single = {...fresh, count: 1, history: fresh.history.slice(0, 1)}-assert.equal(chartVertices(renderActivity(homePage(), single, notes)), '510.00,0.00')-const fewer = {...fresh, count: 1}-assert.match(chartVertices(renderActivity(homePage(), fewer, notes)), /510\.00,45\.00$/)-assert(!load('../public/marketing/activity.mjs').includes('api.github.com'))-console.log('Published releases, UTC days, paginated dated stars, deduplication and outage fallbacks passed.')--// Drive the production animation clock without a browser. The real total is always the upper bound.-const { runInNewContext } = await import('node:vm')-const motionScript = load('../public/marketing/activity.mjs').replace(/^import [^\n]+\n/, '')-function chartPage(reduced = false) {- const element = () => ({- style: {},- dataset: {},- setAttribute() {},- getBoundingClientRect: () => ({ width: 510, height: 90, top: 0, bottom: 90 }),- })- const number = { ...element(), textContent: '134', parentElement: element() },- age = { ...element(), dateTime: '2026-11-01T00:00:00Z' }- const object = { '.release-version strong': {textContent:'v1.2'}, '.oss-calendar .oss-figure': {textContent:'3'}, '.stat-value': number, '[data-latest-age]': age }- // The nav already contains the published total. Tile playback must never write to it.- const navCount = { get textContent() { return '134' }, set textContent(value) { assert.fail('Tile wrote ' + value + ' to the nav') } }- object['.nav-stars'] = { ...element(), querySelector: () => navCount }- object['.chart-line'] = { points: [{ x: 0, y: 90 }, { x: 255, y: 22.5 }, { x: 510, y: 0 }] }- object['.star-chart'] = { viewBox: { baseVal: { width: 510, height: 90 } } }- const query = (s) => (object[s] ??= Object.assign(element(), { querySelector: query, animate: animation }))- let frame,- timer,- observe,- visibility,- passed = 0,- current = 0- let timing- function animation(frames, options) {- timing = { frames, options }- return {- pause() {},- play() {},- cancel() {},- playState: 'running',- effect: { getComputedTiming: () => ({ progress: current }) },- }- }- const doc = {- documentElement: element(),- hidden: false,- querySelector: query,- createElement: () => ({ animate: animation }),- addEventListener: (key, fn) => {- visibility = fn- },- }- runInNewContext(motionScript, {- KeyframeEffect: class {- constructor(target, frames, options) { Object.assign(this, {target, frames, options}) }- },- Animation: class {- constructor(effect) { return animation(effect.frames, effect.options) }- },- document: doc,- window: { addEventListener() {}, removeEventListener() {} },- innerHeight: 800,- Intl,- Date,- performance: { now: () => passed },- matchMedia: () => ({ matches: reduced, addEventListener() {} }),- getComputedStyle: () => ({ getPropertyValue: () => 'ease' }),- IntersectionObserver: class {- constructor(fn) {- observe ??= fn- }- observe() {}- },- requestAnimationFrame: (fn) => {- frame = fn- return 1- },- cancelAnimationFrame: () => {- frame = null- },- setInterval() {},- setTimeout: (fn, ms) => {- timer = { fn, ms }- return 1- },- clearTimeout: () => {- timer = null- },- })- return {- number,- enter: (ratio = 1) => observe([{ isIntersecting: true, intersectionRatio: ratio }]),- clip: () => query('.chart-clip').style.transform,- fill: () => query('.chart-fill').style.transform,- timing: () => timing,- at: p => { current = p; frame?.() },- leave: () => observe([{ isIntersecting: false, intersectionRatio: 0 }]),- finishCountUp: () => {- current = 1- frame?.()- },- timer: () => timer,- advance: (ms) => {- passed += ms- },- state: () => query('#progress').dataset.stars,- }-}-const chart = chartPage()-assert.equal(chart.clip(), 'scaleX(0)')-assert.equal(chart.number.textContent, '134') // The count is the real total from the first paint.-chart.enter(.2)-assert.equal(chart.timing(), undefined)-chart.enter(.55)-assert.equal(chart.timing().options.duration, 1800)-chart.at(.5)-assert.equal(chart.clip(), 'scaleX(0.5)')-assert.equal(chart.number.textContent, '134')-assert.equal(chart.fill(), undefined)-chart.finishCountUp()-assert.equal(chart.clip(), 'scaleX(1)')-assert.equal(chart.number.textContent, '134')-assert(!chart.timer()) // Nothing keeps counting after the line has drawn.-assert.equal(chart.state(), 'complete')-const still = chartPage(true)-still.enter()-assert.equal(still.number.textContent, '134')-assert(!still.timer())-assert.equal(still.clip(), 'scaleX(1)')-assert.equal(still.timing(), undefined)-console.log('Chart line draw, a count that never changes while it draws, and reduced-motion rest passed.')--const template=homePage()-const featureSection=template.match(/<section aria-labelledby="features-title"[\s\S]*?<\/section>/)[0]-assert.doesNotMatch(featureSection, /<a\b|<iframe\b/)-for(const tag of template.match(/<a\b[^>]*>/g)){- if(!tag.includes('href="https://github.com/'))continue- if(tag.includes('/download/'))assert.doesNotMatch(tag,/target=/)- else {- assert.match(tag,/target="_blank"/)- assert.match(tag,/rel="[^"]*\bnoopener\b[^"]*"/)- }-}--const { refreshSummary, hour } = await import('../public/marketing/stars-data.mjs')-const built = { capturedAt: times[1], count: 12 }-let stored = null, calls = 0-const storage = {getItem: () => stored, setItem: (_, value) => { stored = value }}-const getJSON = async url => {- assert.equal(url, 'https://api.github.com/repos/FrigadeHQ/yogurt')- calls++- return {stargazers_count:11}-}-const live = await refreshSummary(built, {storage, now:1000, getJSON})-assert.deepEqual(live, {...built, count:11})-assert.equal(calls,1)-const unavailable=async()=>{throw Error('403')}-assert.deepEqual(await refreshSummary(built,{storage,now:2000,getJSON:()=>assert.fail('cached')}),live)-assert.deepEqual(await refreshSummary(built,{storage,now:1000+hour,getJSON:unavailable}),live)-const newerBuild={...built,capturedAt:times[2],count:15}-assert.deepEqual(await refreshSummary(newerBuild,{storage,now:2000+hour,getJSON:unavailable}),newerBuild)-assert.deepEqual(await refreshSummary(built,{getJSON:unavailable}),built)-const legacy = {builtAt:built.capturedAt, at:1000, data:{count:19, releases:999, latest:{tag:'v9',published:times[2]}}}-stored = JSON.stringify(legacy)-assert.deepEqual(await refreshSummary(built,{storage,now:2000,getJSON}), {...built,count:19})-assert.equal(calls,1)-console.log('Hourly star refresh, legacy cache, newer deployments and rate-limit fallback passed.')diff --git a/site/scripts/stills.mjs b/site/scripts/stills.mjsdeleted file mode 100644index 2e44e48c..00000000--- a/site/scripts/stills.mjs+++ /dev/null@@ -1,176 +0,0 @@-// Browser-only asset export. Never imports Playwright or starts Electron.-import { spawn } from 'node:child_process'-import fs from 'node:fs/promises'-import os from 'node:os'-import path from 'node:path'-import { fileURLToPath } from 'node:url'-import { verifyWalkthroughFrames } from './walkthrough-frames.mjs'-import assert from 'node:assert/strict'--// Freeze the real fixture at the same beat as its dark WebP, keeping the shared app CSS.-function lightPoster() {- const source = document.documentElement- const copy = source.cloneNode(true)- copy.dataset.marketingTheme = 'light'- copy.style.colorScheme = 'light'- copy.querySelectorAll('script, .marketing-cursor').forEach(node => node.remove())- copy.querySelector('link[rel=stylesheet]').setAttribute('href', '/marketing/app/renderer.css')- copy.querySelector('meta[http-equiv="Content-Security-Policy"]').content =- "default-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; base-uri 'none'; form-action 'none'"- for (const node of copy.querySelectorAll('body, #root')) node.style.colorScheme = 'light'- const canvases = source.querySelectorAll('canvas')- copy.querySelectorAll('canvas').forEach((canvas, index) => {- const mask = document.createElement('span')- mask.className = canvas.className- mask.style.cssText = canvas.style.cssText- mask.style.background = 'currentColor'- mask.style.mask = 'url(' + canvases[index].toDataURL() + ') center / 100% 100% no-repeat'- canvas.replaceWith(mask)- })- return '<!doctype html>\n' + copy.outerHTML + '\n'-}--const site = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..')-const origin = process.env.SITE_URL || 'http://127.0.0.1:43933'-assert(['127.0.0.1', 'localhost'].includes(new URL(origin).hostname), 'Export only the local fictional site.')-const chromePath = process.env.CHROME_BIN || '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'-const profile = await fs.mkdtemp(path.join(os.tmpdir(), 'yogurt-site-render-'))-const chrome = spawn(chromePath, ['--headless=new', '--disable-gpu', '--no-first-run', '--no-default-browser-check', '--disable-background-networking', '--remote-debugging-port=0', `--user-data-dir=${profile}`, 'about:blank'], { stdio: ['ignore', 'ignore', 'pipe'] })-let socket, counter = 0-const errors = []-const replies = new Map(), pause = ms => new Promise(resolve => setTimeout(resolve, ms))-try {- const endpoint = await new Promise((resolve, reject) => {- let log = ''- const timeout = setTimeout(() => reject(new Error('Chrome did not start in 15 seconds')), 15000)- chrome.stderr.on('data', chunk => { log += chunk; const match = log.match(/DevTools listening on (ws:\/\/\S+)/); if (match) { clearTimeout(timeout); resolve(match[1]) } })- chrome.once('error', reject); chrome.once('exit', code => { clearTimeout(timeout); reject(new Error(`Chrome exited: ${code}`)) })- })- socket = new WebSocket(endpoint)- await new Promise((resolve, reject) => { socket.onopen = resolve; socket.onerror = reject })- socket.onmessage = ({ data }) => {- const message = JSON.parse(data), pending = replies.get(message.id)- if (message.method === 'Runtime.exceptionThrown') errors.push(message.params.exceptionDetails.exception?.description || message.params.exceptionDetails.text)- if (pending) { replies.delete(message.id); message.error ? pending.reject(new Error(message.error.message)) : pending.resolve(message.result) }- }- const send = (method, params = {}, sessionId) => new Promise((resolve, reject) => {- const id = ++counter; replies.set(id, { resolve, reject }); socket.send(JSON.stringify({ id, method, params, ...(sessionId ? { sessionId } : {}) }))- })- const { targetId } = await send('Target.createTarget', { url: 'about:blank' })- const { sessionId } = await send('Target.attachToTarget', { targetId, flatten: true })- const call = (method, params) => send(method, params, sessionId)- const evaluate = async expression => {- const result=await call('Runtime.evaluate', { expression, returnByValue: true })- assert(!result.exceptionDetails,result.exceptionDetails?.exception?.description)- return result.result.value- }- await call('Page.enable'); await call('Runtime.enable')- await verifyWalkthroughFrames(call, origin)- const {createRequire}=await import('node:module')- const require=createRequire(await fs.realpath(path.join(site,'node_modules/next/package.json'))),sharp=require('sharp')- const {beats,timing}=await import('../renderer/timeline.mjs')- // Check the write-in itself, so a final reset cannot conceal a scroll jolt.- await call('Emulation.setDeviceMetricsOverride',{width:1000,height:608,deviceScaleFactor:2,mobile:false})- await call('Emulation.setEmulatedMedia',{features:[{name:'prefers-reduced-motion',value:'no-preference'}]})- await call('Page.navigate',{url:origin+'/marketing/app/frame.html'})- await pause(1000)- assert.equal(await evaluate('document.documentElement.dataset.ready'),'true')- for(let tick=308;tick<=420;tick++) {- await evaluate(`window.postMessage({type:'yogurt-hero-time',seconds:${tick/20}},location.origin)`)- await pause(50)- if(tick/20>=timing.summaryStart) {- const top=await evaluate("document.querySelector('#note-notes-panel[aria-labelledby=note-summary-tab]')?.scrollTop")- assert.equal(top,0,`live Summary must not scroll while writing (${tick/20}s)`)- }- }- for(const seconds of [21,27]) {- await evaluate(`window.postMessage({type:'yogurt-hero-time',seconds:${seconds}},location.origin)`)- await pause(300)- const resting=await evaluate(`(()=>{const editor=document.querySelector('[data-testid=note-enhanced-editor]'),pane=editor.closest('.note-notes-pane'),heading=editor.querySelector('h2');return {top:pane.scrollTop,headingVisible:heading.getBoundingClientRect().top>=pane.getBoundingClientRect().top,summaryFits:pane.scrollHeight<=pane.clientHeight+1,lastLineVisible:editor.lastElementChild.getBoundingClientRect().bottom<=pane.getBoundingClientRect().bottom-20,generating:pane.closest('.note-reading-frame').dataset.generating}})()`)- assert.equal(resting.generating,'false')- assert.equal(resting.top,0,'completed live Summary rests at the top, including during Ask')- assert(resting.headingVisible,'the complete Summary heading stays below the tab bar')- assert(resting.summaryFits && resting.lastLineVisible,'the complete Summary fits above the bottom fade')- }- assert.deepEqual(errors,[],'live Summary and Ask have no runtime errors')- const { verifyFaqClearance } = await import('./faq-clearance.test.mjs')- await verifyFaqClearance(call, origin)- await call('Emulation.setEmulatedMedia',{features:[{name:'prefers-color-scheme',value:'light'},{name:'prefers-reduced-motion',value:'reduce'}]})- const images={}, posters={}- const {createHash}=await import('node:crypto')- for (const [name,width,height] of [['desktop',1000,608],['phone',600,912]]) {- const phone=name==='phone'- await call('Emulation.setDeviceMetricsOverride',{width,height,deviceScaleFactor:2,mobile:false})- for (const [beat,time] of beats) {- if(!['arrival','writing','answer'].includes(beat)||phone&&beat!=='answer')continue- await call('Page.navigate',{url:origin+`/marketing/app/frame.html?still=${time}`})- await pause(1000)- const info=await evaluate(`({ready:document.documentElement.dataset.ready,text:document.body.innerText,overflow:document.documentElement.scrollWidth>innerWidth,bg:getComputedStyle(document.documentElement).getPropertyValue('--bg').trim(),loader:!!document.querySelector('.bubble .live-dots'),names:[...document.querySelectorAll('[data-testid="transcript-who"]')].map(e=>e.textContent),selected:document.querySelector('[role=tab][aria-selected=true]')?.textContent,questionSent:document.documentElement.dataset.questionSent,panelHeight:document.querySelector('[data-testid=chat-panel]')?.getBoundingClientRect().height,level:document.querySelector('[data-testid=note-wave]')?.dataset.level})`)- console.log(name,beat,JSON.stringify(info))- assert.deepEqual(errors,[],'the generated frame has no runtime errors')- assert.equal(info.ready,'true','real renderer fixture is ready')- const titleCenters = await evaluate(`['.marketing-traffic i', '.workspace-sidebar-toggle', 'button[aria-label="Back"]'].map(selector => {- const rect = document.querySelector(selector).getBoundingClientRect()- return rect.top + rect.height / 2- })`)- for (const center of titleCenters.slice(1)) assert(Math.abs(titleCenters[0] - center) <= 1, 'window buttons align with the title bar')- assert(!info.text.includes('Planned'));assert(!info.overflow)- assert.equal(info.bg.toLowerCase(),'#1b1b1d','only the frame is forced to app dark')- assert(!info.text.includes('Let the others'),'no recording reminder in the demonstration')- if (beat==='arrival') assert.equal(new Set(info.names).size,1)- if(beat==='arrival')assert(info.level!==undefined,'native recording indicator is mounted in its reduced-motion still')- if(beat==='writing') {- assert(info.text.includes('Reading the transcript…'),'Summary shows the native reading state before text arrives')- assert(await evaluate("!!document.querySelector('.summary-outline') && !document.querySelector('.ask-border')"),'Summary uses its faint outline without the old ring')- continue- }- if(beat==='answer') {- assert(await evaluate("!!document.querySelector('[data-testid=ask-scope]') && !!document.querySelector('[data-testid=chat-copy-answer]') && document.querySelector('.chat-answer-scope')?.textContent==='Searched Launch planning'"),'Ask shows its scope pill, Copy action and searched scope')- const fits=await evaluate(`(()=>{const h=document.querySelector('.chat-history'),r=h.getBoundingClientRect();return h.scrollHeight<=h.clientHeight+1&&['chat-question','chat-answer','source-citation'].every(id=>{const a=document.querySelector('[data-testid='+id+']').getBoundingClientRect();return a.top>=r.top&&a.bottom<=r.bottom})})()`)- assert(fits,'question, complete answer and citation must fit with no thread scroll')- }- const png=Buffer.from((await call('Page.captureScreenshot',{format:'png'})).data,'base64')- const files=[]- if (beat==='arrival'&&!phone) files.push('hero-desktop.webp')- if (beat==='answer') files.push(phone?'hero-phone.webp':'hero-finished-desktop.webp')- for (const file of files) {- const bytes=await sharp(png).webp({quality:90}).toBuffer()- await fs.writeFile(path.join(site,'public/marketing/stills',file),bytes)- images[file]={bytes:bytes.length,sha256:createHash('sha256').update(bytes).digest('hex')}- const scene = phone ? 'phone' : beat === 'arrival' ? 'arrival' : 'answer'- const poster = 'hero-light-' + scene + '.html'- const markup = await evaluate('(' + lightPoster.toString() + ')()')- await fs.writeFile(path.join(site, 'public/marketing/stills', poster), markup)- posters[poster] = {bytes:Buffer.byteLength(markup),sha256:createHash('sha256').update(markup).digest('hex')}- }- }- }- await call('Emulation.setDefaultBackgroundColorOverride',{color:{r:0,g:0,b:0,a:0}})- for (const kind of ['transcript','summary','ask']) {- for (const theme of ['light','dark']) {- for (const [device,width,height] of [['desktop',420,250],['phone',320,280]]) {- await call('Emulation.setDeviceMetricsOverride',{width,height,deviceScaleFactor:2,mobile:false})- await call('Page.navigate',{url:origin+`/marketing/app/frame.html?fragment=${kind}&still=99&theme=${theme}`})- await pause(900)- assert.deepEqual(errors,[],'fragment components have no runtime errors')- const info=await evaluate(`(()=>{const e=document.querySelector('.marketing-fragment'),r=e.getBoundingClientRect();return {ready:document.documentElement.dataset.ready,text:e.innerText,top:r.top,bottom:r.bottom,bg:getComputedStyle(document.documentElement).getPropertyValue('--bg').trim()}})()`)- console.log(kind,device,JSON.stringify(info))- assert.equal(info.ready,'true');assert(info.top>=0&&info.bottom<=height,'fragment must fit at the app type size')- assert.equal(info.bg.toLowerCase()==='#1b1b1d',theme==='dark','fragments follow the requested theme')- if(kind==='ask')assert.equal(await evaluate("document.querySelectorAll('[data-testid=source-citation]').length"),1)- const file=`fragment-${kind}${theme==='dark'?'-dark':''}-${device}.webp`- const png=Buffer.from((await call('Page.captureScreenshot',{format:'png'})).data,'base64'),bytes=await sharp(png).webp({quality:90}).toBuffer()- await fs.writeFile(path.join(site,'public/marketing/stills',file),bytes)- images[file]={bytes:bytes.length,sha256:createHash('sha256').update(bytes).digest('hex')}- }- }- }-- const manifest=JSON.parse(await fs.readFile(path.join(site,'public/marketing/app/manifest.json'),'utf8'))- await fs.writeFile(path.join(site,'public/marketing/stills/manifest.json'),JSON.stringify({appCommit:manifest.appCommit,bundleSha256:manifest.files['renderer.js'].sha256,bundleCssSha256:manifest.files['renderer.css'].sha256,generatedAt:new Date().toISOString(),images,posters},null,2)+'\n')--} finally {- socket?.close(); chrome.kill()- await pause(300)- await fs.rm(profile, {recursive:true,force:true})-}diff --git a/site/scripts/submit-indexnow.mjs b/site/scripts/submit-indexnow.mjsdeleted file mode 100644index ca292b64..00000000--- a/site/scripts/submit-indexnow.mjs+++ /dev/null@@ -1,26 +0,0 @@-import { pathToFileURL } from 'node:url'-import { pageUrls } from './site-urls.mjs'--const host = 'yogurt.so'-const key = '80136ef773ad0e698e159c2c0af1c24a'--export async function submitIndexNow(env, request = fetch) {- if (env.VERCEL !== '1' || env.VERCEL_ENV !== 'production' || env.VERCEL_GIT_COMMIT_REF !== 'main')- return 'skipped outside a production deploy of main'-- try {- const response = await request('https://api.indexnow.org/indexnow', {- method: 'POST', headers: { 'Content-Type': 'application/json' }, redirect: 'error',- body: JSON.stringify({ host, key, keyLocation: `https://${host}/${key}.txt`, urlList: pageUrls }),- signal: AbortSignal.timeout(1000),- })- if (response.status === 403) return 'HTTP 403; the public key may not be live yet'- return `HTTP ${response.status} for ${pageUrls.length} public URLs`- } catch {- return 'request timed out or failed; continuing'- }-}--if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {- console.log('IndexNow: ' + await submitIndexNow(process.env))-}diff --git a/site/scripts/theme.test.mjs b/site/scripts/theme.test.mjsdeleted file mode 100644index db50dcf1..00000000--- a/site/scripts/theme.test.mjs+++ /dev/null@@ -1,134 +0,0 @@-import { homePage } from './site-page.mjs'-import assert from 'node:assert/strict';-import {readFileSync} from 'node:fs';-import vm from 'node:vm';--const html=homePage();-const bootstrap=html.match(/<script>\s*(\(function\(\)[\s\S]*?)<\/script>/)[1];-const script=readFileSync(new URL('../public/marketing/theme.mjs',import.meta.url),'utf8').replace('export function','function');-assert.ok(html.indexOf(bootstrap)<html.indexOf('href="/marketing/site.css"'));--// Keep the scalable icon last so browsers can prefer it to the bitmap.-const iconLinks=[...html.matchAll(/<link\b[^>]*\brel="(?:apple-touch-)?icon"[^>]*>/g)].map(([link])=>- Object.fromEntries([...link.matchAll(/([\w-]+)="([^"]*)"/g)].map(([,key,value])=>[key,value]))-);-assert.deepEqual(iconLinks.map(({rel,type,sizes,href})=>[rel,type,sizes,href]),[- ['icon','image/png','32x32','/marketing/assets/favicon-32.png'],- ['icon','image/svg+xml','any','/marketing/assets/favicon.svg'],- ['apple-touch-icon',undefined,'180x180','/marketing/assets/apple-touch-icon.png'],-]);-const [bitmap,vector,touch]=iconLinks.map(({href})=>readFileSync(new URL('../public'+href,import.meta.url)));-assert.match(vector.toString(), /<path\s+fill="#6F00FF"/i);-assert.match(vector.toString(), /@media\s*\(prefers-color-scheme:\s*dark\)\s*\{\s*path\s*\{\s*fill:\s*#C39AFF\b/i);-for(const [png,size] of [[bitmap,32],[touch,180]]){- assert.equal(png.toString('ascii',1,4),'PNG');- assert.equal(png.readUInt32BE(16),size);- assert.equal(png.readUInt32BE(20),size);-}--function page(saved,{blocked=false,search='',systemDark=false}={}){- const classes=new Set(),listeners=[];- const media={matches:systemDark,addEventListener:(_name,fn)=>listeners.push(fn)};- const root={dataset:{theme:'light'},classList:{add:v=>classes.add(v),remove:v=>classes.delete(v)}};- const toggle={hidden:true,setAttribute(k,v){this[k]=v},addEventListener(k,fn){this[k]=fn}};- const meta={content:'#ffffff'};- const frames=[false,true].map(hero=>({classList:{contains:()=>hero},contentDocument:{documentElement:{dataset:{},style:{}},querySelectorAll:()=>[]}}));- const storage=new Map(saved===undefined?[]:[['yogurt-theme',saved]]);- const context=vm.createContext({- URLSearchParams,location:{search},matchMedia:()=>media,- document:{documentElement:root,querySelector:s=>s==='.theme-toggle'?toggle:meta,- querySelectorAll:()=>frames},- localStorage:{getItem(k){if(blocked)throw Error('denied');return storage.get(k)},setItem(k,v){if(blocked)throw Error('denied');storage.set(k,v)}},- requestAnimationFrame:fn=>fn(),- });- vm.runInContext(bootstrap,context);- const initial=root.dataset.theme;- assert.equal(meta.content,initial==='dark'?'#1B1B1D':'#ffffff');- vm.runInContext(script,context);- return {root,toggle,meta,frames,storage,context,initial,system(dark){media.matches=dark;listeners.forEach(fn=>fn({matches:dark}))}};-}--for(const systemDark of [false,true])for(const saved of [undefined,'light','dark','invalid']){- const p=page(saved,{systemDark});- assert.equal(p.initial,saved==='light'||saved==='dark'?saved:systemDark?'dark':'light');- assert.equal(p.toggle.hidden,false);- for(let i=0;i<2;i++){- const next=p.root.dataset.theme==='dark'?'light':'dark';- p.toggle.click();- assert.equal(p.root.dataset.theme,next);- assert.equal(p.storage.get('yogurt-theme'),next);- assert.equal(p.toggle['aria-label'],`Switch to ${next==='dark'?'light':'dark'} mode`);- assert.equal(p.toggle['aria-pressed'],String(next==='dark'));- assert.equal(p.meta.content,next==='dark'?'#1B1B1D':'#ffffff');- assert.equal(p.frames[0].contentDocument.documentElement.dataset.marketingTheme,next);- assert.equal(p.frames[1].contentDocument.documentElement.dataset.marketingTheme,next);- assert.equal(page(p.storage.get('yogurt-theme')).initial,next);- }- // Lazy frames inherit the current choice before their ready handler reveals them.- p.context.lateFrame={classList:{contains:()=>false},contentDocument:{documentElement:{dataset:{},style:{}}}};- vm.runInContext('syncFrameTheme(lateFrame)',p.context);- assert.equal(p.context.lateFrame.contentDocument.documentElement.dataset.marketingTheme,p.root.dataset.theme);- vm.runInContext('syncFrameTheme({contentDocument:null})',p.context);-}-const blocked=page('dark',{blocked:true});-assert.equal(blocked.initial,'light');-assert.doesNotThrow(()=>blocked.toggle.click());-assert.equal(blocked.root.dataset.theme,'dark');-assert.equal(blocked.toggle['aria-pressed'],'true');--for(const saved of ['light','dark']){- const p=page(saved,{search:'?edge=light&static=1'});- assert.equal(p.root.dataset.heroStatic,'true','static previews skip the copy entrance before first paint');- assert.equal(p.root.dataset.heroEdge,undefined,'the hero edge has no URL switch');-}---for(const saved of [undefined,'invalid']){- const p=page(saved,{systemDark:true});- assert.equal(p.initial,'dark','system dark applies before styles load');- for(const dark of [false,true,false]){- p.system(dark);- assert.equal(p.root.dataset.theme,dark?'dark':'light');- assert.equal(p.toggle['aria-pressed'],String(dark));- assert.equal(p.frames[0].contentDocument.documentElement.dataset.marketingTheme,dark?'dark':'light');- }- p.toggle.click();p.system(false);- assert.equal(p.root.dataset.theme,'dark','manual choice wins after system changes');-}-for(const saved of ['light','dark']){- const p=page(saved,{systemDark:saved==='light'});- p.system(false);p.system(true);- assert.equal(p.root.dataset.theme,saved,'stored preference wins');-}-const denied=page(undefined,{blocked:true,systemDark:true});-assert.equal(denied.initial,'dark');-denied.toggle.click();denied.system(true);-assert.equal(denied.root.dataset.theme,'light','manual preference wins in memory when storage is denied');--function luminance(hex){- const channels=hex.match(/[\da-f]{2}/gi).map(v=>parseInt(v,16)/255).map(v=>v<=.04045?v/12.92:((v+.055)/1.055)**2.4);- return channels.reduce((sum,v,i)=>sum+v*[.2126,.7152,.0722][i],0);-}-const contrast=(a,b)=>{const x=luminance(a),y=luminance(b);return (Math.max(x,y)+.05)/(Math.min(x,y)+.05)};-const css=readFileSync(new URL('../public/marketing/site.css',import.meta.url),'utf8');-assert(!/data-hero-edge/.test(css),'no hero edge comparison rules remain');-assert.match(css,/:root\[data-theme=light\] \.product-stage>\.product-window\.demo-window\{[^}]*border:1px solid var\(--section-frame-border\)/);-assert(css.includes(':root[data-theme=dark] .product-stage>.product-window.demo-window::after{'),'dark inner highlight remains the default');-assert.match(css,/\.marker-track\s*\{\s*stroke:\s*var\(--hairline\)/);-assert.ok(html.includes('class="nav-stars"') && html.includes('nav-download'));-const dark=css.match(/:root\[data-theme=dark\]\{color-scheme:dark;([^}]+)\}/)[1];-const tokens=Object.fromEntries([...dark.matchAll(/--([\w-]+):(#[\da-f]+)/gi)].map(([,key,value])=>[key,value]));-const pairs=[- ['Body',tokens.ink,tokens.bg],['Muted',tokens.muted,tokens.bg],- ['Card body',tokens.ink,tokens.float],['Card muted',tokens.muted,tokens.float],- ['Accent',tokens.accent,tokens.bg],['Primary button','#ffffff','#6F00FF'],- ['Primary hover','#ffffff','#6200E0'],['Secondary hover',tokens.ink,'#333335'],- ['Flat footer','#ffffff','#6F00FF'],['Footer button','#26242b','#ffffff'],- ['Dark walkthrough body','#A7A4AD','#1B1B1D'],['Selected step','#ffffff','#6F00FF'],-];-for(const [label,fg,bg] of pairs){- const ratio=contrast(fg,bg);- assert.ok(ratio>=4.5,`${label}: ${ratio.toFixed(2)}:1`);- console.log(`${label}: ${ratio.toFixed(2)}:1`);-}-console.log('Theme bootstrap, persistence, denied storage, toggle, frames and contrast passed.');diff --git a/site/scripts/updates.mjs b/site/scripts/updates.mjsdeleted file mode 100644index 64ee960b..00000000--- a/site/scripts/updates.mjs+++ /dev/null@@ -1,58 +0,0 @@-import { pageHeader, sitePage } from './site-page.mjs'--const shortDate = new Intl.DateTimeFormat('en-US', { month: 'short', day: 'numeric', timeZone: 'UTC' })-const fullDate = new Intl.DateTimeFormat('en-US', { dateStyle: 'long', timeZone: 'UTC' })-const uiLabels = /\b(Go to that day|Show earlier lines|Restart Yogurt|New recording|Take notes|Add another calendar|Regenerate summary|Summary language|Menu bar only|Multi-language|Update ready|Delete audio|Suggested|AI apps|Settings|Restart|Later|Manage|Reload|People|Ask|Enter|Trash|Latest)\b/g--function escape(text) {- return text.replaceAll('&', '&').replaceAll('<', '<').replaceAll('>', '>').replaceAll('"', '"').replaceAll('{', '{')-}--const githubReleases = 'https://github.com/FrigadeHQ/yogurt/releases'-function githubLink(version) {- return `<a class="quiet-link" href="${githubReleases}/tag/${encodeURIComponent(version)}" target="_blank" rel="noopener noreferrer" aria-label="View ${escape(version)} on GitHub"><span class="link-label">View on GitHub</span><span class="link-arrow" aria-hidden="true">↗</span></a>`-}--const activityCard = `<div class="activity-board"><a class="oss-card oss-calendar updates-activity" href="${githubReleases}" target="_blank" rel="noopener noreferrer"- aria-label="{{releases}} {{releaseNoun}}, {{weekSummary}}. View releases on GitHub (opens in a new tab).">- <div class="oss-stat"><strong>{{releases}} {{releaseNoun}}</strong><small>{{weekSummary}}</small></div>- <div class="oss-week" aria-hidden="true">{{bars}}</div>- <span class="card-arrow" aria-hidden="true"><svg class="oss-arrow" fill="none" viewBox="0 0 16 16">- <path d="M4 12 12 4M5 4h7v7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.4"/>- </svg></span></a></div>`--export function updatesPage(releases) {- const byDay = new Map()- for (const release of releases) {- const day = release.published.slice(0, 10)- if (!byDay.has(day)) byDay.set(day, [])- byDay.get(day).push(release)- }- const cards = releases.map(({ version, headline, published, changes }, i) => {- const day = published.slice(0, 10)- const date = new Date(published)- const label = shortDate.format(date) + (published.slice(0, 4) === releases[0].published.slice(0, 4) ? '' : ', ' + date.getUTCFullYear())- const dayId = byDay.get(day)[0].version === version ? ` id="day-${day}"` : ''- const bullets = changes.map(text => '<li>' + escape(text).replace(uiLabels, '<strong>$1</strong>') + '</li>').join('')- return `<details class="release-card" id="${escape(version)}"${i < 3 ? ' open' : ''}>- <summary${dayId}><h2><span class="release-meta">${escape(version)} · <time datetime="${day}" title="${fullDate.format(date)}">${label}</time></span>- <span class="release-heading">${escape(headline)}</span></h2><span class="tour-plus" aria-hidden="true"></span></summary>- <div class="faq-answer"><ul>${bullets}</ul><p>${githubLink(version)}</p></div></details>`- })- const batches = []- for (let i = 3; i < cards.length;) {- const day = releases[i].published.slice(0, 10)- let end = Math.min(i + 6, cards.length)- // Finish the first archive day, then reveal six cards at a time.- if (i === 3) while (releases[end - 1].published.slice(0, 10) !== day) end--- batches.push('<div class="release-batch">' + cards.slice(i, end).join('') + '</div>')- i = end- }- const archive = batches.length ? `<section id="earlier" aria-label="Earlier releases">${batches.join('')}</section>` : ''- const fallback = archive ? '<div class="archive-end"><a class="link-label" href="?all=1#earlier">View all releases</a></div><p class="archive-status" role="status" aria-live="polite" aria-atomic="true"></p>' : ''- const description = 'What’s new in Yogurt, release by release.'- const body = `<main id="main" class="updates-page reading-page" tabindex="-1">${pageHeader('Updates')}- <div class="updates-column">${releases.length ? activityCard : ''}- <a class="skip skip-history" href="#footer"><span class="link-label">Skip release history</span></a><div class="faq-cards release-stack">${cards.slice(0, 3).join('')}${archive}</div>${fallback}</div></main>`- return sitePage({ path: '/updates', title: 'Updates · Yogurt', description, body, modules: ['updates'] })-}diff --git a/site/scripts/updates.test.mjs b/site/scripts/updates.test.mjsdeleted file mode 100644index b2b154d8..00000000--- a/site/scripts/updates.test.mjs+++ /dev/null@@ -1,104 +0,0 @@-import assert from 'node:assert/strict'-import { readFileSync } from 'node:fs'-import { navStars } from '../public/marketing/stars-data.mjs'-import { homePage } from './site-page.mjs'-import { renderActivity } from './activity.mjs'-import { updatesPage } from './updates.mjs'--import releases from './release-history.mjs'-import written from '../content/updates.json' with { type: 'json' }--// These are editorial constraints. Published notes keep their complete bullets.-for (const row of written) {- assert.match(row.version, /^v\d+\.\d+\.\d+$/)- assert(row.changes.every(line => line.length <= 62))-}-// A newer GitHub snapshot cannot advertise a release with no page in this build.-const snapshot = { ...JSON.parse(readFileSync(new URL('../content/activity.json', import.meta.url))),- latest: { tag: 'v99.0.0', published: '2099-01-01T00:00:00Z' }, releases: 999999, week: Array(7).fill(0) }-const html = renderActivity(updatesPage(releases), snapshot, releases)-const home = renderActivity(homePage(), snapshot, releases)-for (const count of [2, 104, 10000, 12500]) {- const data = { ...snapshot, count }- const homepage = renderActivity(homePage(), data, releases)- const updates = renderActivity(updatesPage(releases), data, releases)- const navCount = /class="nav-stars"[^>]*>[\s\S]*?<span>([^<]+)<\/span>/- const tileCount = Number(homepage.match(/class="stat-value">([^<]+)/)[1].replaceAll(',', ''))- assert.equal(tileCount, count)- assert.equal(homepage.match(navCount)[1], navStars(tileCount))- assert.equal(updates.match(navCount)[1], navStars(count))-}-const latest = releases[0]-const end = Date.parse(latest.published.slice(0, 10))-const weekCount = releases.filter(row => Date.parse(row.published) >= end - 6 * 86400000).length-const tile = home.match(/<a class="oss-card oss-calendar"[\s\S]*?<\/a>/)[0]-const latestTile = home.match(/<a class="oss-card oss-latest"[\s\S]*?<\/a>/)[0]-assert(tile.includes('href="/updates"'))-assert(tile.includes(`class="oss-figure">${releases.length.toLocaleString('en-US')}<`))-assert(latestTile.includes(`href="/updates#${latest.version}"`))-for (const card of [tile, latestTile]) {- assert.doesNotMatch(card, /target=|noopener|class="oss-arrow"/)- assert(card.includes('class="link-chevron"'))-}-const releaseIndex = 'https://github.com/FrigadeHQ/yogurt/releases'-const activityCard = html.match(/<a class="oss-card oss-calendar updates-activity"[\s\S]*?<\/a>/)[0]-for (const page of [home, html]) {- for (const [card] of page.matchAll(/<a\b[^>]*class="oss-card [^"]+"[\s\S]*?<\/a>/g)) {- assert.doesNotMatch(card, /class="[^"]*\blink-label\b/)- }-}-const totalLabel = releases.length.toLocaleString('en-US') + ' releases'-const summary = activityCard.match(/<small>([^<]+)<\/small>/)[1]-assert(summary.startsWith(weekCount + ' published '))-assert(tile.includes(`aria-label="${summary}"`))-assert(activityCard.includes(`<strong>${totalLabel}</strong>`))-assert.match(activityCard, /<\/div>\s*<span class="card-arrow" aria-hidden="true"><svg class="oss-arrow"/)-assert(activityCard.includes(`href="${releaseIndex}" target="_blank" rel="noopener noreferrer"`))-assert(activityCard.includes(`aria-label="${totalLabel}, ${summary}. View releases on GitHub (opens in a new tab)."`))-assert(activityCard.includes('class="oss-week" aria-hidden="true"'))-assert.equal(activityCard.match(/<a\b/g).length, 1)-assert.doesNotMatch(activityCard, /<button\b|tabindex=/)-assert.doesNotMatch(html, /All releases on GitHub|href="#day-/)-const barTitles = markup => [...markup.matchAll(/<span class="week-day" title="([^"]+)"/g)].map(m => m[1])-assert.equal(barTitles(activityCard).length, 7)-assert.deepEqual(barTitles(activityCard), barTitles(tile))-const cards = html.match(/<details class="release-card"[\s\S]*?<\/details>/g)-assert.equal(cards.length, releases.length)-assert.equal(new Set(releases.map(r => r.version)).size, releases.length)-for (const [i, card] of cards.entries()) {- const row = releases[i]- assert.match(row.version, /^v[\w.-]+$/)- assert.equal(new Date(row.published).toISOString().slice(0, 19), row.published.slice(0, 19))- if (i) assert(releases[i-1].published >= row.published)- assert(row.headline.length && row.changes.length)- assert(card.startsWith(`<details class="release-card" id="${row.version}"${i < 3 ? ' open' : ''}>`))- assert(card.includes(`<span class="release-meta">${row.version} · <time`))- assert.equal(card.match(/<a\b/g)?.length, 1)- assert.doesNotMatch(card.split('</summary>')[0], /<a\b|tabindex=/)- const source = `href="${releaseIndex}/tag/${row.version}" target="_blank" rel="noopener noreferrer"`- assert(card.split('</summary>')[1].includes(source))- assert(!card.split('</summary>')[0].includes(source))- assert.equal(card.match(/<li>/g).length, row.changes.length)- assert.doesNotMatch(card, /<(img|picture|video|figure|iframe|svg)\b/)-}-for (const day of new Set(releases.map(row => row.published.slice(0, 10)))) {- assert(html.includes(`id="day-${day}"`), 'Existing day bookmarks should still resolve')-}-assert(html.includes('href="?all=1#earlier"'))-assert(!html.includes('hidden="until-found"'))-for (const page of [html, home]) {- const nav = page.match(/<header class="site-header">[\s\S]*?<\/header>/)[0]- assert(!nav.includes('/updates'))- const footer = page.match(/<footer[\s\S]*?<\/footer>/)[0]- assert.equal(footer.match(/href="\/updates"/g)?.length, 1)- for (const [, url] of page.matchAll(/href="(https:\/\/github\.com\/FrigadeHQ\/yogurt\/releases[^"]*)"/g)) {- if (url.includes('/download/')) continue- assert(page === html && (url === releaseIndex || releases.some(row => url === releaseIndex + '/tag/' + row.version)), url)- }-}-assert(!html.includes('data-hero-entry="pending"'))-assert(html.includes('href="/#questions"'))-const unsafe = updatesPage([{ ...releases[0], headline: 'Read <this>', changes: ['Go to Settings & choose <Audio>.'] }])-assert(unsafe.includes('Read <this>'))-assert(unsafe.includes('<strong>Settings</strong> & choose <Audio>'))-console.log(`${cards.length} text-only releases, defaults, deep-link IDs, release links, chart, shared navigation and footer passed.`)diff --git a/site/scripts/walkthrough-frames.mjs b/site/scripts/walkthrough-frames.mjsdeleted file mode 100644index 200b5fd2..00000000--- a/site/scripts/walkthrough-frames.mjs+++ /dev/null@@ -1,130 +0,0 @@-import assert from 'node:assert/strict'--// Runs inside Chrome against the rendered walkthrough. Capture the synchronous-// selection frame as well as each painted frame, including interrupted transitions.-export async function sampleWalkthrough(mode) {- const rows = [...document.querySelectorAll('.tour-item')]- const buttons = rows.map((row) => row.querySelector('button'))- const result = {- frames: 0,- collisions: 0,- worst: 0,- closingVisible: 0,- aboveTitle: 0,- changes: [],- settled: false,- }- let active = -1- const start = performance.now()- let lastChange = start- function capture() {- result.frames++- const current = rows.findIndex((row) => row.dataset.selected === 'true')- if (active !== current) {- active = current- result.changes.push(current)- lastChange = performance.now()- }- const headings = buttons.map((button) =>- button.querySelector('span:nth-child(2)').getBoundingClientRect()- )- for (const [i, row] of rows.entries()) {- const description = row.querySelector('.tour-description')- const rect = description.getBoundingClientRect(),- style = getComputedStyle(description)- if (!rect.height || style.visibility !== 'visible' || Number(style.opacity) === 0) continue- if (i !== active) result.closingVisible++- if (rect.top < headings[i].bottom - 0.01) result.aboveTitle++- for (const title of headings) {- if (rect.left >= title.right || rect.right <= title.left) continue- const overlap = Math.min(rect.bottom, title.bottom) - Math.max(rect.top, title.top)- if (overlap > 0.01) {- result.collisions++- result.worst = Math.max(result.worst, overlap)- }- }- }- }- async function sampleFor(ms) {- const end = performance.now() + ms- do {- capture()- await new Promise(requestAnimationFrame)- } while (performance.now() < end)- capture()- }- capture()- if (mode === 'auto') {- while (performance.now() - start < 90000) {- await new Promise(requestAnimationFrame)- capture()- if (result.changes.length >= 4 && performance.now() - lastChange >= 310) break- }- } else {- // Select every ordered pair so each title moves both up and down.- const selections = mode === 'rapid' ? [1, 1, 0, 2, 1, 2, 0] : [1, 0, 2, 1, 2, 0]- for (const index of selections) {- buttons[index].click()- capture()- await sampleFor(mode === 'rapid' ? 45 : 310)- }- }- await sampleFor(310)- const index = buttons.findIndex((button) => button.getAttribute('aria-expanded') === 'true')- const open = rows[index].querySelector('.tour-description')- result.settled =- getComputedStyle(open).visibility === 'visible' &&- Number(getComputedStyle(open).opacity) === 1 &&- open.clientHeight >= open.scrollHeight- return result-}--export async function verifyWalkthroughFrames(call, origin) {- await call('Page.bringToFront')- // Verify the live CSS and title positions before exporting static renderer images.- for (const width of [1280, 390]) {- await call('Emulation.setDeviceMetricsOverride', {- width,- height: 900,- deviceScaleFactor: 1,- mobile: width < 761,- })- await call('Emulation.setEmulatedMedia', {- features: [{ name: 'prefers-reduced-motion', value: 'no-preference' }],- })- await call('Page.navigate', { url: origin + '/?walkthroughViewport=' + width + '#how-it-works' })- const sampled = await call('Runtime.evaluate', {- expression: `(async () => {- if (document.readyState !== 'complete') await new Promise(resolve => addEventListener('load', resolve, {once:true}))- await document.fonts.ready- document.querySelector('.tour-visual').scrollIntoView({block:'center', behavior:'instant'})- await new Promise(resolve => requestAnimationFrame(() => requestAnimationFrame(resolve)))- return [await (${sampleWalkthrough})('auto'), await (${sampleWalkthrough})('manual'), await (${sampleWalkthrough})('rapid')]- })()`,- awaitPromise: true,- returnByValue: true,- })- assert(!sampled.exceptionDetails, sampled.exceptionDetails?.exception?.description)- for (const [i, trace] of sampled.result.value.entries()) {- assert.deepEqual(- trace.changes,- i === 0 ? [0, 1, 2, 0] : [0, 1, 0, 2, 1, 2, 0],- 'every step must open and close'- )- assert(- trace.frames > 10 && trace.settled,- 'the walkthrough must render intermediate frames and settle'- )- assert.equal(- trace.collisions + trace.aboveTitle,- 0,- 'visible walkthrough text must stay below its title and clear every other title'- )- assert.equal(- trace.closingVisible,- 0,- 'a closing description must disappear before its row contracts'- )- }- }-}diff --git a/site/scripts/walkthrough.test.mjs b/site/scripts/walkthrough.test.mjsdeleted file mode 100644index 4b31da87..00000000--- a/site/scripts/walkthrough.test.mjs+++ /dev/null@@ -1,154 +0,0 @@-import assert from 'node:assert/strict'-import { readFileSync } from 'node:fs'-import vm from 'node:vm'--const src = readFileSync(new URL('../public/marketing/walkthrough.mjs', import.meta.url), 'utf8').replace(- /^import [^\n]+\n/,- ''-)-const names = ['transcript', 'summary', 'ask']-function host(reduce = false) {- let observe,- frame,- time = 1,- change- const events = {},- messages = [],- media = {- matches: reduce,- addEventListener: (type, fn) => {- change = fn- },- }- const panels = names.map((key) => {- const art = {- dataset: { fragment: key },- querySelector: () => art.child,- append(child) {- art.child = child- child.parentElement = art- child.closest = () => panel- },- hasAttribute: () => Object.hasOwn(art.dataset, 'ready'),- }- const panel = {- hidden: key !== 'transcript',- art,- querySelector: (s) => (s === 'iframe' ? art.child : art),- setAttribute() {},- }- return panel- })- const buttons = names.map((key, i) => {- const row = { dataset: {}, querySelector: () => ({ style: {} }) }- const shape = { style: {} }- return {- getBoundingClientRect: () => ({ top: 0 }),- getAttribute: () => 'panel-' + key,- closest: () => row,- querySelector: () => shape,- getAnimations: () => [],- setAttribute() {},- addEventListener(type, fn) {- this[type] = fn- },- innerText: key,- }- })- const tour = {- querySelector: () => ({}),- querySelectorAll: (s) => (s === 'iframe' ? panels.map((p) => p.art.child).filter(Boolean) : buttons),- }- const doc = {- documentElement: { dataset: { theme: 'dark' } },- hidden: false,- querySelector: () => tour,- getElementById: (id) => panels[names.indexOf(id.slice(6))],- addEventListener: (type, fn) => (events[type] = fn),- createElement: () => ({- contentWindow: { postMessage: (m) => messages.push(m) },- setAttribute() {},- addEventListener() {},- remove() {- delete this.parentElement.child- },- }),- }- vm.runInNewContext(src, {- document: doc,- window: { addEventListener: (type, fn) => (events[type] = fn) },- location: { origin: 'https://example.test' },- matchMedia: () => media,- syncFrameTheme() {},- IntersectionObserver: class {- constructor(fn) {- observe = fn- }- observe() {}- },- requestAnimationFrame: (fn) => {- frame = fn- return 1- },- cancelAnimationFrame: () => {- frame = null- },- })- return {- buttons,- panels,- messages,- media,- view: (v) => observe([{ isIntersecting: v, intersectionRatio: v ? 1 : 0 }]),- motion: (v) => {- media.matches = v- change()- },- ready(i) {- events.message({- origin: 'https://example.test',- source: panels[i].art.child.contentWindow,- data: { type: 'yogurt-fragment-ready' },- })- },- tick(n) {- for (let i = 0; i < n; i++) {- const next = frame- frame = null- next?.((time += 100))- }- },- running: () => !!frame,- }-}-const p = host()-assert(p.panels.every((p) => !p.art.child))-p.view(true)-assert(p.panels[0].art.child.src.includes('theme=dark'))-p.ready(0)-p.tick(10)-p.view(false)-assert(!p.running())-assert.equal(p.messages.at(-1).playing, false)-p.view(true)-p.tick(60)-assert(p.panels[1].art.child)-p.ready(1)-p.tick(90)-assert(p.panels[2].art.child)-p.buttons[0].click()-p.tick(100)-assert.equal(p.panels[0].hidden, false)-assert(!p.running())-assert.equal(p.messages.at(-1).seconds, 99)-p.motion(true)-assert(p.panels.every((p) => !p.art.child))-const quiet = host(true)-quiet.view(true)-quiet.buttons[2].click()-assert(!quiet.panels[2].hidden)-assert(!quiet.running())-assert(quiet.panels.every((p) => !p.art.child))-console.log(- 'Visible-only real frames, sequential scenes, manual selection, system theme and reduced-motion stills passed.'-)diff --git a/site/tsconfig.json b/site/tsconfig.jsondeleted file mode 100644index ef893bde..00000000--- a/site/tsconfig.json+++ /dev/null@@ -1,20 +0,0 @@-{- "compilerOptions": {- "target": "ES2022",- "lib": ["dom", "dom.iterable", "esnext"],- "strict": true,- "noEmit": true,- "module": "esnext",- "moduleResolution": "bundler",- "resolveJsonModule": true,- "isolatedModules": true,- "jsx": "react-jsx",- "incremental": true,- "skipLibCheck": true,- "plugins": [{ "name": "next" }],- "allowJs": true,- "esModuleInterop": true- },- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],- "exclude": ["node_modules", "renderer"]-}diff --git a/site/vercel.json b/site/vercel.jsondeleted file mode 100644index 1e380e4c..00000000--- a/site/vercel.json+++ /dev/null@@ -1,4 +0,0 @@-{- "framework": "nextjs",- "installCommand": "pnpm install --ignore-workspace --frozen-lockfile"-}