+
+
+## Features
+
+- Works across the entire [Next.js](https://nextjs.org) stack
+ - App Router
+ - Pages Router
+ - Middleware
+ - Client
+ - Server
+ - It just works!
+- supabase-ssr. A package to configure Supabase Auth to use cookies
+- Password-based authentication block installed via the [Supabase UI Library](https://supabase.com/ui/docs/nextjs/password-based-auth)
+- Styling with [Tailwind CSS](https://tailwindcss.com)
+- Components with [shadcn/ui](https://ui.shadcn.com/)
+- Optional deployment with [Supabase Vercel Integration and Vercel deploy](#deploy-your-own)
+ - Environment variables automatically assigned to Vercel project
+
+## Demo
+
+You can view a fully working demo at [demo-nextjs-with-supabase.vercel.app](https://demo-nextjs-with-supabase.vercel.app/).
+
+## Deploy to Vercel
+
+Vercel deployment will guide you through creating a Supabase account and project.
+
+After installation of the Supabase integration, all relevant environment variables will be assigned to the project so the deployment is fully functioning.
+
+[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fwith-supabase&project-name=nextjs-with-supabase&repository-name=nextjs-with-supabase&demo-title=nextjs-with-supabase&demo-description=This+starter+configures+Supabase+Auth+to+use+cookies%2C+making+the+user%27s+session+available+throughout+the+entire+Next.js+app+-+Client+Components%2C+Server+Components%2C+Route+Handlers%2C+Server+Actions+and+Middleware.&demo-url=https%3A%2F%2Fdemo-nextjs-with-supabase.vercel.app%2F&external-id=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fwith-supabase&demo-image=https%3A%2F%2Fdemo-nextjs-with-supabase.vercel.app%2Fopengraph-image.png)
+
+The above will also clone the Starter kit to your GitHub, you can clone that locally and develop locally.
+
+If you wish to just develop locally and not deploy to Vercel, [follow the steps below](#clone-and-run-locally).
+
+## Clone and run locally
+
+1. You'll first need a Supabase project which can be made [via the Supabase dashboard](https://database.new)
+
+2. Create a Next.js app using the Supabase Starter template npx command
+
+ ```bash
+ npx create-next-app --example with-supabase with-supabase-app
+ ```
+
+ ```bash
+ yarn create next-app --example with-supabase with-supabase-app
+ ```
+
+ ```bash
+ pnpm create next-app --example with-supabase with-supabase-app
+ ```
+
+3. Use `cd` to change into the app's directory
+
+ ```bash
+ cd with-supabase-app
+ ```
+
+4. Rename `.env.example` to `.env.local` and update the following:
+
+ ```
+ NEXT_PUBLIC_SUPABASE_URL=[INSERT SUPABASE PROJECT URL]
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=[INSERT SUPABASE PROJECT API ANON KEY]
+ ```
+
+ Both `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_ANON_KEY` can be found in [your Supabase project's API settings](https://supabase.com/dashboard/project/_?showConnect=true)
+
+5. You can now run the Next.js local development server:
+
+ ```bash
+ npm run dev
+ ```
+
+ The starter kit should now be running on [localhost:3000](http://localhost:3000/).
+
+6. This template comes with the default shadcn/ui style initialized. If you instead want other ui.shadcn styles, delete `components.json` and [re-install shadcn/ui](https://ui.shadcn.com/docs/installation/next)
+
+> Check out [the docs for Local Development](https://supabase.com/docs/guides/getting-started/local-development) to also run Supabase locally.
+
+## Feedback and issues
+
+Please file feedback and issues over on the [Supabase GitHub org](https://github.com/supabase/supabase/issues/new/choose).
+
+## More Supabase examples
+
+- [Next.js Subscription Payments Starter](https://github.com/vercel/nextjs-subscription-payments)
+- [Cookie-based Auth and the Next.js 13 App Router (free course)](https://youtube.com/playlist?list=PL5S4mPUpp4OtMhpnp93EFSo42iQ40XjbF)
+- [Supabase Auth and the Next.js App Router](https://github.com/supabase/supabase/tree/master/examples/auth/nextjs)
diff --git a/test/integration/next/app/page.tsx b/test/integration/next/app/page.tsx
new file mode 100644
index 00000000..e5a23113
--- /dev/null
+++ b/test/integration/next/app/page.tsx
@@ -0,0 +1,20 @@
+'use client'
+
+import { useEffect, useState } from 'react'
+import { createClient } from '@/lib/supabase/client'
+
+export default function Home() {
+ const supabase = createClient()
+ const [realtimeStatus, setRealtimeStatus] = useState(null)
+ const channel = supabase.channel('realtime:public:test')
+
+ useEffect(() => {
+ channel.subscribe((status) => setRealtimeStatus(status))
+
+ return () => {
+ channel.unsubscribe()
+ }
+ }, [])
+
+ return
{realtimeStatus}
+}
diff --git a/test/integration/next/components.json b/test/integration/next/components.json
new file mode 100644
index 00000000..4ee62ee1
--- /dev/null
+++ b/test/integration/next/components.json
@@ -0,0 +1,21 @@
+{
+ "$schema": "https://ui.shadcn.com/schema.json",
+ "style": "new-york",
+ "rsc": true,
+ "tsx": true,
+ "tailwind": {
+ "config": "",
+ "css": "app/globals.css",
+ "baseColor": "neutral",
+ "cssVariables": true,
+ "prefix": ""
+ },
+ "aliases": {
+ "components": "@/components",
+ "utils": "@/lib/utils",
+ "ui": "@/components/ui",
+ "lib": "@/lib",
+ "hooks": "@/hooks"
+ },
+ "iconLibrary": "lucide"
+}
diff --git a/test/integration/next/eslint.config.mjs b/test/integration/next/eslint.config.mjs
new file mode 100644
index 00000000..46f02aef
--- /dev/null
+++ b/test/integration/next/eslint.config.mjs
@@ -0,0 +1,14 @@
+import { dirname } from 'path'
+import { fileURLToPath } from 'url'
+import { FlatCompat } from '@eslint/eslintrc'
+
+const __filename = fileURLToPath(import.meta.url)
+const __dirname = dirname(__filename)
+
+const compat = new FlatCompat({
+ baseDirectory: __dirname,
+})
+
+const eslintConfig = [...compat.extends('next/core-web-vitals', 'next/typescript')]
+
+export default eslintConfig
diff --git a/test/integration/next/lib/supabase/client.ts b/test/integration/next/lib/supabase/client.ts
new file mode 100644
index 00000000..c3c0fd2a
--- /dev/null
+++ b/test/integration/next/lib/supabase/client.ts
@@ -0,0 +1,9 @@
+import { createBrowserClient } from '@supabase/ssr'
+
+export function createClient() {
+ return createBrowserClient(
+ process.env.NEXT_PUBLIC_SUPABASE_URL || 'http://127.0.0.1:54321',
+ process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY ||
+ 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0'
+ )
+}
diff --git a/test/integration/next/lib/supabase/middleware.ts b/test/integration/next/lib/supabase/middleware.ts
new file mode 100644
index 00000000..bed39d2a
--- /dev/null
+++ b/test/integration/next/lib/supabase/middleware.ts
@@ -0,0 +1,72 @@
+import { createServerClient } from '@supabase/ssr'
+import { NextResponse, type NextRequest } from 'next/server'
+import { hasEnvVars } from '../utils'
+
+export async function updateSession(request: NextRequest) {
+ let supabaseResponse = NextResponse.next({
+ request,
+ })
+
+ // If the env vars are not set, skip middleware check. You can remove this once you setup the project.
+ if (!hasEnvVars) {
+ return supabaseResponse
+ }
+
+ const supabase = createServerClient(
+ process.env.NEXT_PUBLIC_SUPABASE_URL!,
+ process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
+ {
+ cookies: {
+ getAll() {
+ return request.cookies.getAll()
+ },
+ setAll(cookiesToSet) {
+ cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))
+ supabaseResponse = NextResponse.next({
+ request,
+ })
+ cookiesToSet.forEach(({ name, value, options }) =>
+ supabaseResponse.cookies.set(name, value, options)
+ )
+ },
+ },
+ }
+ )
+
+ // Do not run code between createServerClient and
+ // supabase.auth.getUser(). A simple mistake could make it very hard to debug
+ // issues with users being randomly logged out.
+
+ // IMPORTANT: DO NOT REMOVE auth.getUser()
+
+ const {
+ data: { user },
+ } = await supabase.auth.getUser()
+
+ if (
+ request.nextUrl.pathname !== '/' &&
+ !user &&
+ !request.nextUrl.pathname.startsWith('/login') &&
+ !request.nextUrl.pathname.startsWith('/auth')
+ ) {
+ // no user, potentially respond by redirecting the user to the login page
+ const url = request.nextUrl.clone()
+ url.pathname = '/auth/login'
+ return NextResponse.redirect(url)
+ }
+
+ // IMPORTANT: You *must* return the supabaseResponse object as it is.
+ // If you're creating a new response object with NextResponse.next() make sure to:
+ // 1. Pass the request in it, like so:
+ // const myNewResponse = NextResponse.next({ request })
+ // 2. Copy over the cookies, like so:
+ // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())
+ // 3. Change the myNewResponse object to fit your needs, but avoid changing
+ // the cookies!
+ // 4. Finally:
+ // return myNewResponse
+ // If this is not done, you may be causing the browser and server to go out
+ // of sync and terminate the user's session prematurely!
+
+ return supabaseResponse
+}
diff --git a/test/integration/next/lib/supabase/server.ts b/test/integration/next/lib/supabase/server.ts
new file mode 100644
index 00000000..40633b0c
--- /dev/null
+++ b/test/integration/next/lib/supabase/server.ts
@@ -0,0 +1,29 @@
+import { createServerClient } from '@supabase/ssr'
+import { cookies } from 'next/headers'
+
+export async function createClient() {
+ const cookieStore = await cookies()
+
+ return createServerClient(
+ process.env.NEXT_PUBLIC_SUPABASE_URL!,
+ process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
+ {
+ cookies: {
+ getAll() {
+ return cookieStore.getAll()
+ },
+ setAll(cookiesToSet) {
+ try {
+ cookiesToSet.forEach(({ name, value, options }) =>
+ cookieStore.set(name, value, options)
+ )
+ } catch {
+ // The `setAll` method was called from a Server Component.
+ // This can be ignored if you have middleware refreshing
+ // user sessions.
+ }
+ },
+ },
+ }
+ )
+}
diff --git a/test/integration/next/lib/utils.ts b/test/integration/next/lib/utils.ts
new file mode 100644
index 00000000..8e97e998
--- /dev/null
+++ b/test/integration/next/lib/utils.ts
@@ -0,0 +1,10 @@
+import { clsx, type ClassValue } from 'clsx'
+import { twMerge } from 'tailwind-merge'
+
+export function cn(...inputs: ClassValue[]) {
+ return twMerge(clsx(inputs))
+}
+
+// This check can be removed, it is just for tutorial purposes
+export const hasEnvVars =
+ process.env.NEXT_PUBLIC_SUPABASE_URL && process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY
diff --git a/test/integration/next/middleware.ts b/test/integration/next/middleware.ts
new file mode 100644
index 00000000..de79b4c5
--- /dev/null
+++ b/test/integration/next/middleware.ts
@@ -0,0 +1,20 @@
+import { updateSession } from '@/lib/supabase/middleware'
+import { type NextRequest } from 'next/server'
+
+export async function middleware(request: NextRequest) {
+ return await updateSession(request)
+}
+
+export const config = {
+ matcher: [
+ /*
+ * Match all request paths except:
+ * - _next/static (static files)
+ * - _next/image (image optimization files)
+ * - favicon.ico (favicon file)
+ * - images - .svg, .png, .jpg, .jpeg, .gif, .webp
+ * Feel free to modify this pattern to include more paths.
+ */
+ '/((?!_next/static|_next/image|favicon.ico|.*\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)',
+ ],
+}
diff --git a/test/integration/next/next.config.ts b/test/integration/next/next.config.ts
new file mode 100644
index 00000000..73290639
--- /dev/null
+++ b/test/integration/next/next.config.ts
@@ -0,0 +1,7 @@
+import type { NextConfig } from 'next'
+
+const nextConfig: NextConfig = {
+ /* config options here */
+}
+
+export default nextConfig
diff --git a/test/integration/next/package-lock.json b/test/integration/next/package-lock.json
new file mode 100644
index 00000000..cb28bba7
--- /dev/null
+++ b/test/integration/next/package-lock.json
@@ -0,0 +1,7628 @@
+{
+ "name": "next",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "dependencies": {
+ "@radix-ui/react-checkbox": "^1.3.1",
+ "@radix-ui/react-dropdown-menu": "^2.1.14",
+ "@radix-ui/react-label": "^2.1.6",
+ "@radix-ui/react-slot": "^1.2.2",
+ "@supabase/ssr": "latest",
+ "@supabase/supabase-js": "latest",
+ "class-variance-authority": "^0.7.1",
+ "clsx": "^2.1.1",
+ "lucide-react": "^0.511.0",
+ "next": "latest",
+ "next-themes": "^0.4.6",
+ "react": "^19.0.0",
+ "react-dom": "^19.0.0",
+ "tailwind-merge": "^3.3.0"
+ },
+ "devDependencies": {
+ "@eslint/eslintrc": "^3",
+ "@playwright/test": "^1.53.0",
+ "@types/node": "^20",
+ "@types/react": "^19",
+ "@types/react-dom": "^19",
+ "autoprefixer": "^10.4.20",
+ "eslint": "^9",
+ "eslint-config-next": "15.3.1",
+ "postcss": "^8",
+ "tailwindcss": "^3.4.1",
+ "tailwindcss-animate": "^1.0.7",
+ "typescript": "^5"
+ }
+ },
+ "node_modules/@alloc/quick-lru": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
+ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@emnapi/core": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.4.3.tgz",
+ "integrity": "sha512-4m62DuCE07lw01soJwPiBGC0nAww0Q+RY70VZ+n49yDIO13yyinhbWCeNnaob0lakDtWQzSdtNWzJeOJt2ma+g==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/wasi-threads": "1.0.2",
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/runtime": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.4.3.tgz",
+ "integrity": "sha512-pBPWdu6MLKROBX05wSNKcNb++m5Er+KQ9QkB+WVM+pW2Kx9hoSrVTnu3BdkI5eBLZoKu/J6mW/B6i6bJB2ytXQ==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/wasi-threads": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.0.2.tgz",
+ "integrity": "sha512-5n3nTJblwRi8LlXkJ9eBzu+kZR8Yxcc7ubakyQTFzPMtIhFpUBRbsnc2Dv88IZDIbCDlBiWrknhB4Lsz7mg6BA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
+ "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eslint-visitor-keys": "^3.4.3"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.12.1",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz",
+ "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@eslint/config-array": {
+ "version": "0.20.1",
+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.20.1.tgz",
+ "integrity": "sha512-OL0RJzC/CBzli0DrrR31qzj6d6i6Mm3HByuhflhl4LOBiWxN+3i6/t/ZQQNii4tjksXi8r2CRW1wMpWA2ULUEw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/object-schema": "^2.1.6",
+ "debug": "^4.3.1",
+ "minimatch": "^3.1.2"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/config-helpers": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.2.3.tgz",
+ "integrity": "sha512-u180qk2Um1le4yf0ruXH3PYFeEZeYC3p/4wCTKrr2U1CmGdzGi3KtY0nuPDH48UJxlKCC5RDzbcbh4X0XlqgHg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/core": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.14.0.tgz",
+ "integrity": "sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/eslintrc": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz",
+ "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^6.12.4",
+ "debug": "^4.3.2",
+ "espree": "^10.0.1",
+ "globals": "^14.0.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.0",
+ "minimatch": "^3.1.2",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "9.28.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.28.0.tgz",
+ "integrity": "sha512-fnqSjGWd/CoIp4EXIxWVK/sHA6DOHN4+8Ix2cX5ycOY7LG0UY8nHCU5pIp2eaE1Mc7Qd8kHspYNzYXT2ojPLzg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ }
+ },
+ "node_modules/@eslint/object-schema": {
+ "version": "2.1.6",
+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz",
+ "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/plugin-kit": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.2.tgz",
+ "integrity": "sha512-4SaFZCNfJqvk/kenHpI8xvN42DMaoycy4PzKc5otHxRswww1kAt82OlBuwRVLofCACCTZEcla2Ydxv8scMXaTg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.15.0",
+ "levn": "^0.4.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/plugin-kit/node_modules/@eslint/core": {
+ "version": "0.15.0",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.0.tgz",
+ "integrity": "sha512-b7ePw78tEWWkpgZCDYkbqDOP8dmM6qe+AOC6iuJqlq1R/0ahMAeH3qynpnqKFGkMltrp44ohV4ubGyvLX28tzw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@floating-ui/core": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.1.tgz",
+ "integrity": "sha512-azI0DrjMMfIug/ExbBaeDVJXcY0a7EPvPjb2xAJPa4HeimBX+Z18HK8QQR3jb6356SnDDdxx+hinMLcJEDdOjw==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/utils": "^0.2.9"
+ }
+ },
+ "node_modules/@floating-ui/dom": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.1.tgz",
+ "integrity": "sha512-cwsmW/zyw5ltYTUeeYJ60CnQuPqmGwuGVhG9w0PRaRKkAyi38BT5CKrpIbb+jtahSwUl04cWzSx9ZOIxeS6RsQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/core": "^1.7.1",
+ "@floating-ui/utils": "^0.2.9"
+ }
+ },
+ "node_modules/@floating-ui/react-dom": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.3.tgz",
+ "integrity": "sha512-huMBfiU9UnQ2oBwIhgzyIiSpVgvlDstU8CX0AF+wS+KzmYMs0J2a3GwuFHV1Lz+jlrQGeC1fF+Nv0QoumyV0bA==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/dom": "^1.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@floating-ui/utils": {
+ "version": "0.2.9",
+ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.9.tgz",
+ "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==",
+ "license": "MIT"
+ },
+ "node_modules/@humanfs/core": {
+ "version": "0.19.1",
+ "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
+ "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/node": {
+ "version": "0.16.6",
+ "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz",
+ "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@humanfs/core": "^0.19.1",
+ "@humanwhocodes/retry": "^0.3.0"
+ },
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz",
+ "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
+ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/retry": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",
+ "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@img/sharp-darwin-arm64": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.2.tgz",
+ "integrity": "sha512-OfXHZPppddivUJnqyKoi5YVeHRkkNE2zUFT2gbpKxp/JZCFYEYubnMg+gOp6lWfasPrTS+KPosKqdI+ELYVDtg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-darwin-arm64": "1.1.0"
+ }
+ },
+ "node_modules/@img/sharp-darwin-x64": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.2.tgz",
+ "integrity": "sha512-dYvWqmjU9VxqXmjEtjmvHnGqF8GrVjM2Epj9rJ6BUIXvk8slvNDJbhGFvIoXzkDhrJC2jUxNLz/GUjjvSzfw+g==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-darwin-x64": "1.1.0"
+ }
+ },
+ "node_modules/@img/sharp-libvips-darwin-arm64": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.1.0.tgz",
+ "integrity": "sha512-HZ/JUmPwrJSoM4DIQPv/BfNh9yrOA8tlBbqbLz4JZ5uew2+o22Ik+tHQJcih7QJuSa0zo5coHTfD5J8inqj9DA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-darwin-x64": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.1.0.tgz",
+ "integrity": "sha512-Xzc2ToEmHN+hfvsl9wja0RlnXEgpKNmftriQp6XzY/RaSfwD9th+MSh0WQKzUreLKKINb3afirxW7A0fz2YWuQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-arm": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.1.0.tgz",
+ "integrity": "sha512-s8BAd0lwUIvYCJyRdFqvsj+BJIpDBSxs6ivrOPm/R7piTs5UIwY5OjXrP2bqXC9/moGsyRa37eYWYCOGVXxVrA==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-arm64": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.1.0.tgz",
+ "integrity": "sha512-IVfGJa7gjChDET1dK9SekxFFdflarnUB8PwW8aGwEoF3oAsSDuNUTYS+SKDOyOJxQyDC1aPFMuRYLoDInyV9Ew==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-ppc64": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.1.0.tgz",
+ "integrity": "sha512-tiXxFZFbhnkWE2LA8oQj7KYR+bWBkiV2nilRldT7bqoEZ4HiDOcePr9wVDAZPi/Id5fT1oY9iGnDq20cwUz8lQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-s390x": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.1.0.tgz",
+ "integrity": "sha512-xukSwvhguw7COyzvmjydRb3x/09+21HykyapcZchiCUkTThEQEOMtBj9UhkaBRLuBrgLFzQ2wbxdeCCJW/jgJA==",
+ "cpu": [
+ "s390x"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-x64": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.1.0.tgz",
+ "integrity": "sha512-yRj2+reB8iMg9W5sULM3S74jVS7zqSzHG3Ol/twnAAkAhnGQnpjj6e4ayUz7V+FpKypwgs82xbRdYtchTTUB+Q==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.1.0.tgz",
+ "integrity": "sha512-jYZdG+whg0MDK+q2COKbYidaqW/WTz0cc1E+tMAusiDygrM4ypmSCjOJPmFTvHHJ8j/6cAGyeDWZOsK06tP33w==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.1.0.tgz",
+ "integrity": "sha512-wK7SBdwrAiycjXdkPnGCPLjYb9lD4l6Ze2gSdAGVZrEL05AOUJESWU2lhlC+Ffn5/G+VKuSm6zzbQSzFX/P65A==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-linux-arm": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.2.tgz",
+ "integrity": "sha512-0DZzkvuEOqQUP9mo2kjjKNok5AmnOr1jB2XYjkaoNRwpAYMDzRmAqUIa1nRi58S2WswqSfPOWLNOr0FDT3H5RQ==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-arm": "1.1.0"
+ }
+ },
+ "node_modules/@img/sharp-linux-arm64": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.2.tgz",
+ "integrity": "sha512-D8n8wgWmPDakc83LORcfJepdOSN6MvWNzzz2ux0MnIbOqdieRZwVYY32zxVx+IFUT8er5KPcyU3XXsn+GzG/0Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-arm64": "1.1.0"
+ }
+ },
+ "node_modules/@img/sharp-linux-s390x": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.2.tgz",
+ "integrity": "sha512-EGZ1xwhBI7dNISwxjChqBGELCWMGDvmxZXKjQRuqMrakhO8QoMgqCrdjnAqJq/CScxfRn+Bb7suXBElKQpPDiw==",
+ "cpu": [
+ "s390x"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-s390x": "1.1.0"
+ }
+ },
+ "node_modules/@img/sharp-linux-x64": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.2.tgz",
+ "integrity": "sha512-sD7J+h5nFLMMmOXYH4DD9UtSNBD05tWSSdWAcEyzqW8Cn5UxXvsHAxmxSesYUsTOBmUnjtxghKDl15EvfqLFbQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-x64": "1.1.0"
+ }
+ },
+ "node_modules/@img/sharp-linuxmusl-arm64": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.2.tgz",
+ "integrity": "sha512-NEE2vQ6wcxYav1/A22OOxoSOGiKnNmDzCYFOZ949xFmrWZOVII1Bp3NqVVpvj+3UeHMFyN5eP/V5hzViQ5CZNA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linuxmusl-arm64": "1.1.0"
+ }
+ },
+ "node_modules/@img/sharp-linuxmusl-x64": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.2.tgz",
+ "integrity": "sha512-DOYMrDm5E6/8bm/yQLCWyuDJwUnlevR8xtF8bs+gjZ7cyUNYXiSf/E8Kp0Ss5xasIaXSHzb888V1BE4i1hFhAA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linuxmusl-x64": "1.1.0"
+ }
+ },
+ "node_modules/@img/sharp-wasm32": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.2.tgz",
+ "integrity": "sha512-/VI4mdlJ9zkaq53MbIG6rZY+QRN3MLbR6usYlgITEzi4Rpx5S6LFKsycOQjkOGmqTNmkIdLjEvooFKwww6OpdQ==",
+ "cpu": [
+ "wasm32"
+ ],
+ "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/runtime": "^1.4.3"
+ },
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-arm64": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.2.tgz",
+ "integrity": "sha512-cfP/r9FdS63VA5k0xiqaNaEoGxBg9k7uE+RQGzuK9fHt7jib4zAVVseR9LsE4gJcNWgT6APKMNnCcnyOtmSEUQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-ia32": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.2.tgz",
+ "integrity": "sha512-QLjGGvAbj0X/FXl8n1WbtQ6iVBpWU7JO94u/P2M4a8CFYsvQi4GW2mRy/JqkRx0qpBzaOdKJKw8uc930EX2AHw==",
+ "cpu": [
+ "ia32"
+ ],
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-x64": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.2.tgz",
+ "integrity": "sha512-aUdT6zEYtDKCaxkofmmJDJYGCf0+pJg3eU9/oBuqvEeoB9dKI6ZLc/1iLJCTuJQDO4ptntAlkUmHgGjyuobZbw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@isaacs/cliui": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^5.1.2",
+ "string-width-cjs": "npm:string-width@^4.2.0",
+ "strip-ansi": "^7.0.1",
+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
+ "wrap-ansi": "^8.1.0",
+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.8",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz",
+ "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/set-array": "^1.2.1",
+ "@jridgewell/sourcemap-codec": "^1.4.10",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/set-array": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
+ "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
+ "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.25",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
+ "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@napi-rs/wasm-runtime": {
+ "version": "0.2.11",
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.11.tgz",
+ "integrity": "sha512-9DPkXtvHydrcOsopiYpUgPHpmj0HWZKMUnL2dZqpvC42lsratuBG06V5ipyno0fUek5VlFsNQ+AcFATSrJXgMA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.4.3",
+ "@emnapi/runtime": "^1.4.3",
+ "@tybys/wasm-util": "^0.9.0"
+ }
+ },
+ "node_modules/@next/env": {
+ "version": "15.3.3",
+ "resolved": "https://registry.npmjs.org/@next/env/-/env-15.3.3.tgz",
+ "integrity": "sha512-OdiMrzCl2Xi0VTjiQQUK0Xh7bJHnOuET2s+3V+Y40WJBAXrJeGA3f+I8MZJ/YQ3mVGi5XGR1L66oFlgqXhQ4Vw==",
+ "license": "MIT"
+ },
+ "node_modules/@next/eslint-plugin-next": {
+ "version": "15.3.1",
+ "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-15.3.1.tgz",
+ "integrity": "sha512-oEs4dsfM6iyER3jTzMm4kDSbrQJq8wZw5fmT6fg2V3SMo+kgG+cShzLfEV20senZzv8VF+puNLheiGPlBGsv2A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-glob": "3.3.1"
+ }
+ },
+ "node_modules/@next/swc-darwin-arm64": {
+ "version": "15.3.3",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.3.3.tgz",
+ "integrity": "sha512-WRJERLuH+O3oYB4yZNVahSVFmtxRNjNF1I1c34tYMoJb0Pve+7/RaLAJJizyYiFhjYNGHRAE1Ri2Fd23zgDqhg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-darwin-x64": {
+ "version": "15.3.3",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.3.3.tgz",
+ "integrity": "sha512-XHdzH/yBc55lu78k/XwtuFR/ZXUTcflpRXcsu0nKmF45U96jt1tsOZhVrn5YH+paw66zOANpOnFQ9i6/j+UYvw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-linux-arm64-gnu": {
+ "version": "15.3.3",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.3.3.tgz",
+ "integrity": "sha512-VZ3sYL2LXB8znNGcjhocikEkag/8xiLgnvQts41tq6i+wql63SMS1Q6N8RVXHw5pEUjiof+II3HkDd7GFcgkzw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-linux-arm64-musl": {
+ "version": "15.3.3",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.3.3.tgz",
+ "integrity": "sha512-h6Y1fLU4RWAp1HPNJWDYBQ+e3G7sLckyBXhmH9ajn8l/RSMnhbuPBV/fXmy3muMcVwoJdHL+UtzRzs0nXOf9SA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-linux-x64-gnu": {
+ "version": "15.3.3",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.3.3.tgz",
+ "integrity": "sha512-jJ8HRiF3N8Zw6hGlytCj5BiHyG/K+fnTKVDEKvUCyiQ/0r5tgwO7OgaRiOjjRoIx2vwLR+Rz8hQoPrnmFbJdfw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-linux-x64-musl": {
+ "version": "15.3.3",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.3.3.tgz",
+ "integrity": "sha512-HrUcTr4N+RgiiGn3jjeT6Oo208UT/7BuTr7K0mdKRBtTbT4v9zJqCDKO97DUqqoBK1qyzP1RwvrWTvU6EPh/Cw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-win32-arm64-msvc": {
+ "version": "15.3.3",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.3.3.tgz",
+ "integrity": "sha512-SxorONgi6K7ZUysMtRF3mIeHC5aA3IQLmKFQzU0OuhuUYwpOBc1ypaLJLP5Bf3M9k53KUUUj4vTPwzGvl/NwlQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@next/swc-win32-x64-msvc": {
+ "version": "15.3.3",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.3.3.tgz",
+ "integrity": "sha512-4QZG6F8enl9/S2+yIiOiju0iCTFd93d8VC1q9LZS4p/Xuk81W2QDjCFeoogmrWWkAD59z8ZxepBQap2dKS5ruw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nolyfill/is-core-module": {
+ "version": "1.0.39",
+ "resolved": "https://registry.npmjs.org/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz",
+ "integrity": "sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.4.0"
+ }
+ },
+ "node_modules/@pkgjs/parseargs": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
+ "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/@playwright/test": {
+ "version": "1.53.0",
+ "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.53.0.tgz",
+ "integrity": "sha512-15hjKreZDcp7t6TL/7jkAo6Df5STZN09jGiv5dbP9A6vMVncXRqE7/B2SncsyOwrkZRBH2i6/TPOL8BVmm3c7w==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "playwright": "1.53.0"
+ },
+ "bin": {
+ "playwright": "cli.js"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@radix-ui/primitive": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.2.tgz",
+ "integrity": "sha512-XnbHrrprsNqZKQhStrSwgRUQzoCI1glLzdw79xiZPoofhGICeZRSQ3dIxAKH1gb3OHfNf4d6f+vAv3kil2eggA==",
+ "license": "MIT"
+ },
+ "node_modules/@radix-ui/react-arrow": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.7.tgz",
+ "integrity": "sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-checkbox": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-checkbox/-/react-checkbox-1.3.2.tgz",
+ "integrity": "sha512-yd+dI56KZqawxKZrJ31eENUwqc1QSqg4OZ15rybGjF2ZNwMO+wCyHzAVLRp9qoYJf7kYy0YpZ2b0JCzJ42HZpA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.2",
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-context": "1.1.2",
+ "@radix-ui/react-presence": "1.1.4",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-use-controllable-state": "1.2.2",
+ "@radix-ui/react-use-previous": "1.1.1",
+ "@radix-ui/react-use-size": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-collection": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.7.tgz",
+ "integrity": "sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-context": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-slot": "1.2.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",
+ "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-context": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz",
+ "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-direction": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.1.tgz",
+ "integrity": "sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dismissable-layer": {
+ "version": "1.1.10",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.10.tgz",
+ "integrity": "sha512-IM1zzRV4W3HtVgftdQiiOmA0AdJlCtMLe00FXaHwgt3rAnNsIyDqshvkIW3hj/iu5hu8ERP7KIYki6NkqDxAwQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.2",
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-use-callback-ref": "1.1.1",
+ "@radix-ui/react-use-escape-keydown": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dropdown-menu": {
+ "version": "2.1.15",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.1.15.tgz",
+ "integrity": "sha512-mIBnOjgwo9AH3FyKaSWoSu/dYj6VdhJ7frEPiGTeXCdUFHjl9h3mFh2wwhEtINOmYXWhdpf1rY2minFsmaNgVQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.2",
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-context": "1.1.2",
+ "@radix-ui/react-id": "1.1.1",
+ "@radix-ui/react-menu": "2.1.15",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-use-controllable-state": "1.2.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-focus-guards": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.2.tgz",
+ "integrity": "sha512-fyjAACV62oPV925xFCrH8DR5xWhg9KYtJT4s3u54jxp+L/hbpTY2kIeEFFbFe+a/HCE94zGQMZLIpVTPVZDhaA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-focus-scope": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz",
+ "integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-use-callback-ref": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-id": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz",
+ "integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-label": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.1.7.tgz",
+ "integrity": "sha512-YT1GqPSL8kJn20djelMX7/cTRp/Y9w5IZHvfxQTVHrOqa2yMl7i/UfMqKRU5V7mEyKTrUVgJXhNQPVCG8PBLoQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-menu": {
+ "version": "2.1.15",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.1.15.tgz",
+ "integrity": "sha512-tVlmA3Vb9n8SZSd+YSbuFR66l87Wiy4du+YE+0hzKQEANA+7cWKH1WgqcEX4pXqxUFQKrWQGHdvEfw00TjFiew==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.2",
+ "@radix-ui/react-collection": "1.1.7",
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-context": "1.1.2",
+ "@radix-ui/react-direction": "1.1.1",
+ "@radix-ui/react-dismissable-layer": "1.1.10",
+ "@radix-ui/react-focus-guards": "1.1.2",
+ "@radix-ui/react-focus-scope": "1.1.7",
+ "@radix-ui/react-id": "1.1.1",
+ "@radix-ui/react-popper": "1.2.7",
+ "@radix-ui/react-portal": "1.1.9",
+ "@radix-ui/react-presence": "1.1.4",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-roving-focus": "1.1.10",
+ "@radix-ui/react-slot": "1.2.3",
+ "@radix-ui/react-use-callback-ref": "1.1.1",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.6.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popper": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.2.7.tgz",
+ "integrity": "sha512-IUFAccz1JyKcf/RjB552PlWwxjeCJB8/4KxT7EhBHOJM+mN7LdW+B3kacJXILm32xawcMMjb2i0cIZpo+f9kiQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/react-dom": "^2.0.0",
+ "@radix-ui/react-arrow": "1.1.7",
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-context": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-use-callback-ref": "1.1.1",
+ "@radix-ui/react-use-layout-effect": "1.1.1",
+ "@radix-ui/react-use-rect": "1.1.1",
+ "@radix-ui/react-use-size": "1.1.1",
+ "@radix-ui/rect": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-portal": {
+ "version": "1.1.9",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz",
+ "integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-use-layout-effect": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-presence": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.4.tgz",
+ "integrity": "sha512-ueDqRbdc4/bkaQT3GIpLQssRlFgWaL/U2z/S31qRwwLWoxHLgry3SIfCwhxeQNbirEUXFa+lq3RL3oBYXtcmIA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-use-layout-effect": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-primitive": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz",
+ "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.2.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-roving-focus": {
+ "version": "1.1.10",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.10.tgz",
+ "integrity": "sha512-dT9aOXUen9JSsxnMPv/0VqySQf5eDQ6LCk5Sw28kamz8wSOW2bJdlX2Bg5VUIIcV+6XlHpWTIuTPCf/UNIyq8Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.2",
+ "@radix-ui/react-collection": "1.1.7",
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-context": "1.1.2",
+ "@radix-ui/react-direction": "1.1.1",
+ "@radix-ui/react-id": "1.1.1",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-use-callback-ref": "1.1.1",
+ "@radix-ui/react-use-controllable-state": "1.2.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slot": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",
+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz",
+ "integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.2.tgz",
+ "integrity": "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-effect-event": "0.0.2",
+ "@radix-ui/react-use-layout-effect": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-effect-event": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.2.tgz",
+ "integrity": "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-escape-keydown": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.1.tgz",
+ "integrity": "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-callback-ref": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz",
+ "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-previous": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.1.tgz",
+ "integrity": "sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-rect": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.1.tgz",
+ "integrity": "sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/rect": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-size": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.1.tgz",
+ "integrity": "sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/rect": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.1.tgz",
+ "integrity": "sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==",
+ "license": "MIT"
+ },
+ "node_modules/@rtsao/scc": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz",
+ "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@rushstack/eslint-patch": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.11.0.tgz",
+ "integrity": "sha512-zxnHvoMQVqewTJr/W4pKjF0bMGiKJv1WX7bSrkl46Hg0QjESbzBROWK0Wg4RphzSOS5Jiy7eFimmM3UgMrMZbQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@supabase/auth-js": {
+ "version": "2.70.0",
+ "resolved": "https://registry.npmjs.org/@supabase/auth-js/-/auth-js-2.70.0.tgz",
+ "integrity": "sha512-BaAK/tOAZFJtzF1sE3gJ2FwTjLf4ky3PSvcvLGEgEmO4BSBkwWKu8l67rLLIBZPDnCyV7Owk2uPyKHa0kj5QGg==",
+ "license": "MIT",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/functions-js": {
+ "version": "2.4.4",
+ "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.4.4.tgz",
+ "integrity": "sha512-WL2p6r4AXNGwop7iwvul2BvOtuJ1YQy8EbOd0dhG1oN1q8el/BIRSFCFnWAMM/vJJlHWLi4ad22sKbKr9mvjoA==",
+ "license": "MIT",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/node-fetch": {
+ "version": "2.6.15",
+ "resolved": "https://registry.npmjs.org/@supabase/node-fetch/-/node-fetch-2.6.15.tgz",
+ "integrity": "sha512-1ibVeYUacxWYi9i0cf5efil6adJ9WRyZBLivgjs+AUpewx1F3xPi7gLgaASI2SmIQxPoCEjAsLAzKPgMJVgOUQ==",
+ "license": "MIT",
+ "dependencies": {
+ "whatwg-url": "^5.0.0"
+ },
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/@supabase/postgrest-js": {
+ "version": "1.19.4",
+ "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.19.4.tgz",
+ "integrity": "sha512-O4soKqKtZIW3olqmbXXbKugUtByD2jPa8kL2m2c1oozAO11uCcGrRhkZL0kVxjBLrXHE0mdSkFsMj7jDSfyNpw==",
+ "license": "MIT",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/realtime-js": {
+ "version": "2.11.10",
+ "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-2.11.10.tgz",
+ "integrity": "sha512-SJKVa7EejnuyfImrbzx+HaD9i6T784khuw1zP+MBD7BmJYChegGxYigPzkKX8CK8nGuDntmeSD3fvriaH0EGZA==",
+ "license": "MIT",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.13",
+ "@types/phoenix": "^1.6.6",
+ "@types/ws": "^8.18.1",
+ "ws": "^8.18.2"
+ }
+ },
+ "node_modules/@supabase/ssr": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/@supabase/ssr/-/ssr-0.6.1.tgz",
+ "integrity": "sha512-QtQgEMvaDzr77Mk3vZ3jWg2/y+D8tExYF7vcJT+wQ8ysuvOeGGjYbZlvj5bHYsj/SpC0bihcisnwPrM4Gp5G4g==",
+ "license": "MIT",
+ "dependencies": {
+ "cookie": "^1.0.1"
+ },
+ "peerDependencies": {
+ "@supabase/supabase-js": "^2.43.4"
+ }
+ },
+ "node_modules/@supabase/storage-js": {
+ "version": "2.7.1",
+ "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.7.1.tgz",
+ "integrity": "sha512-asYHcyDR1fKqrMpytAS1zjyEfvxuOIp1CIXX7ji4lHHcJKqyk+sLl/Vxgm4sN6u8zvuUtae9e4kDxQP2qrwWBA==",
+ "license": "MIT",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/supabase-js": {
+ "version": "2.50.0",
+ "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.50.0.tgz",
+ "integrity": "sha512-M1Gd5tPaaghYZ9OjeO1iORRqbTWFEz/cF3pPubRnMPzA+A8SiUsXXWDP+DWsASZcjEcVEcVQIAF38i5wrijYOg==",
+ "license": "MIT",
+ "dependencies": {
+ "@supabase/auth-js": "2.70.0",
+ "@supabase/functions-js": "2.4.4",
+ "@supabase/node-fetch": "2.6.15",
+ "@supabase/postgrest-js": "1.19.4",
+ "@supabase/realtime-js": "2.11.10",
+ "@supabase/storage-js": "2.7.1"
+ }
+ },
+ "node_modules/@swc/counter": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
+ "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/@swc/helpers": {
+ "version": "0.5.15",
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz",
+ "integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "tslib": "^2.8.0"
+ }
+ },
+ "node_modules/@tybys/wasm-util": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.9.0.tgz",
+ "integrity": "sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/json-schema": {
+ "version": "7.0.15",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/json5": {
+ "version": "0.0.29",
+ "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
+ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "20.19.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.0.tgz",
+ "integrity": "sha512-hfrc+1tud1xcdVTABC2JiomZJEklMcXYNTVtZLAeqTVWD+qL5jkHKT+1lOtqDdGxt+mB53DTtiz673vfjU8D1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~6.21.0"
+ }
+ },
+ "node_modules/@types/phoenix": {
+ "version": "1.6.6",
+ "resolved": "https://registry.npmjs.org/@types/phoenix/-/phoenix-1.6.6.tgz",
+ "integrity": "sha512-PIzZZlEppgrpoT2QgbnDU+MMzuR6BbCjllj0bM70lWoejMeNJAxCchxnv7J3XFkI8MpygtRpzXrIlmWUBclP5A==",
+ "license": "MIT"
+ },
+ "node_modules/@types/react": {
+ "version": "19.1.8",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.8.tgz",
+ "integrity": "sha512-AwAfQ2Wa5bCx9WP8nZL2uMZWod7J7/JSplxbTmBQ5ms6QpqNYm672H0Vu9ZVKVngQ+ii4R/byguVEUZQyeg44g==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/@types/react-dom": {
+ "version": "19.1.6",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.1.6.tgz",
+ "integrity": "sha512-4hOiT/dwO8Ko0gV1m/TJZYk3y0KBnY9vzDh7W+DH17b2HFSOGgdj33dhihPeuy3l0q23+4e+hoXHV6hCC4dCXw==",
+ "devOptional": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "^19.0.0"
+ }
+ },
+ "node_modules/@types/ws": {
+ "version": "8.18.1",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz",
+ "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@typescript-eslint/eslint-plugin": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.34.0.tgz",
+ "integrity": "sha512-QXwAlHlbcAwNlEEMKQS2RCgJsgXrTJdjXT08xEgbPFa2yYQgVjBymxP5DrfrE7X7iodSzd9qBUHUycdyVJTW1w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.10.0",
+ "@typescript-eslint/scope-manager": "8.34.0",
+ "@typescript-eslint/type-utils": "8.34.0",
+ "@typescript-eslint/utils": "8.34.0",
+ "@typescript-eslint/visitor-keys": "8.34.0",
+ "graphemer": "^1.4.0",
+ "ignore": "^7.0.0",
+ "natural-compare": "^1.4.0",
+ "ts-api-utils": "^2.1.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/parser": "^8.34.0",
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
+ "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/@typescript-eslint/parser": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.34.0.tgz",
+ "integrity": "sha512-vxXJV1hVFx3IXz/oy2sICsJukaBrtDEQSBiV48/YIV5KWjX1dO+bcIr/kCPrW6weKXvsaGKFNlwH0v2eYdRRbA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "8.34.0",
+ "@typescript-eslint/types": "8.34.0",
+ "@typescript-eslint/typescript-estree": "8.34.0",
+ "@typescript-eslint/visitor-keys": "8.34.0",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/project-service": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.34.0.tgz",
+ "integrity": "sha512-iEgDALRf970/B2YExmtPMPF54NenZUf4xpL3wsCRx/lgjz6ul/l13R81ozP/ZNuXfnLCS+oPmG7JIxfdNYKELw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/tsconfig-utils": "^8.34.0",
+ "@typescript-eslint/types": "^8.34.0",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.34.0.tgz",
+ "integrity": "sha512-9Ac0X8WiLykl0aj1oYQNcLZjHgBojT6cW68yAgZ19letYu+Hxd0rE0veI1XznSSst1X5lwnxhPbVdwjDRIomRw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.34.0",
+ "@typescript-eslint/visitor-keys": "8.34.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/tsconfig-utils": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.34.0.tgz",
+ "integrity": "sha512-+W9VYHKFIzA5cBeooqQxqNriAP0QeQ7xTiDuIOr71hzgffm3EL2hxwWBIIj4GuofIbKxGNarpKqIq6Q6YrShOA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/type-utils": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.34.0.tgz",
+ "integrity": "sha512-n7zSmOcUVhcRYC75W2pnPpbO1iwhJY3NLoHEtbJwJSNlVAZuwqu05zY3f3s2SDWWDSo9FdN5szqc73DCtDObAg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/typescript-estree": "8.34.0",
+ "@typescript-eslint/utils": "8.34.0",
+ "debug": "^4.3.4",
+ "ts-api-utils": "^2.1.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/types": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.34.0.tgz",
+ "integrity": "sha512-9V24k/paICYPniajHfJ4cuAWETnt7Ssy+R0Rbcqo5sSFr3QEZ/8TSoUi9XeXVBGXCaLtwTOKSLGcInCAvyZeMA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.34.0.tgz",
+ "integrity": "sha512-rOi4KZxI7E0+BMqG7emPSK1bB4RICCpF7QD3KCLXn9ZvWoESsOMlHyZPAHyG04ujVplPaHbmEvs34m+wjgtVtg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/project-service": "8.34.0",
+ "@typescript-eslint/tsconfig-utils": "8.34.0",
+ "@typescript-eslint/types": "8.34.0",
+ "@typescript-eslint/visitor-keys": "8.34.0",
+ "debug": "^4.3.4",
+ "fast-glob": "^3.3.2",
+ "is-glob": "^4.0.3",
+ "minimatch": "^9.0.4",
+ "semver": "^7.6.0",
+ "ts-api-utils": "^2.1.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/fast-glob": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
+ "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.8"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@typescript-eslint/utils": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.34.0.tgz",
+ "integrity": "sha512-8L4tWatGchV9A1cKbjaavS6mwYwp39jql8xUmIIKJdm+qiaeHy5KMKlBrf30akXAWBzn2SqKsNOtSENWUwg7XQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.7.0",
+ "@typescript-eslint/scope-manager": "8.34.0",
+ "@typescript-eslint/types": "8.34.0",
+ "@typescript-eslint/typescript-estree": "8.34.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.34.0.tgz",
+ "integrity": "sha512-qHV7pW7E85A0x6qyrFn+O+q1k1p3tQCsqIZ1KZ5ESLXY57aTvUd3/a4rdPTeXisvhXn2VQG0VSKUqs8KHF2zcA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.34.0",
+ "eslint-visitor-keys": "^4.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@unrs/resolver-binding-android-arm-eabi": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.9.0.tgz",
+ "integrity": "sha512-h1T2c2Di49ekF2TE8ZCoJkb+jwETKUIPDJ/nO3tJBKlLFPu+fyd93f0rGP/BvArKx2k2HlRM4kqkNarj3dvZlg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-android-arm64": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.9.0.tgz",
+ "integrity": "sha512-sG1NHtgXtX8owEkJ11yn34vt0Xqzi3k9TJ8zppDmyG8GZV4kVWw44FHwKwHeEFl07uKPeC4ZoyuQaGh5ruJYPA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-darwin-arm64": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.9.0.tgz",
+ "integrity": "sha512-nJ9z47kfFnCxN1z/oYZS7HSNsFh43y2asePzTEZpEvK7kGyuShSl3RRXnm/1QaqFL+iP+BjMwuB+DYUymOkA5A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-darwin-x64": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.9.0.tgz",
+ "integrity": "sha512-TK+UA1TTa0qS53rjWn7cVlEKVGz2B6JYe0C++TdQjvWYIyx83ruwh0wd4LRxYBM5HeuAzXcylA9BH2trARXJTw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-freebsd-x64": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.9.0.tgz",
+ "integrity": "sha512-6uZwzMRFcD7CcCd0vz3Hp+9qIL2jseE/bx3ZjaLwn8t714nYGwiE84WpaMCYjU+IQET8Vu/+BNAGtYD7BG/0yA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.9.0.tgz",
+ "integrity": "sha512-bPUBksQfrgcfv2+mm+AZinaKq8LCFvt5PThYqRotqSuuZK1TVKkhbVMS/jvSRfYl7jr3AoZLYbDkItxgqMKRkg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.9.0.tgz",
+ "integrity": "sha512-uT6E7UBIrTdCsFQ+y0tQd3g5oudmrS/hds5pbU3h4s2t/1vsGWbbSKhBSCD9mcqaqkBwoqlECpUrRJCmldl8PA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm64-gnu": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.9.0.tgz",
+ "integrity": "sha512-vdqBh911wc5awE2bX2zx3eflbyv8U9xbE/jVKAm425eRoOVv/VseGZsqi3A3SykckSpF4wSROkbQPvbQFn8EsA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm64-musl": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.9.0.tgz",
+ "integrity": "sha512-/8JFZ/SnuDr1lLEVsxsuVwrsGquTvT51RZGvyDB/dOK3oYK2UqeXzgeyq6Otp8FZXQcEYqJwxb9v+gtdXn03eQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.9.0.tgz",
+ "integrity": "sha512-FkJjybtrl+rajTw4loI3L6YqSOpeZfDls4SstL/5lsP2bka9TiHUjgMBjygeZEis1oC8LfJTS8FSgpKPaQx2tQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.9.0.tgz",
+ "integrity": "sha512-w/NZfHNeDusbqSZ8r/hp8iL4S39h4+vQMc9/vvzuIKMWKppyUGKm3IST0Qv0aOZ1rzIbl9SrDeIqK86ZpUK37w==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-riscv64-musl": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.9.0.tgz",
+ "integrity": "sha512-bEPBosut8/8KQbUixPry8zg/fOzVOWyvwzOfz0C0Rw6dp+wIBseyiHKjkcSyZKv/98edrbMknBaMNJfA/UEdqw==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-s390x-gnu": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.9.0.tgz",
+ "integrity": "sha512-LDtMT7moE3gK753gG4pc31AAqGUC86j3AplaFusc717EUGF9ZFJ356sdQzzZzkBk1XzMdxFyZ4f/i35NKM/lFA==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-x64-gnu": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.9.0.tgz",
+ "integrity": "sha512-WmFd5KINHIXj8o1mPaT8QRjA9HgSXhN1gl9Da4IZihARihEnOylu4co7i/yeaIpcfsI6sYs33cNZKyHYDh0lrA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-x64-musl": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.9.0.tgz",
+ "integrity": "sha512-CYuXbANW+WgzVRIl8/QvZmDaZxrqvOldOwlbUjIM4pQ46FJ0W5cinJ/Ghwa/Ng1ZPMJMk1VFdsD/XwmCGIXBWg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-wasm32-wasi": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.9.0.tgz",
+ "integrity": "sha512-6Rp2WH0OoitMYR57Z6VE8Y6corX8C6QEMWLgOV6qXiJIeZ1F9WGXY/yQ8yDC4iTraotyLOeJ2Asea0urWj2fKQ==",
+ "cpu": [
+ "wasm32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@napi-rs/wasm-runtime": "^0.2.11"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@unrs/resolver-binding-win32-arm64-msvc": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.9.0.tgz",
+ "integrity": "sha512-rknkrTRuvujprrbPmGeHi8wYWxmNVlBoNW8+4XF2hXUnASOjmuC9FNF1tGbDiRQWn264q9U/oGtixyO3BT8adQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-win32-ia32-msvc": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.9.0.tgz",
+ "integrity": "sha512-Ceymm+iBl+bgAICtgiHyMLz6hjxmLJKqBim8tDzpX61wpZOx2bPK6Gjuor7I2RiUynVjvvkoRIkrPyMwzBzF3A==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-win32-x64-msvc": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.9.0.tgz",
+ "integrity": "sha512-k59o9ZyeyS0hAlcaKFezYSH2agQeRFEB7KoQLXl3Nb3rgkqT1NY9Vwy+SqODiLmYnEjxWJVRE/yq2jFVqdIxZw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/acorn": {
+ "version": "8.15.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
+ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
+ "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/anymatch": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/arg": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
+ "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true,
+ "license": "Python-2.0"
+ },
+ "node_modules/aria-hidden": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz",
+ "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/aria-query": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz",
+ "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/array-buffer-byte-length": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz",
+ "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "is-array-buffer": "^3.0.5"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array-includes": {
+ "version": "3.1.9",
+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.9.tgz",
+ "integrity": "sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.24.0",
+ "es-object-atoms": "^1.1.1",
+ "get-intrinsic": "^1.3.0",
+ "is-string": "^1.1.1",
+ "math-intrinsics": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.findlast": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz",
+ "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.6.tgz",
+ "integrity": "sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.9",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "es-shim-unscopables": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.flat": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz",
+ "integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.5",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.flatmap": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz",
+ "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.5",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.tosorted": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz",
+ "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.3",
+ "es-errors": "^1.3.0",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/arraybuffer.prototype.slice": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz",
+ "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.1",
+ "call-bind": "^1.0.8",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.5",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.6",
+ "is-array-buffer": "^3.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/ast-types-flow": {
+ "version": "0.0.8",
+ "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz",
+ "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/async-function": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz",
+ "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/autoprefixer": {
+ "version": "10.4.21",
+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.21.tgz",
+ "integrity": "sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "browserslist": "^4.24.4",
+ "caniuse-lite": "^1.0.30001702",
+ "fraction.js": "^4.3.7",
+ "normalize-range": "^0.1.2",
+ "picocolors": "^1.1.1",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "bin": {
+ "autoprefixer": "bin/autoprefixer"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/available-typed-arrays": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
+ "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "possible-typed-array-names": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/axe-core": {
+ "version": "4.10.3",
+ "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.3.tgz",
+ "integrity": "sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg==",
+ "dev": true,
+ "license": "MPL-2.0",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/axobject-query": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz",
+ "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/binary-extensions": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
+ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fill-range": "^7.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.25.0",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.0.tgz",
+ "integrity": "sha512-PJ8gYKeS5e/whHBh8xrwYK+dAvEj7JXtz6uTucnMRB8OiGTsKccFekoRrjajPBHV8oOY+2tI4uxeceSimKwMFA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "caniuse-lite": "^1.0.30001718",
+ "electron-to-chromium": "^1.5.160",
+ "node-releases": "^2.0.19",
+ "update-browserslist-db": "^1.1.3"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "node_modules/busboy": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
+ "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==",
+ "dependencies": {
+ "streamsearch": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=10.16.0"
+ }
+ },
+ "node_modules/call-bind": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz",
+ "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.0",
+ "es-define-property": "^1.0.0",
+ "get-intrinsic": "^1.2.4",
+ "set-function-length": "^1.2.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/call-bind-apply-helpers": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
+ "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/call-bound": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",
+ "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "get-intrinsic": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/camelcase-css": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
+ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001723",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001723.tgz",
+ "integrity": "sha512-1R/elMjtehrFejxwmexeXAtae5UO9iSyFn6G/I806CYC/BLyyBk1EPhrKBkWhy6wM6Xnm47dSJQec+tLJ39WHw==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "CC-BY-4.0"
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/chokidar/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/class-variance-authority": {
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.1.tgz",
+ "integrity": "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "clsx": "^2.1.1"
+ },
+ "funding": {
+ "url": "https://polar.sh/cva"
+ }
+ },
+ "node_modules/client-only": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
+ "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",
+ "license": "MIT"
+ },
+ "node_modules/clsx": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/color": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
+ "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "color-convert": "^2.0.1",
+ "color-string": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=12.5.0"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/color-string": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
+ "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "color-name": "^1.0.0",
+ "simple-swizzle": "^0.2.2"
+ }
+ },
+ "node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cookie": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.0.2.tgz",
+ "integrity": "sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/cssesc": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "cssesc": "bin/cssesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/csstype": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/damerau-levenshtein": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz",
+ "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==",
+ "dev": true,
+ "license": "BSD-2-Clause"
+ },
+ "node_modules/data-view-buffer": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz",
+ "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/data-view-byte-length": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz",
+ "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/inspect-js"
+ }
+ },
+ "node_modules/data-view-byte-offset": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz",
+ "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",
+ "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/deep-is": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/define-data-property": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
+ "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/define-properties": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
+ "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-data-property": "^1.0.1",
+ "has-property-descriptors": "^1.0.0",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/detect-libc": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz",
+ "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==",
+ "license": "Apache-2.0",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/detect-node-es": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
+ "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==",
+ "license": "MIT"
+ },
+ "node_modules/didyoumean": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
+ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/dlv": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
+ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/doctrine": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/dunder-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/eastasianwidth": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.167",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.167.tgz",
+ "integrity": "sha512-LxcRvnYO5ez2bMOFpbuuVuAI5QNeY1ncVytE/KXaL6ZNfzX1yPlAO0nSOyIHx2fVAuUprMqPs/TdVhUFZy7SIQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/es-abstract": {
+ "version": "1.24.0",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.0.tgz",
+ "integrity": "sha512-WSzPgsdLtTcQwm4CROfS5ju2Wa1QQcVeT37jFjYzdFz1r9ahadC8B8/a4qxJxM+09F18iumCdRmlr96ZYkQvEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.2",
+ "arraybuffer.prototype.slice": "^1.0.4",
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "data-view-buffer": "^1.0.2",
+ "data-view-byte-length": "^1.0.2",
+ "data-view-byte-offset": "^1.0.1",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "es-set-tostringtag": "^2.1.0",
+ "es-to-primitive": "^1.3.0",
+ "function.prototype.name": "^1.1.8",
+ "get-intrinsic": "^1.3.0",
+ "get-proto": "^1.0.1",
+ "get-symbol-description": "^1.1.0",
+ "globalthis": "^1.0.4",
+ "gopd": "^1.2.0",
+ "has-property-descriptors": "^1.0.2",
+ "has-proto": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "hasown": "^2.0.2",
+ "internal-slot": "^1.1.0",
+ "is-array-buffer": "^3.0.5",
+ "is-callable": "^1.2.7",
+ "is-data-view": "^1.0.2",
+ "is-negative-zero": "^2.0.3",
+ "is-regex": "^1.2.1",
+ "is-set": "^2.0.3",
+ "is-shared-array-buffer": "^1.0.4",
+ "is-string": "^1.1.1",
+ "is-typed-array": "^1.1.15",
+ "is-weakref": "^1.1.1",
+ "math-intrinsics": "^1.1.0",
+ "object-inspect": "^1.13.4",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.7",
+ "own-keys": "^1.0.1",
+ "regexp.prototype.flags": "^1.5.4",
+ "safe-array-concat": "^1.1.3",
+ "safe-push-apply": "^1.0.0",
+ "safe-regex-test": "^1.1.0",
+ "set-proto": "^1.0.0",
+ "stop-iteration-iterator": "^1.1.0",
+ "string.prototype.trim": "^1.2.10",
+ "string.prototype.trimend": "^1.0.9",
+ "string.prototype.trimstart": "^1.0.8",
+ "typed-array-buffer": "^1.0.3",
+ "typed-array-byte-length": "^1.0.3",
+ "typed-array-byte-offset": "^1.0.4",
+ "typed-array-length": "^1.0.7",
+ "unbox-primitive": "^1.1.0",
+ "which-typed-array": "^1.1.19"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-define-property": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
+ "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-iterator-helpers": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.2.1.tgz",
+ "integrity": "sha512-uDn+FE1yrDzyC0pCo961B2IHbdM8y/ACZsKD4dG6WqrjV53BADjwa7D+1aom2rsNVfLyDgU/eigvlJGJ08OQ4w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.3",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.6",
+ "es-errors": "^1.3.0",
+ "es-set-tostringtag": "^2.0.3",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.6",
+ "globalthis": "^1.0.4",
+ "gopd": "^1.2.0",
+ "has-property-descriptors": "^1.0.2",
+ "has-proto": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "internal-slot": "^1.1.0",
+ "iterator.prototype": "^1.1.4",
+ "safe-array-concat": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-object-atoms": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
+ "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-set-tostringtag": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
+ "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.6",
+ "has-tostringtag": "^1.0.2",
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-shim-unscopables": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz",
+ "integrity": "sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-to-primitive": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz",
+ "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-callable": "^1.2.7",
+ "is-date-object": "^1.0.5",
+ "is-symbol": "^1.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "9.28.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.28.0.tgz",
+ "integrity": "sha512-ocgh41VhRlf9+fVpe7QKzwLj9c92fDiqOj8Y3Sd4/ZmVA4Btx4PlUYPq4pp9JDyupkf1upbEXecxL2mwNV7jPQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.2.0",
+ "@eslint-community/regexpp": "^4.12.1",
+ "@eslint/config-array": "^0.20.0",
+ "@eslint/config-helpers": "^0.2.1",
+ "@eslint/core": "^0.14.0",
+ "@eslint/eslintrc": "^3.3.1",
+ "@eslint/js": "9.28.0",
+ "@eslint/plugin-kit": "^0.3.1",
+ "@humanfs/node": "^0.16.6",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@humanwhocodes/retry": "^0.4.2",
+ "@types/estree": "^1.0.6",
+ "@types/json-schema": "^7.0.15",
+ "ajv": "^6.12.4",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.6",
+ "debug": "^4.3.2",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^8.3.0",
+ "eslint-visitor-keys": "^4.2.0",
+ "espree": "^10.3.0",
+ "esquery": "^1.5.0",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^8.0.0",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.2",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ },
+ "peerDependencies": {
+ "jiti": "*"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-config-next": {
+ "version": "15.3.1",
+ "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-15.3.1.tgz",
+ "integrity": "sha512-GnmyVd9TE/Ihe3RrvcafFhXErErtr2jS0JDeCSp3vWvy86AXwHsRBt0E3MqP/m8ACS1ivcsi5uaqjbhsG18qKw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@next/eslint-plugin-next": "15.3.1",
+ "@rushstack/eslint-patch": "^1.10.3",
+ "@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",
+ "@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",
+ "eslint-import-resolver-node": "^0.3.6",
+ "eslint-import-resolver-typescript": "^3.5.2",
+ "eslint-plugin-import": "^2.31.0",
+ "eslint-plugin-jsx-a11y": "^6.10.0",
+ "eslint-plugin-react": "^7.37.0",
+ "eslint-plugin-react-hooks": "^5.0.0"
+ },
+ "peerDependencies": {
+ "eslint": "^7.23.0 || ^8.0.0 || ^9.0.0",
+ "typescript": ">=3.3.1"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-import-resolver-node": {
+ "version": "0.3.9",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
+ "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^3.2.7",
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
+ }
+ },
+ "node_modules/eslint-import-resolver-node/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-import-resolver-typescript": {
+ "version": "3.10.1",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.10.1.tgz",
+ "integrity": "sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "@nolyfill/is-core-module": "1.0.39",
+ "debug": "^4.4.0",
+ "get-tsconfig": "^4.10.0",
+ "is-bun-module": "^2.0.0",
+ "stable-hash": "^0.0.5",
+ "tinyglobby": "^0.2.13",
+ "unrs-resolver": "^1.6.2"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint-import-resolver-typescript"
+ },
+ "peerDependencies": {
+ "eslint": "*",
+ "eslint-plugin-import": "*",
+ "eslint-plugin-import-x": "*"
+ },
+ "peerDependenciesMeta": {
+ "eslint-plugin-import": {
+ "optional": true
+ },
+ "eslint-plugin-import-x": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-module-utils": {
+ "version": "2.12.0",
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz",
+ "integrity": "sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^3.2.7"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependenciesMeta": {
+ "eslint": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-module-utils/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-plugin-import": {
+ "version": "2.31.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz",
+ "integrity": "sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@rtsao/scc": "^1.1.0",
+ "array-includes": "^3.1.8",
+ "array.prototype.findlastindex": "^1.2.5",
+ "array.prototype.flat": "^1.3.2",
+ "array.prototype.flatmap": "^1.3.2",
+ "debug": "^3.2.7",
+ "doctrine": "^2.1.0",
+ "eslint-import-resolver-node": "^0.3.9",
+ "eslint-module-utils": "^2.12.0",
+ "hasown": "^2.0.2",
+ "is-core-module": "^2.15.1",
+ "is-glob": "^4.0.3",
+ "minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.8",
+ "object.groupby": "^1.0.3",
+ "object.values": "^1.2.0",
+ "semver": "^6.3.1",
+ "string.prototype.trimend": "^1.0.8",
+ "tsconfig-paths": "^3.15.0"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependencies": {
+ "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/eslint-plugin-jsx-a11y": {
+ "version": "6.10.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.2.tgz",
+ "integrity": "sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "aria-query": "^5.3.2",
+ "array-includes": "^3.1.8",
+ "array.prototype.flatmap": "^1.3.2",
+ "ast-types-flow": "^0.0.8",
+ "axe-core": "^4.10.0",
+ "axobject-query": "^4.1.0",
+ "damerau-levenshtein": "^1.0.8",
+ "emoji-regex": "^9.2.2",
+ "hasown": "^2.0.2",
+ "jsx-ast-utils": "^3.3.5",
+ "language-tags": "^1.0.9",
+ "minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.8",
+ "safe-regex-test": "^1.0.3",
+ "string.prototype.includes": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=4.0"
+ },
+ "peerDependencies": {
+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9"
+ }
+ },
+ "node_modules/eslint-plugin-react": {
+ "version": "7.37.5",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz",
+ "integrity": "sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "array-includes": "^3.1.8",
+ "array.prototype.findlast": "^1.2.5",
+ "array.prototype.flatmap": "^1.3.3",
+ "array.prototype.tosorted": "^1.1.4",
+ "doctrine": "^2.1.0",
+ "es-iterator-helpers": "^1.2.1",
+ "estraverse": "^5.3.0",
+ "hasown": "^2.0.2",
+ "jsx-ast-utils": "^2.4.1 || ^3.0.0",
+ "minimatch": "^3.1.2",
+ "object.entries": "^1.1.9",
+ "object.fromentries": "^2.0.8",
+ "object.values": "^1.2.1",
+ "prop-types": "^15.8.1",
+ "resolve": "^2.0.0-next.5",
+ "semver": "^6.3.1",
+ "string.prototype.matchall": "^4.0.12",
+ "string.prototype.repeat": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependencies": {
+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7"
+ }
+ },
+ "node_modules/eslint-plugin-react-hooks": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz",
+ "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
+ }
+ },
+ "node_modules/eslint-plugin-react/node_modules/resolve": {
+ "version": "2.0.0-next.5",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz",
+ "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-core-module": "^2.13.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/eslint-plugin-react/node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "8.4.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",
+ "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
+ "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/espree": {
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",
+ "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "acorn": "^8.15.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^4.2.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz",
+ "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "estraverse": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
+ "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/fast-glob/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fastq": {
+ "version": "1.19.1",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
+ "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/file-entry-cache": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
+ "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flat-cache": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/fill-range": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/flat-cache": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
+ "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.4"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
+ "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/for-each": {
+ "version": "0.3.5",
+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz",
+ "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-callable": "^1.2.7"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/foreground-child": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",
+ "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "cross-spawn": "^7.0.6",
+ "signal-exit": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/fraction.js": {
+ "version": "4.3.7",
+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz",
+ "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "type": "patreon",
+ "url": "https://github.com/sponsors/rawify"
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/function.prototype.name": {
+ "version": "1.1.8",
+ "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz",
+ "integrity": "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.3",
+ "define-properties": "^1.2.1",
+ "functions-have-names": "^1.2.3",
+ "hasown": "^2.0.2",
+ "is-callable": "^1.2.7"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/functions-have-names": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
+ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "function-bind": "^1.1.2",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "hasown": "^2.0.2",
+ "math-intrinsics": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-nonce": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz",
+ "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/get-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "dunder-proto": "^1.0.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/get-symbol-description": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz",
+ "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.6"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-tsconfig": {
+ "version": "4.10.1",
+ "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.1.tgz",
+ "integrity": "sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "resolve-pkg-maps": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
+ }
+ },
+ "node_modules/glob": {
+ "version": "10.4.5",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
+ "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "foreground-child": "^3.1.0",
+ "jackspeak": "^3.1.2",
+ "minimatch": "^9.0.4",
+ "minipass": "^7.1.2",
+ "package-json-from-dist": "^1.0.0",
+ "path-scurry": "^1.11.1"
+ },
+ "bin": {
+ "glob": "dist/esm/bin.mjs"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/glob/node_modules/brace-expansion": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/glob/node_modules/minimatch": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/globals": {
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
+ "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/globalthis": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz",
+ "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-properties": "^1.2.1",
+ "gopd": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/gopd": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
+ "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/graphemer": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/has-bigints": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz",
+ "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/has-property-descriptors": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
+ "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-define-property": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-proto": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz",
+ "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "dunder-proto": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
+ "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-tostringtag": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
+ "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-symbols": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
+ "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ignore": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
+ "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/internal-slot": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",
+ "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "hasown": "^2.0.2",
+ "side-channel": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/is-array-buffer": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz",
+ "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.3",
+ "get-intrinsic": "^1.2.6"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-arrayish": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
+ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==",
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/is-async-function": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz",
+ "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "async-function": "^1.0.0",
+ "call-bound": "^1.0.3",
+ "get-proto": "^1.0.1",
+ "has-tostringtag": "^1.0.2",
+ "safe-regex-test": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-bigint": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz",
+ "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-bigints": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-boolean-object": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz",
+ "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-bun-module": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-2.0.0.tgz",
+ "integrity": "sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "semver": "^7.7.1"
+ }
+ },
+ "node_modules/is-callable": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
+ "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-core-module": {
+ "version": "2.16.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
+ "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-data-view": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz",
+ "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "get-intrinsic": "^1.2.6",
+ "is-typed-array": "^1.1.13"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-date-object": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz",
+ "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-finalizationregistry": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz",
+ "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-generator-function": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.0.tgz",
+ "integrity": "sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "get-proto": "^1.0.0",
+ "has-tostringtag": "^1.0.2",
+ "safe-regex-test": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-map": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz",
+ "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-negative-zero": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz",
+ "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/is-number-object": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz",
+ "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-regex": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz",
+ "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "gopd": "^1.2.0",
+ "has-tostringtag": "^1.0.2",
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-set": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz",
+ "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-shared-array-buffer": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz",
+ "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-string": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz",
+ "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-symbol": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz",
+ "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "has-symbols": "^1.1.0",
+ "safe-regex-test": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-typed-array": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz",
+ "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "which-typed-array": "^1.1.16"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-weakmap": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz",
+ "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-weakref": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz",
+ "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-weakset": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz",
+ "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "get-intrinsic": "^1.2.6"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/isarray": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/iterator.prototype": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.5.tgz",
+ "integrity": "sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-data-property": "^1.1.4",
+ "es-object-atoms": "^1.0.0",
+ "get-intrinsic": "^1.2.6",
+ "get-proto": "^1.0.0",
+ "has-symbols": "^1.1.0",
+ "set-function-name": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/jackspeak": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
+ "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "@isaacs/cliui": "^8.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ },
+ "optionalDependencies": {
+ "@pkgjs/parseargs": "^0.11.0"
+ }
+ },
+ "node_modules/jiti": {
+ "version": "1.21.7",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz",
+ "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "jiti": "bin/jiti.js"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/json-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json5": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
+ "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.0"
+ },
+ "bin": {
+ "json5": "lib/cli.js"
+ }
+ },
+ "node_modules/jsx-ast-utils": {
+ "version": "3.3.5",
+ "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz",
+ "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "array-includes": "^3.1.6",
+ "array.prototype.flat": "^1.3.1",
+ "object.assign": "^4.1.4",
+ "object.values": "^1.1.6"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "node_modules/language-subtag-registry": {
+ "version": "0.3.23",
+ "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz",
+ "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==",
+ "dev": true,
+ "license": "CC0-1.0"
+ },
+ "node_modules/language-tags": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz",
+ "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "language-subtag-registry": "^0.3.20"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/lilconfig": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
+ }
+ },
+ "node_modules/lru-cache": {
+ "version": "10.4.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/lucide-react": {
+ "version": "0.511.0",
+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.511.0.tgz",
+ "integrity": "sha512-VK5a2ydJ7xm8GvBeKLS9mu1pVK6ucef9780JVUjw6bAjJL/QXnd4Y0p7SPeOUMC27YhzNCZvm5d/QX0Tp3rc0w==",
+ "license": "ISC",
+ "peerDependencies": {
+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/math-intrinsics": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
+ "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/micromatch": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "braces": "^3.0.3",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/minimist": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/minipass": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
+ "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/mz": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/napi-postinstall": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.2.4.tgz",
+ "integrity": "sha512-ZEzHJwBhZ8qQSbknHqYcdtQVr8zUgGyM/q6h6qAyhtyVMNrSgDhrC4disf03dYW0e+czXyLnZINnCTEkWy0eJg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "napi-postinstall": "lib/cli.js"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/napi-postinstall"
+ }
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/next": {
+ "version": "15.3.3",
+ "resolved": "https://registry.npmjs.org/next/-/next-15.3.3.tgz",
+ "integrity": "sha512-JqNj29hHNmCLtNvd090SyRbXJiivQ+58XjCcrC50Crb5g5u2zi7Y2YivbsEfzk6AtVI80akdOQbaMZwWB1Hthw==",
+ "license": "MIT",
+ "dependencies": {
+ "@next/env": "15.3.3",
+ "@swc/counter": "0.1.3",
+ "@swc/helpers": "0.5.15",
+ "busboy": "1.6.0",
+ "caniuse-lite": "^1.0.30001579",
+ "postcss": "8.4.31",
+ "styled-jsx": "5.1.6"
+ },
+ "bin": {
+ "next": "dist/bin/next"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^19.8.0 || >= 20.0.0"
+ },
+ "optionalDependencies": {
+ "@next/swc-darwin-arm64": "15.3.3",
+ "@next/swc-darwin-x64": "15.3.3",
+ "@next/swc-linux-arm64-gnu": "15.3.3",
+ "@next/swc-linux-arm64-musl": "15.3.3",
+ "@next/swc-linux-x64-gnu": "15.3.3",
+ "@next/swc-linux-x64-musl": "15.3.3",
+ "@next/swc-win32-arm64-msvc": "15.3.3",
+ "@next/swc-win32-x64-msvc": "15.3.3",
+ "sharp": "^0.34.1"
+ },
+ "peerDependencies": {
+ "@opentelemetry/api": "^1.1.0",
+ "@playwright/test": "^1.41.2",
+ "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
+ }
+ }
+ },
+ "node_modules/next-themes": {
+ "version": "0.4.6",
+ "resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.4.6.tgz",
+ "integrity": "sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc"
+ }
+ },
+ "node_modules/next/node_modules/postcss": {
+ "version": "8.4.31",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
+ "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.6",
+ "picocolors": "^1.0.0",
+ "source-map-js": "^1.0.2"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.19",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz",
+ "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/normalize-range": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",
+ "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-hash": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",
+ "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/object-inspect": {
+ "version": "1.13.4",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
+ "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.assign": {
+ "version": "4.1.7",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz",
+ "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.3",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.0.0",
+ "has-symbols": "^1.1.0",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.entries": {
+ "version": "1.1.9",
+ "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.9.tgz",
+ "integrity": "sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.fromentries": {
+ "version": "2.0.8",
+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz",
+ "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz",
+ "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.values": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.1.tgz",
+ "integrity": "sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.3",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/optionator": {
+ "version": "0.9.4",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
+ "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0",
+ "word-wrap": "^1.2.5"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/own-keys": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz",
+ "integrity": "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "get-intrinsic": "^1.2.6",
+ "object-keys": "^1.1.1",
+ "safe-push-apply": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/package-json-from-dist": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
+ "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
+ "dev": true,
+ "license": "BlueOak-1.0.0"
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/path-scurry": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
+ "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "lru-cache": "^10.2.0",
+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/playwright": {
+ "version": "1.53.0",
+ "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.53.0.tgz",
+ "integrity": "sha512-ghGNnIEYZC4E+YtclRn4/p6oYbdPiASELBIYkBXfaTVKreQUYbMUYQDwS12a8F0/HtIjr/CkGjtwABeFPGcS4Q==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "playwright-core": "1.53.0"
+ },
+ "bin": {
+ "playwright": "cli.js"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "fsevents": "2.3.2"
+ }
+ },
+ "node_modules/playwright-core": {
+ "version": "1.53.0",
+ "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.53.0.tgz",
+ "integrity": "sha512-mGLg8m0pm4+mmtB7M89Xw/GSqoNC+twivl8ITteqvAndachozYe2ZA7srU6uleV1vEdAHYqjq+SV8SNxRRFYBw==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "playwright-core": "cli.js"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/playwright/node_modules/fsevents": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/possible-typed-array-names": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",
+ "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.5",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.5.tgz",
+ "integrity": "sha512-d/jtm+rdNT8tpXuHY5MMtcbJFBkhXE6593XVR9UoGCH8jSFGci7jGvMGH5RYd5PBJW+00NZQt6gf7CbagJCrhg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.11",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-import": {
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",
+ "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "postcss-value-parser": "^4.0.0",
+ "read-cache": "^1.0.0",
+ "resolve": "^1.1.7"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.0.0"
+ }
+ },
+ "node_modules/postcss-js": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz",
+ "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "camelcase-css": "^2.0.1"
+ },
+ "engines": {
+ "node": "^12 || ^14 || >= 16"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4.21"
+ }
+ },
+ "node_modules/postcss-nested": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz",
+ "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "postcss-selector-parser": "^6.1.1"
+ },
+ "engines": {
+ "node": ">=12.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.14"
+ }
+ },
+ "node_modules/postcss-selector-parser": {
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
+ "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-value-parser": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/prelude-ls": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/prop-types": {
+ "version": "15.8.1",
+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
+ "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.4.0",
+ "object-assign": "^4.1.1",
+ "react-is": "^16.13.1"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/react": {
+ "version": "19.1.0",
+ "resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz",
+ "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-dom": {
+ "version": "19.1.0",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz",
+ "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==",
+ "license": "MIT",
+ "dependencies": {
+ "scheduler": "^0.26.0"
+ },
+ "peerDependencies": {
+ "react": "^19.1.0"
+ }
+ },
+ "node_modules/react-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/react-remove-scroll": {
+ "version": "2.7.1",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.1.tgz",
+ "integrity": "sha512-HpMh8+oahmIdOuS5aFKKY6Pyog+FNaZV/XyJOq7b4YFwsFHe5yYfdbIalI4k3vU2nSDql7YskmUseHsRrJqIPA==",
+ "license": "MIT",
+ "dependencies": {
+ "react-remove-scroll-bar": "^2.3.7",
+ "react-style-singleton": "^2.2.3",
+ "tslib": "^2.1.0",
+ "use-callback-ref": "^1.3.3",
+ "use-sidecar": "^1.1.3"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-remove-scroll-bar": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz",
+ "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==",
+ "license": "MIT",
+ "dependencies": {
+ "react-style-singleton": "^2.2.2",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-style-singleton": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz",
+ "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==",
+ "license": "MIT",
+ "dependencies": {
+ "get-nonce": "^1.0.0",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/read-cache": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
+ "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "pify": "^2.3.0"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/reflect.getprototypeof": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz",
+ "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.9",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "get-intrinsic": "^1.2.7",
+ "get-proto": "^1.0.1",
+ "which-builtin-type": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/regexp.prototype.flags": {
+ "version": "1.5.4",
+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz",
+ "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "define-properties": "^1.2.1",
+ "es-errors": "^1.3.0",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "set-function-name": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve": {
+ "version": "1.22.10",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
+ "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-core-module": "^2.16.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/resolve-pkg-maps": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
+ "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
+ }
+ },
+ "node_modules/reusify": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
+ "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/safe-array-concat": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz",
+ "integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.2",
+ "get-intrinsic": "^1.2.6",
+ "has-symbols": "^1.1.0",
+ "isarray": "^2.0.5"
+ },
+ "engines": {
+ "node": ">=0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/safe-push-apply": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz",
+ "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "isarray": "^2.0.5"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/safe-regex-test": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz",
+ "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "is-regex": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/scheduler": {
+ "version": "0.26.0",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz",
+ "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==",
+ "license": "MIT"
+ },
+ "node_modules/semver": {
+ "version": "7.7.2",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
+ "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
+ "devOptional": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/set-function-length": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
+ "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-data-property": "^1.1.4",
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.4",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/set-function-name": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz",
+ "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-data-property": "^1.1.4",
+ "es-errors": "^1.3.0",
+ "functions-have-names": "^1.2.3",
+ "has-property-descriptors": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/set-proto": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz",
+ "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "dunder-proto": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/sharp": {
+ "version": "0.34.2",
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.2.tgz",
+ "integrity": "sha512-lszvBmB9QURERtyKT2bNmsgxXK0ShJrL/fvqlonCo7e6xBF8nT8xU6pW+PMIbLsz0RxQk3rgH9kd8UmvOzlMJg==",
+ "hasInstallScript": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "dependencies": {
+ "color": "^4.2.3",
+ "detect-libc": "^2.0.4",
+ "semver": "^7.7.2"
+ },
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-darwin-arm64": "0.34.2",
+ "@img/sharp-darwin-x64": "0.34.2",
+ "@img/sharp-libvips-darwin-arm64": "1.1.0",
+ "@img/sharp-libvips-darwin-x64": "1.1.0",
+ "@img/sharp-libvips-linux-arm": "1.1.0",
+ "@img/sharp-libvips-linux-arm64": "1.1.0",
+ "@img/sharp-libvips-linux-ppc64": "1.1.0",
+ "@img/sharp-libvips-linux-s390x": "1.1.0",
+ "@img/sharp-libvips-linux-x64": "1.1.0",
+ "@img/sharp-libvips-linuxmusl-arm64": "1.1.0",
+ "@img/sharp-libvips-linuxmusl-x64": "1.1.0",
+ "@img/sharp-linux-arm": "0.34.2",
+ "@img/sharp-linux-arm64": "0.34.2",
+ "@img/sharp-linux-s390x": "0.34.2",
+ "@img/sharp-linux-x64": "0.34.2",
+ "@img/sharp-linuxmusl-arm64": "0.34.2",
+ "@img/sharp-linuxmusl-x64": "0.34.2",
+ "@img/sharp-wasm32": "0.34.2",
+ "@img/sharp-win32-arm64": "0.34.2",
+ "@img/sharp-win32-ia32": "0.34.2",
+ "@img/sharp-win32-x64": "0.34.2"
+ }
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/side-channel": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",
+ "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.3",
+ "side-channel-list": "^1.0.0",
+ "side-channel-map": "^1.0.1",
+ "side-channel-weakmap": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-list": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz",
+ "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-map": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",
+ "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.5",
+ "object-inspect": "^1.13.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-weakmap": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",
+ "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.5",
+ "object-inspect": "^1.13.3",
+ "side-channel-map": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/signal-exit": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/simple-swizzle": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
+ "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "is-arrayish": "^0.3.1"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stable-hash": {
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.5.tgz",
+ "integrity": "sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/stop-iteration-iterator": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz",
+ "integrity": "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "internal-slot": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/streamsearch": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz",
+ "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==",
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/string-width-cjs": {
+ "name": "string-width",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string-width-cjs/node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string-width-cjs/node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/string-width-cjs/node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string.prototype.includes": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz",
+ "integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/string.prototype.matchall": {
+ "version": "4.0.12",
+ "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz",
+ "integrity": "sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.3",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.6",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "get-intrinsic": "^1.2.6",
+ "gopd": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "internal-slot": "^1.1.0",
+ "regexp.prototype.flags": "^1.5.3",
+ "set-function-name": "^2.0.2",
+ "side-channel": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.repeat": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz",
+ "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5"
+ }
+ },
+ "node_modules/string.prototype.trim": {
+ "version": "1.2.10",
+ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz",
+ "integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.2",
+ "define-data-property": "^1.1.4",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.5",
+ "es-object-atoms": "^1.0.0",
+ "has-property-descriptors": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.trimend": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz",
+ "integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.2",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.trimstart": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz",
+ "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/strip-ansi-cjs": {
+ "name": "strip-ansi",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-ansi-cjs/node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/styled-jsx": {
+ "version": "5.1.6",
+ "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.6.tgz",
+ "integrity": "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==",
+ "license": "MIT",
+ "dependencies": {
+ "client-only": "0.0.1"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "peerDependencies": {
+ "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
+ }
+ }
+ },
+ "node_modules/sucrase": {
+ "version": "3.35.0",
+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz",
+ "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "glob": "^10.3.10",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/tailwind-merge": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.3.1.tgz",
+ "integrity": "sha512-gBXpgUm/3rp1lMZZrM/w7D8GKqshif0zAymAhbCyIt8KMe+0v9DQ7cdYLR4FHH/cKpdTXb+A/tKKU3eolfsI+g==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/dcastil"
+ }
+ },
+ "node_modules/tailwindcss": {
+ "version": "3.4.17",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz",
+ "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@alloc/quick-lru": "^5.2.0",
+ "arg": "^5.0.2",
+ "chokidar": "^3.6.0",
+ "didyoumean": "^1.2.2",
+ "dlv": "^1.1.3",
+ "fast-glob": "^3.3.2",
+ "glob-parent": "^6.0.2",
+ "is-glob": "^4.0.3",
+ "jiti": "^1.21.6",
+ "lilconfig": "^3.1.3",
+ "micromatch": "^4.0.8",
+ "normalize-path": "^3.0.0",
+ "object-hash": "^3.0.0",
+ "picocolors": "^1.1.1",
+ "postcss": "^8.4.47",
+ "postcss-import": "^15.1.0",
+ "postcss-js": "^4.0.1",
+ "postcss-load-config": "^4.0.2",
+ "postcss-nested": "^6.2.0",
+ "postcss-selector-parser": "^6.1.2",
+ "resolve": "^1.22.8",
+ "sucrase": "^3.35.0"
+ },
+ "bin": {
+ "tailwind": "lib/cli.js",
+ "tailwindcss": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tailwindcss-animate": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/tailwindcss-animate/-/tailwindcss-animate-1.0.7.tgz",
+ "integrity": "sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "tailwindcss": ">=3.0.0 || insiders"
+ }
+ },
+ "node_modules/tailwindcss/node_modules/fast-glob": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
+ "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.8"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/tailwindcss/node_modules/fast-glob/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/tailwindcss/node_modules/postcss-load-config": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz",
+ "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^3.0.0",
+ "yaml": "^2.3.4"
+ },
+ "engines": {
+ "node": ">= 14"
+ },
+ "peerDependencies": {
+ "postcss": ">=8.0.9",
+ "ts-node": ">=9.0.0"
+ },
+ "peerDependenciesMeta": {
+ "postcss": {
+ "optional": true
+ },
+ "ts-node": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.14",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz",
+ "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinyglobby/node_modules/fdir": {
+ "version": "6.4.6",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz",
+ "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tinyglobby/node_modules/picomatch": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
+ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/tr46": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
+ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
+ "license": "MIT"
+ },
+ "node_modules/ts-api-utils": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
+ "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.12"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4"
+ }
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/tsconfig-paths": {
+ "version": "3.15.0",
+ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz",
+ "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/json5": "^0.0.29",
+ "json5": "^1.0.2",
+ "minimist": "^1.2.6",
+ "strip-bom": "^3.0.0"
+ }
+ },
+ "node_modules/tslib": {
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
+ "license": "0BSD"
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/typed-array-buffer": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz",
+ "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "es-errors": "^1.3.0",
+ "is-typed-array": "^1.1.14"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/typed-array-byte-length": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz",
+ "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "for-each": "^0.3.3",
+ "gopd": "^1.2.0",
+ "has-proto": "^1.2.0",
+ "is-typed-array": "^1.1.14"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typed-array-byte-offset": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz",
+ "integrity": "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.8",
+ "for-each": "^0.3.3",
+ "gopd": "^1.2.0",
+ "has-proto": "^1.2.0",
+ "is-typed-array": "^1.1.15",
+ "reflect.getprototypeof": "^1.0.9"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typed-array-length": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz",
+ "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "for-each": "^0.3.3",
+ "gopd": "^1.0.1",
+ "is-typed-array": "^1.1.13",
+ "possible-typed-array-names": "^1.0.0",
+ "reflect.getprototypeof": "^1.0.6"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.8.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
+ "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/unbox-primitive": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz",
+ "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "has-bigints": "^1.0.2",
+ "has-symbols": "^1.1.0",
+ "which-boxed-primitive": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "6.21.0",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
+ "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
+ "license": "MIT"
+ },
+ "node_modules/unrs-resolver": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.9.0.tgz",
+ "integrity": "sha512-wqaRu4UnzBD2ABTC1kLfBjAqIDZ5YUTr/MLGa7By47JV1bJDSW7jq/ZSLigB7enLe7ubNaJhtnBXgrc/50cEhg==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "napi-postinstall": "^0.2.2"
+ },
+ "funding": {
+ "url": "https://opencollective.com/unrs-resolver"
+ },
+ "optionalDependencies": {
+ "@unrs/resolver-binding-android-arm-eabi": "1.9.0",
+ "@unrs/resolver-binding-android-arm64": "1.9.0",
+ "@unrs/resolver-binding-darwin-arm64": "1.9.0",
+ "@unrs/resolver-binding-darwin-x64": "1.9.0",
+ "@unrs/resolver-binding-freebsd-x64": "1.9.0",
+ "@unrs/resolver-binding-linux-arm-gnueabihf": "1.9.0",
+ "@unrs/resolver-binding-linux-arm-musleabihf": "1.9.0",
+ "@unrs/resolver-binding-linux-arm64-gnu": "1.9.0",
+ "@unrs/resolver-binding-linux-arm64-musl": "1.9.0",
+ "@unrs/resolver-binding-linux-ppc64-gnu": "1.9.0",
+ "@unrs/resolver-binding-linux-riscv64-gnu": "1.9.0",
+ "@unrs/resolver-binding-linux-riscv64-musl": "1.9.0",
+ "@unrs/resolver-binding-linux-s390x-gnu": "1.9.0",
+ "@unrs/resolver-binding-linux-x64-gnu": "1.9.0",
+ "@unrs/resolver-binding-linux-x64-musl": "1.9.0",
+ "@unrs/resolver-binding-wasm32-wasi": "1.9.0",
+ "@unrs/resolver-binding-win32-arm64-msvc": "1.9.0",
+ "@unrs/resolver-binding-win32-ia32-msvc": "1.9.0",
+ "@unrs/resolver-binding-win32-x64-msvc": "1.9.0"
+ }
+ },
+ "node_modules/update-browserslist-db": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz",
+ "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "escalade": "^3.2.0",
+ "picocolors": "^1.1.1"
+ },
+ "bin": {
+ "update-browserslist-db": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
+ }
+ },
+ "node_modules/uri-js": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/use-callback-ref": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz",
+ "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/use-sidecar": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz",
+ "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==",
+ "license": "MIT",
+ "dependencies": {
+ "detect-node-es": "^1.1.0",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/webidl-conversions": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
+ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",
+ "license": "BSD-2-Clause"
+ },
+ "node_modules/whatwg-url": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
+ "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
+ "license": "MIT",
+ "dependencies": {
+ "tr46": "~0.0.3",
+ "webidl-conversions": "^3.0.0"
+ }
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/which-boxed-primitive": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz",
+ "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-bigint": "^1.1.0",
+ "is-boolean-object": "^1.2.1",
+ "is-number-object": "^1.1.1",
+ "is-string": "^1.1.1",
+ "is-symbol": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-builtin-type": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz",
+ "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "function.prototype.name": "^1.1.6",
+ "has-tostringtag": "^1.0.2",
+ "is-async-function": "^2.0.0",
+ "is-date-object": "^1.1.0",
+ "is-finalizationregistry": "^1.1.0",
+ "is-generator-function": "^1.0.10",
+ "is-regex": "^1.2.1",
+ "is-weakref": "^1.0.2",
+ "isarray": "^2.0.5",
+ "which-boxed-primitive": "^1.1.0",
+ "which-collection": "^1.0.2",
+ "which-typed-array": "^1.1.16"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-collection": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz",
+ "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-map": "^2.0.3",
+ "is-set": "^2.0.3",
+ "is-weakmap": "^2.0.2",
+ "is-weakset": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-typed-array": {
+ "version": "1.1.19",
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz",
+ "integrity": "sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "for-each": "^0.3.5",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/word-wrap": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
+ "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/wrap-ansi": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^6.1.0",
+ "string-width": "^5.0.1",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrap-ansi-cjs": {
+ "name": "wrap-ansi",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/wrap-ansi-cjs/node_modules/string-width": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/wrap-ansi/node_modules/ansi-styles": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.18.2",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.2.tgz",
+ "integrity": "sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/yaml": {
+ "version": "2.8.0",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz",
+ "integrity": "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "yaml": "bin.mjs"
+ },
+ "engines": {
+ "node": ">= 14.6"
+ }
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ }
+ }
+}
diff --git a/test/integration/next/package.json b/test/integration/next/package.json
new file mode 100644
index 00000000..e71c223e
--- /dev/null
+++ b/test/integration/next/package.json
@@ -0,0 +1,47 @@
+{
+ "private": true,
+ "scripts": {
+ "dev": "next dev --turbopack",
+ "build": "next build",
+ "start": "next start",
+ "lint": "next lint",
+ "test": "playwright test",
+ "test:ui": "playwright test --ui",
+ "test:debug": "playwright test --debug"
+ },
+ "dependencies": {
+ "@radix-ui/react-checkbox": "^1.3.1",
+ "@radix-ui/react-dropdown-menu": "^2.1.14",
+ "@radix-ui/react-label": "^2.1.6",
+ "@radix-ui/react-slot": "^1.2.2",
+ "@supabase/ssr": "latest",
+ "@supabase/supabase-js": "latest",
+ "class-variance-authority": "^0.7.1",
+ "clsx": "^2.1.1",
+ "lucide-react": "^0.511.0",
+ "next": "latest",
+ "next-themes": "^0.4.6",
+ "react": "^19.0.0",
+ "react-dom": "^19.0.0",
+ "tailwind-merge": "^3.3.0"
+ },
+ "devDependencies": {
+ "@eslint/eslintrc": "^3",
+ "@playwright/test": "^1.53.0",
+ "@types/node": "^20",
+ "@types/react": "^19",
+ "@types/react-dom": "^19",
+ "autoprefixer": "^10.4.20",
+ "eslint": "^9",
+ "eslint-config-next": "15.3.1",
+ "postcss": "^8",
+ "tailwindcss": "^3.4.1",
+ "tailwindcss-animate": "^1.0.7",
+ "typescript": "^5"
+ },
+ "pnpm": {
+ "overrides": {
+ "@supabase/supabase-js": "file:../../../"
+ }
+ }
+}
diff --git a/test/integration/next/playwright-report/data/752ffa3acd1135a3dfadd6fff93eada6809a4eb2.zip b/test/integration/next/playwright-report/data/752ffa3acd1135a3dfadd6fff93eada6809a4eb2.zip
new file mode 100644
index 00000000..77f37694
Binary files /dev/null and b/test/integration/next/playwright-report/data/752ffa3acd1135a3dfadd6fff93eada6809a4eb2.zip differ
diff --git a/test/integration/next/playwright-report/index.html b/test/integration/next/playwright-report/index.html
new file mode 100644
index 00000000..c1c97877
--- /dev/null
+++ b/test/integration/next/playwright-report/index.html
@@ -0,0 +1,17760 @@
+
+
+
+
+
+
+ Playwright Test Report
+
+
+
+
+
+
+
+
diff --git a/test/integration/next/playwright-report/trace/assets/codeMirrorModule-BKr-mZ2D.js b/test/integration/next/playwright-report/trace/assets/codeMirrorModule-BKr-mZ2D.js
new file mode 100644
index 00000000..fe7da67b
--- /dev/null
+++ b/test/integration/next/playwright-report/trace/assets/codeMirrorModule-BKr-mZ2D.js
@@ -0,0 +1,14487 @@
+import { n as Wu } from './defaultSettingsView-CzQxXsO4.js'
+var vi = { exports: {} },
+ _u = vi.exports,
+ ha
+function It() {
+ return (
+ ha ||
+ ((ha = 1),
+ (function (Et, zt) {
+ ;(function (C, De) {
+ Et.exports = De()
+ })(_u, function () {
+ var C = navigator.userAgent,
+ De = navigator.platform,
+ I = /gecko\/\d/i.test(C),
+ K = /MSIE \d/.test(C),
+ $ = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(C),
+ V = /Edge\/(\d+)/.exec(C),
+ b = K || $ || V,
+ N = b && (K ? document.documentMode || 6 : +(V || $)[1]),
+ _ = !V && /WebKit\//.test(C),
+ ie = _ && /Qt\/\d+\.\d+/.test(C),
+ O = !V && /Chrome\/(\d+)/.exec(C),
+ q = O && +O[1],
+ z = /Opera\//.test(C),
+ X = /Apple Computer/.test(navigator.vendor),
+ ke = /Mac OS X 1\d\D([8-9]|\d\d)\D/.test(C),
+ we = /PhantomJS/.test(C),
+ te = X && (/Mobile\/\w+/.test(C) || navigator.maxTouchPoints > 2),
+ re = /Android/.test(C),
+ ne = te || re || /webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(C),
+ se = te || /Mac/.test(De),
+ Ae = /\bCrOS\b/.test(C),
+ ye = /win/i.test(De),
+ de = z && C.match(/Version\/(\d*\.\d*)/)
+ de && (de = Number(de[1])), de && de >= 15 && ((z = !1), (_ = !0))
+ var ze = se && (ie || (z && (de == null || de < 12.11))),
+ fe = I || (b && N >= 9)
+ function H(e) {
+ return new RegExp('(^|\\s)' + e + '(?:$|\\s)\\s*')
+ }
+ var Ee = function (e, t) {
+ var n = e.className,
+ r = H(t).exec(n)
+ if (r) {
+ var i = n.slice(r.index + r[0].length)
+ e.className = n.slice(0, r.index) + (i ? r[1] + i : '')
+ }
+ }
+ function D(e) {
+ for (var t = e.childNodes.length; t > 0; --t) e.removeChild(e.firstChild)
+ return e
+ }
+ function J(e, t) {
+ return D(e).appendChild(t)
+ }
+ function d(e, t, n, r) {
+ var i = document.createElement(e)
+ if ((n && (i.className = n), r && (i.style.cssText = r), typeof t == 'string'))
+ i.appendChild(document.createTextNode(t))
+ else if (t) for (var o = 0; o < t.length; ++o) i.appendChild(t[o])
+ return i
+ }
+ function S(e, t, n, r) {
+ var i = d(e, t, n, r)
+ return i.setAttribute('role', 'presentation'), i
+ }
+ var w
+ document.createRange
+ ? (w = function (e, t, n, r) {
+ var i = document.createRange()
+ return i.setEnd(r || e, n), i.setStart(e, t), i
+ })
+ : (w = function (e, t, n) {
+ var r = document.body.createTextRange()
+ try {
+ r.moveToElementText(e.parentNode)
+ } catch {
+ return r
+ }
+ return r.collapse(!0), r.moveEnd('character', n), r.moveStart('character', t), r
+ })
+ function m(e, t) {
+ if ((t.nodeType == 3 && (t = t.parentNode), e.contains)) return e.contains(t)
+ do if ((t.nodeType == 11 && (t = t.host), t == e)) return !0
+ while ((t = t.parentNode))
+ }
+ function y(e) {
+ var t = e.ownerDocument || e,
+ n
+ try {
+ n = e.activeElement
+ } catch {
+ n = t.body || null
+ }
+ for (; n && n.shadowRoot && n.shadowRoot.activeElement; ) n = n.shadowRoot.activeElement
+ return n
+ }
+ function P(e, t) {
+ var n = e.className
+ H(t).test(n) || (e.className += (n ? ' ' : '') + t)
+ }
+ function le(e, t) {
+ for (var n = e.split(' '), r = 0; r < n.length; r++)
+ n[r] && !H(n[r]).test(t) && (t += ' ' + n[r])
+ return t
+ }
+ var p = function (e) {
+ e.select()
+ }
+ te
+ ? (p = function (e) {
+ ;(e.selectionStart = 0), (e.selectionEnd = e.value.length)
+ })
+ : b &&
+ (p = function (e) {
+ try {
+ e.select()
+ } catch {}
+ })
+ function c(e) {
+ return e.display.wrapper.ownerDocument
+ }
+ function Y(e) {
+ return xe(e.display.wrapper)
+ }
+ function xe(e) {
+ return e.getRootNode ? e.getRootNode() : e.ownerDocument
+ }
+ function j(e) {
+ return c(e).defaultView
+ }
+ function ue(e) {
+ var t = Array.prototype.slice.call(arguments, 1)
+ return function () {
+ return e.apply(null, t)
+ }
+ }
+ function Te(e, t, n) {
+ t || (t = {})
+ for (var r in e)
+ e.hasOwnProperty(r) && (n !== !1 || !t.hasOwnProperty(r)) && (t[r] = e[r])
+ return t
+ }
+ function Le(e, t, n, r, i) {
+ t == null && ((t = e.search(/[^\s\u00a0]/)), t == -1 && (t = e.length))
+ for (var o = r || 0, l = i || 0; ; ) {
+ var a = e.indexOf(' ', o)
+ if (a < 0 || a >= t) return l + (t - o)
+ ;(l += a - o), (l += n - (l % n)), (o = a + 1)
+ }
+ }
+ var be = function () {
+ ;(this.id = null),
+ (this.f = null),
+ (this.time = 0),
+ (this.handler = ue(this.onTimeout, this))
+ }
+ ;(be.prototype.onTimeout = function (e) {
+ ;(e.id = 0), e.time <= +new Date() ? e.f() : setTimeout(e.handler, e.time - +new Date())
+ }),
+ (be.prototype.set = function (e, t) {
+ this.f = t
+ var n = +new Date() + e
+ ;(!this.id || n < this.time) &&
+ (clearTimeout(this.id), (this.id = setTimeout(this.handler, e)), (this.time = n))
+ })
+ function oe(e, t) {
+ for (var n = 0; n < e.length; ++n) if (e[n] == t) return n
+ return -1
+ }
+ var Ne = 50,
+ qe = {
+ toString: function () {
+ return 'CodeMirror.Pass'
+ },
+ },
+ Ve = { scroll: !1 },
+ ct = { origin: '*mouse' },
+ Oe = { origin: '+move' }
+ function Re(e, t, n) {
+ for (var r = 0, i = 0; ; ) {
+ var o = e.indexOf(' ', r)
+ o == -1 && (o = e.length)
+ var l = o - r
+ if (o == e.length || i + l >= t) return r + Math.min(l, t - i)
+ if (((i += o - r), (i += n - (i % n)), (r = o + 1), i >= t)) return r
+ }
+ }
+ var Ue = ['']
+ function et(e) {
+ for (; Ue.length <= e; ) Ue.push(ge(Ue) + ' ')
+ return Ue[e]
+ }
+ function ge(e) {
+ return e[e.length - 1]
+ }
+ function Pe(e, t) {
+ for (var n = [], r = 0; r < e.length; r++) n[r] = t(e[r], r)
+ return n
+ }
+ function T(e, t, n) {
+ for (var r = 0, i = n(t); r < e.length && n(e[r]) <= i; ) r++
+ e.splice(r, 0, t)
+ }
+ function B() {}
+ function F(e, t) {
+ var n
+ return (
+ Object.create ? (n = Object.create(e)) : ((B.prototype = e), (n = new B())),
+ t && Te(t, n),
+ n
+ )
+ }
+ var Ie =
+ /[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/
+ function ae(e) {
+ return /\w/.test(e) || (e > '' && (e.toUpperCase() != e.toLowerCase() || Ie.test(e)))
+ }
+ function Se(e, t) {
+ return t ? (t.source.indexOf('\\w') > -1 && ae(e) ? !0 : t.test(e)) : ae(e)
+ }
+ function he(e) {
+ for (var t in e) if (e.hasOwnProperty(t) && e[t]) return !1
+ return !0
+ }
+ var Be =
+ /[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/
+ function Me(e) {
+ return e.charCodeAt(0) >= 768 && Be.test(e)
+ }
+ function Lt(e, t, n) {
+ for (; (n < 0 ? t > 0 : t < e.length) && Me(e.charAt(t)); ) t += n
+ return t
+ }
+ function Nt(e, t, n) {
+ for (var r = t > n ? -1 : 1; ; ) {
+ if (t == n) return t
+ var i = (t + n) / 2,
+ o = r < 0 ? Math.ceil(i) : Math.floor(i)
+ if (o == t) return e(o) ? t : n
+ e(o) ? (n = o) : (t = o + r)
+ }
+ }
+ function or(e, t, n, r) {
+ if (!e) return r(t, n, 'ltr', 0)
+ for (var i = !1, o = 0; o < e.length; ++o) {
+ var l = e[o]
+ ;((l.from < n && l.to > t) || (t == n && l.to == t)) &&
+ (r(Math.max(l.from, t), Math.min(l.to, n), l.level == 1 ? 'rtl' : 'ltr', o),
+ (i = !0))
+ }
+ i || r(t, n, 'ltr')
+ }
+ var br = null
+ function lr(e, t, n) {
+ var r
+ br = null
+ for (var i = 0; i < e.length; ++i) {
+ var o = e[i]
+ if (o.from < t && o.to > t) return i
+ o.to == t && (o.from != o.to && n == 'before' ? (r = i) : (br = i)),
+ o.from == t && (o.from != o.to && n != 'before' ? (r = i) : (br = i))
+ }
+ return r ?? br
+ }
+ var mi = (function () {
+ var e =
+ 'bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN',
+ t =
+ 'nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111'
+ function n(u) {
+ return u <= 247
+ ? e.charAt(u)
+ : 1424 <= u && u <= 1524
+ ? 'R'
+ : 1536 <= u && u <= 1785
+ ? t.charAt(u - 1536)
+ : 1774 <= u && u <= 2220
+ ? 'r'
+ : 8192 <= u && u <= 8203
+ ? 'w'
+ : u == 8204
+ ? 'b'
+ : 'L'
+ }
+ var r = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,
+ i = /[stwN]/,
+ o = /[LRr]/,
+ l = /[Lb1n]/,
+ a = /[1n]/
+ function s(u, h, v) {
+ ;(this.level = u), (this.from = h), (this.to = v)
+ }
+ return function (u, h) {
+ var v = h == 'ltr' ? 'L' : 'R'
+ if (u.length == 0 || (h == 'ltr' && !r.test(u))) return !1
+ for (var k = u.length, x = [], M = 0; M < k; ++M) x.push(n(u.charCodeAt(M)))
+ for (var E = 0, R = v; E < k; ++E) {
+ var U = x[E]
+ U == 'm' ? (x[E] = R) : (R = U)
+ }
+ for (var Q = 0, G = v; Q < k; ++Q) {
+ var ee = x[Q]
+ ee == '1' && G == 'r'
+ ? (x[Q] = 'n')
+ : o.test(ee) && ((G = ee), ee == 'r' && (x[Q] = 'R'))
+ }
+ for (var me = 1, pe = x[0]; me < k - 1; ++me) {
+ var Fe = x[me]
+ Fe == '+' && pe == '1' && x[me + 1] == '1'
+ ? (x[me] = '1')
+ : Fe == ',' && pe == x[me + 1] && (pe == '1' || pe == 'n') && (x[me] = pe),
+ (pe = Fe)
+ }
+ for (var Ke = 0; Ke < k; ++Ke) {
+ var st = x[Ke]
+ if (st == ',') x[Ke] = 'N'
+ else if (st == '%') {
+ var Xe = void 0
+ for (Xe = Ke + 1; Xe < k && x[Xe] == '%'; ++Xe);
+ for (
+ var Mt = (Ke && x[Ke - 1] == '!') || (Xe < k && x[Xe] == '1') ? '1' : 'N',
+ wt = Ke;
+ wt < Xe;
+ ++wt
+ )
+ x[wt] = Mt
+ Ke = Xe - 1
+ }
+ }
+ for (var tt = 0, St = v; tt < k; ++tt) {
+ var ft = x[tt]
+ St == 'L' && ft == '1' ? (x[tt] = 'L') : o.test(ft) && (St = ft)
+ }
+ for (var nt = 0; nt < k; ++nt)
+ if (i.test(x[nt])) {
+ var rt = void 0
+ for (rt = nt + 1; rt < k && i.test(x[rt]); ++rt);
+ for (
+ var Qe = (nt ? x[nt - 1] : v) == 'L',
+ Tt = (rt < k ? x[rt] : v) == 'L',
+ nn = Qe == Tt ? (Qe ? 'L' : 'R') : v,
+ xr = nt;
+ xr < rt;
+ ++xr
+ )
+ x[xr] = nn
+ nt = rt - 1
+ }
+ for (var gt = [], Jt, ut = 0; ut < k; )
+ if (l.test(x[ut])) {
+ var co = ut
+ for (++ut; ut < k && l.test(x[ut]); ++ut);
+ gt.push(new s(0, co, ut))
+ } else {
+ var ir = ut,
+ Ar = gt.length,
+ Er = h == 'rtl' ? 1 : 0
+ for (++ut; ut < k && x[ut] != 'L'; ++ut);
+ for (var mt = ir; mt < ut; )
+ if (a.test(x[mt])) {
+ ir < mt && (gt.splice(Ar, 0, new s(1, ir, mt)), (Ar += Er))
+ var on = mt
+ for (++mt; mt < ut && a.test(x[mt]); ++mt);
+ gt.splice(Ar, 0, new s(2, on, mt)), (Ar += Er), (ir = mt)
+ } else ++mt
+ ir < ut && gt.splice(Ar, 0, new s(1, ir, ut))
+ }
+ return (
+ h == 'ltr' &&
+ (gt[0].level == 1 &&
+ (Jt = u.match(/^\s+/)) &&
+ ((gt[0].from = Jt[0].length), gt.unshift(new s(0, 0, Jt[0].length))),
+ ge(gt).level == 1 &&
+ (Jt = u.match(/\s+$/)) &&
+ ((ge(gt).to -= Jt[0].length), gt.push(new s(0, k - Jt[0].length, k)))),
+ h == 'rtl' ? gt.reverse() : gt
+ )
+ }
+ })()
+ function We(e, t) {
+ var n = e.order
+ return n == null && (n = e.order = mi(e.text, t)), n
+ }
+ var Bn = [],
+ ve = function (e, t, n) {
+ if (e.addEventListener) e.addEventListener(t, n, !1)
+ else if (e.attachEvent) e.attachEvent('on' + t, n)
+ else {
+ var r = e._handlers || (e._handlers = {})
+ r[t] = (r[t] || Bn).concat(n)
+ }
+ }
+ function Qt(e, t) {
+ return (e._handlers && e._handlers[t]) || Bn
+ }
+ function dt(e, t, n) {
+ if (e.removeEventListener) e.removeEventListener(t, n, !1)
+ else if (e.detachEvent) e.detachEvent('on' + t, n)
+ else {
+ var r = e._handlers,
+ i = r && r[t]
+ if (i) {
+ var o = oe(i, n)
+ o > -1 && (r[t] = i.slice(0, o).concat(i.slice(o + 1)))
+ }
+ }
+ }
+ function Ye(e, t) {
+ var n = Qt(e, t)
+ if (n.length)
+ for (var r = Array.prototype.slice.call(arguments, 2), i = 0; i < n.length; ++i)
+ n[i].apply(null, r)
+ }
+ function Ze(e, t, n) {
+ return (
+ typeof t == 'string' &&
+ (t = {
+ type: t,
+ preventDefault: function () {
+ this.defaultPrevented = !0
+ },
+ }),
+ Ye(e, n || t.type, e, t),
+ yt(t) || t.codemirrorIgnore
+ )
+ }
+ function Ot(e) {
+ var t = e._handlers && e._handlers.cursorActivity
+ if (t)
+ for (
+ var n = e.curOp.cursorActivityHandlers || (e.curOp.cursorActivityHandlers = []),
+ r = 0;
+ r < t.length;
+ ++r
+ )
+ oe(n, t[r]) == -1 && n.push(t[r])
+ }
+ function Ct(e, t) {
+ return Qt(e, t).length > 0
+ }
+ function Bt(e) {
+ ;(e.prototype.on = function (t, n) {
+ ve(this, t, n)
+ }),
+ (e.prototype.off = function (t, n) {
+ dt(this, t, n)
+ })
+ }
+ function ht(e) {
+ e.preventDefault ? e.preventDefault() : (e.returnValue = !1)
+ }
+ function Nr(e) {
+ e.stopPropagation ? e.stopPropagation() : (e.cancelBubble = !0)
+ }
+ function yt(e) {
+ return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == !1
+ }
+ function ar(e) {
+ ht(e), Nr(e)
+ }
+ function ln(e) {
+ return e.target || e.srcElement
+ }
+ function Wt(e) {
+ var t = e.which
+ return (
+ t == null &&
+ (e.button & 1 ? (t = 1) : e.button & 2 ? (t = 3) : e.button & 4 && (t = 2)),
+ se && e.ctrlKey && t == 1 && (t = 3),
+ t
+ )
+ }
+ var yi = (function () {
+ if (b && N < 9) return !1
+ var e = d('div')
+ return 'draggable' in e || 'dragDrop' in e
+ })(),
+ Or
+ function Wn(e) {
+ if (Or == null) {
+ var t = d('span', '')
+ J(e, d('span', [t, document.createTextNode('x')])),
+ e.firstChild.offsetHeight != 0 &&
+ (Or = t.offsetWidth <= 1 && t.offsetHeight > 2 && !(b && N < 8))
+ }
+ var n = Or
+ ? d('span', '')
+ : d('span', ' ', null, 'display: inline-block; width: 1px; margin-right: -1px')
+ return n.setAttribute('cm-text', ''), n
+ }
+ var an
+ function sr(e) {
+ if (an != null) return an
+ var t = J(e, document.createTextNode('AخA')),
+ n = w(t, 0, 1).getBoundingClientRect(),
+ r = w(t, 1, 2).getBoundingClientRect()
+ return D(e), !n || n.left == n.right ? !1 : (an = r.right - n.right < 3)
+ }
+ var Pt =
+ `
+
+b`.split(/\n/).length != 3
+ ? function (e) {
+ for (var t = 0, n = [], r = e.length; t <= r; ) {
+ var i = e.indexOf(
+ `
+`,
+ t
+ )
+ i == -1 && (i = e.length)
+ var o = e.slice(t, e.charAt(i - 1) == '\r' ? i - 1 : i),
+ l = o.indexOf('\r')
+ l != -1 ? (n.push(o.slice(0, l)), (t += l + 1)) : (n.push(o), (t = i + 1))
+ }
+ return n
+ }
+ : function (e) {
+ return e.split(/\r\n?|\n/)
+ },
+ ur = window.getSelection
+ ? function (e) {
+ try {
+ return e.selectionStart != e.selectionEnd
+ } catch {
+ return !1
+ }
+ }
+ : function (e) {
+ var t
+ try {
+ t = e.ownerDocument.selection.createRange()
+ } catch {}
+ return !t || t.parentElement() != e
+ ? !1
+ : t.compareEndPoints('StartToEnd', t) != 0
+ },
+ _n = (function () {
+ var e = d('div')
+ return 'oncopy' in e
+ ? !0
+ : (e.setAttribute('oncopy', 'return;'), typeof e.oncopy == 'function')
+ })(),
+ _t = null
+ function xi(e) {
+ if (_t != null) return _t
+ var t = J(e, d('span', 'x')),
+ n = t.getBoundingClientRect(),
+ r = w(t, 0, 1).getBoundingClientRect()
+ return (_t = Math.abs(n.left - r.left) > 1)
+ }
+ var Pr = {},
+ Ht = {}
+ function Rt(e, t) {
+ arguments.length > 2 && (t.dependencies = Array.prototype.slice.call(arguments, 2)),
+ (Pr[e] = t)
+ }
+ function kr(e, t) {
+ Ht[e] = t
+ }
+ function Ir(e) {
+ if (typeof e == 'string' && Ht.hasOwnProperty(e)) e = Ht[e]
+ else if (e && typeof e.name == 'string' && Ht.hasOwnProperty(e.name)) {
+ var t = Ht[e.name]
+ typeof t == 'string' && (t = { name: t }), (e = F(t, e)), (e.name = t.name)
+ } else {
+ if (typeof e == 'string' && /^[\w\-]+\/[\w\-]+\+xml$/.test(e))
+ return Ir('application/xml')
+ if (typeof e == 'string' && /^[\w\-]+\/[\w\-]+\+json$/.test(e))
+ return Ir('application/json')
+ }
+ return typeof e == 'string' ? { name: e } : e || { name: 'null' }
+ }
+ function zr(e, t) {
+ t = Ir(t)
+ var n = Pr[t.name]
+ if (!n) return zr(e, 'text/plain')
+ var r = n(e, t)
+ if (fr.hasOwnProperty(t.name)) {
+ var i = fr[t.name]
+ for (var o in i)
+ i.hasOwnProperty(o) && (r.hasOwnProperty(o) && (r['_' + o] = r[o]), (r[o] = i[o]))
+ }
+ if (((r.name = t.name), t.helperType && (r.helperType = t.helperType), t.modeProps))
+ for (var l in t.modeProps) r[l] = t.modeProps[l]
+ return r
+ }
+ var fr = {}
+ function Br(e, t) {
+ var n = fr.hasOwnProperty(e) ? fr[e] : (fr[e] = {})
+ Te(t, n)
+ }
+ function Gt(e, t) {
+ if (t === !0) return t
+ if (e.copyState) return e.copyState(t)
+ var n = {}
+ for (var r in t) {
+ var i = t[r]
+ i instanceof Array && (i = i.concat([])), (n[r] = i)
+ }
+ return n
+ }
+ function sn(e, t) {
+ for (var n; e.innerMode && ((n = e.innerMode(t)), !(!n || n.mode == e)); )
+ (t = n.state), (e = n.mode)
+ return n || { mode: e, state: t }
+ }
+ function Wr(e, t, n) {
+ return e.startState ? e.startState(t, n) : !0
+ }
+ var Je = function (e, t, n) {
+ ;(this.pos = this.start = 0),
+ (this.string = e),
+ (this.tabSize = t || 8),
+ (this.lastColumnPos = this.lastColumnValue = 0),
+ (this.lineStart = 0),
+ (this.lineOracle = n)
+ }
+ ;(Je.prototype.eol = function () {
+ return this.pos >= this.string.length
+ }),
+ (Je.prototype.sol = function () {
+ return this.pos == this.lineStart
+ }),
+ (Je.prototype.peek = function () {
+ return this.string.charAt(this.pos) || void 0
+ }),
+ (Je.prototype.next = function () {
+ if (this.pos < this.string.length) return this.string.charAt(this.pos++)
+ }),
+ (Je.prototype.eat = function (e) {
+ var t = this.string.charAt(this.pos),
+ n
+ if ((typeof e == 'string' ? (n = t == e) : (n = t && (e.test ? e.test(t) : e(t))), n))
+ return ++this.pos, t
+ }),
+ (Je.prototype.eatWhile = function (e) {
+ for (var t = this.pos; this.eat(e); );
+ return this.pos > t
+ }),
+ (Je.prototype.eatSpace = function () {
+ for (var e = this.pos; /[\s\u00a0]/.test(this.string.charAt(this.pos)); ) ++this.pos
+ return this.pos > e
+ }),
+ (Je.prototype.skipToEnd = function () {
+ this.pos = this.string.length
+ }),
+ (Je.prototype.skipTo = function (e) {
+ var t = this.string.indexOf(e, this.pos)
+ if (t > -1) return (this.pos = t), !0
+ }),
+ (Je.prototype.backUp = function (e) {
+ this.pos -= e
+ }),
+ (Je.prototype.column = function () {
+ return (
+ this.lastColumnPos < this.start &&
+ ((this.lastColumnValue = Le(
+ this.string,
+ this.start,
+ this.tabSize,
+ this.lastColumnPos,
+ this.lastColumnValue
+ )),
+ (this.lastColumnPos = this.start)),
+ this.lastColumnValue -
+ (this.lineStart ? Le(this.string, this.lineStart, this.tabSize) : 0)
+ )
+ }),
+ (Je.prototype.indentation = function () {
+ return (
+ Le(this.string, null, this.tabSize) -
+ (this.lineStart ? Le(this.string, this.lineStart, this.tabSize) : 0)
+ )
+ }),
+ (Je.prototype.match = function (e, t, n) {
+ if (typeof e == 'string') {
+ var r = function (l) {
+ return n ? l.toLowerCase() : l
+ },
+ i = this.string.substr(this.pos, e.length)
+ if (r(i) == r(e)) return t !== !1 && (this.pos += e.length), !0
+ } else {
+ var o = this.string.slice(this.pos).match(e)
+ return o && o.index > 0 ? null : (o && t !== !1 && (this.pos += o[0].length), o)
+ }
+ }),
+ (Je.prototype.current = function () {
+ return this.string.slice(this.start, this.pos)
+ }),
+ (Je.prototype.hideFirstChars = function (e, t) {
+ this.lineStart += e
+ try {
+ return t()
+ } finally {
+ this.lineStart -= e
+ }
+ }),
+ (Je.prototype.lookAhead = function (e) {
+ var t = this.lineOracle
+ return t && t.lookAhead(e)
+ }),
+ (Je.prototype.baseToken = function () {
+ var e = this.lineOracle
+ return e && e.baseToken(this.pos)
+ })
+ function ce(e, t) {
+ if (((t -= e.first), t < 0 || t >= e.size))
+ throw new Error('There is no line ' + (t + e.first) + ' in the document.')
+ for (var n = e; !n.lines; )
+ for (var r = 0; ; ++r) {
+ var i = n.children[r],
+ o = i.chunkSize()
+ if (t < o) {
+ n = i
+ break
+ }
+ t -= o
+ }
+ return n.lines[t]
+ }
+ function Vt(e, t, n) {
+ var r = [],
+ i = t.line
+ return (
+ e.iter(t.line, n.line + 1, function (o) {
+ var l = o.text
+ i == n.line && (l = l.slice(0, n.ch)),
+ i == t.line && (l = l.slice(t.ch)),
+ r.push(l),
+ ++i
+ }),
+ r
+ )
+ }
+ function un(e, t, n) {
+ var r = []
+ return (
+ e.iter(t, n, function (i) {
+ r.push(i.text)
+ }),
+ r
+ )
+ }
+ function Ft(e, t) {
+ var n = t - e.height
+ if (n) for (var r = e; r; r = r.parent) r.height += n
+ }
+ function f(e) {
+ if (e.parent == null) return null
+ for (var t = e.parent, n = oe(t.lines, e), r = t.parent; r; t = r, r = r.parent)
+ for (var i = 0; r.children[i] != t; ++i) n += r.children[i].chunkSize()
+ return n + t.first
+ }
+ function g(e, t) {
+ var n = e.first
+ e: do {
+ for (var r = 0; r < e.children.length; ++r) {
+ var i = e.children[r],
+ o = i.height
+ if (t < o) {
+ e = i
+ continue e
+ }
+ ;(t -= o), (n += i.chunkSize())
+ }
+ return n
+ } while (!e.lines)
+ for (var l = 0; l < e.lines.length; ++l) {
+ var a = e.lines[l],
+ s = a.height
+ if (t < s) break
+ t -= s
+ }
+ return n + l
+ }
+ function A(e, t) {
+ return t >= e.first && t < e.first + e.size
+ }
+ function W(e, t) {
+ return String(e.lineNumberFormatter(t + e.firstLineNumber))
+ }
+ function L(e, t, n) {
+ if ((n === void 0 && (n = null), !(this instanceof L))) return new L(e, t, n)
+ ;(this.line = e), (this.ch = t), (this.sticky = n)
+ }
+ function Z(e, t) {
+ return e.line - t.line || e.ch - t.ch
+ }
+ function _e(e, t) {
+ return e.sticky == t.sticky && Z(e, t) == 0
+ }
+ function it(e) {
+ return L(e.line, e.ch)
+ }
+ function xt(e, t) {
+ return Z(e, t) < 0 ? t : e
+ }
+ function _r(e, t) {
+ return Z(e, t) < 0 ? e : t
+ }
+ function po(e, t) {
+ return Math.max(e.first, Math.min(t, e.first + e.size - 1))
+ }
+ function Ce(e, t) {
+ if (t.line < e.first) return L(e.first, 0)
+ var n = e.first + e.size - 1
+ return t.line > n ? L(n, ce(e, n).text.length) : _a(t, ce(e, t.line).text.length)
+ }
+ function _a(e, t) {
+ var n = e.ch
+ return n == null || n > t ? L(e.line, t) : n < 0 ? L(e.line, 0) : e
+ }
+ function go(e, t) {
+ for (var n = [], r = 0; r < t.length; r++) n[r] = Ce(e, t[r])
+ return n
+ }
+ var Hn = function (e, t) {
+ ;(this.state = e), (this.lookAhead = t)
+ },
+ Xt = function (e, t, n, r) {
+ ;(this.state = t),
+ (this.doc = e),
+ (this.line = n),
+ (this.maxLookAhead = r || 0),
+ (this.baseTokens = null),
+ (this.baseTokenPos = 1)
+ }
+ ;(Xt.prototype.lookAhead = function (e) {
+ var t = this.doc.getLine(this.line + e)
+ return t != null && e > this.maxLookAhead && (this.maxLookAhead = e), t
+ }),
+ (Xt.prototype.baseToken = function (e) {
+ if (!this.baseTokens) return null
+ for (; this.baseTokens[this.baseTokenPos] <= e; ) this.baseTokenPos += 2
+ var t = this.baseTokens[this.baseTokenPos + 1]
+ return {
+ type: t && t.replace(/( |^)overlay .*/, ''),
+ size: this.baseTokens[this.baseTokenPos] - e,
+ }
+ }),
+ (Xt.prototype.nextLine = function () {
+ this.line++, this.maxLookAhead > 0 && this.maxLookAhead--
+ }),
+ (Xt.fromSaved = function (e, t, n) {
+ return t instanceof Hn
+ ? new Xt(e, Gt(e.mode, t.state), n, t.lookAhead)
+ : new Xt(e, Gt(e.mode, t), n)
+ }),
+ (Xt.prototype.save = function (e) {
+ var t = e !== !1 ? Gt(this.doc.mode, this.state) : this.state
+ return this.maxLookAhead > 0 ? new Hn(t, this.maxLookAhead) : t
+ })
+ function vo(e, t, n, r) {
+ var i = [e.state.modeGen],
+ o = {}
+ wo(
+ e,
+ t.text,
+ e.doc.mode,
+ n,
+ function (u, h) {
+ return i.push(u, h)
+ },
+ o,
+ r
+ )
+ for (
+ var l = n.state,
+ a = function (u) {
+ n.baseTokens = i
+ var h = e.state.overlays[u],
+ v = 1,
+ k = 0
+ ;(n.state = !0),
+ wo(
+ e,
+ t.text,
+ h.mode,
+ n,
+ function (x, M) {
+ for (var E = v; k < x; ) {
+ var R = i[v]
+ R > x && i.splice(v, 1, x, i[v + 1], R), (v += 2), (k = Math.min(x, R))
+ }
+ if (M)
+ if (h.opaque) i.splice(E, v - E, x, 'overlay ' + M), (v = E + 2)
+ else
+ for (; E < v; E += 2) {
+ var U = i[E + 1]
+ i[E + 1] = (U ? U + ' ' : '') + 'overlay ' + M
+ }
+ },
+ o
+ ),
+ (n.state = l),
+ (n.baseTokens = null),
+ (n.baseTokenPos = 1)
+ },
+ s = 0;
+ s < e.state.overlays.length;
+ ++s
+ )
+ a(s)
+ return { styles: i, classes: o.bgClass || o.textClass ? o : null }
+ }
+ function mo(e, t, n) {
+ if (!t.styles || t.styles[0] != e.state.modeGen) {
+ var r = fn(e, f(t)),
+ i = t.text.length > e.options.maxHighlightLength && Gt(e.doc.mode, r.state),
+ o = vo(e, t, r)
+ i && (r.state = i),
+ (t.stateAfter = r.save(!i)),
+ (t.styles = o.styles),
+ o.classes
+ ? (t.styleClasses = o.classes)
+ : t.styleClasses && (t.styleClasses = null),
+ n === e.doc.highlightFrontier &&
+ (e.doc.modeFrontier = Math.max(e.doc.modeFrontier, ++e.doc.highlightFrontier))
+ }
+ return t.styles
+ }
+ function fn(e, t, n) {
+ var r = e.doc,
+ i = e.display
+ if (!r.mode.startState) return new Xt(r, !0, t)
+ var o = Ha(e, t, n),
+ l = o > r.first && ce(r, o - 1).stateAfter,
+ a = l ? Xt.fromSaved(r, l, o) : new Xt(r, Wr(r.mode), o)
+ return (
+ r.iter(o, t, function (s) {
+ bi(e, s.text, a)
+ var u = a.line
+ ;(s.stateAfter =
+ u == t - 1 || u % 5 == 0 || (u >= i.viewFrom && u < i.viewTo) ? a.save() : null),
+ a.nextLine()
+ }),
+ n && (r.modeFrontier = a.line),
+ a
+ )
+ }
+ function bi(e, t, n, r) {
+ var i = e.doc.mode,
+ o = new Je(t, e.options.tabSize, n)
+ for (o.start = o.pos = r || 0, t == '' && yo(i, n.state); !o.eol(); )
+ ki(i, o, n.state), (o.start = o.pos)
+ }
+ function yo(e, t) {
+ if (e.blankLine) return e.blankLine(t)
+ if (e.innerMode) {
+ var n = sn(e, t)
+ if (n.mode.blankLine) return n.mode.blankLine(n.state)
+ }
+ }
+ function ki(e, t, n, r) {
+ for (var i = 0; i < 10; i++) {
+ r && (r[0] = sn(e, n).mode)
+ var o = e.token(t, n)
+ if (t.pos > t.start) return o
+ }
+ throw new Error('Mode ' + e.name + ' failed to advance stream.')
+ }
+ var xo = function (e, t, n) {
+ ;(this.start = e.start),
+ (this.end = e.pos),
+ (this.string = e.current()),
+ (this.type = t || null),
+ (this.state = n)
+ }
+ function bo(e, t, n, r) {
+ var i = e.doc,
+ o = i.mode,
+ l
+ t = Ce(i, t)
+ var a = ce(i, t.line),
+ s = fn(e, t.line, n),
+ u = new Je(a.text, e.options.tabSize, s),
+ h
+ for (r && (h = []); (r || u.pos < t.ch) && !u.eol(); )
+ (u.start = u.pos),
+ (l = ki(o, u, s.state)),
+ r && h.push(new xo(u, l, Gt(i.mode, s.state)))
+ return r ? h : new xo(u, l, s.state)
+ }
+ function ko(e, t) {
+ if (e)
+ for (;;) {
+ var n = e.match(/(?:^|\s+)line-(background-)?(\S+)/)
+ if (!n) break
+ e = e.slice(0, n.index) + e.slice(n.index + n[0].length)
+ var r = n[1] ? 'bgClass' : 'textClass'
+ t[r] == null
+ ? (t[r] = n[2])
+ : new RegExp('(?:^|\\s)' + n[2] + '(?:$|\\s)').test(t[r]) || (t[r] += ' ' + n[2])
+ }
+ return e
+ }
+ function wo(e, t, n, r, i, o, l) {
+ var a = n.flattenSpans
+ a == null && (a = e.options.flattenSpans)
+ var s = 0,
+ u = null,
+ h = new Je(t, e.options.tabSize, r),
+ v,
+ k = e.options.addModeClass && [null]
+ for (t == '' && ko(yo(n, r.state), o); !h.eol(); ) {
+ if (
+ (h.pos > e.options.maxHighlightLength
+ ? ((a = !1), l && bi(e, t, r, h.pos), (h.pos = t.length), (v = null))
+ : (v = ko(ki(n, h, r.state, k), o)),
+ k)
+ ) {
+ var x = k[0].name
+ x && (v = 'm-' + (v ? x + ' ' + v : x))
+ }
+ if (!a || u != v) {
+ for (; s < h.start; ) (s = Math.min(h.start, s + 5e3)), i(s, u)
+ u = v
+ }
+ h.start = h.pos
+ }
+ for (; s < h.pos; ) {
+ var M = Math.min(h.pos, s + 5e3)
+ i(M, u), (s = M)
+ }
+ }
+ function Ha(e, t, n) {
+ for (
+ var r, i, o = e.doc, l = n ? -1 : t - (e.doc.mode.innerMode ? 1e3 : 100), a = t;
+ a > l;
+ --a
+ ) {
+ if (a <= o.first) return o.first
+ var s = ce(o, a - 1),
+ u = s.stateAfter
+ if (u && (!n || a + (u instanceof Hn ? u.lookAhead : 0) <= o.modeFrontier)) return a
+ var h = Le(s.text, null, e.options.tabSize)
+ ;(i == null || r > h) && ((i = a - 1), (r = h))
+ }
+ return i
+ }
+ function Ra(e, t) {
+ if (((e.modeFrontier = Math.min(e.modeFrontier, t)), !(e.highlightFrontier < t - 10))) {
+ for (var n = e.first, r = t - 1; r > n; r--) {
+ var i = ce(e, r).stateAfter
+ if (i && (!(i instanceof Hn) || r + i.lookAhead < t)) {
+ n = r + 1
+ break
+ }
+ }
+ e.highlightFrontier = Math.min(e.highlightFrontier, n)
+ }
+ }
+ var So = !1,
+ $t = !1
+ function qa() {
+ So = !0
+ }
+ function ja() {
+ $t = !0
+ }
+ function Rn(e, t, n) {
+ ;(this.marker = e), (this.from = t), (this.to = n)
+ }
+ function cn(e, t) {
+ if (e)
+ for (var n = 0; n < e.length; ++n) {
+ var r = e[n]
+ if (r.marker == t) return r
+ }
+ }
+ function Ka(e, t) {
+ for (var n, r = 0; r < e.length; ++r) e[r] != t && (n || (n = [])).push(e[r])
+ return n
+ }
+ function Ua(e, t, n) {
+ var r = n && window.WeakSet && (n.markedSpans || (n.markedSpans = new WeakSet()))
+ r && e.markedSpans && r.has(e.markedSpans)
+ ? e.markedSpans.push(t)
+ : ((e.markedSpans = e.markedSpans ? e.markedSpans.concat([t]) : [t]),
+ r && r.add(e.markedSpans)),
+ t.marker.attachLine(e)
+ }
+ function Ga(e, t, n) {
+ var r
+ if (e)
+ for (var i = 0; i < e.length; ++i) {
+ var o = e[i],
+ l = o.marker,
+ a = o.from == null || (l.inclusiveLeft ? o.from <= t : o.from < t)
+ if (a || (o.from == t && l.type == 'bookmark' && (!n || !o.marker.insertLeft))) {
+ var s = o.to == null || (l.inclusiveRight ? o.to >= t : o.to > t)
+ ;(r || (r = [])).push(new Rn(l, o.from, s ? null : o.to))
+ }
+ }
+ return r
+ }
+ function Xa(e, t, n) {
+ var r
+ if (e)
+ for (var i = 0; i < e.length; ++i) {
+ var o = e[i],
+ l = o.marker,
+ a = o.to == null || (l.inclusiveRight ? o.to >= t : o.to > t)
+ if (a || (o.from == t && l.type == 'bookmark' && (!n || o.marker.insertLeft))) {
+ var s = o.from == null || (l.inclusiveLeft ? o.from <= t : o.from < t)
+ ;(r || (r = [])).push(
+ new Rn(l, s ? null : o.from - t, o.to == null ? null : o.to - t)
+ )
+ }
+ }
+ return r
+ }
+ function wi(e, t) {
+ if (t.full) return null
+ var n = A(e, t.from.line) && ce(e, t.from.line).markedSpans,
+ r = A(e, t.to.line) && ce(e, t.to.line).markedSpans
+ if (!n && !r) return null
+ var i = t.from.ch,
+ o = t.to.ch,
+ l = Z(t.from, t.to) == 0,
+ a = Ga(n, i, l),
+ s = Xa(r, o, l),
+ u = t.text.length == 1,
+ h = ge(t.text).length + (u ? i : 0)
+ if (a)
+ for (var v = 0; v < a.length; ++v) {
+ var k = a[v]
+ if (k.to == null) {
+ var x = cn(s, k.marker)
+ x ? u && (k.to = x.to == null ? null : x.to + h) : (k.to = i)
+ }
+ }
+ if (s)
+ for (var M = 0; M < s.length; ++M) {
+ var E = s[M]
+ if ((E.to != null && (E.to += h), E.from == null)) {
+ var R = cn(a, E.marker)
+ R || ((E.from = h), u && (a || (a = [])).push(E))
+ } else (E.from += h), u && (a || (a = [])).push(E)
+ }
+ a && (a = To(a)), s && s != a && (s = To(s))
+ var U = [a]
+ if (!u) {
+ var Q = t.text.length - 2,
+ G
+ if (Q > 0 && a)
+ for (var ee = 0; ee < a.length; ++ee)
+ a[ee].to == null && (G || (G = [])).push(new Rn(a[ee].marker, null, null))
+ for (var me = 0; me < Q; ++me) U.push(G)
+ U.push(s)
+ }
+ return U
+ }
+ function To(e) {
+ for (var t = 0; t < e.length; ++t) {
+ var n = e[t]
+ n.from != null && n.from == n.to && n.marker.clearWhenEmpty !== !1 && e.splice(t--, 1)
+ }
+ return e.length ? e : null
+ }
+ function Ya(e, t, n) {
+ var r = null
+ if (
+ (e.iter(t.line, n.line + 1, function (x) {
+ if (x.markedSpans)
+ for (var M = 0; M < x.markedSpans.length; ++M) {
+ var E = x.markedSpans[M].marker
+ E.readOnly && (!r || oe(r, E) == -1) && (r || (r = [])).push(E)
+ }
+ }),
+ !r)
+ )
+ return null
+ for (var i = [{ from: t, to: n }], o = 0; o < r.length; ++o)
+ for (var l = r[o], a = l.find(0), s = 0; s < i.length; ++s) {
+ var u = i[s]
+ if (!(Z(u.to, a.from) < 0 || Z(u.from, a.to) > 0)) {
+ var h = [s, 1],
+ v = Z(u.from, a.from),
+ k = Z(u.to, a.to)
+ ;(v < 0 || (!l.inclusiveLeft && !v)) && h.push({ from: u.from, to: a.from }),
+ (k > 0 || (!l.inclusiveRight && !k)) && h.push({ from: a.to, to: u.to }),
+ i.splice.apply(i, h),
+ (s += h.length - 3)
+ }
+ }
+ return i
+ }
+ function Lo(e) {
+ var t = e.markedSpans
+ if (t) {
+ for (var n = 0; n < t.length; ++n) t[n].marker.detachLine(e)
+ e.markedSpans = null
+ }
+ }
+ function Co(e, t) {
+ if (t) {
+ for (var n = 0; n < t.length; ++n) t[n].marker.attachLine(e)
+ e.markedSpans = t
+ }
+ }
+ function qn(e) {
+ return e.inclusiveLeft ? -1 : 0
+ }
+ function jn(e) {
+ return e.inclusiveRight ? 1 : 0
+ }
+ function Si(e, t) {
+ var n = e.lines.length - t.lines.length
+ if (n != 0) return n
+ var r = e.find(),
+ i = t.find(),
+ o = Z(r.from, i.from) || qn(e) - qn(t)
+ if (o) return -o
+ var l = Z(r.to, i.to) || jn(e) - jn(t)
+ return l || t.id - e.id
+ }
+ function Do(e, t) {
+ var n = $t && e.markedSpans,
+ r
+ if (n)
+ for (var i = void 0, o = 0; o < n.length; ++o)
+ (i = n[o]),
+ i.marker.collapsed &&
+ (t ? i.from : i.to) == null &&
+ (!r || Si(r, i.marker) < 0) &&
+ (r = i.marker)
+ return r
+ }
+ function Mo(e) {
+ return Do(e, !0)
+ }
+ function Kn(e) {
+ return Do(e, !1)
+ }
+ function Za(e, t) {
+ var n = $t && e.markedSpans,
+ r
+ if (n)
+ for (var i = 0; i < n.length; ++i) {
+ var o = n[i]
+ o.marker.collapsed &&
+ (o.from == null || o.from < t) &&
+ (o.to == null || o.to > t) &&
+ (!r || Si(r, o.marker) < 0) &&
+ (r = o.marker)
+ }
+ return r
+ }
+ function Fo(e, t, n, r, i) {
+ var o = ce(e, t),
+ l = $t && o.markedSpans
+ if (l)
+ for (var a = 0; a < l.length; ++a) {
+ var s = l[a]
+ if (s.marker.collapsed) {
+ var u = s.marker.find(0),
+ h = Z(u.from, n) || qn(s.marker) - qn(i),
+ v = Z(u.to, r) || jn(s.marker) - jn(i)
+ if (
+ !((h >= 0 && v <= 0) || (h <= 0 && v >= 0)) &&
+ ((h <= 0 &&
+ (s.marker.inclusiveRight && i.inclusiveLeft
+ ? Z(u.to, n) >= 0
+ : Z(u.to, n) > 0)) ||
+ (h >= 0 &&
+ (s.marker.inclusiveRight && i.inclusiveLeft
+ ? Z(u.from, r) <= 0
+ : Z(u.from, r) < 0)))
+ )
+ return !0
+ }
+ }
+ }
+ function qt(e) {
+ for (var t; (t = Mo(e)); ) e = t.find(-1, !0).line
+ return e
+ }
+ function Ja(e) {
+ for (var t; (t = Kn(e)); ) e = t.find(1, !0).line
+ return e
+ }
+ function Qa(e) {
+ for (var t, n; (t = Kn(e)); ) (e = t.find(1, !0).line), (n || (n = [])).push(e)
+ return n
+ }
+ function Ti(e, t) {
+ var n = ce(e, t),
+ r = qt(n)
+ return n == r ? t : f(r)
+ }
+ function Ao(e, t) {
+ if (t > e.lastLine()) return t
+ var n = ce(e, t),
+ r
+ if (!cr(e, n)) return t
+ for (; (r = Kn(n)); ) n = r.find(1, !0).line
+ return f(n) + 1
+ }
+ function cr(e, t) {
+ var n = $t && t.markedSpans
+ if (n) {
+ for (var r = void 0, i = 0; i < n.length; ++i)
+ if (((r = n[i]), !!r.marker.collapsed)) {
+ if (r.from == null) return !0
+ if (!r.marker.widgetNode && r.from == 0 && r.marker.inclusiveLeft && Li(e, t, r))
+ return !0
+ }
+ }
+ }
+ function Li(e, t, n) {
+ if (n.to == null) {
+ var r = n.marker.find(1, !0)
+ return Li(e, r.line, cn(r.line.markedSpans, n.marker))
+ }
+ if (n.marker.inclusiveRight && n.to == t.text.length) return !0
+ for (var i = void 0, o = 0; o < t.markedSpans.length; ++o)
+ if (
+ ((i = t.markedSpans[o]),
+ i.marker.collapsed &&
+ !i.marker.widgetNode &&
+ i.from == n.to &&
+ (i.to == null || i.to != n.from) &&
+ (i.marker.inclusiveLeft || n.marker.inclusiveRight) &&
+ Li(e, t, i))
+ )
+ return !0
+ }
+ function er(e) {
+ e = qt(e)
+ for (var t = 0, n = e.parent, r = 0; r < n.lines.length; ++r) {
+ var i = n.lines[r]
+ if (i == e) break
+ t += i.height
+ }
+ for (var o = n.parent; o; n = o, o = n.parent)
+ for (var l = 0; l < o.children.length; ++l) {
+ var a = o.children[l]
+ if (a == n) break
+ t += a.height
+ }
+ return t
+ }
+ function Un(e) {
+ if (e.height == 0) return 0
+ for (var t = e.text.length, n, r = e; (n = Mo(r)); ) {
+ var i = n.find(0, !0)
+ ;(r = i.from.line), (t += i.from.ch - i.to.ch)
+ }
+ for (r = e; (n = Kn(r)); ) {
+ var o = n.find(0, !0)
+ ;(t -= r.text.length - o.from.ch), (r = o.to.line), (t += r.text.length - o.to.ch)
+ }
+ return t
+ }
+ function Ci(e) {
+ var t = e.display,
+ n = e.doc
+ ;(t.maxLine = ce(n, n.first)),
+ (t.maxLineLength = Un(t.maxLine)),
+ (t.maxLineChanged = !0),
+ n.iter(function (r) {
+ var i = Un(r)
+ i > t.maxLineLength && ((t.maxLineLength = i), (t.maxLine = r))
+ })
+ }
+ var Hr = function (e, t, n) {
+ ;(this.text = e), Co(this, t), (this.height = n ? n(this) : 1)
+ }
+ ;(Hr.prototype.lineNo = function () {
+ return f(this)
+ }),
+ Bt(Hr)
+ function Va(e, t, n, r) {
+ ;(e.text = t),
+ e.stateAfter && (e.stateAfter = null),
+ e.styles && (e.styles = null),
+ e.order != null && (e.order = null),
+ Lo(e),
+ Co(e, n)
+ var i = r ? r(e) : 1
+ i != e.height && Ft(e, i)
+ }
+ function $a(e) {
+ ;(e.parent = null), Lo(e)
+ }
+ var es = {},
+ ts = {}
+ function Eo(e, t) {
+ if (!e || /^\s*$/.test(e)) return null
+ var n = t.addModeClass ? ts : es
+ return n[e] || (n[e] = e.replace(/\S+/g, 'cm-$&'))
+ }
+ function No(e, t) {
+ var n = S('span', null, null, _ ? 'padding-right: .1px' : null),
+ r = {
+ pre: S('pre', [n], 'CodeMirror-line'),
+ content: n,
+ col: 0,
+ pos: 0,
+ cm: e,
+ trailingSpace: !1,
+ splitSpaces: e.getOption('lineWrapping'),
+ }
+ t.measure = {}
+ for (var i = 0; i <= (t.rest ? t.rest.length : 0); i++) {
+ var o = i ? t.rest[i - 1] : t.line,
+ l = void 0
+ ;(r.pos = 0),
+ (r.addToken = ns),
+ sr(e.display.measure) &&
+ (l = We(o, e.doc.direction)) &&
+ (r.addToken = os(r.addToken, l)),
+ (r.map = [])
+ var a = t != e.display.externalMeasured && f(o)
+ ls(o, r, mo(e, o, a)),
+ o.styleClasses &&
+ (o.styleClasses.bgClass &&
+ (r.bgClass = le(o.styleClasses.bgClass, r.bgClass || '')),
+ o.styleClasses.textClass &&
+ (r.textClass = le(o.styleClasses.textClass, r.textClass || ''))),
+ r.map.length == 0 && r.map.push(0, 0, r.content.appendChild(Wn(e.display.measure))),
+ i == 0
+ ? ((t.measure.map = r.map), (t.measure.cache = {}))
+ : ((t.measure.maps || (t.measure.maps = [])).push(r.map),
+ (t.measure.caches || (t.measure.caches = [])).push({}))
+ }
+ if (_) {
+ var s = r.content.lastChild
+ ;(/\bcm-tab\b/.test(s.className) ||
+ (s.querySelector && s.querySelector('.cm-tab'))) &&
+ (r.content.className = 'cm-tab-wrap-hack')
+ }
+ return (
+ Ye(e, 'renderLine', e, t.line, r.pre),
+ r.pre.className && (r.textClass = le(r.pre.className, r.textClass || '')),
+ r
+ )
+ }
+ function rs(e) {
+ var t = d('span', '•', 'cm-invalidchar')
+ return (
+ (t.title = '\\u' + e.charCodeAt(0).toString(16)),
+ t.setAttribute('aria-label', t.title),
+ t
+ )
+ }
+ function ns(e, t, n, r, i, o, l) {
+ if (t) {
+ var a = e.splitSpaces ? is(t, e.trailingSpace) : t,
+ s = e.cm.state.specialChars,
+ u = !1,
+ h
+ if (!s.test(t))
+ (e.col += t.length),
+ (h = document.createTextNode(a)),
+ e.map.push(e.pos, e.pos + t.length, h),
+ b && N < 9 && (u = !0),
+ (e.pos += t.length)
+ else {
+ h = document.createDocumentFragment()
+ for (var v = 0; ; ) {
+ s.lastIndex = v
+ var k = s.exec(t),
+ x = k ? k.index - v : t.length - v
+ if (x) {
+ var M = document.createTextNode(a.slice(v, v + x))
+ b && N < 9 ? h.appendChild(d('span', [M])) : h.appendChild(M),
+ e.map.push(e.pos, e.pos + x, M),
+ (e.col += x),
+ (e.pos += x)
+ }
+ if (!k) break
+ v += x + 1
+ var E = void 0
+ if (k[0] == ' ') {
+ var R = e.cm.options.tabSize,
+ U = R - (e.col % R)
+ ;(E = h.appendChild(d('span', et(U), 'cm-tab'))),
+ E.setAttribute('role', 'presentation'),
+ E.setAttribute('cm-text', ' '),
+ (e.col += U)
+ } else
+ k[0] == '\r' ||
+ k[0] ==
+ `
+`
+ ? ((E = h.appendChild(d('span', k[0] == '\r' ? '␍' : '', 'cm-invalidchar'))),
+ E.setAttribute('cm-text', k[0]),
+ (e.col += 1))
+ : ((E = e.cm.options.specialCharPlaceholder(k[0])),
+ E.setAttribute('cm-text', k[0]),
+ b && N < 9 ? h.appendChild(d('span', [E])) : h.appendChild(E),
+ (e.col += 1))
+ e.map.push(e.pos, e.pos + 1, E), e.pos++
+ }
+ }
+ if (
+ ((e.trailingSpace = a.charCodeAt(t.length - 1) == 32), n || r || i || u || o || l)
+ ) {
+ var Q = n || ''
+ r && (Q += r), i && (Q += i)
+ var G = d('span', [h], Q, o)
+ if (l)
+ for (var ee in l)
+ l.hasOwnProperty(ee) &&
+ ee != 'style' &&
+ ee != 'class' &&
+ G.setAttribute(ee, l[ee])
+ return e.content.appendChild(G)
+ }
+ e.content.appendChild(h)
+ }
+ }
+ function is(e, t) {
+ if (e.length > 1 && !/ /.test(e)) return e
+ for (var n = t, r = '', i = 0; i < e.length; i++) {
+ var o = e.charAt(i)
+ o == ' ' && n && (i == e.length - 1 || e.charCodeAt(i + 1) == 32) && (o = ' '),
+ (r += o),
+ (n = o == ' ')
+ }
+ return r
+ }
+ function os(e, t) {
+ return function (n, r, i, o, l, a, s) {
+ i = i ? i + ' cm-force-border' : 'cm-force-border'
+ for (var u = n.pos, h = u + r.length; ; ) {
+ for (
+ var v = void 0, k = 0;
+ k < t.length && ((v = t[k]), !(v.to > u && v.from <= u));
+ k++
+ );
+ if (v.to >= h) return e(n, r, i, o, l, a, s)
+ e(n, r.slice(0, v.to - u), i, o, null, a, s),
+ (o = null),
+ (r = r.slice(v.to - u)),
+ (u = v.to)
+ }
+ }
+ }
+ function Oo(e, t, n, r) {
+ var i = !r && n.widgetNode
+ i && e.map.push(e.pos, e.pos + t, i),
+ !r &&
+ e.cm.display.input.needsContentAttribute &&
+ (i || (i = e.content.appendChild(document.createElement('span'))),
+ i.setAttribute('cm-marker', n.id)),
+ i && (e.cm.display.input.setUneditable(i), e.content.appendChild(i)),
+ (e.pos += t),
+ (e.trailingSpace = !1)
+ }
+ function ls(e, t, n) {
+ var r = e.markedSpans,
+ i = e.text,
+ o = 0
+ if (!r) {
+ for (var l = 1; l < n.length; l += 2)
+ t.addToken(t, i.slice(o, (o = n[l])), Eo(n[l + 1], t.cm.options))
+ return
+ }
+ for (var a = i.length, s = 0, u = 1, h = '', v, k, x = 0, M, E, R, U, Q; ; ) {
+ if (x == s) {
+ ;(M = E = R = k = ''), (Q = null), (U = null), (x = 1 / 0)
+ for (var G = [], ee = void 0, me = 0; me < r.length; ++me) {
+ var pe = r[me],
+ Fe = pe.marker
+ if (Fe.type == 'bookmark' && pe.from == s && Fe.widgetNode) G.push(Fe)
+ else if (
+ pe.from <= s &&
+ (pe.to == null || pe.to > s || (Fe.collapsed && pe.to == s && pe.from == s))
+ ) {
+ if (
+ (pe.to != null && pe.to != s && x > pe.to && ((x = pe.to), (E = '')),
+ Fe.className && (M += ' ' + Fe.className),
+ Fe.css && (k = (k ? k + ';' : '') + Fe.css),
+ Fe.startStyle && pe.from == s && (R += ' ' + Fe.startStyle),
+ Fe.endStyle && pe.to == x && (ee || (ee = [])).push(Fe.endStyle, pe.to),
+ Fe.title && ((Q || (Q = {})).title = Fe.title),
+ Fe.attributes)
+ )
+ for (var Ke in Fe.attributes) (Q || (Q = {}))[Ke] = Fe.attributes[Ke]
+ Fe.collapsed && (!U || Si(U.marker, Fe) < 0) && (U = pe)
+ } else pe.from > s && x > pe.from && (x = pe.from)
+ }
+ if (ee)
+ for (var st = 0; st < ee.length; st += 2) ee[st + 1] == x && (E += ' ' + ee[st])
+ if (!U || U.from == s) for (var Xe = 0; Xe < G.length; ++Xe) Oo(t, 0, G[Xe])
+ if (U && (U.from || 0) == s) {
+ if (
+ (Oo(t, (U.to == null ? a + 1 : U.to) - s, U.marker, U.from == null),
+ U.to == null)
+ )
+ return
+ U.to == s && (U = !1)
+ }
+ }
+ if (s >= a) break
+ for (var Mt = Math.min(a, x); ; ) {
+ if (h) {
+ var wt = s + h.length
+ if (!U) {
+ var tt = wt > Mt ? h.slice(0, Mt - s) : h
+ t.addToken(t, tt, v ? v + M : M, R, s + tt.length == x ? E : '', k, Q)
+ }
+ if (wt >= Mt) {
+ ;(h = h.slice(Mt - s)), (s = Mt)
+ break
+ }
+ ;(s = wt), (R = '')
+ }
+ ;(h = i.slice(o, (o = n[u++]))), (v = Eo(n[u++], t.cm.options))
+ }
+ }
+ }
+ function Po(e, t, n) {
+ ;(this.line = t),
+ (this.rest = Qa(t)),
+ (this.size = this.rest ? f(ge(this.rest)) - n + 1 : 1),
+ (this.node = this.text = null),
+ (this.hidden = cr(e, t))
+ }
+ function Gn(e, t, n) {
+ for (var r = [], i, o = t; o < n; o = i) {
+ var l = new Po(e.doc, ce(e.doc, o), o)
+ ;(i = o + l.size), r.push(l)
+ }
+ return r
+ }
+ var Rr = null
+ function as(e) {
+ Rr ? Rr.ops.push(e) : (e.ownsGroup = Rr = { ops: [e], delayedCallbacks: [] })
+ }
+ function ss(e) {
+ var t = e.delayedCallbacks,
+ n = 0
+ do {
+ for (; n < t.length; n++) t[n].call(null)
+ for (var r = 0; r < e.ops.length; r++) {
+ var i = e.ops[r]
+ if (i.cursorActivityHandlers)
+ for (; i.cursorActivityCalled < i.cursorActivityHandlers.length; )
+ i.cursorActivityHandlers[i.cursorActivityCalled++].call(null, i.cm)
+ }
+ } while (n < t.length)
+ }
+ function us(e, t) {
+ var n = e.ownsGroup
+ if (n)
+ try {
+ ss(n)
+ } finally {
+ ;(Rr = null), t(n)
+ }
+ }
+ var dn = null
+ function ot(e, t) {
+ var n = Qt(e, t)
+ if (n.length) {
+ var r = Array.prototype.slice.call(arguments, 2),
+ i
+ Rr ? (i = Rr.delayedCallbacks) : dn ? (i = dn) : ((i = dn = []), setTimeout(fs, 0))
+ for (
+ var o = function (a) {
+ i.push(function () {
+ return n[a].apply(null, r)
+ })
+ },
+ l = 0;
+ l < n.length;
+ ++l
+ )
+ o(l)
+ }
+ }
+ function fs() {
+ var e = dn
+ dn = null
+ for (var t = 0; t < e.length; ++t) e[t]()
+ }
+ function Io(e, t, n, r) {
+ for (var i = 0; i < t.changes.length; i++) {
+ var o = t.changes[i]
+ o == 'text'
+ ? ds(e, t)
+ : o == 'gutter'
+ ? Bo(e, t, n, r)
+ : o == 'class'
+ ? Di(e, t)
+ : o == 'widget' && hs(e, t, r)
+ }
+ t.changes = null
+ }
+ function hn(e) {
+ return (
+ e.node == e.text &&
+ ((e.node = d('div', null, null, 'position: relative')),
+ e.text.parentNode && e.text.parentNode.replaceChild(e.node, e.text),
+ e.node.appendChild(e.text),
+ b && N < 8 && (e.node.style.zIndex = 2)),
+ e.node
+ )
+ }
+ function cs(e, t) {
+ var n = t.bgClass ? t.bgClass + ' ' + (t.line.bgClass || '') : t.line.bgClass
+ if ((n && (n += ' CodeMirror-linebackground'), t.background))
+ n
+ ? (t.background.className = n)
+ : (t.background.parentNode.removeChild(t.background), (t.background = null))
+ else if (n) {
+ var r = hn(t)
+ ;(t.background = r.insertBefore(d('div', null, n), r.firstChild)),
+ e.display.input.setUneditable(t.background)
+ }
+ }
+ function zo(e, t) {
+ var n = e.display.externalMeasured
+ return n && n.line == t.line
+ ? ((e.display.externalMeasured = null), (t.measure = n.measure), n.built)
+ : No(e, t)
+ }
+ function ds(e, t) {
+ var n = t.text.className,
+ r = zo(e, t)
+ t.text == t.node && (t.node = r.pre),
+ t.text.parentNode.replaceChild(r.pre, t.text),
+ (t.text = r.pre),
+ r.bgClass != t.bgClass || r.textClass != t.textClass
+ ? ((t.bgClass = r.bgClass), (t.textClass = r.textClass), Di(e, t))
+ : n && (t.text.className = n)
+ }
+ function Di(e, t) {
+ cs(e, t),
+ t.line.wrapClass
+ ? (hn(t).className = t.line.wrapClass)
+ : t.node != t.text && (t.node.className = '')
+ var n = t.textClass ? t.textClass + ' ' + (t.line.textClass || '') : t.line.textClass
+ t.text.className = n || ''
+ }
+ function Bo(e, t, n, r) {
+ if (
+ (t.gutter && (t.node.removeChild(t.gutter), (t.gutter = null)),
+ t.gutterBackground &&
+ (t.node.removeChild(t.gutterBackground), (t.gutterBackground = null)),
+ t.line.gutterClass)
+ ) {
+ var i = hn(t)
+ ;(t.gutterBackground = d(
+ 'div',
+ null,
+ 'CodeMirror-gutter-background ' + t.line.gutterClass,
+ 'left: ' +
+ (e.options.fixedGutter ? r.fixedPos : -r.gutterTotalWidth) +
+ 'px; width: ' +
+ r.gutterTotalWidth +
+ 'px'
+ )),
+ e.display.input.setUneditable(t.gutterBackground),
+ i.insertBefore(t.gutterBackground, t.text)
+ }
+ var o = t.line.gutterMarkers
+ if (e.options.lineNumbers || o) {
+ var l = hn(t),
+ a = (t.gutter = d(
+ 'div',
+ null,
+ 'CodeMirror-gutter-wrapper',
+ 'left: ' + (e.options.fixedGutter ? r.fixedPos : -r.gutterTotalWidth) + 'px'
+ ))
+ if (
+ (a.setAttribute('aria-hidden', 'true'),
+ e.display.input.setUneditable(a),
+ l.insertBefore(a, t.text),
+ t.line.gutterClass && (a.className += ' ' + t.line.gutterClass),
+ e.options.lineNumbers &&
+ (!o || !o['CodeMirror-linenumbers']) &&
+ (t.lineNumber = a.appendChild(
+ d(
+ 'div',
+ W(e.options, n),
+ 'CodeMirror-linenumber CodeMirror-gutter-elt',
+ 'left: ' +
+ r.gutterLeft['CodeMirror-linenumbers'] +
+ 'px; width: ' +
+ e.display.lineNumInnerWidth +
+ 'px'
+ )
+ )),
+ o)
+ )
+ for (var s = 0; s < e.display.gutterSpecs.length; ++s) {
+ var u = e.display.gutterSpecs[s].className,
+ h = o.hasOwnProperty(u) && o[u]
+ h &&
+ a.appendChild(
+ d(
+ 'div',
+ [h],
+ 'CodeMirror-gutter-elt',
+ 'left: ' + r.gutterLeft[u] + 'px; width: ' + r.gutterWidth[u] + 'px'
+ )
+ )
+ }
+ }
+ }
+ function hs(e, t, n) {
+ t.alignable && (t.alignable = null)
+ for (var r = H('CodeMirror-linewidget'), i = t.node.firstChild, o = void 0; i; i = o)
+ (o = i.nextSibling), r.test(i.className) && t.node.removeChild(i)
+ Wo(e, t, n)
+ }
+ function ps(e, t, n, r) {
+ var i = zo(e, t)
+ return (
+ (t.text = t.node = i.pre),
+ i.bgClass && (t.bgClass = i.bgClass),
+ i.textClass && (t.textClass = i.textClass),
+ Di(e, t),
+ Bo(e, t, n, r),
+ Wo(e, t, r),
+ t.node
+ )
+ }
+ function Wo(e, t, n) {
+ if ((_o(e, t.line, t, n, !0), t.rest))
+ for (var r = 0; r < t.rest.length; r++) _o(e, t.rest[r], t, n, !1)
+ }
+ function _o(e, t, n, r, i) {
+ if (t.widgets)
+ for (var o = hn(n), l = 0, a = t.widgets; l < a.length; ++l) {
+ var s = a[l],
+ u = d(
+ 'div',
+ [s.node],
+ 'CodeMirror-linewidget' + (s.className ? ' ' + s.className : '')
+ )
+ s.handleMouseEvents || u.setAttribute('cm-ignore-events', 'true'),
+ gs(s, u, n, r),
+ e.display.input.setUneditable(u),
+ i && s.above ? o.insertBefore(u, n.gutter || n.text) : o.appendChild(u),
+ ot(s, 'redraw')
+ }
+ }
+ function gs(e, t, n, r) {
+ if (e.noHScroll) {
+ ;(n.alignable || (n.alignable = [])).push(t)
+ var i = r.wrapperWidth
+ ;(t.style.left = r.fixedPos + 'px'),
+ e.coverGutter ||
+ ((i -= r.gutterTotalWidth), (t.style.paddingLeft = r.gutterTotalWidth + 'px')),
+ (t.style.width = i + 'px')
+ }
+ e.coverGutter &&
+ ((t.style.zIndex = 5),
+ (t.style.position = 'relative'),
+ e.noHScroll || (t.style.marginLeft = -r.gutterTotalWidth + 'px'))
+ }
+ function pn(e) {
+ if (e.height != null) return e.height
+ var t = e.doc.cm
+ if (!t) return 0
+ if (!m(document.body, e.node)) {
+ var n = 'position: relative;'
+ e.coverGutter && (n += 'margin-left: -' + t.display.gutters.offsetWidth + 'px;'),
+ e.noHScroll && (n += 'width: ' + t.display.wrapper.clientWidth + 'px;'),
+ J(t.display.measure, d('div', [e.node], null, n))
+ }
+ return (e.height = e.node.parentNode.offsetHeight)
+ }
+ function tr(e, t) {
+ for (var n = ln(t); n != e.wrapper; n = n.parentNode)
+ if (
+ !n ||
+ (n.nodeType == 1 && n.getAttribute('cm-ignore-events') == 'true') ||
+ (n.parentNode == e.sizer && n != e.mover)
+ )
+ return !0
+ }
+ function Xn(e) {
+ return e.lineSpace.offsetTop
+ }
+ function Mi(e) {
+ return e.mover.offsetHeight - e.lineSpace.offsetHeight
+ }
+ function Ho(e) {
+ if (e.cachedPaddingH) return e.cachedPaddingH
+ var t = J(e.measure, d('pre', 'x', 'CodeMirror-line-like')),
+ n = window.getComputedStyle ? window.getComputedStyle(t) : t.currentStyle,
+ r = { left: parseInt(n.paddingLeft), right: parseInt(n.paddingRight) }
+ return !isNaN(r.left) && !isNaN(r.right) && (e.cachedPaddingH = r), r
+ }
+ function Yt(e) {
+ return Ne - e.display.nativeBarWidth
+ }
+ function wr(e) {
+ return e.display.scroller.clientWidth - Yt(e) - e.display.barWidth
+ }
+ function Fi(e) {
+ return e.display.scroller.clientHeight - Yt(e) - e.display.barHeight
+ }
+ function vs(e, t, n) {
+ var r = e.options.lineWrapping,
+ i = r && wr(e)
+ if (!t.measure.heights || (r && t.measure.width != i)) {
+ var o = (t.measure.heights = [])
+ if (r) {
+ t.measure.width = i
+ for (var l = t.text.firstChild.getClientRects(), a = 0; a < l.length - 1; a++) {
+ var s = l[a],
+ u = l[a + 1]
+ Math.abs(s.bottom - u.bottom) > 2 && o.push((s.bottom + u.top) / 2 - n.top)
+ }
+ }
+ o.push(n.bottom - n.top)
+ }
+ }
+ function Ro(e, t, n) {
+ if (e.line == t) return { map: e.measure.map, cache: e.measure.cache }
+ if (e.rest) {
+ for (var r = 0; r < e.rest.length; r++)
+ if (e.rest[r] == t) return { map: e.measure.maps[r], cache: e.measure.caches[r] }
+ for (var i = 0; i < e.rest.length; i++)
+ if (f(e.rest[i]) > n)
+ return { map: e.measure.maps[i], cache: e.measure.caches[i], before: !0 }
+ }
+ }
+ function ms(e, t) {
+ t = qt(t)
+ var n = f(t),
+ r = (e.display.externalMeasured = new Po(e.doc, t, n))
+ r.lineN = n
+ var i = (r.built = No(e, r))
+ return (r.text = i.pre), J(e.display.lineMeasure, i.pre), r
+ }
+ function qo(e, t, n, r) {
+ return Zt(e, qr(e, t), n, r)
+ }
+ function Ai(e, t) {
+ if (t >= e.display.viewFrom && t < e.display.viewTo) return e.display.view[Lr(e, t)]
+ var n = e.display.externalMeasured
+ if (n && t >= n.lineN && t < n.lineN + n.size) return n
+ }
+ function qr(e, t) {
+ var n = f(t),
+ r = Ai(e, n)
+ r && !r.text
+ ? (r = null)
+ : r && r.changes && (Io(e, r, n, Ii(e)), (e.curOp.forceUpdate = !0)),
+ r || (r = ms(e, t))
+ var i = Ro(r, t, n)
+ return {
+ line: t,
+ view: r,
+ rect: null,
+ map: i.map,
+ cache: i.cache,
+ before: i.before,
+ hasHeights: !1,
+ }
+ }
+ function Zt(e, t, n, r, i) {
+ t.before && (n = -1)
+ var o = n + (r || ''),
+ l
+ return (
+ t.cache.hasOwnProperty(o)
+ ? (l = t.cache[o])
+ : (t.rect || (t.rect = t.view.text.getBoundingClientRect()),
+ t.hasHeights || (vs(e, t.view, t.rect), (t.hasHeights = !0)),
+ (l = xs(e, t, n, r)),
+ l.bogus || (t.cache[o] = l)),
+ {
+ left: l.left,
+ right: l.right,
+ top: i ? l.rtop : l.top,
+ bottom: i ? l.rbottom : l.bottom,
+ }
+ )
+ }
+ var jo = { left: 0, right: 0, top: 0, bottom: 0 }
+ function Ko(e, t, n) {
+ for (var r, i, o, l, a, s, u = 0; u < e.length; u += 3)
+ if (
+ ((a = e[u]),
+ (s = e[u + 1]),
+ t < a
+ ? ((i = 0), (o = 1), (l = 'left'))
+ : t < s
+ ? ((i = t - a), (o = i + 1))
+ : (u == e.length - 3 || (t == s && e[u + 3] > t)) &&
+ ((o = s - a), (i = o - 1), t >= s && (l = 'right')),
+ i != null)
+ ) {
+ if (
+ ((r = e[u + 2]),
+ a == s && n == (r.insertLeft ? 'left' : 'right') && (l = n),
+ n == 'left' && i == 0)
+ )
+ for (; u && e[u - 2] == e[u - 3] && e[u - 1].insertLeft; )
+ (r = e[(u -= 3) + 2]), (l = 'left')
+ if (n == 'right' && i == s - a)
+ for (; u < e.length - 3 && e[u + 3] == e[u + 4] && !e[u + 5].insertLeft; )
+ (r = e[(u += 3) + 2]), (l = 'right')
+ break
+ }
+ return { node: r, start: i, end: o, collapse: l, coverStart: a, coverEnd: s }
+ }
+ function ys(e, t) {
+ var n = jo
+ if (t == 'left') for (var r = 0; r < e.length && (n = e[r]).left == n.right; r++);
+ else for (var i = e.length - 1; i >= 0 && (n = e[i]).left == n.right; i--);
+ return n
+ }
+ function xs(e, t, n, r) {
+ var i = Ko(t.map, n, r),
+ o = i.node,
+ l = i.start,
+ a = i.end,
+ s = i.collapse,
+ u
+ if (o.nodeType == 3) {
+ for (var h = 0; h < 4; h++) {
+ for (; l && Me(t.line.text.charAt(i.coverStart + l)); ) --l
+ for (; i.coverStart + a < i.coverEnd && Me(t.line.text.charAt(i.coverStart + a)); )
+ ++a
+ if (
+ (b && N < 9 && l == 0 && a == i.coverEnd - i.coverStart
+ ? (u = o.parentNode.getBoundingClientRect())
+ : (u = ys(w(o, l, a).getClientRects(), r)),
+ u.left || u.right || l == 0)
+ )
+ break
+ ;(a = l), (l = l - 1), (s = 'right')
+ }
+ b && N < 11 && (u = bs(e.display.measure, u))
+ } else {
+ l > 0 && (s = r = 'right')
+ var v
+ e.options.lineWrapping && (v = o.getClientRects()).length > 1
+ ? (u = v[r == 'right' ? v.length - 1 : 0])
+ : (u = o.getBoundingClientRect())
+ }
+ if (b && N < 9 && !l && (!u || (!u.left && !u.right))) {
+ var k = o.parentNode.getClientRects()[0]
+ k
+ ? (u = {
+ left: k.left,
+ right: k.left + Kr(e.display),
+ top: k.top,
+ bottom: k.bottom,
+ })
+ : (u = jo)
+ }
+ for (
+ var x = u.top - t.rect.top,
+ M = u.bottom - t.rect.top,
+ E = (x + M) / 2,
+ R = t.view.measure.heights,
+ U = 0;
+ U < R.length - 1 && !(E < R[U]);
+ U++
+ );
+ var Q = U ? R[U - 1] : 0,
+ G = R[U],
+ ee = {
+ left: (s == 'right' ? u.right : u.left) - t.rect.left,
+ right: (s == 'left' ? u.left : u.right) - t.rect.left,
+ top: Q,
+ bottom: G,
+ }
+ return (
+ !u.left && !u.right && (ee.bogus = !0),
+ e.options.singleCursorHeightPerLine || ((ee.rtop = x), (ee.rbottom = M)),
+ ee
+ )
+ }
+ function bs(e, t) {
+ if (
+ !window.screen ||
+ screen.logicalXDPI == null ||
+ screen.logicalXDPI == screen.deviceXDPI ||
+ !xi(e)
+ )
+ return t
+ var n = screen.logicalXDPI / screen.deviceXDPI,
+ r = screen.logicalYDPI / screen.deviceYDPI
+ return { left: t.left * n, right: t.right * n, top: t.top * r, bottom: t.bottom * r }
+ }
+ function Uo(e) {
+ if (e.measure && ((e.measure.cache = {}), (e.measure.heights = null), e.rest))
+ for (var t = 0; t < e.rest.length; t++) e.measure.caches[t] = {}
+ }
+ function Go(e) {
+ ;(e.display.externalMeasure = null), D(e.display.lineMeasure)
+ for (var t = 0; t < e.display.view.length; t++) Uo(e.display.view[t])
+ }
+ function gn(e) {
+ Go(e),
+ (e.display.cachedCharWidth =
+ e.display.cachedTextHeight =
+ e.display.cachedPaddingH =
+ null),
+ e.options.lineWrapping || (e.display.maxLineChanged = !0),
+ (e.display.lineNumChars = null)
+ }
+ function Xo(e) {
+ return O && re
+ ? -(
+ e.body.getBoundingClientRect().left -
+ parseInt(getComputedStyle(e.body).marginLeft)
+ )
+ : e.defaultView.pageXOffset || (e.documentElement || e.body).scrollLeft
+ }
+ function Yo(e) {
+ return O && re
+ ? -(e.body.getBoundingClientRect().top - parseInt(getComputedStyle(e.body).marginTop))
+ : e.defaultView.pageYOffset || (e.documentElement || e.body).scrollTop
+ }
+ function Ei(e) {
+ var t = qt(e),
+ n = t.widgets,
+ r = 0
+ if (n) for (var i = 0; i < n.length; ++i) n[i].above && (r += pn(n[i]))
+ return r
+ }
+ function Yn(e, t, n, r, i) {
+ if (!i) {
+ var o = Ei(t)
+ ;(n.top += o), (n.bottom += o)
+ }
+ if (r == 'line') return n
+ r || (r = 'local')
+ var l = er(t)
+ if (
+ (r == 'local' ? (l += Xn(e.display)) : (l -= e.display.viewOffset),
+ r == 'page' || r == 'window')
+ ) {
+ var a = e.display.lineSpace.getBoundingClientRect()
+ l += a.top + (r == 'window' ? 0 : Yo(c(e)))
+ var s = a.left + (r == 'window' ? 0 : Xo(c(e)))
+ ;(n.left += s), (n.right += s)
+ }
+ return (n.top += l), (n.bottom += l), n
+ }
+ function Zo(e, t, n) {
+ if (n == 'div') return t
+ var r = t.left,
+ i = t.top
+ if (n == 'page') (r -= Xo(c(e))), (i -= Yo(c(e)))
+ else if (n == 'local' || !n) {
+ var o = e.display.sizer.getBoundingClientRect()
+ ;(r += o.left), (i += o.top)
+ }
+ var l = e.display.lineSpace.getBoundingClientRect()
+ return { left: r - l.left, top: i - l.top }
+ }
+ function Zn(e, t, n, r, i) {
+ return r || (r = ce(e.doc, t.line)), Yn(e, r, qo(e, r, t.ch, i), n)
+ }
+ function jt(e, t, n, r, i, o) {
+ ;(r = r || ce(e.doc, t.line)), i || (i = qr(e, r))
+ function l(M, E) {
+ var R = Zt(e, i, M, E ? 'right' : 'left', o)
+ return E ? (R.left = R.right) : (R.right = R.left), Yn(e, r, R, n)
+ }
+ var a = We(r, e.doc.direction),
+ s = t.ch,
+ u = t.sticky
+ if (
+ (s >= r.text.length
+ ? ((s = r.text.length), (u = 'before'))
+ : s <= 0 && ((s = 0), (u = 'after')),
+ !a)
+ )
+ return l(u == 'before' ? s - 1 : s, u == 'before')
+ function h(M, E, R) {
+ var U = a[E],
+ Q = U.level == 1
+ return l(R ? M - 1 : M, Q != R)
+ }
+ var v = lr(a, s, u),
+ k = br,
+ x = h(s, v, u == 'before')
+ return k != null && (x.other = h(s, k, u != 'before')), x
+ }
+ function Jo(e, t) {
+ var n = 0
+ ;(t = Ce(e.doc, t)), e.options.lineWrapping || (n = Kr(e.display) * t.ch)
+ var r = ce(e.doc, t.line),
+ i = er(r) + Xn(e.display)
+ return { left: n, right: n, top: i, bottom: i + r.height }
+ }
+ function Ni(e, t, n, r, i) {
+ var o = L(e, t, n)
+ return (o.xRel = i), r && (o.outside = r), o
+ }
+ function Oi(e, t, n) {
+ var r = e.doc
+ if (((n += e.display.viewOffset), n < 0)) return Ni(r.first, 0, null, -1, -1)
+ var i = g(r, n),
+ o = r.first + r.size - 1
+ if (i > o) return Ni(r.first + r.size - 1, ce(r, o).text.length, null, 1, 1)
+ t < 0 && (t = 0)
+ for (var l = ce(r, i); ; ) {
+ var a = ks(e, l, i, t, n),
+ s = Za(l, a.ch + (a.xRel > 0 || a.outside > 0 ? 1 : 0))
+ if (!s) return a
+ var u = s.find(1)
+ if (u.line == i) return u
+ l = ce(r, (i = u.line))
+ }
+ }
+ function Qo(e, t, n, r) {
+ r -= Ei(t)
+ var i = t.text.length,
+ o = Nt(
+ function (l) {
+ return Zt(e, n, l - 1).bottom <= r
+ },
+ i,
+ 0
+ )
+ return (
+ (i = Nt(
+ function (l) {
+ return Zt(e, n, l).top > r
+ },
+ o,
+ i
+ )),
+ { begin: o, end: i }
+ )
+ }
+ function Vo(e, t, n, r) {
+ n || (n = qr(e, t))
+ var i = Yn(e, t, Zt(e, n, r), 'line').top
+ return Qo(e, t, n, i)
+ }
+ function Pi(e, t, n, r) {
+ return e.bottom <= n ? !1 : e.top > n ? !0 : (r ? e.left : e.right) > t
+ }
+ function ks(e, t, n, r, i) {
+ i -= er(t)
+ var o = qr(e, t),
+ l = Ei(t),
+ a = 0,
+ s = t.text.length,
+ u = !0,
+ h = We(t, e.doc.direction)
+ if (h) {
+ var v = (e.options.lineWrapping ? Ss : ws)(e, t, n, o, h, r, i)
+ ;(u = v.level != 1), (a = u ? v.from : v.to - 1), (s = u ? v.to : v.from - 1)
+ }
+ var k = null,
+ x = null,
+ M = Nt(
+ function (me) {
+ var pe = Zt(e, o, me)
+ return (
+ (pe.top += l),
+ (pe.bottom += l),
+ Pi(pe, r, i, !1)
+ ? (pe.top <= i && pe.left <= r && ((k = me), (x = pe)), !0)
+ : !1
+ )
+ },
+ a,
+ s
+ ),
+ E,
+ R,
+ U = !1
+ if (x) {
+ var Q = r - x.left < x.right - r,
+ G = Q == u
+ ;(M = k + (G ? 0 : 1)), (R = G ? 'after' : 'before'), (E = Q ? x.left : x.right)
+ } else {
+ !u && (M == s || M == a) && M++,
+ (R =
+ M == 0
+ ? 'after'
+ : M == t.text.length
+ ? 'before'
+ : Zt(e, o, M - (u ? 1 : 0)).bottom + l <= i == u
+ ? 'after'
+ : 'before')
+ var ee = jt(e, L(n, M, R), 'line', t, o)
+ ;(E = ee.left), (U = i < ee.top ? -1 : i >= ee.bottom ? 1 : 0)
+ }
+ return (M = Lt(t.text, M, 1)), Ni(n, M, R, U, r - E)
+ }
+ function ws(e, t, n, r, i, o, l) {
+ var a = Nt(
+ function (v) {
+ var k = i[v],
+ x = k.level != 1
+ return Pi(
+ jt(e, L(n, x ? k.to : k.from, x ? 'before' : 'after'), 'line', t, r),
+ o,
+ l,
+ !0
+ )
+ },
+ 0,
+ i.length - 1
+ ),
+ s = i[a]
+ if (a > 0) {
+ var u = s.level != 1,
+ h = jt(e, L(n, u ? s.from : s.to, u ? 'after' : 'before'), 'line', t, r)
+ Pi(h, o, l, !0) && h.top > l && (s = i[a - 1])
+ }
+ return s
+ }
+ function Ss(e, t, n, r, i, o, l) {
+ var a = Qo(e, t, r, l),
+ s = a.begin,
+ u = a.end
+ ;/\s/.test(t.text.charAt(u - 1)) && u--
+ for (var h = null, v = null, k = 0; k < i.length; k++) {
+ var x = i[k]
+ if (!(x.from >= u || x.to <= s)) {
+ var M = x.level != 1,
+ E = Zt(e, r, M ? Math.min(u, x.to) - 1 : Math.max(s, x.from)).right,
+ R = E < o ? o - E + 1e9 : E - o
+ ;(!h || v > R) && ((h = x), (v = R))
+ }
+ }
+ return (
+ h || (h = i[i.length - 1]),
+ h.from < s && (h = { from: s, to: h.to, level: h.level }),
+ h.to > u && (h = { from: h.from, to: u, level: h.level }),
+ h
+ )
+ }
+ var Sr
+ function jr(e) {
+ if (e.cachedTextHeight != null) return e.cachedTextHeight
+ if (Sr == null) {
+ Sr = d('pre', null, 'CodeMirror-line-like')
+ for (var t = 0; t < 49; ++t)
+ Sr.appendChild(document.createTextNode('x')), Sr.appendChild(d('br'))
+ Sr.appendChild(document.createTextNode('x'))
+ }
+ J(e.measure, Sr)
+ var n = Sr.offsetHeight / 50
+ return n > 3 && (e.cachedTextHeight = n), D(e.measure), n || 1
+ }
+ function Kr(e) {
+ if (e.cachedCharWidth != null) return e.cachedCharWidth
+ var t = d('span', 'xxxxxxxxxx'),
+ n = d('pre', [t], 'CodeMirror-line-like')
+ J(e.measure, n)
+ var r = t.getBoundingClientRect(),
+ i = (r.right - r.left) / 10
+ return i > 2 && (e.cachedCharWidth = i), i || 10
+ }
+ function Ii(e) {
+ for (
+ var t = e.display,
+ n = {},
+ r = {},
+ i = t.gutters.clientLeft,
+ o = t.gutters.firstChild,
+ l = 0;
+ o;
+ o = o.nextSibling, ++l
+ ) {
+ var a = e.display.gutterSpecs[l].className
+ ;(n[a] = o.offsetLeft + o.clientLeft + i), (r[a] = o.clientWidth)
+ }
+ return {
+ fixedPos: zi(t),
+ gutterTotalWidth: t.gutters.offsetWidth,
+ gutterLeft: n,
+ gutterWidth: r,
+ wrapperWidth: t.wrapper.clientWidth,
+ }
+ }
+ function zi(e) {
+ return e.scroller.getBoundingClientRect().left - e.sizer.getBoundingClientRect().left
+ }
+ function $o(e) {
+ var t = jr(e.display),
+ n = e.options.lineWrapping,
+ r = n && Math.max(5, e.display.scroller.clientWidth / Kr(e.display) - 3)
+ return function (i) {
+ if (cr(e.doc, i)) return 0
+ var o = 0
+ if (i.widgets)
+ for (var l = 0; l < i.widgets.length; l++)
+ i.widgets[l].height && (o += i.widgets[l].height)
+ return n ? o + (Math.ceil(i.text.length / r) || 1) * t : o + t
+ }
+ }
+ function Bi(e) {
+ var t = e.doc,
+ n = $o(e)
+ t.iter(function (r) {
+ var i = n(r)
+ i != r.height && Ft(r, i)
+ })
+ }
+ function Tr(e, t, n, r) {
+ var i = e.display
+ if (!n && ln(t).getAttribute('cm-not-content') == 'true') return null
+ var o,
+ l,
+ a = i.lineSpace.getBoundingClientRect()
+ try {
+ ;(o = t.clientX - a.left), (l = t.clientY - a.top)
+ } catch {
+ return null
+ }
+ var s = Oi(e, o, l),
+ u
+ if (r && s.xRel > 0 && (u = ce(e.doc, s.line).text).length == s.ch) {
+ var h = Le(u, u.length, e.options.tabSize) - u.length
+ s = L(s.line, Math.max(0, Math.round((o - Ho(e.display).left) / Kr(e.display)) - h))
+ }
+ return s
+ }
+ function Lr(e, t) {
+ if (t >= e.display.viewTo || ((t -= e.display.viewFrom), t < 0)) return null
+ for (var n = e.display.view, r = 0; r < n.length; r++)
+ if (((t -= n[r].size), t < 0)) return r
+ }
+ function bt(e, t, n, r) {
+ t == null && (t = e.doc.first),
+ n == null && (n = e.doc.first + e.doc.size),
+ r || (r = 0)
+ var i = e.display
+ if (
+ (r &&
+ n < i.viewTo &&
+ (i.updateLineNumbers == null || i.updateLineNumbers > t) &&
+ (i.updateLineNumbers = t),
+ (e.curOp.viewChanged = !0),
+ t >= i.viewTo)
+ )
+ $t && Ti(e.doc, t) < i.viewTo && hr(e)
+ else if (n <= i.viewFrom)
+ $t && Ao(e.doc, n + r) > i.viewFrom ? hr(e) : ((i.viewFrom += r), (i.viewTo += r))
+ else if (t <= i.viewFrom && n >= i.viewTo) hr(e)
+ else if (t <= i.viewFrom) {
+ var o = Jn(e, n, n + r, 1)
+ o
+ ? ((i.view = i.view.slice(o.index)), (i.viewFrom = o.lineN), (i.viewTo += r))
+ : hr(e)
+ } else if (n >= i.viewTo) {
+ var l = Jn(e, t, t, -1)
+ l ? ((i.view = i.view.slice(0, l.index)), (i.viewTo = l.lineN)) : hr(e)
+ } else {
+ var a = Jn(e, t, t, -1),
+ s = Jn(e, n, n + r, 1)
+ a && s
+ ? ((i.view = i.view
+ .slice(0, a.index)
+ .concat(Gn(e, a.lineN, s.lineN))
+ .concat(i.view.slice(s.index))),
+ (i.viewTo += r))
+ : hr(e)
+ }
+ var u = i.externalMeasured
+ u &&
+ (n < u.lineN ? (u.lineN += r) : t < u.lineN + u.size && (i.externalMeasured = null))
+ }
+ function dr(e, t, n) {
+ e.curOp.viewChanged = !0
+ var r = e.display,
+ i = e.display.externalMeasured
+ if (
+ (i && t >= i.lineN && t < i.lineN + i.size && (r.externalMeasured = null),
+ !(t < r.viewFrom || t >= r.viewTo))
+ ) {
+ var o = r.view[Lr(e, t)]
+ if (o.node != null) {
+ var l = o.changes || (o.changes = [])
+ oe(l, n) == -1 && l.push(n)
+ }
+ }
+ }
+ function hr(e) {
+ ;(e.display.viewFrom = e.display.viewTo = e.doc.first),
+ (e.display.view = []),
+ (e.display.viewOffset = 0)
+ }
+ function Jn(e, t, n, r) {
+ var i = Lr(e, t),
+ o,
+ l = e.display.view
+ if (!$t || n == e.doc.first + e.doc.size) return { index: i, lineN: n }
+ for (var a = e.display.viewFrom, s = 0; s < i; s++) a += l[s].size
+ if (a != t) {
+ if (r > 0) {
+ if (i == l.length - 1) return null
+ ;(o = a + l[i].size - t), i++
+ } else o = a - t
+ ;(t += o), (n += o)
+ }
+ for (; Ti(e.doc, n) != n; ) {
+ if (i == (r < 0 ? 0 : l.length - 1)) return null
+ ;(n += r * l[i - (r < 0 ? 1 : 0)].size), (i += r)
+ }
+ return { index: i, lineN: n }
+ }
+ function Ts(e, t, n) {
+ var r = e.display,
+ i = r.view
+ i.length == 0 || t >= r.viewTo || n <= r.viewFrom
+ ? ((r.view = Gn(e, t, n)), (r.viewFrom = t))
+ : (r.viewFrom > t
+ ? (r.view = Gn(e, t, r.viewFrom).concat(r.view))
+ : r.viewFrom < t && (r.view = r.view.slice(Lr(e, t))),
+ (r.viewFrom = t),
+ r.viewTo < n
+ ? (r.view = r.view.concat(Gn(e, r.viewTo, n)))
+ : r.viewTo > n && (r.view = r.view.slice(0, Lr(e, n)))),
+ (r.viewTo = n)
+ }
+ function el(e) {
+ for (var t = e.display.view, n = 0, r = 0; r < t.length; r++) {
+ var i = t[r]
+ !i.hidden && (!i.node || i.changes) && ++n
+ }
+ return n
+ }
+ function vn(e) {
+ e.display.input.showSelection(e.display.input.prepareSelection())
+ }
+ function tl(e, t) {
+ t === void 0 && (t = !0)
+ var n = e.doc,
+ r = {},
+ i = (r.cursors = document.createDocumentFragment()),
+ o = (r.selection = document.createDocumentFragment()),
+ l = e.options.$customCursor
+ l && (t = !0)
+ for (var a = 0; a < n.sel.ranges.length; a++)
+ if (!(!t && a == n.sel.primIndex)) {
+ var s = n.sel.ranges[a]
+ if (!(s.from().line >= e.display.viewTo || s.to().line < e.display.viewFrom)) {
+ var u = s.empty()
+ if (l) {
+ var h = l(e, s)
+ h && Wi(e, h, i)
+ } else (u || e.options.showCursorWhenSelecting) && Wi(e, s.head, i)
+ u || Ls(e, s, o)
+ }
+ }
+ return r
+ }
+ function Wi(e, t, n) {
+ var r = jt(e, t, 'div', null, null, !e.options.singleCursorHeightPerLine),
+ i = n.appendChild(d('div', ' ', 'CodeMirror-cursor'))
+ if (
+ ((i.style.left = r.left + 'px'),
+ (i.style.top = r.top + 'px'),
+ (i.style.height = Math.max(0, r.bottom - r.top) * e.options.cursorHeight + 'px'),
+ /\bcm-fat-cursor\b/.test(e.getWrapperElement().className))
+ ) {
+ var o = Zn(e, t, 'div', null, null),
+ l = o.right - o.left
+ i.style.width = (l > 0 ? l : e.defaultCharWidth()) + 'px'
+ }
+ if (r.other) {
+ var a = n.appendChild(d('div', ' ', 'CodeMirror-cursor CodeMirror-secondarycursor'))
+ ;(a.style.display = ''),
+ (a.style.left = r.other.left + 'px'),
+ (a.style.top = r.other.top + 'px'),
+ (a.style.height = (r.other.bottom - r.other.top) * 0.85 + 'px')
+ }
+ }
+ function Qn(e, t) {
+ return e.top - t.top || e.left - t.left
+ }
+ function Ls(e, t, n) {
+ var r = e.display,
+ i = e.doc,
+ o = document.createDocumentFragment(),
+ l = Ho(e.display),
+ a = l.left,
+ s = Math.max(r.sizerWidth, wr(e) - r.sizer.offsetLeft) - l.right,
+ u = i.direction == 'ltr'
+ function h(G, ee, me, pe) {
+ ee < 0 && (ee = 0),
+ (ee = Math.round(ee)),
+ (pe = Math.round(pe)),
+ o.appendChild(
+ d(
+ 'div',
+ null,
+ 'CodeMirror-selected',
+ 'position: absolute; left: ' +
+ G +
+ `px;
+ top: ` +
+ ee +
+ 'px; width: ' +
+ (me ?? s - G) +
+ `px;
+ height: ` +
+ (pe - ee) +
+ 'px'
+ )
+ )
+ }
+ function v(G, ee, me) {
+ var pe = ce(i, G),
+ Fe = pe.text.length,
+ Ke,
+ st
+ function Xe(tt, St) {
+ return Zn(e, L(G, tt), 'div', pe, St)
+ }
+ function Mt(tt, St, ft) {
+ var nt = Vo(e, pe, null, tt),
+ rt = (St == 'ltr') == (ft == 'after') ? 'left' : 'right',
+ Qe =
+ ft == 'after'
+ ? nt.begin
+ : nt.end - (/\s/.test(pe.text.charAt(nt.end - 1)) ? 2 : 1)
+ return Xe(Qe, rt)[rt]
+ }
+ var wt = We(pe, i.direction)
+ return (
+ or(wt, ee || 0, me ?? Fe, function (tt, St, ft, nt) {
+ var rt = ft == 'ltr',
+ Qe = Xe(tt, rt ? 'left' : 'right'),
+ Tt = Xe(St - 1, rt ? 'right' : 'left'),
+ nn = ee == null && tt == 0,
+ xr = me == null && St == Fe,
+ gt = nt == 0,
+ Jt = !wt || nt == wt.length - 1
+ if (Tt.top - Qe.top <= 3) {
+ var ut = (u ? nn : xr) && gt,
+ co = (u ? xr : nn) && Jt,
+ ir = ut ? a : (rt ? Qe : Tt).left,
+ Ar = co ? s : (rt ? Tt : Qe).right
+ h(ir, Qe.top, Ar - ir, Qe.bottom)
+ } else {
+ var Er, mt, on, ho
+ rt
+ ? ((Er = u && nn && gt ? a : Qe.left),
+ (mt = u ? s : Mt(tt, ft, 'before')),
+ (on = u ? a : Mt(St, ft, 'after')),
+ (ho = u && xr && Jt ? s : Tt.right))
+ : ((Er = u ? Mt(tt, ft, 'before') : a),
+ (mt = !u && nn && gt ? s : Qe.right),
+ (on = !u && xr && Jt ? a : Tt.left),
+ (ho = u ? Mt(St, ft, 'after') : s)),
+ h(Er, Qe.top, mt - Er, Qe.bottom),
+ Qe.bottom < Tt.top && h(a, Qe.bottom, null, Tt.top),
+ h(on, Tt.top, ho - on, Tt.bottom)
+ }
+ ;(!Ke || Qn(Qe, Ke) < 0) && (Ke = Qe),
+ Qn(Tt, Ke) < 0 && (Ke = Tt),
+ (!st || Qn(Qe, st) < 0) && (st = Qe),
+ Qn(Tt, st) < 0 && (st = Tt)
+ }),
+ { start: Ke, end: st }
+ )
+ }
+ var k = t.from(),
+ x = t.to()
+ if (k.line == x.line) v(k.line, k.ch, x.ch)
+ else {
+ var M = ce(i, k.line),
+ E = ce(i, x.line),
+ R = qt(M) == qt(E),
+ U = v(k.line, k.ch, R ? M.text.length + 1 : null).end,
+ Q = v(x.line, R ? 0 : null, x.ch).start
+ R &&
+ (U.top < Q.top - 2
+ ? (h(U.right, U.top, null, U.bottom), h(a, Q.top, Q.left, Q.bottom))
+ : h(U.right, U.top, Q.left - U.right, U.bottom)),
+ U.bottom < Q.top && h(a, U.bottom, null, Q.top)
+ }
+ n.appendChild(o)
+ }
+ function _i(e) {
+ if (e.state.focused) {
+ var t = e.display
+ clearInterval(t.blinker)
+ var n = !0
+ ;(t.cursorDiv.style.visibility = ''),
+ e.options.cursorBlinkRate > 0
+ ? (t.blinker = setInterval(function () {
+ e.hasFocus() || Ur(e),
+ (t.cursorDiv.style.visibility = (n = !n) ? '' : 'hidden')
+ }, e.options.cursorBlinkRate))
+ : e.options.cursorBlinkRate < 0 && (t.cursorDiv.style.visibility = 'hidden')
+ }
+ }
+ function rl(e) {
+ e.hasFocus() || (e.display.input.focus(), e.state.focused || Ri(e))
+ }
+ function Hi(e) {
+ ;(e.state.delayingBlurEvent = !0),
+ setTimeout(function () {
+ e.state.delayingBlurEvent &&
+ ((e.state.delayingBlurEvent = !1), e.state.focused && Ur(e))
+ }, 100)
+ }
+ function Ri(e, t) {
+ e.state.delayingBlurEvent && !e.state.draggingText && (e.state.delayingBlurEvent = !1),
+ e.options.readOnly != 'nocursor' &&
+ (e.state.focused ||
+ (Ye(e, 'focus', e, t),
+ (e.state.focused = !0),
+ P(e.display.wrapper, 'CodeMirror-focused'),
+ !e.curOp &&
+ e.display.selForContextMenu != e.doc.sel &&
+ (e.display.input.reset(),
+ _ &&
+ setTimeout(function () {
+ return e.display.input.reset(!0)
+ }, 20)),
+ e.display.input.receivedFocus()),
+ _i(e))
+ }
+ function Ur(e, t) {
+ e.state.delayingBlurEvent ||
+ (e.state.focused &&
+ (Ye(e, 'blur', e, t),
+ (e.state.focused = !1),
+ Ee(e.display.wrapper, 'CodeMirror-focused')),
+ clearInterval(e.display.blinker),
+ setTimeout(function () {
+ e.state.focused || (e.display.shift = !1)
+ }, 150))
+ }
+ function Vn(e) {
+ for (
+ var t = e.display,
+ n = t.lineDiv.offsetTop,
+ r = Math.max(0, t.scroller.getBoundingClientRect().top),
+ i = t.lineDiv.getBoundingClientRect().top,
+ o = 0,
+ l = 0;
+ l < t.view.length;
+ l++
+ ) {
+ var a = t.view[l],
+ s = e.options.lineWrapping,
+ u = void 0,
+ h = 0
+ if (!a.hidden) {
+ if (((i += a.line.height), b && N < 8)) {
+ var v = a.node.offsetTop + a.node.offsetHeight
+ ;(u = v - n), (n = v)
+ } else {
+ var k = a.node.getBoundingClientRect()
+ ;(u = k.bottom - k.top),
+ !s &&
+ a.text.firstChild &&
+ (h = a.text.firstChild.getBoundingClientRect().right - k.left - 1)
+ }
+ var x = a.line.height - u
+ if (
+ (x > 0.005 || x < -0.005) &&
+ (i < r && (o -= x), Ft(a.line, u), nl(a.line), a.rest)
+ )
+ for (var M = 0; M < a.rest.length; M++) nl(a.rest[M])
+ if (h > e.display.sizerWidth) {
+ var E = Math.ceil(h / Kr(e.display))
+ E > e.display.maxLineLength &&
+ ((e.display.maxLineLength = E),
+ (e.display.maxLine = a.line),
+ (e.display.maxLineChanged = !0))
+ }
+ }
+ }
+ Math.abs(o) > 2 && (t.scroller.scrollTop += o)
+ }
+ function nl(e) {
+ if (e.widgets)
+ for (var t = 0; t < e.widgets.length; ++t) {
+ var n = e.widgets[t],
+ r = n.node.parentNode
+ r && (n.height = r.offsetHeight)
+ }
+ }
+ function $n(e, t, n) {
+ var r = n && n.top != null ? Math.max(0, n.top) : e.scroller.scrollTop
+ r = Math.floor(r - Xn(e))
+ var i = n && n.bottom != null ? n.bottom : r + e.wrapper.clientHeight,
+ o = g(t, r),
+ l = g(t, i)
+ if (n && n.ensure) {
+ var a = n.ensure.from.line,
+ s = n.ensure.to.line
+ a < o
+ ? ((o = a), (l = g(t, er(ce(t, a)) + e.wrapper.clientHeight)))
+ : Math.min(s, t.lastLine()) >= l &&
+ ((o = g(t, er(ce(t, s)) - e.wrapper.clientHeight)), (l = s))
+ }
+ return { from: o, to: Math.max(l, o + 1) }
+ }
+ function Cs(e, t) {
+ if (!Ze(e, 'scrollCursorIntoView')) {
+ var n = e.display,
+ r = n.sizer.getBoundingClientRect(),
+ i = null,
+ o = n.wrapper.ownerDocument
+ if (
+ (t.top + r.top < 0
+ ? (i = !0)
+ : t.bottom + r.top >
+ (o.defaultView.innerHeight || o.documentElement.clientHeight) && (i = !1),
+ i != null && !we)
+ ) {
+ var l = d(
+ 'div',
+ '',
+ null,
+ `position: absolute;
+ top: ` +
+ (t.top - n.viewOffset - Xn(e.display)) +
+ `px;
+ height: ` +
+ (t.bottom - t.top + Yt(e) + n.barHeight) +
+ `px;
+ left: ` +
+ t.left +
+ 'px; width: ' +
+ Math.max(2, t.right - t.left) +
+ 'px;'
+ )
+ e.display.lineSpace.appendChild(l),
+ l.scrollIntoView(i),
+ e.display.lineSpace.removeChild(l)
+ }
+ }
+ }
+ function Ds(e, t, n, r) {
+ r == null && (r = 0)
+ var i
+ !e.options.lineWrapping &&
+ t == n &&
+ ((n = t.sticky == 'before' ? L(t.line, t.ch + 1, 'before') : t),
+ (t = t.ch ? L(t.line, t.sticky == 'before' ? t.ch - 1 : t.ch, 'after') : t))
+ for (var o = 0; o < 5; o++) {
+ var l = !1,
+ a = jt(e, t),
+ s = !n || n == t ? a : jt(e, n)
+ i = {
+ left: Math.min(a.left, s.left),
+ top: Math.min(a.top, s.top) - r,
+ right: Math.max(a.left, s.left),
+ bottom: Math.max(a.bottom, s.bottom) + r,
+ }
+ var u = qi(e, i),
+ h = e.doc.scrollTop,
+ v = e.doc.scrollLeft
+ if (
+ (u.scrollTop != null &&
+ (yn(e, u.scrollTop), Math.abs(e.doc.scrollTop - h) > 1 && (l = !0)),
+ u.scrollLeft != null &&
+ (Cr(e, u.scrollLeft), Math.abs(e.doc.scrollLeft - v) > 1 && (l = !0)),
+ !l)
+ )
+ break
+ }
+ return i
+ }
+ function Ms(e, t) {
+ var n = qi(e, t)
+ n.scrollTop != null && yn(e, n.scrollTop), n.scrollLeft != null && Cr(e, n.scrollLeft)
+ }
+ function qi(e, t) {
+ var n = e.display,
+ r = jr(e.display)
+ t.top < 0 && (t.top = 0)
+ var i = e.curOp && e.curOp.scrollTop != null ? e.curOp.scrollTop : n.scroller.scrollTop,
+ o = Fi(e),
+ l = {}
+ t.bottom - t.top > o && (t.bottom = t.top + o)
+ var a = e.doc.height + Mi(n),
+ s = t.top < r,
+ u = t.bottom > a - r
+ if (t.top < i) l.scrollTop = s ? 0 : t.top
+ else if (t.bottom > i + o) {
+ var h = Math.min(t.top, (u ? a : t.bottom) - o)
+ h != i && (l.scrollTop = h)
+ }
+ var v = e.options.fixedGutter ? 0 : n.gutters.offsetWidth,
+ k =
+ e.curOp && e.curOp.scrollLeft != null
+ ? e.curOp.scrollLeft
+ : n.scroller.scrollLeft - v,
+ x = wr(e) - n.gutters.offsetWidth,
+ M = t.right - t.left > x
+ return (
+ M && (t.right = t.left + x),
+ t.left < 10
+ ? (l.scrollLeft = 0)
+ : t.left < k
+ ? (l.scrollLeft = Math.max(0, t.left + v - (M ? 0 : 10)))
+ : t.right > x + k - 3 && (l.scrollLeft = t.right + (M ? 0 : 10) - x),
+ l
+ )
+ }
+ function ji(e, t) {
+ t != null &&
+ (ei(e),
+ (e.curOp.scrollTop =
+ (e.curOp.scrollTop == null ? e.doc.scrollTop : e.curOp.scrollTop) + t))
+ }
+ function Gr(e) {
+ ei(e)
+ var t = e.getCursor()
+ e.curOp.scrollToPos = { from: t, to: t, margin: e.options.cursorScrollMargin }
+ }
+ function mn(e, t, n) {
+ ;(t != null || n != null) && ei(e),
+ t != null && (e.curOp.scrollLeft = t),
+ n != null && (e.curOp.scrollTop = n)
+ }
+ function Fs(e, t) {
+ ei(e), (e.curOp.scrollToPos = t)
+ }
+ function ei(e) {
+ var t = e.curOp.scrollToPos
+ if (t) {
+ e.curOp.scrollToPos = null
+ var n = Jo(e, t.from),
+ r = Jo(e, t.to)
+ il(e, n, r, t.margin)
+ }
+ }
+ function il(e, t, n, r) {
+ var i = qi(e, {
+ left: Math.min(t.left, n.left),
+ top: Math.min(t.top, n.top) - r,
+ right: Math.max(t.right, n.right),
+ bottom: Math.max(t.bottom, n.bottom) + r,
+ })
+ mn(e, i.scrollLeft, i.scrollTop)
+ }
+ function yn(e, t) {
+ Math.abs(e.doc.scrollTop - t) < 2 ||
+ (I || Ui(e, { top: t }), ol(e, t, !0), I && Ui(e), kn(e, 100))
+ }
+ function ol(e, t, n) {
+ ;(t = Math.max(
+ 0,
+ Math.min(e.display.scroller.scrollHeight - e.display.scroller.clientHeight, t)
+ )),
+ !(e.display.scroller.scrollTop == t && !n) &&
+ ((e.doc.scrollTop = t),
+ e.display.scrollbars.setScrollTop(t),
+ e.display.scroller.scrollTop != t && (e.display.scroller.scrollTop = t))
+ }
+ function Cr(e, t, n, r) {
+ ;(t = Math.max(
+ 0,
+ Math.min(t, e.display.scroller.scrollWidth - e.display.scroller.clientWidth)
+ )),
+ !((n ? t == e.doc.scrollLeft : Math.abs(e.doc.scrollLeft - t) < 2) && !r) &&
+ ((e.doc.scrollLeft = t),
+ fl(e),
+ e.display.scroller.scrollLeft != t && (e.display.scroller.scrollLeft = t),
+ e.display.scrollbars.setScrollLeft(t))
+ }
+ function xn(e) {
+ var t = e.display,
+ n = t.gutters.offsetWidth,
+ r = Math.round(e.doc.height + Mi(e.display))
+ return {
+ clientHeight: t.scroller.clientHeight,
+ viewHeight: t.wrapper.clientHeight,
+ scrollWidth: t.scroller.scrollWidth,
+ clientWidth: t.scroller.clientWidth,
+ viewWidth: t.wrapper.clientWidth,
+ barLeft: e.options.fixedGutter ? n : 0,
+ docHeight: r,
+ scrollHeight: r + Yt(e) + t.barHeight,
+ nativeBarWidth: t.nativeBarWidth,
+ gutterWidth: n,
+ }
+ }
+ var Dr = function (e, t, n) {
+ this.cm = n
+ var r = (this.vert = d(
+ 'div',
+ [d('div', null, null, 'min-width: 1px')],
+ 'CodeMirror-vscrollbar'
+ )),
+ i = (this.horiz = d(
+ 'div',
+ [d('div', null, null, 'height: 100%; min-height: 1px')],
+ 'CodeMirror-hscrollbar'
+ ))
+ ;(r.tabIndex = i.tabIndex = -1),
+ e(r),
+ e(i),
+ ve(r, 'scroll', function () {
+ r.clientHeight && t(r.scrollTop, 'vertical')
+ }),
+ ve(i, 'scroll', function () {
+ i.clientWidth && t(i.scrollLeft, 'horizontal')
+ }),
+ (this.checkedZeroWidth = !1),
+ b && N < 8 && (this.horiz.style.minHeight = this.vert.style.minWidth = '18px')
+ }
+ ;(Dr.prototype.update = function (e) {
+ var t = e.scrollWidth > e.clientWidth + 1,
+ n = e.scrollHeight > e.clientHeight + 1,
+ r = e.nativeBarWidth
+ if (n) {
+ ;(this.vert.style.display = 'block'), (this.vert.style.bottom = t ? r + 'px' : '0')
+ var i = e.viewHeight - (t ? r : 0)
+ this.vert.firstChild.style.height =
+ Math.max(0, e.scrollHeight - e.clientHeight + i) + 'px'
+ } else
+ (this.vert.scrollTop = 0),
+ (this.vert.style.display = ''),
+ (this.vert.firstChild.style.height = '0')
+ if (t) {
+ ;(this.horiz.style.display = 'block'),
+ (this.horiz.style.right = n ? r + 'px' : '0'),
+ (this.horiz.style.left = e.barLeft + 'px')
+ var o = e.viewWidth - e.barLeft - (n ? r : 0)
+ this.horiz.firstChild.style.width =
+ Math.max(0, e.scrollWidth - e.clientWidth + o) + 'px'
+ } else (this.horiz.style.display = ''), (this.horiz.firstChild.style.width = '0')
+ return (
+ !this.checkedZeroWidth &&
+ e.clientHeight > 0 &&
+ (r == 0 && this.zeroWidthHack(), (this.checkedZeroWidth = !0)),
+ { right: n ? r : 0, bottom: t ? r : 0 }
+ )
+ }),
+ (Dr.prototype.setScrollLeft = function (e) {
+ this.horiz.scrollLeft != e && (this.horiz.scrollLeft = e),
+ this.disableHoriz && this.enableZeroWidthBar(this.horiz, this.disableHoriz, 'horiz')
+ }),
+ (Dr.prototype.setScrollTop = function (e) {
+ this.vert.scrollTop != e && (this.vert.scrollTop = e),
+ this.disableVert && this.enableZeroWidthBar(this.vert, this.disableVert, 'vert')
+ }),
+ (Dr.prototype.zeroWidthHack = function () {
+ var e = se && !ke ? '12px' : '18px'
+ ;(this.horiz.style.height = this.vert.style.width = e),
+ (this.horiz.style.visibility = this.vert.style.visibility = 'hidden'),
+ (this.disableHoriz = new be()),
+ (this.disableVert = new be())
+ }),
+ (Dr.prototype.enableZeroWidthBar = function (e, t, n) {
+ e.style.visibility = ''
+ function r() {
+ var i = e.getBoundingClientRect(),
+ o =
+ n == 'vert'
+ ? document.elementFromPoint(i.right - 1, (i.top + i.bottom) / 2)
+ : document.elementFromPoint((i.right + i.left) / 2, i.bottom - 1)
+ o != e ? (e.style.visibility = 'hidden') : t.set(1e3, r)
+ }
+ t.set(1e3, r)
+ }),
+ (Dr.prototype.clear = function () {
+ var e = this.horiz.parentNode
+ e.removeChild(this.horiz), e.removeChild(this.vert)
+ })
+ var bn = function () {}
+ ;(bn.prototype.update = function () {
+ return { bottom: 0, right: 0 }
+ }),
+ (bn.prototype.setScrollLeft = function () {}),
+ (bn.prototype.setScrollTop = function () {}),
+ (bn.prototype.clear = function () {})
+ function Xr(e, t) {
+ t || (t = xn(e))
+ var n = e.display.barWidth,
+ r = e.display.barHeight
+ ll(e, t)
+ for (var i = 0; (i < 4 && n != e.display.barWidth) || r != e.display.barHeight; i++)
+ n != e.display.barWidth && e.options.lineWrapping && Vn(e),
+ ll(e, xn(e)),
+ (n = e.display.barWidth),
+ (r = e.display.barHeight)
+ }
+ function ll(e, t) {
+ var n = e.display,
+ r = n.scrollbars.update(t)
+ ;(n.sizer.style.paddingRight = (n.barWidth = r.right) + 'px'),
+ (n.sizer.style.paddingBottom = (n.barHeight = r.bottom) + 'px'),
+ (n.heightForcer.style.borderBottom = r.bottom + 'px solid transparent'),
+ r.right && r.bottom
+ ? ((n.scrollbarFiller.style.display = 'block'),
+ (n.scrollbarFiller.style.height = r.bottom + 'px'),
+ (n.scrollbarFiller.style.width = r.right + 'px'))
+ : (n.scrollbarFiller.style.display = ''),
+ r.bottom && e.options.coverGutterNextToScrollbar && e.options.fixedGutter
+ ? ((n.gutterFiller.style.display = 'block'),
+ (n.gutterFiller.style.height = r.bottom + 'px'),
+ (n.gutterFiller.style.width = t.gutterWidth + 'px'))
+ : (n.gutterFiller.style.display = '')
+ }
+ var al = { native: Dr, null: bn }
+ function sl(e) {
+ e.display.scrollbars &&
+ (e.display.scrollbars.clear(),
+ e.display.scrollbars.addClass &&
+ Ee(e.display.wrapper, e.display.scrollbars.addClass)),
+ (e.display.scrollbars = new al[e.options.scrollbarStyle](
+ function (t) {
+ e.display.wrapper.insertBefore(t, e.display.scrollbarFiller),
+ ve(t, 'mousedown', function () {
+ e.state.focused &&
+ setTimeout(function () {
+ return e.display.input.focus()
+ }, 0)
+ }),
+ t.setAttribute('cm-not-content', 'true')
+ },
+ function (t, n) {
+ n == 'horizontal' ? Cr(e, t) : yn(e, t)
+ },
+ e
+ )),
+ e.display.scrollbars.addClass && P(e.display.wrapper, e.display.scrollbars.addClass)
+ }
+ var As = 0
+ function Mr(e) {
+ ;(e.curOp = {
+ cm: e,
+ viewChanged: !1,
+ startHeight: e.doc.height,
+ forceUpdate: !1,
+ updateInput: 0,
+ typing: !1,
+ changeObjs: null,
+ cursorActivityHandlers: null,
+ cursorActivityCalled: 0,
+ selectionChanged: !1,
+ updateMaxLine: !1,
+ scrollLeft: null,
+ scrollTop: null,
+ scrollToPos: null,
+ focus: !1,
+ id: ++As,
+ markArrays: null,
+ }),
+ as(e.curOp)
+ }
+ function Fr(e) {
+ var t = e.curOp
+ t &&
+ us(t, function (n) {
+ for (var r = 0; r < n.ops.length; r++) n.ops[r].cm.curOp = null
+ Es(n)
+ })
+ }
+ function Es(e) {
+ for (var t = e.ops, n = 0; n < t.length; n++) Ns(t[n])
+ for (var r = 0; r < t.length; r++) Os(t[r])
+ for (var i = 0; i < t.length; i++) Ps(t[i])
+ for (var o = 0; o < t.length; o++) Is(t[o])
+ for (var l = 0; l < t.length; l++) zs(t[l])
+ }
+ function Ns(e) {
+ var t = e.cm,
+ n = t.display
+ Ws(t),
+ e.updateMaxLine && Ci(t),
+ (e.mustUpdate =
+ e.viewChanged ||
+ e.forceUpdate ||
+ e.scrollTop != null ||
+ (e.scrollToPos &&
+ (e.scrollToPos.from.line < n.viewFrom || e.scrollToPos.to.line >= n.viewTo)) ||
+ (n.maxLineChanged && t.options.lineWrapping)),
+ (e.update =
+ e.mustUpdate &&
+ new ti(
+ t,
+ e.mustUpdate && { top: e.scrollTop, ensure: e.scrollToPos },
+ e.forceUpdate
+ ))
+ }
+ function Os(e) {
+ e.updatedDisplay = e.mustUpdate && Ki(e.cm, e.update)
+ }
+ function Ps(e) {
+ var t = e.cm,
+ n = t.display
+ e.updatedDisplay && Vn(t),
+ (e.barMeasure = xn(t)),
+ n.maxLineChanged &&
+ !t.options.lineWrapping &&
+ ((e.adjustWidthTo = qo(t, n.maxLine, n.maxLine.text.length).left + 3),
+ (t.display.sizerWidth = e.adjustWidthTo),
+ (e.barMeasure.scrollWidth = Math.max(
+ n.scroller.clientWidth,
+ n.sizer.offsetLeft + e.adjustWidthTo + Yt(t) + t.display.barWidth
+ )),
+ (e.maxScrollLeft = Math.max(0, n.sizer.offsetLeft + e.adjustWidthTo - wr(t)))),
+ (e.updatedDisplay || e.selectionChanged) &&
+ (e.preparedSelection = n.input.prepareSelection())
+ }
+ function Is(e) {
+ var t = e.cm
+ e.adjustWidthTo != null &&
+ ((t.display.sizer.style.minWidth = e.adjustWidthTo + 'px'),
+ e.maxScrollLeft < t.doc.scrollLeft &&
+ Cr(t, Math.min(t.display.scroller.scrollLeft, e.maxScrollLeft), !0),
+ (t.display.maxLineChanged = !1))
+ var n = e.focus && e.focus == y(Y(t))
+ e.preparedSelection && t.display.input.showSelection(e.preparedSelection, n),
+ (e.updatedDisplay || e.startHeight != t.doc.height) && Xr(t, e.barMeasure),
+ e.updatedDisplay && Xi(t, e.barMeasure),
+ e.selectionChanged && _i(t),
+ t.state.focused && e.updateInput && t.display.input.reset(e.typing),
+ n && rl(e.cm)
+ }
+ function zs(e) {
+ var t = e.cm,
+ n = t.display,
+ r = t.doc
+ if (
+ (e.updatedDisplay && ul(t, e.update),
+ n.wheelStartX != null &&
+ (e.scrollTop != null || e.scrollLeft != null || e.scrollToPos) &&
+ (n.wheelStartX = n.wheelStartY = null),
+ e.scrollTop != null && ol(t, e.scrollTop, e.forceScroll),
+ e.scrollLeft != null && Cr(t, e.scrollLeft, !0, !0),
+ e.scrollToPos)
+ ) {
+ var i = Ds(
+ t,
+ Ce(r, e.scrollToPos.from),
+ Ce(r, e.scrollToPos.to),
+ e.scrollToPos.margin
+ )
+ Cs(t, i)
+ }
+ var o = e.maybeHiddenMarkers,
+ l = e.maybeUnhiddenMarkers
+ if (o) for (var a = 0; a < o.length; ++a) o[a].lines.length || Ye(o[a], 'hide')
+ if (l) for (var s = 0; s < l.length; ++s) l[s].lines.length && Ye(l[s], 'unhide')
+ n.wrapper.offsetHeight && (r.scrollTop = t.display.scroller.scrollTop),
+ e.changeObjs && Ye(t, 'changes', t, e.changeObjs),
+ e.update && e.update.finish()
+ }
+ function Dt(e, t) {
+ if (e.curOp) return t()
+ Mr(e)
+ try {
+ return t()
+ } finally {
+ Fr(e)
+ }
+ }
+ function lt(e, t) {
+ return function () {
+ if (e.curOp) return t.apply(e, arguments)
+ Mr(e)
+ try {
+ return t.apply(e, arguments)
+ } finally {
+ Fr(e)
+ }
+ }
+ }
+ function vt(e) {
+ return function () {
+ if (this.curOp) return e.apply(this, arguments)
+ Mr(this)
+ try {
+ return e.apply(this, arguments)
+ } finally {
+ Fr(this)
+ }
+ }
+ }
+ function at(e) {
+ return function () {
+ var t = this.cm
+ if (!t || t.curOp) return e.apply(this, arguments)
+ Mr(t)
+ try {
+ return e.apply(this, arguments)
+ } finally {
+ Fr(t)
+ }
+ }
+ }
+ function kn(e, t) {
+ e.doc.highlightFrontier < e.display.viewTo && e.state.highlight.set(t, ue(Bs, e))
+ }
+ function Bs(e) {
+ var t = e.doc
+ if (!(t.highlightFrontier >= e.display.viewTo)) {
+ var n = +new Date() + e.options.workTime,
+ r = fn(e, t.highlightFrontier),
+ i = []
+ t.iter(r.line, Math.min(t.first + t.size, e.display.viewTo + 500), function (o) {
+ if (r.line >= e.display.viewFrom) {
+ var l = o.styles,
+ a = o.text.length > e.options.maxHighlightLength ? Gt(t.mode, r.state) : null,
+ s = vo(e, o, r, !0)
+ a && (r.state = a), (o.styles = s.styles)
+ var u = o.styleClasses,
+ h = s.classes
+ h ? (o.styleClasses = h) : u && (o.styleClasses = null)
+ for (
+ var v =
+ !l ||
+ l.length != o.styles.length ||
+ (u != h &&
+ (!u || !h || u.bgClass != h.bgClass || u.textClass != h.textClass)),
+ k = 0;
+ !v && k < l.length;
+ ++k
+ )
+ v = l[k] != o.styles[k]
+ v && i.push(r.line), (o.stateAfter = r.save()), r.nextLine()
+ } else o.text.length <= e.options.maxHighlightLength && bi(e, o.text, r), (o.stateAfter = r.line % 5 == 0 ? r.save() : null), r.nextLine()
+ if (+new Date() > n) return kn(e, e.options.workDelay), !0
+ }),
+ (t.highlightFrontier = r.line),
+ (t.modeFrontier = Math.max(t.modeFrontier, r.line)),
+ i.length &&
+ Dt(e, function () {
+ for (var o = 0; o < i.length; o++) dr(e, i[o], 'text')
+ })
+ }
+ }
+ var ti = function (e, t, n) {
+ var r = e.display
+ ;(this.viewport = t),
+ (this.visible = $n(r, e.doc, t)),
+ (this.editorIsHidden = !r.wrapper.offsetWidth),
+ (this.wrapperHeight = r.wrapper.clientHeight),
+ (this.wrapperWidth = r.wrapper.clientWidth),
+ (this.oldDisplayWidth = wr(e)),
+ (this.force = n),
+ (this.dims = Ii(e)),
+ (this.events = [])
+ }
+ ;(ti.prototype.signal = function (e, t) {
+ Ct(e, t) && this.events.push(arguments)
+ }),
+ (ti.prototype.finish = function () {
+ for (var e = 0; e < this.events.length; e++) Ye.apply(null, this.events[e])
+ })
+ function Ws(e) {
+ var t = e.display
+ !t.scrollbarsClipped &&
+ t.scroller.offsetWidth &&
+ ((t.nativeBarWidth = t.scroller.offsetWidth - t.scroller.clientWidth),
+ (t.heightForcer.style.height = Yt(e) + 'px'),
+ (t.sizer.style.marginBottom = -t.nativeBarWidth + 'px'),
+ (t.sizer.style.borderRightWidth = Yt(e) + 'px'),
+ (t.scrollbarsClipped = !0))
+ }
+ function _s(e) {
+ if (e.hasFocus()) return null
+ var t = y(Y(e))
+ if (!t || !m(e.display.lineDiv, t)) return null
+ var n = { activeElt: t }
+ if (window.getSelection) {
+ var r = j(e).getSelection()
+ r.anchorNode &&
+ r.extend &&
+ m(e.display.lineDiv, r.anchorNode) &&
+ ((n.anchorNode = r.anchorNode),
+ (n.anchorOffset = r.anchorOffset),
+ (n.focusNode = r.focusNode),
+ (n.focusOffset = r.focusOffset))
+ }
+ return n
+ }
+ function Hs(e) {
+ if (
+ !(!e || !e.activeElt || e.activeElt == y(xe(e.activeElt))) &&
+ (e.activeElt.focus(),
+ !/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName) &&
+ e.anchorNode &&
+ m(document.body, e.anchorNode) &&
+ m(document.body, e.focusNode))
+ ) {
+ var t = e.activeElt.ownerDocument,
+ n = t.defaultView.getSelection(),
+ r = t.createRange()
+ r.setEnd(e.anchorNode, e.anchorOffset),
+ r.collapse(!1),
+ n.removeAllRanges(),
+ n.addRange(r),
+ n.extend(e.focusNode, e.focusOffset)
+ }
+ }
+ function Ki(e, t) {
+ var n = e.display,
+ r = e.doc
+ if (t.editorIsHidden) return hr(e), !1
+ if (
+ !t.force &&
+ t.visible.from >= n.viewFrom &&
+ t.visible.to <= n.viewTo &&
+ (n.updateLineNumbers == null || n.updateLineNumbers >= n.viewTo) &&
+ n.renderedView == n.view &&
+ el(e) == 0
+ )
+ return !1
+ cl(e) && (hr(e), (t.dims = Ii(e)))
+ var i = r.first + r.size,
+ o = Math.max(t.visible.from - e.options.viewportMargin, r.first),
+ l = Math.min(i, t.visible.to + e.options.viewportMargin)
+ n.viewFrom < o && o - n.viewFrom < 20 && (o = Math.max(r.first, n.viewFrom)),
+ n.viewTo > l && n.viewTo - l < 20 && (l = Math.min(i, n.viewTo)),
+ $t && ((o = Ti(e.doc, o)), (l = Ao(e.doc, l)))
+ var a =
+ o != n.viewFrom ||
+ l != n.viewTo ||
+ n.lastWrapHeight != t.wrapperHeight ||
+ n.lastWrapWidth != t.wrapperWidth
+ Ts(e, o, l),
+ (n.viewOffset = er(ce(e.doc, n.viewFrom))),
+ (e.display.mover.style.top = n.viewOffset + 'px')
+ var s = el(e)
+ if (
+ !a &&
+ s == 0 &&
+ !t.force &&
+ n.renderedView == n.view &&
+ (n.updateLineNumbers == null || n.updateLineNumbers >= n.viewTo)
+ )
+ return !1
+ var u = _s(e)
+ return (
+ s > 4 && (n.lineDiv.style.display = 'none'),
+ Rs(e, n.updateLineNumbers, t.dims),
+ s > 4 && (n.lineDiv.style.display = ''),
+ (n.renderedView = n.view),
+ Hs(u),
+ D(n.cursorDiv),
+ D(n.selectionDiv),
+ (n.gutters.style.height = n.sizer.style.minHeight = 0),
+ a &&
+ ((n.lastWrapHeight = t.wrapperHeight),
+ (n.lastWrapWidth = t.wrapperWidth),
+ kn(e, 400)),
+ (n.updateLineNumbers = null),
+ !0
+ )
+ }
+ function ul(e, t) {
+ for (var n = t.viewport, r = !0; ; r = !1) {
+ if (!r || !e.options.lineWrapping || t.oldDisplayWidth == wr(e)) {
+ if (
+ (n &&
+ n.top != null &&
+ (n = { top: Math.min(e.doc.height + Mi(e.display) - Fi(e), n.top) }),
+ (t.visible = $n(e.display, e.doc, n)),
+ t.visible.from >= e.display.viewFrom && t.visible.to <= e.display.viewTo)
+ )
+ break
+ } else r && (t.visible = $n(e.display, e.doc, n))
+ if (!Ki(e, t)) break
+ Vn(e)
+ var i = xn(e)
+ vn(e), Xr(e, i), Xi(e, i), (t.force = !1)
+ }
+ t.signal(e, 'update', e),
+ (e.display.viewFrom != e.display.reportedViewFrom ||
+ e.display.viewTo != e.display.reportedViewTo) &&
+ (t.signal(e, 'viewportChange', e, e.display.viewFrom, e.display.viewTo),
+ (e.display.reportedViewFrom = e.display.viewFrom),
+ (e.display.reportedViewTo = e.display.viewTo))
+ }
+ function Ui(e, t) {
+ var n = new ti(e, t)
+ if (Ki(e, n)) {
+ Vn(e), ul(e, n)
+ var r = xn(e)
+ vn(e), Xr(e, r), Xi(e, r), n.finish()
+ }
+ }
+ function Rs(e, t, n) {
+ var r = e.display,
+ i = e.options.lineNumbers,
+ o = r.lineDiv,
+ l = o.firstChild
+ function a(M) {
+ var E = M.nextSibling
+ return (
+ _ && se && e.display.currentWheelTarget == M
+ ? (M.style.display = 'none')
+ : M.parentNode.removeChild(M),
+ E
+ )
+ }
+ for (var s = r.view, u = r.viewFrom, h = 0; h < s.length; h++) {
+ var v = s[h]
+ if (!v.hidden)
+ if (!v.node || v.node.parentNode != o) {
+ var k = ps(e, v, u, n)
+ o.insertBefore(k, l)
+ } else {
+ for (; l != v.node; ) l = a(l)
+ var x = i && t != null && t <= u && v.lineNumber
+ v.changes && (oe(v.changes, 'gutter') > -1 && (x = !1), Io(e, v, u, n)),
+ x &&
+ (D(v.lineNumber),
+ v.lineNumber.appendChild(document.createTextNode(W(e.options, u)))),
+ (l = v.node.nextSibling)
+ }
+ u += v.size
+ }
+ for (; l; ) l = a(l)
+ }
+ function Gi(e) {
+ var t = e.gutters.offsetWidth
+ ;(e.sizer.style.marginLeft = t + 'px'), ot(e, 'gutterChanged', e)
+ }
+ function Xi(e, t) {
+ ;(e.display.sizer.style.minHeight = t.docHeight + 'px'),
+ (e.display.heightForcer.style.top = t.docHeight + 'px'),
+ (e.display.gutters.style.height = t.docHeight + e.display.barHeight + Yt(e) + 'px')
+ }
+ function fl(e) {
+ var t = e.display,
+ n = t.view
+ if (!(!t.alignWidgets && (!t.gutters.firstChild || !e.options.fixedGutter))) {
+ for (
+ var r = zi(t) - t.scroller.scrollLeft + e.doc.scrollLeft,
+ i = t.gutters.offsetWidth,
+ o = r + 'px',
+ l = 0;
+ l < n.length;
+ l++
+ )
+ if (!n[l].hidden) {
+ e.options.fixedGutter &&
+ (n[l].gutter && (n[l].gutter.style.left = o),
+ n[l].gutterBackground && (n[l].gutterBackground.style.left = o))
+ var a = n[l].alignable
+ if (a) for (var s = 0; s < a.length; s++) a[s].style.left = o
+ }
+ e.options.fixedGutter && (t.gutters.style.left = r + i + 'px')
+ }
+ }
+ function cl(e) {
+ if (!e.options.lineNumbers) return !1
+ var t = e.doc,
+ n = W(e.options, t.first + t.size - 1),
+ r = e.display
+ if (n.length != r.lineNumChars) {
+ var i = r.measure.appendChild(
+ d('div', [d('div', n)], 'CodeMirror-linenumber CodeMirror-gutter-elt')
+ ),
+ o = i.firstChild.offsetWidth,
+ l = i.offsetWidth - o
+ return (
+ (r.lineGutter.style.width = ''),
+ (r.lineNumInnerWidth = Math.max(o, r.lineGutter.offsetWidth - l) + 1),
+ (r.lineNumWidth = r.lineNumInnerWidth + l),
+ (r.lineNumChars = r.lineNumInnerWidth ? n.length : -1),
+ (r.lineGutter.style.width = r.lineNumWidth + 'px'),
+ Gi(e.display),
+ !0
+ )
+ }
+ return !1
+ }
+ function Yi(e, t) {
+ for (var n = [], r = !1, i = 0; i < e.length; i++) {
+ var o = e[i],
+ l = null
+ if (
+ (typeof o != 'string' && ((l = o.style), (o = o.className)),
+ o == 'CodeMirror-linenumbers')
+ )
+ if (t) r = !0
+ else continue
+ n.push({ className: o, style: l })
+ }
+ return t && !r && n.push({ className: 'CodeMirror-linenumbers', style: null }), n
+ }
+ function dl(e) {
+ var t = e.gutters,
+ n = e.gutterSpecs
+ D(t), (e.lineGutter = null)
+ for (var r = 0; r < n.length; ++r) {
+ var i = n[r],
+ o = i.className,
+ l = i.style,
+ a = t.appendChild(d('div', null, 'CodeMirror-gutter ' + o))
+ l && (a.style.cssText = l),
+ o == 'CodeMirror-linenumbers' &&
+ ((e.lineGutter = a), (a.style.width = (e.lineNumWidth || 1) + 'px'))
+ }
+ ;(t.style.display = n.length ? '' : 'none'), Gi(e)
+ }
+ function wn(e) {
+ dl(e.display), bt(e), fl(e)
+ }
+ function qs(e, t, n, r) {
+ var i = this
+ ;(this.input = n),
+ (i.scrollbarFiller = d('div', null, 'CodeMirror-scrollbar-filler')),
+ i.scrollbarFiller.setAttribute('cm-not-content', 'true'),
+ (i.gutterFiller = d('div', null, 'CodeMirror-gutter-filler')),
+ i.gutterFiller.setAttribute('cm-not-content', 'true'),
+ (i.lineDiv = S('div', null, 'CodeMirror-code')),
+ (i.selectionDiv = d('div', null, null, 'position: relative; z-index: 1')),
+ (i.cursorDiv = d('div', null, 'CodeMirror-cursors')),
+ (i.measure = d('div', null, 'CodeMirror-measure')),
+ (i.lineMeasure = d('div', null, 'CodeMirror-measure')),
+ (i.lineSpace = S(
+ 'div',
+ [i.measure, i.lineMeasure, i.selectionDiv, i.cursorDiv, i.lineDiv],
+ null,
+ 'position: relative; outline: none'
+ ))
+ var o = S('div', [i.lineSpace], 'CodeMirror-lines')
+ ;(i.mover = d('div', [o], null, 'position: relative')),
+ (i.sizer = d('div', [i.mover], 'CodeMirror-sizer')),
+ (i.sizerWidth = null),
+ (i.heightForcer = d(
+ 'div',
+ null,
+ null,
+ 'position: absolute; height: ' + Ne + 'px; width: 1px;'
+ )),
+ (i.gutters = d('div', null, 'CodeMirror-gutters')),
+ (i.lineGutter = null),
+ (i.scroller = d('div', [i.sizer, i.heightForcer, i.gutters], 'CodeMirror-scroll')),
+ i.scroller.setAttribute('tabIndex', '-1'),
+ (i.wrapper = d('div', [i.scrollbarFiller, i.gutterFiller, i.scroller], 'CodeMirror')),
+ O && q >= 105 && (i.wrapper.style.clipPath = 'inset(0px)'),
+ i.wrapper.setAttribute('translate', 'no'),
+ b && N < 8 && ((i.gutters.style.zIndex = -1), (i.scroller.style.paddingRight = 0)),
+ !_ && !(I && ne) && (i.scroller.draggable = !0),
+ e && (e.appendChild ? e.appendChild(i.wrapper) : e(i.wrapper)),
+ (i.viewFrom = i.viewTo = t.first),
+ (i.reportedViewFrom = i.reportedViewTo = t.first),
+ (i.view = []),
+ (i.renderedView = null),
+ (i.externalMeasured = null),
+ (i.viewOffset = 0),
+ (i.lastWrapHeight = i.lastWrapWidth = 0),
+ (i.updateLineNumbers = null),
+ (i.nativeBarWidth = i.barHeight = i.barWidth = 0),
+ (i.scrollbarsClipped = !1),
+ (i.lineNumWidth = i.lineNumInnerWidth = i.lineNumChars = null),
+ (i.alignWidgets = !1),
+ (i.cachedCharWidth = i.cachedTextHeight = i.cachedPaddingH = null),
+ (i.maxLine = null),
+ (i.maxLineLength = 0),
+ (i.maxLineChanged = !1),
+ (i.wheelDX = i.wheelDY = i.wheelStartX = i.wheelStartY = null),
+ (i.shift = !1),
+ (i.selForContextMenu = null),
+ (i.activeTouch = null),
+ (i.gutterSpecs = Yi(r.gutters, r.lineNumbers)),
+ dl(i),
+ n.init(i)
+ }
+ var ri = 0,
+ rr = null
+ b ? (rr = -0.53) : I ? (rr = 15) : O ? (rr = -0.7) : X && (rr = -1 / 3)
+ function hl(e) {
+ var t = e.wheelDeltaX,
+ n = e.wheelDeltaY
+ return (
+ t == null && e.detail && e.axis == e.HORIZONTAL_AXIS && (t = e.detail),
+ n == null && e.detail && e.axis == e.VERTICAL_AXIS
+ ? (n = e.detail)
+ : n == null && (n = e.wheelDelta),
+ { x: t, y: n }
+ )
+ }
+ function js(e) {
+ var t = hl(e)
+ return (t.x *= rr), (t.y *= rr), t
+ }
+ function pl(e, t) {
+ O &&
+ q == 102 &&
+ (e.display.chromeScrollHack == null
+ ? (e.display.sizer.style.pointerEvents = 'none')
+ : clearTimeout(e.display.chromeScrollHack),
+ (e.display.chromeScrollHack = setTimeout(function () {
+ ;(e.display.chromeScrollHack = null), (e.display.sizer.style.pointerEvents = '')
+ }, 100)))
+ var n = hl(t),
+ r = n.x,
+ i = n.y,
+ o = rr
+ t.deltaMode === 0 && ((r = t.deltaX), (i = t.deltaY), (o = 1))
+ var l = e.display,
+ a = l.scroller,
+ s = a.scrollWidth > a.clientWidth,
+ u = a.scrollHeight > a.clientHeight
+ if ((r && s) || (i && u)) {
+ if (i && se && _) {
+ e: for (var h = t.target, v = l.view; h != a; h = h.parentNode)
+ for (var k = 0; k < v.length; k++)
+ if (v[k].node == h) {
+ e.display.currentWheelTarget = h
+ break e
+ }
+ }
+ if (r && !I && !z && o != null) {
+ i && u && yn(e, Math.max(0, a.scrollTop + i * o)),
+ Cr(e, Math.max(0, a.scrollLeft + r * o)),
+ (!i || (i && u)) && ht(t),
+ (l.wheelStartX = null)
+ return
+ }
+ if (i && o != null) {
+ var x = i * o,
+ M = e.doc.scrollTop,
+ E = M + l.wrapper.clientHeight
+ x < 0 ? (M = Math.max(0, M + x - 50)) : (E = Math.min(e.doc.height, E + x + 50)),
+ Ui(e, { top: M, bottom: E })
+ }
+ ri < 20 &&
+ t.deltaMode !== 0 &&
+ (l.wheelStartX == null
+ ? ((l.wheelStartX = a.scrollLeft),
+ (l.wheelStartY = a.scrollTop),
+ (l.wheelDX = r),
+ (l.wheelDY = i),
+ setTimeout(function () {
+ if (l.wheelStartX != null) {
+ var R = a.scrollLeft - l.wheelStartX,
+ U = a.scrollTop - l.wheelStartY,
+ Q = (U && l.wheelDY && U / l.wheelDY) || (R && l.wheelDX && R / l.wheelDX)
+ ;(l.wheelStartX = l.wheelStartY = null),
+ Q && ((rr = (rr * ri + Q) / (ri + 1)), ++ri)
+ }
+ }, 200))
+ : ((l.wheelDX += r), (l.wheelDY += i)))
+ }
+ }
+ var At = function (e, t) {
+ ;(this.ranges = e), (this.primIndex = t)
+ }
+ ;(At.prototype.primary = function () {
+ return this.ranges[this.primIndex]
+ }),
+ (At.prototype.equals = function (e) {
+ if (e == this) return !0
+ if (e.primIndex != this.primIndex || e.ranges.length != this.ranges.length) return !1
+ for (var t = 0; t < this.ranges.length; t++) {
+ var n = this.ranges[t],
+ r = e.ranges[t]
+ if (!_e(n.anchor, r.anchor) || !_e(n.head, r.head)) return !1
+ }
+ return !0
+ }),
+ (At.prototype.deepCopy = function () {
+ for (var e = [], t = 0; t < this.ranges.length; t++)
+ e[t] = new He(it(this.ranges[t].anchor), it(this.ranges[t].head))
+ return new At(e, this.primIndex)
+ }),
+ (At.prototype.somethingSelected = function () {
+ for (var e = 0; e < this.ranges.length; e++) if (!this.ranges[e].empty()) return !0
+ return !1
+ }),
+ (At.prototype.contains = function (e, t) {
+ t || (t = e)
+ for (var n = 0; n < this.ranges.length; n++) {
+ var r = this.ranges[n]
+ if (Z(t, r.from()) >= 0 && Z(e, r.to()) <= 0) return n
+ }
+ return -1
+ })
+ var He = function (e, t) {
+ ;(this.anchor = e), (this.head = t)
+ }
+ ;(He.prototype.from = function () {
+ return _r(this.anchor, this.head)
+ }),
+ (He.prototype.to = function () {
+ return xt(this.anchor, this.head)
+ }),
+ (He.prototype.empty = function () {
+ return this.head.line == this.anchor.line && this.head.ch == this.anchor.ch
+ })
+ function Kt(e, t, n) {
+ var r = e && e.options.selectionsMayTouch,
+ i = t[n]
+ t.sort(function (k, x) {
+ return Z(k.from(), x.from())
+ }),
+ (n = oe(t, i))
+ for (var o = 1; o < t.length; o++) {
+ var l = t[o],
+ a = t[o - 1],
+ s = Z(a.to(), l.from())
+ if (r && !l.empty() ? s > 0 : s >= 0) {
+ var u = _r(a.from(), l.from()),
+ h = xt(a.to(), l.to()),
+ v = a.empty() ? l.from() == l.head : a.from() == a.head
+ o <= n && --n, t.splice(--o, 2, new He(v ? h : u, v ? u : h))
+ }
+ }
+ return new At(t, n)
+ }
+ function pr(e, t) {
+ return new At([new He(e, t || e)], 0)
+ }
+ function gr(e) {
+ return e.text
+ ? L(
+ e.from.line + e.text.length - 1,
+ ge(e.text).length + (e.text.length == 1 ? e.from.ch : 0)
+ )
+ : e.to
+ }
+ function gl(e, t) {
+ if (Z(e, t.from) < 0) return e
+ if (Z(e, t.to) <= 0) return gr(t)
+ var n = e.line + t.text.length - (t.to.line - t.from.line) - 1,
+ r = e.ch
+ return e.line == t.to.line && (r += gr(t).ch - t.to.ch), L(n, r)
+ }
+ function Zi(e, t) {
+ for (var n = [], r = 0; r < e.sel.ranges.length; r++) {
+ var i = e.sel.ranges[r]
+ n.push(new He(gl(i.anchor, t), gl(i.head, t)))
+ }
+ return Kt(e.cm, n, e.sel.primIndex)
+ }
+ function vl(e, t, n) {
+ return e.line == t.line
+ ? L(n.line, e.ch - t.ch + n.ch)
+ : L(n.line + (e.line - t.line), e.ch)
+ }
+ function Ks(e, t, n) {
+ for (var r = [], i = L(e.first, 0), o = i, l = 0; l < t.length; l++) {
+ var a = t[l],
+ s = vl(a.from, i, o),
+ u = vl(gr(a), i, o)
+ if (((i = a.to), (o = u), n == 'around')) {
+ var h = e.sel.ranges[l],
+ v = Z(h.head, h.anchor) < 0
+ r[l] = new He(v ? u : s, v ? s : u)
+ } else r[l] = new He(s, s)
+ }
+ return new At(r, e.sel.primIndex)
+ }
+ function Ji(e) {
+ ;(e.doc.mode = zr(e.options, e.doc.modeOption)), Sn(e)
+ }
+ function Sn(e) {
+ e.doc.iter(function (t) {
+ t.stateAfter && (t.stateAfter = null), t.styles && (t.styles = null)
+ }),
+ (e.doc.modeFrontier = e.doc.highlightFrontier = e.doc.first),
+ kn(e, 100),
+ e.state.modeGen++,
+ e.curOp && bt(e)
+ }
+ function ml(e, t) {
+ return (
+ t.from.ch == 0 &&
+ t.to.ch == 0 &&
+ ge(t.text) == '' &&
+ (!e.cm || e.cm.options.wholeLineUpdateBefore)
+ )
+ }
+ function Qi(e, t, n, r) {
+ function i(Q) {
+ return n ? n[Q] : null
+ }
+ function o(Q, G, ee) {
+ Va(Q, G, ee, r), ot(Q, 'change', Q, t)
+ }
+ function l(Q, G) {
+ for (var ee = [], me = Q; me < G; ++me) ee.push(new Hr(u[me], i(me), r))
+ return ee
+ }
+ var a = t.from,
+ s = t.to,
+ u = t.text,
+ h = ce(e, a.line),
+ v = ce(e, s.line),
+ k = ge(u),
+ x = i(u.length - 1),
+ M = s.line - a.line
+ if (t.full) e.insert(0, l(0, u.length)), e.remove(u.length, e.size - u.length)
+ else if (ml(e, t)) {
+ var E = l(0, u.length - 1)
+ o(v, v.text, x), M && e.remove(a.line, M), E.length && e.insert(a.line, E)
+ } else if (h == v)
+ if (u.length == 1) o(h, h.text.slice(0, a.ch) + k + h.text.slice(s.ch), x)
+ else {
+ var R = l(1, u.length - 1)
+ R.push(new Hr(k + h.text.slice(s.ch), x, r)),
+ o(h, h.text.slice(0, a.ch) + u[0], i(0)),
+ e.insert(a.line + 1, R)
+ }
+ else if (u.length == 1)
+ o(h, h.text.slice(0, a.ch) + u[0] + v.text.slice(s.ch), i(0)), e.remove(a.line + 1, M)
+ else {
+ o(h, h.text.slice(0, a.ch) + u[0], i(0)), o(v, k + v.text.slice(s.ch), x)
+ var U = l(1, u.length - 1)
+ M > 1 && e.remove(a.line + 1, M - 1), e.insert(a.line + 1, U)
+ }
+ ot(e, 'change', e, t)
+ }
+ function vr(e, t, n) {
+ function r(i, o, l) {
+ if (i.linked)
+ for (var a = 0; a < i.linked.length; ++a) {
+ var s = i.linked[a]
+ if (s.doc != o) {
+ var u = l && s.sharedHist
+ ;(n && !u) || (t(s.doc, u), r(s.doc, i, u))
+ }
+ }
+ }
+ r(e, null, !0)
+ }
+ function yl(e, t) {
+ if (t.cm) throw new Error('This document is already in use.')
+ ;(e.doc = t),
+ (t.cm = e),
+ Bi(e),
+ Ji(e),
+ xl(e),
+ (e.options.direction = t.direction),
+ e.options.lineWrapping || Ci(e),
+ (e.options.mode = t.modeOption),
+ bt(e)
+ }
+ function xl(e) {
+ ;(e.doc.direction == 'rtl' ? P : Ee)(e.display.lineDiv, 'CodeMirror-rtl')
+ }
+ function Us(e) {
+ Dt(e, function () {
+ xl(e), bt(e)
+ })
+ }
+ function ni(e) {
+ ;(this.done = []),
+ (this.undone = []),
+ (this.undoDepth = e ? e.undoDepth : 1 / 0),
+ (this.lastModTime = this.lastSelTime = 0),
+ (this.lastOp = this.lastSelOp = null),
+ (this.lastOrigin = this.lastSelOrigin = null),
+ (this.generation = this.maxGeneration = e ? e.maxGeneration : 1)
+ }
+ function Vi(e, t) {
+ var n = { from: it(t.from), to: gr(t), text: Vt(e, t.from, t.to) }
+ return (
+ wl(e, n, t.from.line, t.to.line + 1),
+ vr(
+ e,
+ function (r) {
+ return wl(r, n, t.from.line, t.to.line + 1)
+ },
+ !0
+ ),
+ n
+ )
+ }
+ function bl(e) {
+ for (; e.length; ) {
+ var t = ge(e)
+ if (t.ranges) e.pop()
+ else break
+ }
+ }
+ function Gs(e, t) {
+ if (t) return bl(e.done), ge(e.done)
+ if (e.done.length && !ge(e.done).ranges) return ge(e.done)
+ if (e.done.length > 1 && !e.done[e.done.length - 2].ranges)
+ return e.done.pop(), ge(e.done)
+ }
+ function kl(e, t, n, r) {
+ var i = e.history
+ i.undone.length = 0
+ var o = +new Date(),
+ l,
+ a
+ if (
+ (i.lastOp == r ||
+ (i.lastOrigin == t.origin &&
+ t.origin &&
+ ((t.origin.charAt(0) == '+' &&
+ i.lastModTime > o - (e.cm ? e.cm.options.historyEventDelay : 500)) ||
+ t.origin.charAt(0) == '*'))) &&
+ (l = Gs(i, i.lastOp == r))
+ )
+ (a = ge(l.changes)),
+ Z(t.from, t.to) == 0 && Z(t.from, a.to) == 0
+ ? (a.to = gr(t))
+ : l.changes.push(Vi(e, t))
+ else {
+ var s = ge(i.done)
+ for (
+ (!s || !s.ranges) && ii(e.sel, i.done),
+ l = { changes: [Vi(e, t)], generation: i.generation },
+ i.done.push(l);
+ i.done.length > i.undoDepth;
+
+ )
+ i.done.shift(), i.done[0].ranges || i.done.shift()
+ }
+ i.done.push(n),
+ (i.generation = ++i.maxGeneration),
+ (i.lastModTime = i.lastSelTime = o),
+ (i.lastOp = i.lastSelOp = r),
+ (i.lastOrigin = i.lastSelOrigin = t.origin),
+ a || Ye(e, 'historyAdded')
+ }
+ function Xs(e, t, n, r) {
+ var i = t.charAt(0)
+ return (
+ i == '*' ||
+ (i == '+' &&
+ n.ranges.length == r.ranges.length &&
+ n.somethingSelected() == r.somethingSelected() &&
+ new Date() - e.history.lastSelTime <= (e.cm ? e.cm.options.historyEventDelay : 500))
+ )
+ }
+ function Ys(e, t, n, r) {
+ var i = e.history,
+ o = r && r.origin
+ n == i.lastSelOp ||
+ (o &&
+ i.lastSelOrigin == o &&
+ ((i.lastModTime == i.lastSelTime && i.lastOrigin == o) || Xs(e, o, ge(i.done), t)))
+ ? (i.done[i.done.length - 1] = t)
+ : ii(t, i.done),
+ (i.lastSelTime = +new Date()),
+ (i.lastSelOrigin = o),
+ (i.lastSelOp = n),
+ r && r.clearRedo !== !1 && bl(i.undone)
+ }
+ function ii(e, t) {
+ var n = ge(t)
+ ;(n && n.ranges && n.equals(e)) || t.push(e)
+ }
+ function wl(e, t, n, r) {
+ var i = t['spans_' + e.id],
+ o = 0
+ e.iter(Math.max(e.first, n), Math.min(e.first + e.size, r), function (l) {
+ l.markedSpans && ((i || (i = t['spans_' + e.id] = {}))[o] = l.markedSpans), ++o
+ })
+ }
+ function Zs(e) {
+ if (!e) return null
+ for (var t, n = 0; n < e.length; ++n)
+ e[n].marker.explicitlyCleared ? t || (t = e.slice(0, n)) : t && t.push(e[n])
+ return t ? (t.length ? t : null) : e
+ }
+ function Js(e, t) {
+ var n = t['spans_' + e.id]
+ if (!n) return null
+ for (var r = [], i = 0; i < t.text.length; ++i) r.push(Zs(n[i]))
+ return r
+ }
+ function Sl(e, t) {
+ var n = Js(e, t),
+ r = wi(e, t)
+ if (!n) return r
+ if (!r) return n
+ for (var i = 0; i < n.length; ++i) {
+ var o = n[i],
+ l = r[i]
+ if (o && l)
+ e: for (var a = 0; a < l.length; ++a) {
+ for (var s = l[a], u = 0; u < o.length; ++u)
+ if (o[u].marker == s.marker) continue e
+ o.push(s)
+ }
+ else l && (n[i] = l)
+ }
+ return n
+ }
+ function Yr(e, t, n) {
+ for (var r = [], i = 0; i < e.length; ++i) {
+ var o = e[i]
+ if (o.ranges) {
+ r.push(n ? At.prototype.deepCopy.call(o) : o)
+ continue
+ }
+ var l = o.changes,
+ a = []
+ r.push({ changes: a })
+ for (var s = 0; s < l.length; ++s) {
+ var u = l[s],
+ h = void 0
+ if ((a.push({ from: u.from, to: u.to, text: u.text }), t))
+ for (var v in u)
+ (h = v.match(/^spans_(\d+)$/)) &&
+ oe(t, Number(h[1])) > -1 &&
+ ((ge(a)[v] = u[v]), delete u[v])
+ }
+ }
+ return r
+ }
+ function $i(e, t, n, r) {
+ if (r) {
+ var i = e.anchor
+ if (n) {
+ var o = Z(t, i) < 0
+ o != Z(n, i) < 0 ? ((i = t), (t = n)) : o != Z(t, n) < 0 && (t = n)
+ }
+ return new He(i, t)
+ } else return new He(n || t, t)
+ }
+ function oi(e, t, n, r, i) {
+ i == null && (i = e.cm && (e.cm.display.shift || e.extend)),
+ pt(e, new At([$i(e.sel.primary(), t, n, i)], 0), r)
+ }
+ function Tl(e, t, n) {
+ for (
+ var r = [], i = e.cm && (e.cm.display.shift || e.extend), o = 0;
+ o < e.sel.ranges.length;
+ o++
+ )
+ r[o] = $i(e.sel.ranges[o], t[o], null, i)
+ var l = Kt(e.cm, r, e.sel.primIndex)
+ pt(e, l, n)
+ }
+ function eo(e, t, n, r) {
+ var i = e.sel.ranges.slice(0)
+ ;(i[t] = n), pt(e, Kt(e.cm, i, e.sel.primIndex), r)
+ }
+ function Ll(e, t, n, r) {
+ pt(e, pr(t, n), r)
+ }
+ function Qs(e, t, n) {
+ var r = {
+ ranges: t.ranges,
+ update: function (i) {
+ this.ranges = []
+ for (var o = 0; o < i.length; o++)
+ this.ranges[o] = new He(Ce(e, i[o].anchor), Ce(e, i[o].head))
+ },
+ origin: n && n.origin,
+ }
+ return (
+ Ye(e, 'beforeSelectionChange', e, r),
+ e.cm && Ye(e.cm, 'beforeSelectionChange', e.cm, r),
+ r.ranges != t.ranges ? Kt(e.cm, r.ranges, r.ranges.length - 1) : t
+ )
+ }
+ function Cl(e, t, n) {
+ var r = e.history.done,
+ i = ge(r)
+ i && i.ranges ? ((r[r.length - 1] = t), li(e, t, n)) : pt(e, t, n)
+ }
+ function pt(e, t, n) {
+ li(e, t, n), Ys(e, e.sel, e.cm ? e.cm.curOp.id : NaN, n)
+ }
+ function li(e, t, n) {
+ ;(Ct(e, 'beforeSelectionChange') || (e.cm && Ct(e.cm, 'beforeSelectionChange'))) &&
+ (t = Qs(e, t, n))
+ var r = (n && n.bias) || (Z(t.primary().head, e.sel.primary().head) < 0 ? -1 : 1)
+ Dl(e, Fl(e, t, r, !0)),
+ !(n && n.scroll === !1) &&
+ e.cm &&
+ e.cm.getOption('readOnly') != 'nocursor' &&
+ Gr(e.cm)
+ }
+ function Dl(e, t) {
+ t.equals(e.sel) ||
+ ((e.sel = t),
+ e.cm && ((e.cm.curOp.updateInput = 1), (e.cm.curOp.selectionChanged = !0), Ot(e.cm)),
+ ot(e, 'cursorActivity', e))
+ }
+ function Ml(e) {
+ Dl(e, Fl(e, e.sel, null, !1))
+ }
+ function Fl(e, t, n, r) {
+ for (var i, o = 0; o < t.ranges.length; o++) {
+ var l = t.ranges[o],
+ a = t.ranges.length == e.sel.ranges.length && e.sel.ranges[o],
+ s = ai(e, l.anchor, a && a.anchor, n, r),
+ u = l.head == l.anchor ? s : ai(e, l.head, a && a.head, n, r)
+ ;(i || s != l.anchor || u != l.head) &&
+ (i || (i = t.ranges.slice(0, o)), (i[o] = new He(s, u)))
+ }
+ return i ? Kt(e.cm, i, t.primIndex) : t
+ }
+ function Zr(e, t, n, r, i) {
+ var o = ce(e, t.line)
+ if (o.markedSpans)
+ for (var l = 0; l < o.markedSpans.length; ++l) {
+ var a = o.markedSpans[l],
+ s = a.marker,
+ u = 'selectLeft' in s ? !s.selectLeft : s.inclusiveLeft,
+ h = 'selectRight' in s ? !s.selectRight : s.inclusiveRight
+ if (
+ (a.from == null || (u ? a.from <= t.ch : a.from < t.ch)) &&
+ (a.to == null || (h ? a.to >= t.ch : a.to > t.ch))
+ ) {
+ if (i && (Ye(s, 'beforeCursorEnter'), s.explicitlyCleared))
+ if (o.markedSpans) {
+ --l
+ continue
+ } else break
+ if (!s.atomic) continue
+ if (n) {
+ var v = s.find(r < 0 ? 1 : -1),
+ k = void 0
+ if (
+ ((r < 0 ? h : u) && (v = Al(e, v, -r, v && v.line == t.line ? o : null)),
+ v && v.line == t.line && (k = Z(v, n)) && (r < 0 ? k < 0 : k > 0))
+ )
+ return Zr(e, v, t, r, i)
+ }
+ var x = s.find(r < 0 ? -1 : 1)
+ return (
+ (r < 0 ? u : h) && (x = Al(e, x, r, x.line == t.line ? o : null)),
+ x ? Zr(e, x, t, r, i) : null
+ )
+ }
+ }
+ return t
+ }
+ function ai(e, t, n, r, i) {
+ var o = r || 1,
+ l =
+ Zr(e, t, n, o, i) ||
+ (!i && Zr(e, t, n, o, !0)) ||
+ Zr(e, t, n, -o, i) ||
+ (!i && Zr(e, t, n, -o, !0))
+ return l || ((e.cantEdit = !0), L(e.first, 0))
+ }
+ function Al(e, t, n, r) {
+ return n < 0 && t.ch == 0
+ ? t.line > e.first
+ ? Ce(e, L(t.line - 1))
+ : null
+ : n > 0 && t.ch == (r || ce(e, t.line)).text.length
+ ? t.line < e.first + e.size - 1
+ ? L(t.line + 1, 0)
+ : null
+ : new L(t.line, t.ch + n)
+ }
+ function El(e) {
+ e.setSelection(L(e.firstLine(), 0), L(e.lastLine()), Ve)
+ }
+ function Nl(e, t, n) {
+ var r = {
+ canceled: !1,
+ from: t.from,
+ to: t.to,
+ text: t.text,
+ origin: t.origin,
+ cancel: function () {
+ return (r.canceled = !0)
+ },
+ }
+ return (
+ n &&
+ (r.update = function (i, o, l, a) {
+ i && (r.from = Ce(e, i)),
+ o && (r.to = Ce(e, o)),
+ l && (r.text = l),
+ a !== void 0 && (r.origin = a)
+ }),
+ Ye(e, 'beforeChange', e, r),
+ e.cm && Ye(e.cm, 'beforeChange', e.cm, r),
+ r.canceled
+ ? (e.cm && (e.cm.curOp.updateInput = 2), null)
+ : { from: r.from, to: r.to, text: r.text, origin: r.origin }
+ )
+ }
+ function Jr(e, t, n) {
+ if (e.cm) {
+ if (!e.cm.curOp) return lt(e.cm, Jr)(e, t, n)
+ if (e.cm.state.suppressEdits) return
+ }
+ if (
+ !(
+ (Ct(e, 'beforeChange') || (e.cm && Ct(e.cm, 'beforeChange'))) &&
+ ((t = Nl(e, t, !0)), !t)
+ )
+ ) {
+ var r = So && !n && Ya(e, t.from, t.to)
+ if (r)
+ for (var i = r.length - 1; i >= 0; --i)
+ Ol(e, { from: r[i].from, to: r[i].to, text: i ? [''] : t.text, origin: t.origin })
+ else Ol(e, t)
+ }
+ }
+ function Ol(e, t) {
+ if (!(t.text.length == 1 && t.text[0] == '' && Z(t.from, t.to) == 0)) {
+ var n = Zi(e, t)
+ kl(e, t, n, e.cm ? e.cm.curOp.id : NaN), Tn(e, t, n, wi(e, t))
+ var r = []
+ vr(e, function (i, o) {
+ !o && oe(r, i.history) == -1 && (Bl(i.history, t), r.push(i.history)),
+ Tn(i, t, null, wi(i, t))
+ })
+ }
+ }
+ function si(e, t, n) {
+ var r = e.cm && e.cm.state.suppressEdits
+ if (!(r && !n)) {
+ for (
+ var i = e.history,
+ o,
+ l = e.sel,
+ a = t == 'undo' ? i.done : i.undone,
+ s = t == 'undo' ? i.undone : i.done,
+ u = 0;
+ u < a.length && ((o = a[u]), !(n ? o.ranges && !o.equals(e.sel) : !o.ranges));
+ u++
+ );
+ if (u != a.length) {
+ for (i.lastOrigin = i.lastSelOrigin = null; ; )
+ if (((o = a.pop()), o.ranges)) {
+ if ((ii(o, s), n && !o.equals(e.sel))) {
+ pt(e, o, { clearRedo: !1 })
+ return
+ }
+ l = o
+ } else if (r) {
+ a.push(o)
+ return
+ } else break
+ var h = []
+ ii(l, s),
+ s.push({ changes: h, generation: i.generation }),
+ (i.generation = o.generation || ++i.maxGeneration)
+ for (
+ var v = Ct(e, 'beforeChange') || (e.cm && Ct(e.cm, 'beforeChange')),
+ k = function (E) {
+ var R = o.changes[E]
+ if (((R.origin = t), v && !Nl(e, R, !1))) return (a.length = 0), {}
+ h.push(Vi(e, R))
+ var U = E ? Zi(e, R) : ge(a)
+ Tn(e, R, U, Sl(e, R)),
+ !E && e.cm && e.cm.scrollIntoView({ from: R.from, to: gr(R) })
+ var Q = []
+ vr(e, function (G, ee) {
+ !ee && oe(Q, G.history) == -1 && (Bl(G.history, R), Q.push(G.history)),
+ Tn(G, R, null, Sl(G, R))
+ })
+ },
+ x = o.changes.length - 1;
+ x >= 0;
+ --x
+ ) {
+ var M = k(x)
+ if (M) return M.v
+ }
+ }
+ }
+ }
+ function Pl(e, t) {
+ if (
+ t != 0 &&
+ ((e.first += t),
+ (e.sel = new At(
+ Pe(e.sel.ranges, function (i) {
+ return new He(L(i.anchor.line + t, i.anchor.ch), L(i.head.line + t, i.head.ch))
+ }),
+ e.sel.primIndex
+ )),
+ e.cm)
+ ) {
+ bt(e.cm, e.first, e.first - t, t)
+ for (var n = e.cm.display, r = n.viewFrom; r < n.viewTo; r++) dr(e.cm, r, 'gutter')
+ }
+ }
+ function Tn(e, t, n, r) {
+ if (e.cm && !e.cm.curOp) return lt(e.cm, Tn)(e, t, n, r)
+ if (t.to.line < e.first) {
+ Pl(e, t.text.length - 1 - (t.to.line - t.from.line))
+ return
+ }
+ if (!(t.from.line > e.lastLine())) {
+ if (t.from.line < e.first) {
+ var i = t.text.length - 1 - (e.first - t.from.line)
+ Pl(e, i),
+ (t = {
+ from: L(e.first, 0),
+ to: L(t.to.line + i, t.to.ch),
+ text: [ge(t.text)],
+ origin: t.origin,
+ })
+ }
+ var o = e.lastLine()
+ t.to.line > o &&
+ (t = {
+ from: t.from,
+ to: L(o, ce(e, o).text.length),
+ text: [t.text[0]],
+ origin: t.origin,
+ }),
+ (t.removed = Vt(e, t.from, t.to)),
+ n || (n = Zi(e, t)),
+ e.cm ? Vs(e.cm, t, r) : Qi(e, t, r),
+ li(e, n, Ve),
+ e.cantEdit && ai(e, L(e.firstLine(), 0)) && (e.cantEdit = !1)
+ }
+ }
+ function Vs(e, t, n) {
+ var r = e.doc,
+ i = e.display,
+ o = t.from,
+ l = t.to,
+ a = !1,
+ s = o.line
+ e.options.lineWrapping ||
+ ((s = f(qt(ce(r, o.line)))),
+ r.iter(s, l.line + 1, function (x) {
+ if (x == i.maxLine) return (a = !0), !0
+ })),
+ r.sel.contains(t.from, t.to) > -1 && Ot(e),
+ Qi(r, t, n, $o(e)),
+ e.options.lineWrapping ||
+ (r.iter(s, o.line + t.text.length, function (x) {
+ var M = Un(x)
+ M > i.maxLineLength &&
+ ((i.maxLine = x), (i.maxLineLength = M), (i.maxLineChanged = !0), (a = !1))
+ }),
+ a && (e.curOp.updateMaxLine = !0)),
+ Ra(r, o.line),
+ kn(e, 400)
+ var u = t.text.length - (l.line - o.line) - 1
+ t.full
+ ? bt(e)
+ : o.line == l.line && t.text.length == 1 && !ml(e.doc, t)
+ ? dr(e, o.line, 'text')
+ : bt(e, o.line, l.line + 1, u)
+ var h = Ct(e, 'changes'),
+ v = Ct(e, 'change')
+ if (v || h) {
+ var k = { from: o, to: l, text: t.text, removed: t.removed, origin: t.origin }
+ v && ot(e, 'change', e, k),
+ h && (e.curOp.changeObjs || (e.curOp.changeObjs = [])).push(k)
+ }
+ e.display.selForContextMenu = null
+ }
+ function Qr(e, t, n, r, i) {
+ var o
+ r || (r = n),
+ Z(r, n) < 0 && ((o = [r, n]), (n = o[0]), (r = o[1])),
+ typeof t == 'string' && (t = e.splitLines(t)),
+ Jr(e, { from: n, to: r, text: t, origin: i })
+ }
+ function Il(e, t, n, r) {
+ n < e.line ? (e.line += r) : t < e.line && ((e.line = t), (e.ch = 0))
+ }
+ function zl(e, t, n, r) {
+ for (var i = 0; i < e.length; ++i) {
+ var o = e[i],
+ l = !0
+ if (o.ranges) {
+ o.copied || ((o = e[i] = o.deepCopy()), (o.copied = !0))
+ for (var a = 0; a < o.ranges.length; a++)
+ Il(o.ranges[a].anchor, t, n, r), Il(o.ranges[a].head, t, n, r)
+ continue
+ }
+ for (var s = 0; s < o.changes.length; ++s) {
+ var u = o.changes[s]
+ if (n < u.from.line)
+ (u.from = L(u.from.line + r, u.from.ch)), (u.to = L(u.to.line + r, u.to.ch))
+ else if (t <= u.to.line) {
+ l = !1
+ break
+ }
+ }
+ l || (e.splice(0, i + 1), (i = 0))
+ }
+ }
+ function Bl(e, t) {
+ var n = t.from.line,
+ r = t.to.line,
+ i = t.text.length - (r - n) - 1
+ zl(e.done, n, r, i), zl(e.undone, n, r, i)
+ }
+ function Ln(e, t, n, r) {
+ var i = t,
+ o = t
+ return (
+ typeof t == 'number' ? (o = ce(e, po(e, t))) : (i = f(t)),
+ i == null ? null : (r(o, i) && e.cm && dr(e.cm, i, n), o)
+ )
+ }
+ function Cn(e) {
+ ;(this.lines = e), (this.parent = null)
+ for (var t = 0, n = 0; n < e.length; ++n) (e[n].parent = this), (t += e[n].height)
+ this.height = t
+ }
+ Cn.prototype = {
+ chunkSize: function () {
+ return this.lines.length
+ },
+ removeInner: function (e, t) {
+ for (var n = e, r = e + t; n < r; ++n) {
+ var i = this.lines[n]
+ ;(this.height -= i.height), $a(i), ot(i, 'delete')
+ }
+ this.lines.splice(e, t)
+ },
+ collapse: function (e) {
+ e.push.apply(e, this.lines)
+ },
+ insertInner: function (e, t, n) {
+ ;(this.height += n),
+ (this.lines = this.lines.slice(0, e).concat(t).concat(this.lines.slice(e)))
+ for (var r = 0; r < t.length; ++r) t[r].parent = this
+ },
+ iterN: function (e, t, n) {
+ for (var r = e + t; e < r; ++e) if (n(this.lines[e])) return !0
+ },
+ }
+ function Dn(e) {
+ this.children = e
+ for (var t = 0, n = 0, r = 0; r < e.length; ++r) {
+ var i = e[r]
+ ;(t += i.chunkSize()), (n += i.height), (i.parent = this)
+ }
+ ;(this.size = t), (this.height = n), (this.parent = null)
+ }
+ Dn.prototype = {
+ chunkSize: function () {
+ return this.size
+ },
+ removeInner: function (e, t) {
+ this.size -= t
+ for (var n = 0; n < this.children.length; ++n) {
+ var r = this.children[n],
+ i = r.chunkSize()
+ if (e < i) {
+ var o = Math.min(t, i - e),
+ l = r.height
+ if (
+ (r.removeInner(e, o),
+ (this.height -= l - r.height),
+ i == o && (this.children.splice(n--, 1), (r.parent = null)),
+ (t -= o) == 0)
+ )
+ break
+ e = 0
+ } else e -= i
+ }
+ if (
+ this.size - t < 25 &&
+ (this.children.length > 1 || !(this.children[0] instanceof Cn))
+ ) {
+ var a = []
+ this.collapse(a), (this.children = [new Cn(a)]), (this.children[0].parent = this)
+ }
+ },
+ collapse: function (e) {
+ for (var t = 0; t < this.children.length; ++t) this.children[t].collapse(e)
+ },
+ insertInner: function (e, t, n) {
+ ;(this.size += t.length), (this.height += n)
+ for (var r = 0; r < this.children.length; ++r) {
+ var i = this.children[r],
+ o = i.chunkSize()
+ if (e <= o) {
+ if ((i.insertInner(e, t, n), i.lines && i.lines.length > 50)) {
+ for (var l = (i.lines.length % 25) + 25, a = l; a < i.lines.length; ) {
+ var s = new Cn(i.lines.slice(a, (a += 25)))
+ ;(i.height -= s.height), this.children.splice(++r, 0, s), (s.parent = this)
+ }
+ ;(i.lines = i.lines.slice(0, l)), this.maybeSpill()
+ }
+ break
+ }
+ e -= o
+ }
+ },
+ maybeSpill: function () {
+ if (!(this.children.length <= 10)) {
+ var e = this
+ do {
+ var t = e.children.splice(e.children.length - 5, 5),
+ n = new Dn(t)
+ if (e.parent) {
+ ;(e.size -= n.size), (e.height -= n.height)
+ var i = oe(e.parent.children, e)
+ e.parent.children.splice(i + 1, 0, n)
+ } else {
+ var r = new Dn(e.children)
+ ;(r.parent = e), (e.children = [r, n]), (e = r)
+ }
+ n.parent = e.parent
+ } while (e.children.length > 10)
+ e.parent.maybeSpill()
+ }
+ },
+ iterN: function (e, t, n) {
+ for (var r = 0; r < this.children.length; ++r) {
+ var i = this.children[r],
+ o = i.chunkSize()
+ if (e < o) {
+ var l = Math.min(t, o - e)
+ if (i.iterN(e, l, n)) return !0
+ if ((t -= l) == 0) break
+ e = 0
+ } else e -= o
+ }
+ },
+ }
+ var Mn = function (e, t, n) {
+ if (n) for (var r in n) n.hasOwnProperty(r) && (this[r] = n[r])
+ ;(this.doc = e), (this.node = t)
+ }
+ ;(Mn.prototype.clear = function () {
+ var e = this.doc.cm,
+ t = this.line.widgets,
+ n = this.line,
+ r = f(n)
+ if (!(r == null || !t)) {
+ for (var i = 0; i < t.length; ++i) t[i] == this && t.splice(i--, 1)
+ t.length || (n.widgets = null)
+ var o = pn(this)
+ Ft(n, Math.max(0, n.height - o)),
+ e &&
+ (Dt(e, function () {
+ Wl(e, n, -o), dr(e, r, 'widget')
+ }),
+ ot(e, 'lineWidgetCleared', e, this, r))
+ }
+ }),
+ (Mn.prototype.changed = function () {
+ var e = this,
+ t = this.height,
+ n = this.doc.cm,
+ r = this.line
+ this.height = null
+ var i = pn(this) - t
+ i &&
+ (cr(this.doc, r) || Ft(r, r.height + i),
+ n &&
+ Dt(n, function () {
+ ;(n.curOp.forceUpdate = !0), Wl(n, r, i), ot(n, 'lineWidgetChanged', n, e, f(r))
+ }))
+ }),
+ Bt(Mn)
+ function Wl(e, t, n) {
+ er(t) < ((e.curOp && e.curOp.scrollTop) || e.doc.scrollTop) && ji(e, n)
+ }
+ function $s(e, t, n, r) {
+ var i = new Mn(e, n, r),
+ o = e.cm
+ return (
+ o && i.noHScroll && (o.display.alignWidgets = !0),
+ Ln(e, t, 'widget', function (l) {
+ var a = l.widgets || (l.widgets = [])
+ if (
+ (i.insertAt == null
+ ? a.push(i)
+ : a.splice(Math.min(a.length, Math.max(0, i.insertAt)), 0, i),
+ (i.line = l),
+ o && !cr(e, l))
+ ) {
+ var s = er(l) < e.scrollTop
+ Ft(l, l.height + pn(i)), s && ji(o, i.height), (o.curOp.forceUpdate = !0)
+ }
+ return !0
+ }),
+ o && ot(o, 'lineWidgetAdded', o, i, typeof t == 'number' ? t : f(t)),
+ i
+ )
+ }
+ var _l = 0,
+ mr = function (e, t) {
+ ;(this.lines = []), (this.type = t), (this.doc = e), (this.id = ++_l)
+ }
+ ;(mr.prototype.clear = function () {
+ if (!this.explicitlyCleared) {
+ var e = this.doc.cm,
+ t = e && !e.curOp
+ if ((t && Mr(e), Ct(this, 'clear'))) {
+ var n = this.find()
+ n && ot(this, 'clear', n.from, n.to)
+ }
+ for (var r = null, i = null, o = 0; o < this.lines.length; ++o) {
+ var l = this.lines[o],
+ a = cn(l.markedSpans, this)
+ e && !this.collapsed
+ ? dr(e, f(l), 'text')
+ : e && (a.to != null && (i = f(l)), a.from != null && (r = f(l))),
+ (l.markedSpans = Ka(l.markedSpans, a)),
+ a.from == null && this.collapsed && !cr(this.doc, l) && e && Ft(l, jr(e.display))
+ }
+ if (e && this.collapsed && !e.options.lineWrapping)
+ for (var s = 0; s < this.lines.length; ++s) {
+ var u = qt(this.lines[s]),
+ h = Un(u)
+ h > e.display.maxLineLength &&
+ ((e.display.maxLine = u),
+ (e.display.maxLineLength = h),
+ (e.display.maxLineChanged = !0))
+ }
+ r != null && e && this.collapsed && bt(e, r, i + 1),
+ (this.lines.length = 0),
+ (this.explicitlyCleared = !0),
+ this.atomic && this.doc.cantEdit && ((this.doc.cantEdit = !1), e && Ml(e.doc)),
+ e && ot(e, 'markerCleared', e, this, r, i),
+ t && Fr(e),
+ this.parent && this.parent.clear()
+ }
+ }),
+ (mr.prototype.find = function (e, t) {
+ e == null && this.type == 'bookmark' && (e = 1)
+ for (var n, r, i = 0; i < this.lines.length; ++i) {
+ var o = this.lines[i],
+ l = cn(o.markedSpans, this)
+ if (l.from != null && ((n = L(t ? o : f(o), l.from)), e == -1)) return n
+ if (l.to != null && ((r = L(t ? o : f(o), l.to)), e == 1)) return r
+ }
+ return n && { from: n, to: r }
+ }),
+ (mr.prototype.changed = function () {
+ var e = this,
+ t = this.find(-1, !0),
+ n = this,
+ r = this.doc.cm
+ !t ||
+ !r ||
+ Dt(r, function () {
+ var i = t.line,
+ o = f(t.line),
+ l = Ai(r, o)
+ if (
+ (l && (Uo(l), (r.curOp.selectionChanged = r.curOp.forceUpdate = !0)),
+ (r.curOp.updateMaxLine = !0),
+ !cr(n.doc, i) && n.height != null)
+ ) {
+ var a = n.height
+ n.height = null
+ var s = pn(n) - a
+ s && Ft(i, i.height + s)
+ }
+ ot(r, 'markerChanged', r, e)
+ })
+ }),
+ (mr.prototype.attachLine = function (e) {
+ if (!this.lines.length && this.doc.cm) {
+ var t = this.doc.cm.curOp
+ ;(!t.maybeHiddenMarkers || oe(t.maybeHiddenMarkers, this) == -1) &&
+ (t.maybeUnhiddenMarkers || (t.maybeUnhiddenMarkers = [])).push(this)
+ }
+ this.lines.push(e)
+ }),
+ (mr.prototype.detachLine = function (e) {
+ if ((this.lines.splice(oe(this.lines, e), 1), !this.lines.length && this.doc.cm)) {
+ var t = this.doc.cm.curOp
+ ;(t.maybeHiddenMarkers || (t.maybeHiddenMarkers = [])).push(this)
+ }
+ }),
+ Bt(mr)
+ function Vr(e, t, n, r, i) {
+ if (r && r.shared) return eu(e, t, n, r, i)
+ if (e.cm && !e.cm.curOp) return lt(e.cm, Vr)(e, t, n, r, i)
+ var o = new mr(e, i),
+ l = Z(t, n)
+ if ((r && Te(r, o, !1), l > 0 || (l == 0 && o.clearWhenEmpty !== !1))) return o
+ if (
+ (o.replacedWith &&
+ ((o.collapsed = !0),
+ (o.widgetNode = S('span', [o.replacedWith], 'CodeMirror-widget')),
+ r.handleMouseEvents || o.widgetNode.setAttribute('cm-ignore-events', 'true'),
+ r.insertLeft && (o.widgetNode.insertLeft = !0)),
+ o.collapsed)
+ ) {
+ if (Fo(e, t.line, t, n, o) || (t.line != n.line && Fo(e, n.line, t, n, o)))
+ throw new Error('Inserting collapsed marker partially overlapping an existing one')
+ ja()
+ }
+ o.addToHistory && kl(e, { from: t, to: n, origin: 'markText' }, e.sel, NaN)
+ var a = t.line,
+ s = e.cm,
+ u
+ if (
+ (e.iter(a, n.line + 1, function (v) {
+ s &&
+ o.collapsed &&
+ !s.options.lineWrapping &&
+ qt(v) == s.display.maxLine &&
+ (u = !0),
+ o.collapsed && a != t.line && Ft(v, 0),
+ Ua(
+ v,
+ new Rn(o, a == t.line ? t.ch : null, a == n.line ? n.ch : null),
+ e.cm && e.cm.curOp
+ ),
+ ++a
+ }),
+ o.collapsed &&
+ e.iter(t.line, n.line + 1, function (v) {
+ cr(e, v) && Ft(v, 0)
+ }),
+ o.clearOnEnter &&
+ ve(o, 'beforeCursorEnter', function () {
+ return o.clear()
+ }),
+ o.readOnly &&
+ (qa(), (e.history.done.length || e.history.undone.length) && e.clearHistory()),
+ o.collapsed && ((o.id = ++_l), (o.atomic = !0)),
+ s)
+ ) {
+ if ((u && (s.curOp.updateMaxLine = !0), o.collapsed)) bt(s, t.line, n.line + 1)
+ else if (
+ o.className ||
+ o.startStyle ||
+ o.endStyle ||
+ o.css ||
+ o.attributes ||
+ o.title
+ )
+ for (var h = t.line; h <= n.line; h++) dr(s, h, 'text')
+ o.atomic && Ml(s.doc), ot(s, 'markerAdded', s, o)
+ }
+ return o
+ }
+ var Fn = function (e, t) {
+ ;(this.markers = e), (this.primary = t)
+ for (var n = 0; n < e.length; ++n) e[n].parent = this
+ }
+ ;(Fn.prototype.clear = function () {
+ if (!this.explicitlyCleared) {
+ this.explicitlyCleared = !0
+ for (var e = 0; e < this.markers.length; ++e) this.markers[e].clear()
+ ot(this, 'clear')
+ }
+ }),
+ (Fn.prototype.find = function (e, t) {
+ return this.primary.find(e, t)
+ }),
+ Bt(Fn)
+ function eu(e, t, n, r, i) {
+ ;(r = Te(r)), (r.shared = !1)
+ var o = [Vr(e, t, n, r, i)],
+ l = o[0],
+ a = r.widgetNode
+ return (
+ vr(e, function (s) {
+ a && (r.widgetNode = a.cloneNode(!0)), o.push(Vr(s, Ce(s, t), Ce(s, n), r, i))
+ for (var u = 0; u < s.linked.length; ++u) if (s.linked[u].isParent) return
+ l = ge(o)
+ }),
+ new Fn(o, l)
+ )
+ }
+ function Hl(e) {
+ return e.findMarks(L(e.first, 0), e.clipPos(L(e.lastLine())), function (t) {
+ return t.parent
+ })
+ }
+ function tu(e, t) {
+ for (var n = 0; n < t.length; n++) {
+ var r = t[n],
+ i = r.find(),
+ o = e.clipPos(i.from),
+ l = e.clipPos(i.to)
+ if (Z(o, l)) {
+ var a = Vr(e, o, l, r.primary, r.primary.type)
+ r.markers.push(a), (a.parent = r)
+ }
+ }
+ }
+ function ru(e) {
+ for (
+ var t = function (r) {
+ var i = e[r],
+ o = [i.primary.doc]
+ vr(i.primary.doc, function (s) {
+ return o.push(s)
+ })
+ for (var l = 0; l < i.markers.length; l++) {
+ var a = i.markers[l]
+ oe(o, a.doc) == -1 && ((a.parent = null), i.markers.splice(l--, 1))
+ }
+ },
+ n = 0;
+ n < e.length;
+ n++
+ )
+ t(n)
+ }
+ var nu = 0,
+ kt = function (e, t, n, r, i) {
+ if (!(this instanceof kt)) return new kt(e, t, n, r, i)
+ n == null && (n = 0),
+ Dn.call(this, [new Cn([new Hr('', null)])]),
+ (this.first = n),
+ (this.scrollTop = this.scrollLeft = 0),
+ (this.cantEdit = !1),
+ (this.cleanGeneration = 1),
+ (this.modeFrontier = this.highlightFrontier = n)
+ var o = L(n, 0)
+ ;(this.sel = pr(o)),
+ (this.history = new ni(null)),
+ (this.id = ++nu),
+ (this.modeOption = t),
+ (this.lineSep = r),
+ (this.direction = i == 'rtl' ? 'rtl' : 'ltr'),
+ (this.extend = !1),
+ typeof e == 'string' && (e = this.splitLines(e)),
+ Qi(this, { from: o, to: o, text: e }),
+ pt(this, pr(o), Ve)
+ }
+ ;(kt.prototype = F(Dn.prototype, {
+ constructor: kt,
+ iter: function (e, t, n) {
+ n
+ ? this.iterN(e - this.first, t - e, n)
+ : this.iterN(this.first, this.first + this.size, e)
+ },
+ insert: function (e, t) {
+ for (var n = 0, r = 0; r < t.length; ++r) n += t[r].height
+ this.insertInner(e - this.first, t, n)
+ },
+ remove: function (e, t) {
+ this.removeInner(e - this.first, t)
+ },
+ getValue: function (e) {
+ var t = un(this, this.first, this.first + this.size)
+ return e === !1 ? t : t.join(e || this.lineSeparator())
+ },
+ setValue: at(function (e) {
+ var t = L(this.first, 0),
+ n = this.first + this.size - 1
+ Jr(
+ this,
+ {
+ from: t,
+ to: L(n, ce(this, n).text.length),
+ text: this.splitLines(e),
+ origin: 'setValue',
+ full: !0,
+ },
+ !0
+ ),
+ this.cm && mn(this.cm, 0, 0),
+ pt(this, pr(t), Ve)
+ }),
+ replaceRange: function (e, t, n, r) {
+ ;(t = Ce(this, t)), (n = n ? Ce(this, n) : t), Qr(this, e, t, n, r)
+ },
+ getRange: function (e, t, n) {
+ var r = Vt(this, Ce(this, e), Ce(this, t))
+ return n === !1 ? r : n === '' ? r.join('') : r.join(n || this.lineSeparator())
+ },
+ getLine: function (e) {
+ var t = this.getLineHandle(e)
+ return t && t.text
+ },
+ getLineHandle: function (e) {
+ if (A(this, e)) return ce(this, e)
+ },
+ getLineNumber: function (e) {
+ return f(e)
+ },
+ getLineHandleVisualStart: function (e) {
+ return typeof e == 'number' && (e = ce(this, e)), qt(e)
+ },
+ lineCount: function () {
+ return this.size
+ },
+ firstLine: function () {
+ return this.first
+ },
+ lastLine: function () {
+ return this.first + this.size - 1
+ },
+ clipPos: function (e) {
+ return Ce(this, e)
+ },
+ getCursor: function (e) {
+ var t = this.sel.primary(),
+ n
+ return (
+ e == null || e == 'head'
+ ? (n = t.head)
+ : e == 'anchor'
+ ? (n = t.anchor)
+ : e == 'end' || e == 'to' || e === !1
+ ? (n = t.to())
+ : (n = t.from()),
+ n
+ )
+ },
+ listSelections: function () {
+ return this.sel.ranges
+ },
+ somethingSelected: function () {
+ return this.sel.somethingSelected()
+ },
+ setCursor: at(function (e, t, n) {
+ Ll(this, Ce(this, typeof e == 'number' ? L(e, t || 0) : e), null, n)
+ }),
+ setSelection: at(function (e, t, n) {
+ Ll(this, Ce(this, e), Ce(this, t || e), n)
+ }),
+ extendSelection: at(function (e, t, n) {
+ oi(this, Ce(this, e), t && Ce(this, t), n)
+ }),
+ extendSelections: at(function (e, t) {
+ Tl(this, go(this, e), t)
+ }),
+ extendSelectionsBy: at(function (e, t) {
+ var n = Pe(this.sel.ranges, e)
+ Tl(this, go(this, n), t)
+ }),
+ setSelections: at(function (e, t, n) {
+ if (e.length) {
+ for (var r = [], i = 0; i < e.length; i++)
+ r[i] = new He(Ce(this, e[i].anchor), Ce(this, e[i].head || e[i].anchor))
+ t == null && (t = Math.min(e.length - 1, this.sel.primIndex)),
+ pt(this, Kt(this.cm, r, t), n)
+ }
+ }),
+ addSelection: at(function (e, t, n) {
+ var r = this.sel.ranges.slice(0)
+ r.push(new He(Ce(this, e), Ce(this, t || e))),
+ pt(this, Kt(this.cm, r, r.length - 1), n)
+ }),
+ getSelection: function (e) {
+ for (var t = this.sel.ranges, n, r = 0; r < t.length; r++) {
+ var i = Vt(this, t[r].from(), t[r].to())
+ n = n ? n.concat(i) : i
+ }
+ return e === !1 ? n : n.join(e || this.lineSeparator())
+ },
+ getSelections: function (e) {
+ for (var t = [], n = this.sel.ranges, r = 0; r < n.length; r++) {
+ var i = Vt(this, n[r].from(), n[r].to())
+ e !== !1 && (i = i.join(e || this.lineSeparator())), (t[r] = i)
+ }
+ return t
+ },
+ replaceSelection: function (e, t, n) {
+ for (var r = [], i = 0; i < this.sel.ranges.length; i++) r[i] = e
+ this.replaceSelections(r, t, n || '+input')
+ },
+ replaceSelections: at(function (e, t, n) {
+ for (var r = [], i = this.sel, o = 0; o < i.ranges.length; o++) {
+ var l = i.ranges[o]
+ r[o] = { from: l.from(), to: l.to(), text: this.splitLines(e[o]), origin: n }
+ }
+ for (var a = t && t != 'end' && Ks(this, r, t), s = r.length - 1; s >= 0; s--)
+ Jr(this, r[s])
+ a ? Cl(this, a) : this.cm && Gr(this.cm)
+ }),
+ undo: at(function () {
+ si(this, 'undo')
+ }),
+ redo: at(function () {
+ si(this, 'redo')
+ }),
+ undoSelection: at(function () {
+ si(this, 'undo', !0)
+ }),
+ redoSelection: at(function () {
+ si(this, 'redo', !0)
+ }),
+ setExtending: function (e) {
+ this.extend = e
+ },
+ getExtending: function () {
+ return this.extend
+ },
+ historySize: function () {
+ for (var e = this.history, t = 0, n = 0, r = 0; r < e.done.length; r++)
+ e.done[r].ranges || ++t
+ for (var i = 0; i < e.undone.length; i++) e.undone[i].ranges || ++n
+ return { undo: t, redo: n }
+ },
+ clearHistory: function () {
+ var e = this
+ ;(this.history = new ni(this.history)),
+ vr(
+ this,
+ function (t) {
+ return (t.history = e.history)
+ },
+ !0
+ )
+ },
+ markClean: function () {
+ this.cleanGeneration = this.changeGeneration(!0)
+ },
+ changeGeneration: function (e) {
+ return (
+ e &&
+ (this.history.lastOp = this.history.lastSelOp = this.history.lastOrigin = null),
+ this.history.generation
+ )
+ },
+ isClean: function (e) {
+ return this.history.generation == (e || this.cleanGeneration)
+ },
+ getHistory: function () {
+ return { done: Yr(this.history.done), undone: Yr(this.history.undone) }
+ },
+ setHistory: function (e) {
+ var t = (this.history = new ni(this.history))
+ ;(t.done = Yr(e.done.slice(0), null, !0)),
+ (t.undone = Yr(e.undone.slice(0), null, !0))
+ },
+ setGutterMarker: at(function (e, t, n) {
+ return Ln(this, e, 'gutter', function (r) {
+ var i = r.gutterMarkers || (r.gutterMarkers = {})
+ return (i[t] = n), !n && he(i) && (r.gutterMarkers = null), !0
+ })
+ }),
+ clearGutter: at(function (e) {
+ var t = this
+ this.iter(function (n) {
+ n.gutterMarkers &&
+ n.gutterMarkers[e] &&
+ Ln(t, n, 'gutter', function () {
+ return (
+ (n.gutterMarkers[e] = null),
+ he(n.gutterMarkers) && (n.gutterMarkers = null),
+ !0
+ )
+ })
+ })
+ }),
+ lineInfo: function (e) {
+ var t
+ if (typeof e == 'number') {
+ if (!A(this, e) || ((t = e), (e = ce(this, e)), !e)) return null
+ } else if (((t = f(e)), t == null)) return null
+ return {
+ line: t,
+ handle: e,
+ text: e.text,
+ gutterMarkers: e.gutterMarkers,
+ textClass: e.textClass,
+ bgClass: e.bgClass,
+ wrapClass: e.wrapClass,
+ widgets: e.widgets,
+ }
+ },
+ addLineClass: at(function (e, t, n) {
+ return Ln(this, e, t == 'gutter' ? 'gutter' : 'class', function (r) {
+ var i =
+ t == 'text'
+ ? 'textClass'
+ : t == 'background'
+ ? 'bgClass'
+ : t == 'gutter'
+ ? 'gutterClass'
+ : 'wrapClass'
+ if (!r[i]) r[i] = n
+ else {
+ if (H(n).test(r[i])) return !1
+ r[i] += ' ' + n
+ }
+ return !0
+ })
+ }),
+ removeLineClass: at(function (e, t, n) {
+ return Ln(this, e, t == 'gutter' ? 'gutter' : 'class', function (r) {
+ var i =
+ t == 'text'
+ ? 'textClass'
+ : t == 'background'
+ ? 'bgClass'
+ : t == 'gutter'
+ ? 'gutterClass'
+ : 'wrapClass',
+ o = r[i]
+ if (o)
+ if (n == null) r[i] = null
+ else {
+ var l = o.match(H(n))
+ if (!l) return !1
+ var a = l.index + l[0].length
+ r[i] =
+ o.slice(0, l.index) + (!l.index || a == o.length ? '' : ' ') + o.slice(a) ||
+ null
+ }
+ else return !1
+ return !0
+ })
+ }),
+ addLineWidget: at(function (e, t, n) {
+ return $s(this, e, t, n)
+ }),
+ removeLineWidget: function (e) {
+ e.clear()
+ },
+ markText: function (e, t, n) {
+ return Vr(this, Ce(this, e), Ce(this, t), n, (n && n.type) || 'range')
+ },
+ setBookmark: function (e, t) {
+ var n = {
+ replacedWith: t && (t.nodeType == null ? t.widget : t),
+ insertLeft: t && t.insertLeft,
+ clearWhenEmpty: !1,
+ shared: t && t.shared,
+ handleMouseEvents: t && t.handleMouseEvents,
+ }
+ return (e = Ce(this, e)), Vr(this, e, e, n, 'bookmark')
+ },
+ findMarksAt: function (e) {
+ e = Ce(this, e)
+ var t = [],
+ n = ce(this, e.line).markedSpans
+ if (n)
+ for (var r = 0; r < n.length; ++r) {
+ var i = n[r]
+ ;(i.from == null || i.from <= e.ch) &&
+ (i.to == null || i.to >= e.ch) &&
+ t.push(i.marker.parent || i.marker)
+ }
+ return t
+ },
+ findMarks: function (e, t, n) {
+ ;(e = Ce(this, e)), (t = Ce(this, t))
+ var r = [],
+ i = e.line
+ return (
+ this.iter(e.line, t.line + 1, function (o) {
+ var l = o.markedSpans
+ if (l)
+ for (var a = 0; a < l.length; a++) {
+ var s = l[a]
+ !(
+ (s.to != null && i == e.line && e.ch >= s.to) ||
+ (s.from == null && i != e.line) ||
+ (s.from != null && i == t.line && s.from >= t.ch)
+ ) &&
+ (!n || n(s.marker)) &&
+ r.push(s.marker.parent || s.marker)
+ }
+ ++i
+ }),
+ r
+ )
+ },
+ getAllMarks: function () {
+ var e = []
+ return (
+ this.iter(function (t) {
+ var n = t.markedSpans
+ if (n) for (var r = 0; r < n.length; ++r) n[r].from != null && e.push(n[r].marker)
+ }),
+ e
+ )
+ },
+ posFromIndex: function (e) {
+ var t,
+ n = this.first,
+ r = this.lineSeparator().length
+ return (
+ this.iter(function (i) {
+ var o = i.text.length + r
+ if (o > e) return (t = e), !0
+ ;(e -= o), ++n
+ }),
+ Ce(this, L(n, t))
+ )
+ },
+ indexFromPos: function (e) {
+ e = Ce(this, e)
+ var t = e.ch
+ if (e.line < this.first || e.ch < 0) return 0
+ var n = this.lineSeparator().length
+ return (
+ this.iter(this.first, e.line, function (r) {
+ t += r.text.length + n
+ }),
+ t
+ )
+ },
+ copy: function (e) {
+ var t = new kt(
+ un(this, this.first, this.first + this.size),
+ this.modeOption,
+ this.first,
+ this.lineSep,
+ this.direction
+ )
+ return (
+ (t.scrollTop = this.scrollTop),
+ (t.scrollLeft = this.scrollLeft),
+ (t.sel = this.sel),
+ (t.extend = !1),
+ e &&
+ ((t.history.undoDepth = this.history.undoDepth), t.setHistory(this.getHistory())),
+ t
+ )
+ },
+ linkedDoc: function (e) {
+ e || (e = {})
+ var t = this.first,
+ n = this.first + this.size
+ e.from != null && e.from > t && (t = e.from), e.to != null && e.to < n && (n = e.to)
+ var r = new kt(
+ un(this, t, n),
+ e.mode || this.modeOption,
+ t,
+ this.lineSep,
+ this.direction
+ )
+ return (
+ e.sharedHist && (r.history = this.history),
+ (this.linked || (this.linked = [])).push({ doc: r, sharedHist: e.sharedHist }),
+ (r.linked = [{ doc: this, isParent: !0, sharedHist: e.sharedHist }]),
+ tu(r, Hl(this)),
+ r
+ )
+ },
+ unlinkDoc: function (e) {
+ if ((e instanceof Ge && (e = e.doc), this.linked))
+ for (var t = 0; t < this.linked.length; ++t) {
+ var n = this.linked[t]
+ if (n.doc == e) {
+ this.linked.splice(t, 1), e.unlinkDoc(this), ru(Hl(this))
+ break
+ }
+ }
+ if (e.history == this.history) {
+ var r = [e.id]
+ vr(
+ e,
+ function (i) {
+ return r.push(i.id)
+ },
+ !0
+ ),
+ (e.history = new ni(null)),
+ (e.history.done = Yr(this.history.done, r)),
+ (e.history.undone = Yr(this.history.undone, r))
+ }
+ },
+ iterLinkedDocs: function (e) {
+ vr(this, e)
+ },
+ getMode: function () {
+ return this.mode
+ },
+ getEditor: function () {
+ return this.cm
+ },
+ splitLines: function (e) {
+ return this.lineSep ? e.split(this.lineSep) : Pt(e)
+ },
+ lineSeparator: function () {
+ return (
+ this.lineSep ||
+ `
+`
+ )
+ },
+ setDirection: at(function (e) {
+ e != 'rtl' && (e = 'ltr'),
+ e != this.direction &&
+ ((this.direction = e),
+ this.iter(function (t) {
+ return (t.order = null)
+ }),
+ this.cm && Us(this.cm))
+ }),
+ })),
+ (kt.prototype.eachLine = kt.prototype.iter)
+ var Rl = 0
+ function iu(e) {
+ var t = this
+ if ((ql(t), !(Ze(t, e) || tr(t.display, e)))) {
+ ht(e), b && (Rl = +new Date())
+ var n = Tr(t, e, !0),
+ r = e.dataTransfer.files
+ if (!(!n || t.isReadOnly()))
+ if (r && r.length && window.FileReader && window.File)
+ for (
+ var i = r.length,
+ o = Array(i),
+ l = 0,
+ a = function () {
+ ++l == i &&
+ lt(t, function () {
+ n = Ce(t.doc, n)
+ var x = {
+ from: n,
+ to: n,
+ text: t.doc.splitLines(
+ o
+ .filter(function (M) {
+ return M != null
+ })
+ .join(t.doc.lineSeparator())
+ ),
+ origin: 'paste',
+ }
+ Jr(t.doc, x), Cl(t.doc, pr(Ce(t.doc, n), Ce(t.doc, gr(x))))
+ })()
+ },
+ s = function (x, M) {
+ if (
+ t.options.allowDropFileTypes &&
+ oe(t.options.allowDropFileTypes, x.type) == -1
+ ) {
+ a()
+ return
+ }
+ var E = new FileReader()
+ ;(E.onerror = function () {
+ return a()
+ }),
+ (E.onload = function () {
+ var R = E.result
+ if (/[\x00-\x08\x0e-\x1f]{2}/.test(R)) {
+ a()
+ return
+ }
+ ;(o[M] = R), a()
+ }),
+ E.readAsText(x)
+ },
+ u = 0;
+ u < r.length;
+ u++
+ )
+ s(r[u], u)
+ else {
+ if (t.state.draggingText && t.doc.sel.contains(n) > -1) {
+ t.state.draggingText(e),
+ setTimeout(function () {
+ return t.display.input.focus()
+ }, 20)
+ return
+ }
+ try {
+ var h = e.dataTransfer.getData('Text')
+ if (h) {
+ var v
+ if (
+ (t.state.draggingText &&
+ !t.state.draggingText.copy &&
+ (v = t.listSelections()),
+ li(t.doc, pr(n, n)),
+ v)
+ )
+ for (var k = 0; k < v.length; ++k)
+ Qr(t.doc, '', v[k].anchor, v[k].head, 'drag')
+ t.replaceSelection(h, 'around', 'paste'), t.display.input.focus()
+ }
+ } catch {}
+ }
+ }
+ }
+ function ou(e, t) {
+ if (b && (!e.state.draggingText || +new Date() - Rl < 100)) {
+ ar(t)
+ return
+ }
+ if (
+ !(Ze(e, t) || tr(e.display, t)) &&
+ (t.dataTransfer.setData('Text', e.getSelection()),
+ (t.dataTransfer.effectAllowed = 'copyMove'),
+ t.dataTransfer.setDragImage && !X)
+ ) {
+ var n = d('img', null, null, 'position: fixed; left: 0; top: 0;')
+ ;(n.src =
+ 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='),
+ z &&
+ ((n.width = n.height = 1),
+ e.display.wrapper.appendChild(n),
+ (n._top = n.offsetTop)),
+ t.dataTransfer.setDragImage(n, 0, 0),
+ z && n.parentNode.removeChild(n)
+ }
+ }
+ function lu(e, t) {
+ var n = Tr(e, t)
+ if (n) {
+ var r = document.createDocumentFragment()
+ Wi(e, n, r),
+ e.display.dragCursor ||
+ ((e.display.dragCursor = d(
+ 'div',
+ null,
+ 'CodeMirror-cursors CodeMirror-dragcursors'
+ )),
+ e.display.lineSpace.insertBefore(e.display.dragCursor, e.display.cursorDiv)),
+ J(e.display.dragCursor, r)
+ }
+ }
+ function ql(e) {
+ e.display.dragCursor &&
+ (e.display.lineSpace.removeChild(e.display.dragCursor), (e.display.dragCursor = null))
+ }
+ function jl(e) {
+ if (document.getElementsByClassName) {
+ for (
+ var t = document.getElementsByClassName('CodeMirror'), n = [], r = 0;
+ r < t.length;
+ r++
+ ) {
+ var i = t[r].CodeMirror
+ i && n.push(i)
+ }
+ n.length &&
+ n[0].operation(function () {
+ for (var o = 0; o < n.length; o++) e(n[o])
+ })
+ }
+ }
+ var Kl = !1
+ function au() {
+ Kl || (su(), (Kl = !0))
+ }
+ function su() {
+ var e
+ ve(window, 'resize', function () {
+ e == null &&
+ (e = setTimeout(function () {
+ ;(e = null), jl(uu)
+ }, 100))
+ }),
+ ve(window, 'blur', function () {
+ return jl(Ur)
+ })
+ }
+ function uu(e) {
+ var t = e.display
+ ;(t.cachedCharWidth = t.cachedTextHeight = t.cachedPaddingH = null),
+ (t.scrollbarsClipped = !1),
+ e.setSize()
+ }
+ for (
+ var yr = {
+ 3: 'Pause',
+ 8: 'Backspace',
+ 9: 'Tab',
+ 13: 'Enter',
+ 16: 'Shift',
+ 17: 'Ctrl',
+ 18: 'Alt',
+ 19: 'Pause',
+ 20: 'CapsLock',
+ 27: 'Esc',
+ 32: 'Space',
+ 33: 'PageUp',
+ 34: 'PageDown',
+ 35: 'End',
+ 36: 'Home',
+ 37: 'Left',
+ 38: 'Up',
+ 39: 'Right',
+ 40: 'Down',
+ 44: 'PrintScrn',
+ 45: 'Insert',
+ 46: 'Delete',
+ 59: ';',
+ 61: '=',
+ 91: 'Mod',
+ 92: 'Mod',
+ 93: 'Mod',
+ 106: '*',
+ 107: '=',
+ 109: '-',
+ 110: '.',
+ 111: '/',
+ 145: 'ScrollLock',
+ 173: '-',
+ 186: ';',
+ 187: '=',
+ 188: ',',
+ 189: '-',
+ 190: '.',
+ 191: '/',
+ 192: '`',
+ 219: '[',
+ 220: '\\',
+ 221: ']',
+ 222: "'",
+ 224: 'Mod',
+ 63232: 'Up',
+ 63233: 'Down',
+ 63234: 'Left',
+ 63235: 'Right',
+ 63272: 'Delete',
+ 63273: 'Home',
+ 63275: 'End',
+ 63276: 'PageUp',
+ 63277: 'PageDown',
+ 63302: 'Insert',
+ },
+ An = 0;
+ An < 10;
+ An++
+ )
+ yr[An + 48] = yr[An + 96] = String(An)
+ for (var ui = 65; ui <= 90; ui++) yr[ui] = String.fromCharCode(ui)
+ for (var En = 1; En <= 12; En++) yr[En + 111] = yr[En + 63235] = 'F' + En
+ var nr = {}
+ ;(nr.basic = {
+ Left: 'goCharLeft',
+ Right: 'goCharRight',
+ Up: 'goLineUp',
+ Down: 'goLineDown',
+ End: 'goLineEnd',
+ Home: 'goLineStartSmart',
+ PageUp: 'goPageUp',
+ PageDown: 'goPageDown',
+ Delete: 'delCharAfter',
+ Backspace: 'delCharBefore',
+ 'Shift-Backspace': 'delCharBefore',
+ Tab: 'defaultTab',
+ 'Shift-Tab': 'indentAuto',
+ Enter: 'newlineAndIndent',
+ Insert: 'toggleOverwrite',
+ Esc: 'singleSelection',
+ }),
+ (nr.pcDefault = {
+ 'Ctrl-A': 'selectAll',
+ 'Ctrl-D': 'deleteLine',
+ 'Ctrl-Z': 'undo',
+ 'Shift-Ctrl-Z': 'redo',
+ 'Ctrl-Y': 'redo',
+ 'Ctrl-Home': 'goDocStart',
+ 'Ctrl-End': 'goDocEnd',
+ 'Ctrl-Up': 'goLineUp',
+ 'Ctrl-Down': 'goLineDown',
+ 'Ctrl-Left': 'goGroupLeft',
+ 'Ctrl-Right': 'goGroupRight',
+ 'Alt-Left': 'goLineStart',
+ 'Alt-Right': 'goLineEnd',
+ 'Ctrl-Backspace': 'delGroupBefore',
+ 'Ctrl-Delete': 'delGroupAfter',
+ 'Ctrl-S': 'save',
+ 'Ctrl-F': 'find',
+ 'Ctrl-G': 'findNext',
+ 'Shift-Ctrl-G': 'findPrev',
+ 'Shift-Ctrl-F': 'replace',
+ 'Shift-Ctrl-R': 'replaceAll',
+ 'Ctrl-[': 'indentLess',
+ 'Ctrl-]': 'indentMore',
+ 'Ctrl-U': 'undoSelection',
+ 'Shift-Ctrl-U': 'redoSelection',
+ 'Alt-U': 'redoSelection',
+ fallthrough: 'basic',
+ }),
+ (nr.emacsy = {
+ 'Ctrl-F': 'goCharRight',
+ 'Ctrl-B': 'goCharLeft',
+ 'Ctrl-P': 'goLineUp',
+ 'Ctrl-N': 'goLineDown',
+ 'Ctrl-A': 'goLineStart',
+ 'Ctrl-E': 'goLineEnd',
+ 'Ctrl-V': 'goPageDown',
+ 'Shift-Ctrl-V': 'goPageUp',
+ 'Ctrl-D': 'delCharAfter',
+ 'Ctrl-H': 'delCharBefore',
+ 'Alt-Backspace': 'delWordBefore',
+ 'Ctrl-K': 'killLine',
+ 'Ctrl-T': 'transposeChars',
+ 'Ctrl-O': 'openLine',
+ }),
+ (nr.macDefault = {
+ 'Cmd-A': 'selectAll',
+ 'Cmd-D': 'deleteLine',
+ 'Cmd-Z': 'undo',
+ 'Shift-Cmd-Z': 'redo',
+ 'Cmd-Y': 'redo',
+ 'Cmd-Home': 'goDocStart',
+ 'Cmd-Up': 'goDocStart',
+ 'Cmd-End': 'goDocEnd',
+ 'Cmd-Down': 'goDocEnd',
+ 'Alt-Left': 'goGroupLeft',
+ 'Alt-Right': 'goGroupRight',
+ 'Cmd-Left': 'goLineLeft',
+ 'Cmd-Right': 'goLineRight',
+ 'Alt-Backspace': 'delGroupBefore',
+ 'Ctrl-Alt-Backspace': 'delGroupAfter',
+ 'Alt-Delete': 'delGroupAfter',
+ 'Cmd-S': 'save',
+ 'Cmd-F': 'find',
+ 'Cmd-G': 'findNext',
+ 'Shift-Cmd-G': 'findPrev',
+ 'Cmd-Alt-F': 'replace',
+ 'Shift-Cmd-Alt-F': 'replaceAll',
+ 'Cmd-[': 'indentLess',
+ 'Cmd-]': 'indentMore',
+ 'Cmd-Backspace': 'delWrappedLineLeft',
+ 'Cmd-Delete': 'delWrappedLineRight',
+ 'Cmd-U': 'undoSelection',
+ 'Shift-Cmd-U': 'redoSelection',
+ 'Ctrl-Up': 'goDocStart',
+ 'Ctrl-Down': 'goDocEnd',
+ fallthrough: ['basic', 'emacsy'],
+ }),
+ (nr.default = se ? nr.macDefault : nr.pcDefault)
+ function fu(e) {
+ var t = e.split(/-(?!$)/)
+ e = t[t.length - 1]
+ for (var n, r, i, o, l = 0; l < t.length - 1; l++) {
+ var a = t[l]
+ if (/^(cmd|meta|m)$/i.test(a)) o = !0
+ else if (/^a(lt)?$/i.test(a)) n = !0
+ else if (/^(c|ctrl|control)$/i.test(a)) r = !0
+ else if (/^s(hift)?$/i.test(a)) i = !0
+ else throw new Error('Unrecognized modifier name: ' + a)
+ }
+ return (
+ n && (e = 'Alt-' + e),
+ r && (e = 'Ctrl-' + e),
+ o && (e = 'Cmd-' + e),
+ i && (e = 'Shift-' + e),
+ e
+ )
+ }
+ function cu(e) {
+ var t = {}
+ for (var n in e)
+ if (e.hasOwnProperty(n)) {
+ var r = e[n]
+ if (/^(name|fallthrough|(de|at)tach)$/.test(n)) continue
+ if (r == '...') {
+ delete e[n]
+ continue
+ }
+ for (var i = Pe(n.split(' '), fu), o = 0; o < i.length; o++) {
+ var l = void 0,
+ a = void 0
+ o == i.length - 1
+ ? ((a = i.join(' ')), (l = r))
+ : ((a = i.slice(0, o + 1).join(' ')), (l = '...'))
+ var s = t[a]
+ if (!s) t[a] = l
+ else if (s != l) throw new Error('Inconsistent bindings for ' + a)
+ }
+ delete e[n]
+ }
+ for (var u in t) e[u] = t[u]
+ return e
+ }
+ function $r(e, t, n, r) {
+ t = fi(t)
+ var i = t.call ? t.call(e, r) : t[e]
+ if (i === !1) return 'nothing'
+ if (i === '...') return 'multi'
+ if (i != null && n(i)) return 'handled'
+ if (t.fallthrough) {
+ if (Object.prototype.toString.call(t.fallthrough) != '[object Array]')
+ return $r(e, t.fallthrough, n, r)
+ for (var o = 0; o < t.fallthrough.length; o++) {
+ var l = $r(e, t.fallthrough[o], n, r)
+ if (l) return l
+ }
+ }
+ }
+ function Ul(e) {
+ var t = typeof e == 'string' ? e : yr[e.keyCode]
+ return t == 'Ctrl' || t == 'Alt' || t == 'Shift' || t == 'Mod'
+ }
+ function Gl(e, t, n) {
+ var r = e
+ return (
+ t.altKey && r != 'Alt' && (e = 'Alt-' + e),
+ (ze ? t.metaKey : t.ctrlKey) && r != 'Ctrl' && (e = 'Ctrl-' + e),
+ (ze ? t.ctrlKey : t.metaKey) && r != 'Mod' && (e = 'Cmd-' + e),
+ !n && t.shiftKey && r != 'Shift' && (e = 'Shift-' + e),
+ e
+ )
+ }
+ function Xl(e, t) {
+ if (z && e.keyCode == 34 && e.char) return !1
+ var n = yr[e.keyCode]
+ return n == null || e.altGraphKey
+ ? !1
+ : (e.keyCode == 3 && e.code && (n = e.code), Gl(n, e, t))
+ }
+ function fi(e) {
+ return typeof e == 'string' ? nr[e] : e
+ }
+ function en(e, t) {
+ for (var n = e.doc.sel.ranges, r = [], i = 0; i < n.length; i++) {
+ for (var o = t(n[i]); r.length && Z(o.from, ge(r).to) <= 0; ) {
+ var l = r.pop()
+ if (Z(l.from, o.from) < 0) {
+ o.from = l.from
+ break
+ }
+ }
+ r.push(o)
+ }
+ Dt(e, function () {
+ for (var a = r.length - 1; a >= 0; a--) Qr(e.doc, '', r[a].from, r[a].to, '+delete')
+ Gr(e)
+ })
+ }
+ function to(e, t, n) {
+ var r = Lt(e.text, t + n, n)
+ return r < 0 || r > e.text.length ? null : r
+ }
+ function ro(e, t, n) {
+ var r = to(e, t.ch, n)
+ return r == null ? null : new L(t.line, r, n < 0 ? 'after' : 'before')
+ }
+ function no(e, t, n, r, i) {
+ if (e) {
+ t.doc.direction == 'rtl' && (i = -i)
+ var o = We(n, t.doc.direction)
+ if (o) {
+ var l = i < 0 ? ge(o) : o[0],
+ a = i < 0 == (l.level == 1),
+ s = a ? 'after' : 'before',
+ u
+ if (l.level > 0 || t.doc.direction == 'rtl') {
+ var h = qr(t, n)
+ u = i < 0 ? n.text.length - 1 : 0
+ var v = Zt(t, h, u).top
+ ;(u = Nt(
+ function (k) {
+ return Zt(t, h, k).top == v
+ },
+ i < 0 == (l.level == 1) ? l.from : l.to - 1,
+ u
+ )),
+ s == 'before' && (u = to(n, u, 1))
+ } else u = i < 0 ? l.to : l.from
+ return new L(r, u, s)
+ }
+ }
+ return new L(r, i < 0 ? n.text.length : 0, i < 0 ? 'before' : 'after')
+ }
+ function du(e, t, n, r) {
+ var i = We(t, e.doc.direction)
+ if (!i) return ro(t, n, r)
+ n.ch >= t.text.length
+ ? ((n.ch = t.text.length), (n.sticky = 'before'))
+ : n.ch <= 0 && ((n.ch = 0), (n.sticky = 'after'))
+ var o = lr(i, n.ch, n.sticky),
+ l = i[o]
+ if (
+ e.doc.direction == 'ltr' &&
+ l.level % 2 == 0 &&
+ (r > 0 ? l.to > n.ch : l.from < n.ch)
+ )
+ return ro(t, n, r)
+ var a = function (U, Q) {
+ return to(t, U instanceof L ? U.ch : U, Q)
+ },
+ s,
+ u = function (U) {
+ return e.options.lineWrapping
+ ? ((s = s || qr(e, t)), Vo(e, t, s, U))
+ : { begin: 0, end: t.text.length }
+ },
+ h = u(n.sticky == 'before' ? a(n, -1) : n.ch)
+ if (e.doc.direction == 'rtl' || l.level == 1) {
+ var v = (l.level == 1) == r < 0,
+ k = a(n, v ? 1 : -1)
+ if (k != null && (v ? k <= l.to && k <= h.end : k >= l.from && k >= h.begin)) {
+ var x = v ? 'before' : 'after'
+ return new L(n.line, k, x)
+ }
+ }
+ var M = function (U, Q, G) {
+ for (
+ var ee = function (Ke, st) {
+ return st ? new L(n.line, a(Ke, 1), 'before') : new L(n.line, Ke, 'after')
+ };
+ U >= 0 && U < i.length;
+ U += Q
+ ) {
+ var me = i[U],
+ pe = Q > 0 == (me.level != 1),
+ Fe = pe ? G.begin : a(G.end, -1)
+ if (
+ (me.from <= Fe && Fe < me.to) ||
+ ((Fe = pe ? me.from : a(me.to, -1)), G.begin <= Fe && Fe < G.end)
+ )
+ return ee(Fe, pe)
+ }
+ },
+ E = M(o + r, r, h)
+ if (E) return E
+ var R = r > 0 ? h.end : a(h.begin, -1)
+ return R != null &&
+ !(r > 0 && R == t.text.length) &&
+ ((E = M(r > 0 ? 0 : i.length - 1, r, u(R))), E)
+ ? E
+ : null
+ }
+ var Nn = {
+ selectAll: El,
+ singleSelection: function (e) {
+ return e.setSelection(e.getCursor('anchor'), e.getCursor('head'), Ve)
+ },
+ killLine: function (e) {
+ return en(e, function (t) {
+ if (t.empty()) {
+ var n = ce(e.doc, t.head.line).text.length
+ return t.head.ch == n && t.head.line < e.lastLine()
+ ? { from: t.head, to: L(t.head.line + 1, 0) }
+ : { from: t.head, to: L(t.head.line, n) }
+ } else return { from: t.from(), to: t.to() }
+ })
+ },
+ deleteLine: function (e) {
+ return en(e, function (t) {
+ return { from: L(t.from().line, 0), to: Ce(e.doc, L(t.to().line + 1, 0)) }
+ })
+ },
+ delLineLeft: function (e) {
+ return en(e, function (t) {
+ return { from: L(t.from().line, 0), to: t.from() }
+ })
+ },
+ delWrappedLineLeft: function (e) {
+ return en(e, function (t) {
+ var n = e.charCoords(t.head, 'div').top + 5,
+ r = e.coordsChar({ left: 0, top: n }, 'div')
+ return { from: r, to: t.from() }
+ })
+ },
+ delWrappedLineRight: function (e) {
+ return en(e, function (t) {
+ var n = e.charCoords(t.head, 'div').top + 5,
+ r = e.coordsChar({ left: e.display.lineDiv.offsetWidth + 100, top: n }, 'div')
+ return { from: t.from(), to: r }
+ })
+ },
+ undo: function (e) {
+ return e.undo()
+ },
+ redo: function (e) {
+ return e.redo()
+ },
+ undoSelection: function (e) {
+ return e.undoSelection()
+ },
+ redoSelection: function (e) {
+ return e.redoSelection()
+ },
+ goDocStart: function (e) {
+ return e.extendSelection(L(e.firstLine(), 0))
+ },
+ goDocEnd: function (e) {
+ return e.extendSelection(L(e.lastLine()))
+ },
+ goLineStart: function (e) {
+ return e.extendSelectionsBy(
+ function (t) {
+ return Yl(e, t.head.line)
+ },
+ { origin: '+move', bias: 1 }
+ )
+ },
+ goLineStartSmart: function (e) {
+ return e.extendSelectionsBy(
+ function (t) {
+ return Zl(e, t.head)
+ },
+ { origin: '+move', bias: 1 }
+ )
+ },
+ goLineEnd: function (e) {
+ return e.extendSelectionsBy(
+ function (t) {
+ return hu(e, t.head.line)
+ },
+ { origin: '+move', bias: -1 }
+ )
+ },
+ goLineRight: function (e) {
+ return e.extendSelectionsBy(function (t) {
+ var n = e.cursorCoords(t.head, 'div').top + 5
+ return e.coordsChar({ left: e.display.lineDiv.offsetWidth + 100, top: n }, 'div')
+ }, Oe)
+ },
+ goLineLeft: function (e) {
+ return e.extendSelectionsBy(function (t) {
+ var n = e.cursorCoords(t.head, 'div').top + 5
+ return e.coordsChar({ left: 0, top: n }, 'div')
+ }, Oe)
+ },
+ goLineLeftSmart: function (e) {
+ return e.extendSelectionsBy(function (t) {
+ var n = e.cursorCoords(t.head, 'div').top + 5,
+ r = e.coordsChar({ left: 0, top: n }, 'div')
+ return r.ch < e.getLine(r.line).search(/\S/) ? Zl(e, t.head) : r
+ }, Oe)
+ },
+ goLineUp: function (e) {
+ return e.moveV(-1, 'line')
+ },
+ goLineDown: function (e) {
+ return e.moveV(1, 'line')
+ },
+ goPageUp: function (e) {
+ return e.moveV(-1, 'page')
+ },
+ goPageDown: function (e) {
+ return e.moveV(1, 'page')
+ },
+ goCharLeft: function (e) {
+ return e.moveH(-1, 'char')
+ },
+ goCharRight: function (e) {
+ return e.moveH(1, 'char')
+ },
+ goColumnLeft: function (e) {
+ return e.moveH(-1, 'column')
+ },
+ goColumnRight: function (e) {
+ return e.moveH(1, 'column')
+ },
+ goWordLeft: function (e) {
+ return e.moveH(-1, 'word')
+ },
+ goGroupRight: function (e) {
+ return e.moveH(1, 'group')
+ },
+ goGroupLeft: function (e) {
+ return e.moveH(-1, 'group')
+ },
+ goWordRight: function (e) {
+ return e.moveH(1, 'word')
+ },
+ delCharBefore: function (e) {
+ return e.deleteH(-1, 'codepoint')
+ },
+ delCharAfter: function (e) {
+ return e.deleteH(1, 'char')
+ },
+ delWordBefore: function (e) {
+ return e.deleteH(-1, 'word')
+ },
+ delWordAfter: function (e) {
+ return e.deleteH(1, 'word')
+ },
+ delGroupBefore: function (e) {
+ return e.deleteH(-1, 'group')
+ },
+ delGroupAfter: function (e) {
+ return e.deleteH(1, 'group')
+ },
+ indentAuto: function (e) {
+ return e.indentSelection('smart')
+ },
+ indentMore: function (e) {
+ return e.indentSelection('add')
+ },
+ indentLess: function (e) {
+ return e.indentSelection('subtract')
+ },
+ insertTab: function (e) {
+ return e.replaceSelection(' ')
+ },
+ insertSoftTab: function (e) {
+ for (
+ var t = [], n = e.listSelections(), r = e.options.tabSize, i = 0;
+ i < n.length;
+ i++
+ ) {
+ var o = n[i].from(),
+ l = Le(e.getLine(o.line), o.ch, r)
+ t.push(et(r - (l % r)))
+ }
+ e.replaceSelections(t)
+ },
+ defaultTab: function (e) {
+ e.somethingSelected() ? e.indentSelection('add') : e.execCommand('insertTab')
+ },
+ transposeChars: function (e) {
+ return Dt(e, function () {
+ for (var t = e.listSelections(), n = [], r = 0; r < t.length; r++)
+ if (t[r].empty()) {
+ var i = t[r].head,
+ o = ce(e.doc, i.line).text
+ if (o) {
+ if ((i.ch == o.length && (i = new L(i.line, i.ch - 1)), i.ch > 0))
+ (i = new L(i.line, i.ch + 1)),
+ e.replaceRange(
+ o.charAt(i.ch - 1) + o.charAt(i.ch - 2),
+ L(i.line, i.ch - 2),
+ i,
+ '+transpose'
+ )
+ else if (i.line > e.doc.first) {
+ var l = ce(e.doc, i.line - 1).text
+ l &&
+ ((i = new L(i.line, 1)),
+ e.replaceRange(
+ o.charAt(0) + e.doc.lineSeparator() + l.charAt(l.length - 1),
+ L(i.line - 1, l.length - 1),
+ i,
+ '+transpose'
+ ))
+ }
+ }
+ n.push(new He(i, i))
+ }
+ e.setSelections(n)
+ })
+ },
+ newlineAndIndent: function (e) {
+ return Dt(e, function () {
+ for (var t = e.listSelections(), n = t.length - 1; n >= 0; n--)
+ e.replaceRange(e.doc.lineSeparator(), t[n].anchor, t[n].head, '+input')
+ t = e.listSelections()
+ for (var r = 0; r < t.length; r++) e.indentLine(t[r].from().line, null, !0)
+ Gr(e)
+ })
+ },
+ openLine: function (e) {
+ return e.replaceSelection(
+ `
+`,
+ 'start'
+ )
+ },
+ toggleOverwrite: function (e) {
+ return e.toggleOverwrite()
+ },
+ }
+ function Yl(e, t) {
+ var n = ce(e.doc, t),
+ r = qt(n)
+ return r != n && (t = f(r)), no(!0, e, r, t, 1)
+ }
+ function hu(e, t) {
+ var n = ce(e.doc, t),
+ r = Ja(n)
+ return r != n && (t = f(r)), no(!0, e, n, t, -1)
+ }
+ function Zl(e, t) {
+ var n = Yl(e, t.line),
+ r = ce(e.doc, n.line),
+ i = We(r, e.doc.direction)
+ if (!i || i[0].level == 0) {
+ var o = Math.max(n.ch, r.text.search(/\S/)),
+ l = t.line == n.line && t.ch <= o && t.ch
+ return L(n.line, l ? 0 : o, n.sticky)
+ }
+ return n
+ }
+ function ci(e, t, n) {
+ if (typeof t == 'string' && ((t = Nn[t]), !t)) return !1
+ e.display.input.ensurePolled()
+ var r = e.display.shift,
+ i = !1
+ try {
+ e.isReadOnly() && (e.state.suppressEdits = !0),
+ n && (e.display.shift = !1),
+ (i = t(e) != qe)
+ } finally {
+ ;(e.display.shift = r), (e.state.suppressEdits = !1)
+ }
+ return i
+ }
+ function pu(e, t, n) {
+ for (var r = 0; r < e.state.keyMaps.length; r++) {
+ var i = $r(t, e.state.keyMaps[r], n, e)
+ if (i) return i
+ }
+ return (
+ (e.options.extraKeys && $r(t, e.options.extraKeys, n, e)) ||
+ $r(t, e.options.keyMap, n, e)
+ )
+ }
+ var gu = new be()
+ function On(e, t, n, r) {
+ var i = e.state.keySeq
+ if (i) {
+ if (Ul(t)) return 'handled'
+ if (
+ (/\'$/.test(t)
+ ? (e.state.keySeq = null)
+ : gu.set(50, function () {
+ e.state.keySeq == i && ((e.state.keySeq = null), e.display.input.reset())
+ }),
+ Jl(e, i + ' ' + t, n, r))
+ )
+ return !0
+ }
+ return Jl(e, t, n, r)
+ }
+ function Jl(e, t, n, r) {
+ var i = pu(e, t, r)
+ return (
+ i == 'multi' && (e.state.keySeq = t),
+ i == 'handled' && ot(e, 'keyHandled', e, t, n),
+ (i == 'handled' || i == 'multi') && (ht(n), _i(e)),
+ !!i
+ )
+ }
+ function Ql(e, t) {
+ var n = Xl(t, !0)
+ return n
+ ? t.shiftKey && !e.state.keySeq
+ ? On(e, 'Shift-' + n, t, function (r) {
+ return ci(e, r, !0)
+ }) ||
+ On(e, n, t, function (r) {
+ if (typeof r == 'string' ? /^go[A-Z]/.test(r) : r.motion) return ci(e, r)
+ })
+ : On(e, n, t, function (r) {
+ return ci(e, r)
+ })
+ : !1
+ }
+ function vu(e, t, n) {
+ return On(e, "'" + n + "'", t, function (r) {
+ return ci(e, r, !0)
+ })
+ }
+ var io = null
+ function Vl(e) {
+ var t = this
+ if (
+ !(e.target && e.target != t.display.input.getField()) &&
+ ((t.curOp.focus = y(Y(t))), !Ze(t, e))
+ ) {
+ b && N < 11 && e.keyCode == 27 && (e.returnValue = !1)
+ var n = e.keyCode
+ t.display.shift = n == 16 || e.shiftKey
+ var r = Ql(t, e)
+ z &&
+ ((io = r ? n : null),
+ !r &&
+ n == 88 &&
+ !_n &&
+ (se ? e.metaKey : e.ctrlKey) &&
+ t.replaceSelection('', null, 'cut')),
+ I &&
+ !se &&
+ !r &&
+ n == 46 &&
+ e.shiftKey &&
+ !e.ctrlKey &&
+ document.execCommand &&
+ document.execCommand('cut'),
+ n == 18 && !/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className) && mu(t)
+ }
+ }
+ function mu(e) {
+ var t = e.display.lineDiv
+ P(t, 'CodeMirror-crosshair')
+ function n(r) {
+ ;(r.keyCode == 18 || !r.altKey) &&
+ (Ee(t, 'CodeMirror-crosshair'),
+ dt(document, 'keyup', n),
+ dt(document, 'mouseover', n))
+ }
+ ve(document, 'keyup', n), ve(document, 'mouseover', n)
+ }
+ function $l(e) {
+ e.keyCode == 16 && (this.doc.sel.shift = !1), Ze(this, e)
+ }
+ function ea(e) {
+ var t = this
+ if (
+ !(e.target && e.target != t.display.input.getField()) &&
+ !(tr(t.display, e) || Ze(t, e) || (e.ctrlKey && !e.altKey) || (se && e.metaKey))
+ ) {
+ var n = e.keyCode,
+ r = e.charCode
+ if (z && n == io) {
+ ;(io = null), ht(e)
+ return
+ }
+ if (!(z && (!e.which || e.which < 10) && Ql(t, e))) {
+ var i = String.fromCharCode(r ?? n)
+ i != '\b' && (vu(t, e, i) || t.display.input.onKeyPress(e))
+ }
+ }
+ }
+ var yu = 400,
+ oo = function (e, t, n) {
+ ;(this.time = e), (this.pos = t), (this.button = n)
+ }
+ oo.prototype.compare = function (e, t, n) {
+ return this.time + yu > e && Z(t, this.pos) == 0 && n == this.button
+ }
+ var Pn, In
+ function xu(e, t) {
+ var n = +new Date()
+ return In && In.compare(n, e, t)
+ ? ((Pn = In = null), 'triple')
+ : Pn && Pn.compare(n, e, t)
+ ? ((In = new oo(n, e, t)), (Pn = null), 'double')
+ : ((Pn = new oo(n, e, t)), (In = null), 'single')
+ }
+ function ta(e) {
+ var t = this,
+ n = t.display
+ if (!(Ze(t, e) || (n.activeTouch && n.input.supportsTouch()))) {
+ if ((n.input.ensurePolled(), (n.shift = e.shiftKey), tr(n, e))) {
+ _ ||
+ ((n.scroller.draggable = !1),
+ setTimeout(function () {
+ return (n.scroller.draggable = !0)
+ }, 100))
+ return
+ }
+ if (!lo(t, e)) {
+ var r = Tr(t, e),
+ i = Wt(e),
+ o = r ? xu(r, i) : 'single'
+ j(t).focus(),
+ i == 1 && t.state.selectingText && t.state.selectingText(e),
+ !(r && bu(t, i, r, o, e)) &&
+ (i == 1
+ ? r
+ ? wu(t, r, o, e)
+ : ln(e) == n.scroller && ht(e)
+ : i == 2
+ ? (r && oi(t.doc, r),
+ setTimeout(function () {
+ return n.input.focus()
+ }, 20))
+ : i == 3 && (fe ? t.display.input.onContextMenu(e) : Hi(t)))
+ }
+ }
+ }
+ function bu(e, t, n, r, i) {
+ var o = 'Click'
+ return (
+ r == 'double' ? (o = 'Double' + o) : r == 'triple' && (o = 'Triple' + o),
+ (o = (t == 1 ? 'Left' : t == 2 ? 'Middle' : 'Right') + o),
+ On(e, Gl(o, i), i, function (l) {
+ if ((typeof l == 'string' && (l = Nn[l]), !l)) return !1
+ var a = !1
+ try {
+ e.isReadOnly() && (e.state.suppressEdits = !0), (a = l(e, n) != qe)
+ } finally {
+ e.state.suppressEdits = !1
+ }
+ return a
+ })
+ )
+ }
+ function ku(e, t, n) {
+ var r = e.getOption('configureMouse'),
+ i = r ? r(e, t, n) : {}
+ if (i.unit == null) {
+ var o = Ae ? n.shiftKey && n.metaKey : n.altKey
+ i.unit = o ? 'rectangle' : t == 'single' ? 'char' : t == 'double' ? 'word' : 'line'
+ }
+ return (
+ (i.extend == null || e.doc.extend) && (i.extend = e.doc.extend || n.shiftKey),
+ i.addNew == null && (i.addNew = se ? n.metaKey : n.ctrlKey),
+ i.moveOnDrag == null && (i.moveOnDrag = !(se ? n.altKey : n.ctrlKey)),
+ i
+ )
+ }
+ function wu(e, t, n, r) {
+ b ? setTimeout(ue(rl, e), 0) : (e.curOp.focus = y(Y(e)))
+ var i = ku(e, n, r),
+ o = e.doc.sel,
+ l
+ e.options.dragDrop &&
+ yi &&
+ !e.isReadOnly() &&
+ n == 'single' &&
+ (l = o.contains(t)) > -1 &&
+ (Z((l = o.ranges[l]).from(), t) < 0 || t.xRel > 0) &&
+ (Z(l.to(), t) > 0 || t.xRel < 0)
+ ? Su(e, r, t, i)
+ : Tu(e, r, t, i)
+ }
+ function Su(e, t, n, r) {
+ var i = e.display,
+ o = !1,
+ l = lt(e, function (u) {
+ _ && (i.scroller.draggable = !1),
+ (e.state.draggingText = !1),
+ e.state.delayingBlurEvent &&
+ (e.hasFocus() ? (e.state.delayingBlurEvent = !1) : Hi(e)),
+ dt(i.wrapper.ownerDocument, 'mouseup', l),
+ dt(i.wrapper.ownerDocument, 'mousemove', a),
+ dt(i.scroller, 'dragstart', s),
+ dt(i.scroller, 'drop', l),
+ o ||
+ (ht(u),
+ r.addNew || oi(e.doc, n, null, null, r.extend),
+ (_ && !X) || (b && N == 9)
+ ? setTimeout(function () {
+ i.wrapper.ownerDocument.body.focus({ preventScroll: !0 }), i.input.focus()
+ }, 20)
+ : i.input.focus())
+ }),
+ a = function (u) {
+ o = o || Math.abs(t.clientX - u.clientX) + Math.abs(t.clientY - u.clientY) >= 10
+ },
+ s = function () {
+ return (o = !0)
+ }
+ _ && (i.scroller.draggable = !0),
+ (e.state.draggingText = l),
+ (l.copy = !r.moveOnDrag),
+ ve(i.wrapper.ownerDocument, 'mouseup', l),
+ ve(i.wrapper.ownerDocument, 'mousemove', a),
+ ve(i.scroller, 'dragstart', s),
+ ve(i.scroller, 'drop', l),
+ (e.state.delayingBlurEvent = !0),
+ setTimeout(function () {
+ return i.input.focus()
+ }, 20),
+ i.scroller.dragDrop && i.scroller.dragDrop()
+ }
+ function ra(e, t, n) {
+ if (n == 'char') return new He(t, t)
+ if (n == 'word') return e.findWordAt(t)
+ if (n == 'line') return new He(L(t.line, 0), Ce(e.doc, L(t.line + 1, 0)))
+ var r = n(e, t)
+ return new He(r.from, r.to)
+ }
+ function Tu(e, t, n, r) {
+ b && Hi(e)
+ var i = e.display,
+ o = e.doc
+ ht(t)
+ var l,
+ a,
+ s = o.sel,
+ u = s.ranges
+ if (
+ (r.addNew && !r.extend
+ ? ((a = o.sel.contains(n)), a > -1 ? (l = u[a]) : (l = new He(n, n)))
+ : ((l = o.sel.primary()), (a = o.sel.primIndex)),
+ r.unit == 'rectangle')
+ )
+ r.addNew || (l = new He(n, n)), (n = Tr(e, t, !0, !0)), (a = -1)
+ else {
+ var h = ra(e, n, r.unit)
+ r.extend ? (l = $i(l, h.anchor, h.head, r.extend)) : (l = h)
+ }
+ r.addNew
+ ? a == -1
+ ? ((a = u.length), pt(o, Kt(e, u.concat([l]), a), { scroll: !1, origin: '*mouse' }))
+ : u.length > 1 && u[a].empty() && r.unit == 'char' && !r.extend
+ ? (pt(o, Kt(e, u.slice(0, a).concat(u.slice(a + 1)), 0), {
+ scroll: !1,
+ origin: '*mouse',
+ }),
+ (s = o.sel))
+ : eo(o, a, l, ct)
+ : ((a = 0), pt(o, new At([l], 0), ct), (s = o.sel))
+ var v = n
+ function k(G) {
+ if (Z(v, G) != 0)
+ if (((v = G), r.unit == 'rectangle')) {
+ for (
+ var ee = [],
+ me = e.options.tabSize,
+ pe = Le(ce(o, n.line).text, n.ch, me),
+ Fe = Le(ce(o, G.line).text, G.ch, me),
+ Ke = Math.min(pe, Fe),
+ st = Math.max(pe, Fe),
+ Xe = Math.min(n.line, G.line),
+ Mt = Math.min(e.lastLine(), Math.max(n.line, G.line));
+ Xe <= Mt;
+ Xe++
+ ) {
+ var wt = ce(o, Xe).text,
+ tt = Re(wt, Ke, me)
+ Ke == st
+ ? ee.push(new He(L(Xe, tt), L(Xe, tt)))
+ : wt.length > tt && ee.push(new He(L(Xe, tt), L(Xe, Re(wt, st, me))))
+ }
+ ee.length || ee.push(new He(n, n)),
+ pt(o, Kt(e, s.ranges.slice(0, a).concat(ee), a), {
+ origin: '*mouse',
+ scroll: !1,
+ }),
+ e.scrollIntoView(G)
+ } else {
+ var St = l,
+ ft = ra(e, G, r.unit),
+ nt = St.anchor,
+ rt
+ Z(ft.anchor, nt) > 0
+ ? ((rt = ft.head), (nt = _r(St.from(), ft.anchor)))
+ : ((rt = ft.anchor), (nt = xt(St.to(), ft.head)))
+ var Qe = s.ranges.slice(0)
+ ;(Qe[a] = Lu(e, new He(Ce(o, nt), rt))), pt(o, Kt(e, Qe, a), ct)
+ }
+ }
+ var x = i.wrapper.getBoundingClientRect(),
+ M = 0
+ function E(G) {
+ var ee = ++M,
+ me = Tr(e, G, !0, r.unit == 'rectangle')
+ if (me)
+ if (Z(me, v) != 0) {
+ ;(e.curOp.focus = y(Y(e))), k(me)
+ var pe = $n(i, o)
+ ;(me.line >= pe.to || me.line < pe.from) &&
+ setTimeout(
+ lt(e, function () {
+ M == ee && E(G)
+ }),
+ 150
+ )
+ } else {
+ var Fe = G.clientY < x.top ? -20 : G.clientY > x.bottom ? 20 : 0
+ Fe &&
+ setTimeout(
+ lt(e, function () {
+ M == ee && ((i.scroller.scrollTop += Fe), E(G))
+ }),
+ 50
+ )
+ }
+ }
+ function R(G) {
+ ;(e.state.selectingText = !1),
+ (M = 1 / 0),
+ G && (ht(G), i.input.focus()),
+ dt(i.wrapper.ownerDocument, 'mousemove', U),
+ dt(i.wrapper.ownerDocument, 'mouseup', Q),
+ (o.history.lastSelOrigin = null)
+ }
+ var U = lt(e, function (G) {
+ G.buttons === 0 || !Wt(G) ? R(G) : E(G)
+ }),
+ Q = lt(e, R)
+ ;(e.state.selectingText = Q),
+ ve(i.wrapper.ownerDocument, 'mousemove', U),
+ ve(i.wrapper.ownerDocument, 'mouseup', Q)
+ }
+ function Lu(e, t) {
+ var n = t.anchor,
+ r = t.head,
+ i = ce(e.doc, n.line)
+ if (Z(n, r) == 0 && n.sticky == r.sticky) return t
+ var o = We(i)
+ if (!o) return t
+ var l = lr(o, n.ch, n.sticky),
+ a = o[l]
+ if (a.from != n.ch && a.to != n.ch) return t
+ var s = l + ((a.from == n.ch) == (a.level != 1) ? 0 : 1)
+ if (s == 0 || s == o.length) return t
+ var u
+ if (r.line != n.line) u = (r.line - n.line) * (e.doc.direction == 'ltr' ? 1 : -1) > 0
+ else {
+ var h = lr(o, r.ch, r.sticky),
+ v = h - l || (r.ch - n.ch) * (a.level == 1 ? -1 : 1)
+ h == s - 1 || h == s ? (u = v < 0) : (u = v > 0)
+ }
+ var k = o[s + (u ? -1 : 0)],
+ x = u == (k.level == 1),
+ M = x ? k.from : k.to,
+ E = x ? 'after' : 'before'
+ return n.ch == M && n.sticky == E ? t : new He(new L(n.line, M, E), r)
+ }
+ function na(e, t, n, r) {
+ var i, o
+ if (t.touches) (i = t.touches[0].clientX), (o = t.touches[0].clientY)
+ else
+ try {
+ ;(i = t.clientX), (o = t.clientY)
+ } catch {
+ return !1
+ }
+ if (i >= Math.floor(e.display.gutters.getBoundingClientRect().right)) return !1
+ r && ht(t)
+ var l = e.display,
+ a = l.lineDiv.getBoundingClientRect()
+ if (o > a.bottom || !Ct(e, n)) return yt(t)
+ o -= a.top - l.viewOffset
+ for (var s = 0; s < e.display.gutterSpecs.length; ++s) {
+ var u = l.gutters.childNodes[s]
+ if (u && u.getBoundingClientRect().right >= i) {
+ var h = g(e.doc, o),
+ v = e.display.gutterSpecs[s]
+ return Ye(e, n, e, h, v.className, t), yt(t)
+ }
+ }
+ }
+ function lo(e, t) {
+ return na(e, t, 'gutterClick', !0)
+ }
+ function ia(e, t) {
+ tr(e.display, t) ||
+ Cu(e, t) ||
+ Ze(e, t, 'contextmenu') ||
+ fe ||
+ e.display.input.onContextMenu(t)
+ }
+ function Cu(e, t) {
+ return Ct(e, 'gutterContextMenu') ? na(e, t, 'gutterContextMenu', !1) : !1
+ }
+ function oa(e) {
+ ;(e.display.wrapper.className =
+ e.display.wrapper.className.replace(/\s*cm-s-\S+/g, '') +
+ e.options.theme.replace(/(^|\s)\s*/g, ' cm-s-')),
+ gn(e)
+ }
+ var tn = {
+ toString: function () {
+ return 'CodeMirror.Init'
+ },
+ },
+ la = {},
+ di = {}
+ function Du(e) {
+ var t = e.optionHandlers
+ function n(r, i, o, l) {
+ ;(e.defaults[r] = i),
+ o &&
+ (t[r] = l
+ ? function (a, s, u) {
+ u != tn && o(a, s, u)
+ }
+ : o)
+ }
+ ;(e.defineOption = n),
+ (e.Init = tn),
+ n(
+ 'value',
+ '',
+ function (r, i) {
+ return r.setValue(i)
+ },
+ !0
+ ),
+ n(
+ 'mode',
+ null,
+ function (r, i) {
+ ;(r.doc.modeOption = i), Ji(r)
+ },
+ !0
+ ),
+ n('indentUnit', 2, Ji, !0),
+ n('indentWithTabs', !1),
+ n('smartIndent', !0),
+ n(
+ 'tabSize',
+ 4,
+ function (r) {
+ Sn(r), gn(r), bt(r)
+ },
+ !0
+ ),
+ n('lineSeparator', null, function (r, i) {
+ if (((r.doc.lineSep = i), !!i)) {
+ var o = [],
+ l = r.doc.first
+ r.doc.iter(function (s) {
+ for (var u = 0; ; ) {
+ var h = s.text.indexOf(i, u)
+ if (h == -1) break
+ ;(u = h + i.length), o.push(L(l, h))
+ }
+ l++
+ })
+ for (var a = o.length - 1; a >= 0; a--)
+ Qr(r.doc, i, o[a], L(o[a].line, o[a].ch + i.length))
+ }
+ }),
+ n(
+ 'specialChars',
+ /[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,
+ function (r, i, o) {
+ ;(r.state.specialChars = new RegExp(i.source + (i.test(' ') ? '' : '| '), 'g')),
+ o != tn && r.refresh()
+ }
+ ),
+ n(
+ 'specialCharPlaceholder',
+ rs,
+ function (r) {
+ return r.refresh()
+ },
+ !0
+ ),
+ n('electricChars', !0),
+ n(
+ 'inputStyle',
+ ne ? 'contenteditable' : 'textarea',
+ function () {
+ throw new Error('inputStyle can not (yet) be changed in a running editor')
+ },
+ !0
+ ),
+ n(
+ 'spellcheck',
+ !1,
+ function (r, i) {
+ return (r.getInputField().spellcheck = i)
+ },
+ !0
+ ),
+ n(
+ 'autocorrect',
+ !1,
+ function (r, i) {
+ return (r.getInputField().autocorrect = i)
+ },
+ !0
+ ),
+ n(
+ 'autocapitalize',
+ !1,
+ function (r, i) {
+ return (r.getInputField().autocapitalize = i)
+ },
+ !0
+ ),
+ n('rtlMoveVisually', !ye),
+ n('wholeLineUpdateBefore', !0),
+ n(
+ 'theme',
+ 'default',
+ function (r) {
+ oa(r), wn(r)
+ },
+ !0
+ ),
+ n('keyMap', 'default', function (r, i, o) {
+ var l = fi(i),
+ a = o != tn && fi(o)
+ a && a.detach && a.detach(r, l), l.attach && l.attach(r, a || null)
+ }),
+ n('extraKeys', null),
+ n('configureMouse', null),
+ n('lineWrapping', !1, Fu, !0),
+ n(
+ 'gutters',
+ [],
+ function (r, i) {
+ ;(r.display.gutterSpecs = Yi(i, r.options.lineNumbers)), wn(r)
+ },
+ !0
+ ),
+ n(
+ 'fixedGutter',
+ !0,
+ function (r, i) {
+ ;(r.display.gutters.style.left = i ? zi(r.display) + 'px' : '0'), r.refresh()
+ },
+ !0
+ ),
+ n(
+ 'coverGutterNextToScrollbar',
+ !1,
+ function (r) {
+ return Xr(r)
+ },
+ !0
+ ),
+ n(
+ 'scrollbarStyle',
+ 'native',
+ function (r) {
+ sl(r),
+ Xr(r),
+ r.display.scrollbars.setScrollTop(r.doc.scrollTop),
+ r.display.scrollbars.setScrollLeft(r.doc.scrollLeft)
+ },
+ !0
+ ),
+ n(
+ 'lineNumbers',
+ !1,
+ function (r, i) {
+ ;(r.display.gutterSpecs = Yi(r.options.gutters, i)), wn(r)
+ },
+ !0
+ ),
+ n('firstLineNumber', 1, wn, !0),
+ n(
+ 'lineNumberFormatter',
+ function (r) {
+ return r
+ },
+ wn,
+ !0
+ ),
+ n('showCursorWhenSelecting', !1, vn, !0),
+ n('resetSelectionOnContextMenu', !0),
+ n('lineWiseCopyCut', !0),
+ n('pasteLinesPerSelection', !0),
+ n('selectionsMayTouch', !1),
+ n('readOnly', !1, function (r, i) {
+ i == 'nocursor' && (Ur(r), r.display.input.blur()),
+ r.display.input.readOnlyChanged(i)
+ }),
+ n('screenReaderLabel', null, function (r, i) {
+ ;(i = i === '' ? null : i), r.display.input.screenReaderLabelChanged(i)
+ }),
+ n(
+ 'disableInput',
+ !1,
+ function (r, i) {
+ i || r.display.input.reset()
+ },
+ !0
+ ),
+ n('dragDrop', !0, Mu),
+ n('allowDropFileTypes', null),
+ n('cursorBlinkRate', 530),
+ n('cursorScrollMargin', 0),
+ n('cursorHeight', 1, vn, !0),
+ n('singleCursorHeightPerLine', !0, vn, !0),
+ n('workTime', 100),
+ n('workDelay', 100),
+ n('flattenSpans', !0, Sn, !0),
+ n('addModeClass', !1, Sn, !0),
+ n('pollInterval', 100),
+ n('undoDepth', 200, function (r, i) {
+ return (r.doc.history.undoDepth = i)
+ }),
+ n('historyEventDelay', 1250),
+ n(
+ 'viewportMargin',
+ 10,
+ function (r) {
+ return r.refresh()
+ },
+ !0
+ ),
+ n('maxHighlightLength', 1e4, Sn, !0),
+ n('moveInputWithCursor', !0, function (r, i) {
+ i || r.display.input.resetPosition()
+ }),
+ n('tabindex', null, function (r, i) {
+ return (r.display.input.getField().tabIndex = i || '')
+ }),
+ n('autofocus', null),
+ n(
+ 'direction',
+ 'ltr',
+ function (r, i) {
+ return r.doc.setDirection(i)
+ },
+ !0
+ ),
+ n('phrases', null)
+ }
+ function Mu(e, t, n) {
+ var r = n && n != tn
+ if (!t != !r) {
+ var i = e.display.dragFunctions,
+ o = t ? ve : dt
+ o(e.display.scroller, 'dragstart', i.start),
+ o(e.display.scroller, 'dragenter', i.enter),
+ o(e.display.scroller, 'dragover', i.over),
+ o(e.display.scroller, 'dragleave', i.leave),
+ o(e.display.scroller, 'drop', i.drop)
+ }
+ }
+ function Fu(e) {
+ e.options.lineWrapping
+ ? (P(e.display.wrapper, 'CodeMirror-wrap'),
+ (e.display.sizer.style.minWidth = ''),
+ (e.display.sizerWidth = null))
+ : (Ee(e.display.wrapper, 'CodeMirror-wrap'), Ci(e)),
+ Bi(e),
+ bt(e),
+ gn(e),
+ setTimeout(function () {
+ return Xr(e)
+ }, 100)
+ }
+ function Ge(e, t) {
+ var n = this
+ if (!(this instanceof Ge)) return new Ge(e, t)
+ ;(this.options = t = t ? Te(t) : {}), Te(la, t, !1)
+ var r = t.value
+ typeof r == 'string'
+ ? (r = new kt(r, t.mode, null, t.lineSeparator, t.direction))
+ : t.mode && (r.modeOption = t.mode),
+ (this.doc = r)
+ var i = new Ge.inputStyles[t.inputStyle](this),
+ o = (this.display = new qs(e, r, i, t))
+ ;(o.wrapper.CodeMirror = this),
+ oa(this),
+ t.lineWrapping && (this.display.wrapper.className += ' CodeMirror-wrap'),
+ sl(this),
+ (this.state = {
+ keyMaps: [],
+ overlays: [],
+ modeGen: 0,
+ overwrite: !1,
+ delayingBlurEvent: !1,
+ focused: !1,
+ suppressEdits: !1,
+ pasteIncoming: -1,
+ cutIncoming: -1,
+ selectingText: !1,
+ draggingText: !1,
+ highlight: new be(),
+ keySeq: null,
+ specialChars: null,
+ }),
+ t.autofocus && !ne && o.input.focus(),
+ b &&
+ N < 11 &&
+ setTimeout(function () {
+ return n.display.input.reset(!0)
+ }, 20),
+ Au(this),
+ au(),
+ Mr(this),
+ (this.curOp.forceUpdate = !0),
+ yl(this, r),
+ (t.autofocus && !ne) || this.hasFocus()
+ ? setTimeout(function () {
+ n.hasFocus() && !n.state.focused && Ri(n)
+ }, 20)
+ : Ur(this)
+ for (var l in di) di.hasOwnProperty(l) && di[l](this, t[l], tn)
+ cl(this), t.finishInit && t.finishInit(this)
+ for (var a = 0; a < ao.length; ++a) ao[a](this)
+ Fr(this),
+ _ &&
+ t.lineWrapping &&
+ getComputedStyle(o.lineDiv).textRendering == 'optimizelegibility' &&
+ (o.lineDiv.style.textRendering = 'auto')
+ }
+ ;(Ge.defaults = la), (Ge.optionHandlers = di)
+ function Au(e) {
+ var t = e.display
+ ve(t.scroller, 'mousedown', lt(e, ta)),
+ b && N < 11
+ ? ve(
+ t.scroller,
+ 'dblclick',
+ lt(e, function (s) {
+ if (!Ze(e, s)) {
+ var u = Tr(e, s)
+ if (!(!u || lo(e, s) || tr(e.display, s))) {
+ ht(s)
+ var h = e.findWordAt(u)
+ oi(e.doc, h.anchor, h.head)
+ }
+ }
+ })
+ )
+ : ve(t.scroller, 'dblclick', function (s) {
+ return Ze(e, s) || ht(s)
+ }),
+ ve(t.scroller, 'contextmenu', function (s) {
+ return ia(e, s)
+ }),
+ ve(t.input.getField(), 'contextmenu', function (s) {
+ t.scroller.contains(s.target) || ia(e, s)
+ })
+ var n,
+ r = { end: 0 }
+ function i() {
+ t.activeTouch &&
+ ((n = setTimeout(function () {
+ return (t.activeTouch = null)
+ }, 1e3)),
+ (r = t.activeTouch),
+ (r.end = +new Date()))
+ }
+ function o(s) {
+ if (s.touches.length != 1) return !1
+ var u = s.touches[0]
+ return u.radiusX <= 1 && u.radiusY <= 1
+ }
+ function l(s, u) {
+ if (u.left == null) return !0
+ var h = u.left - s.left,
+ v = u.top - s.top
+ return h * h + v * v > 20 * 20
+ }
+ ve(t.scroller, 'touchstart', function (s) {
+ if (!Ze(e, s) && !o(s) && !lo(e, s)) {
+ t.input.ensurePolled(), clearTimeout(n)
+ var u = +new Date()
+ ;(t.activeTouch = { start: u, moved: !1, prev: u - r.end <= 300 ? r : null }),
+ s.touches.length == 1 &&
+ ((t.activeTouch.left = s.touches[0].pageX),
+ (t.activeTouch.top = s.touches[0].pageY))
+ }
+ }),
+ ve(t.scroller, 'touchmove', function () {
+ t.activeTouch && (t.activeTouch.moved = !0)
+ }),
+ ve(t.scroller, 'touchend', function (s) {
+ var u = t.activeTouch
+ if (u && !tr(t, s) && u.left != null && !u.moved && new Date() - u.start < 300) {
+ var h = e.coordsChar(t.activeTouch, 'page'),
+ v
+ !u.prev || l(u, u.prev)
+ ? (v = new He(h, h))
+ : !u.prev.prev || l(u, u.prev.prev)
+ ? (v = e.findWordAt(h))
+ : (v = new He(L(h.line, 0), Ce(e.doc, L(h.line + 1, 0)))),
+ e.setSelection(v.anchor, v.head),
+ e.focus(),
+ ht(s)
+ }
+ i()
+ }),
+ ve(t.scroller, 'touchcancel', i),
+ ve(t.scroller, 'scroll', function () {
+ t.scroller.clientHeight &&
+ (yn(e, t.scroller.scrollTop),
+ Cr(e, t.scroller.scrollLeft, !0),
+ Ye(e, 'scroll', e))
+ }),
+ ve(t.scroller, 'mousewheel', function (s) {
+ return pl(e, s)
+ }),
+ ve(t.scroller, 'DOMMouseScroll', function (s) {
+ return pl(e, s)
+ }),
+ ve(t.wrapper, 'scroll', function () {
+ return (t.wrapper.scrollTop = t.wrapper.scrollLeft = 0)
+ }),
+ (t.dragFunctions = {
+ enter: function (s) {
+ Ze(e, s) || ar(s)
+ },
+ over: function (s) {
+ Ze(e, s) || (lu(e, s), ar(s))
+ },
+ start: function (s) {
+ return ou(e, s)
+ },
+ drop: lt(e, iu),
+ leave: function (s) {
+ Ze(e, s) || ql(e)
+ },
+ })
+ var a = t.input.getField()
+ ve(a, 'keyup', function (s) {
+ return $l.call(e, s)
+ }),
+ ve(a, 'keydown', lt(e, Vl)),
+ ve(a, 'keypress', lt(e, ea)),
+ ve(a, 'focus', function (s) {
+ return Ri(e, s)
+ }),
+ ve(a, 'blur', function (s) {
+ return Ur(e, s)
+ })
+ }
+ var ao = []
+ Ge.defineInitHook = function (e) {
+ return ao.push(e)
+ }
+ function zn(e, t, n, r) {
+ var i = e.doc,
+ o
+ n == null && (n = 'add'),
+ n == 'smart' && (i.mode.indent ? (o = fn(e, t).state) : (n = 'prev'))
+ var l = e.options.tabSize,
+ a = ce(i, t),
+ s = Le(a.text, null, l)
+ a.stateAfter && (a.stateAfter = null)
+ var u = a.text.match(/^\s*/)[0],
+ h
+ if (!r && !/\S/.test(a.text)) (h = 0), (n = 'not')
+ else if (
+ n == 'smart' &&
+ ((h = i.mode.indent(o, a.text.slice(u.length), a.text)), h == qe || h > 150)
+ ) {
+ if (!r) return
+ n = 'prev'
+ }
+ n == 'prev'
+ ? t > i.first
+ ? (h = Le(ce(i, t - 1).text, null, l))
+ : (h = 0)
+ : n == 'add'
+ ? (h = s + e.options.indentUnit)
+ : n == 'subtract'
+ ? (h = s - e.options.indentUnit)
+ : typeof n == 'number' && (h = s + n),
+ (h = Math.max(0, h))
+ var v = '',
+ k = 0
+ if (e.options.indentWithTabs)
+ for (var x = Math.floor(h / l); x; --x) (k += l), (v += ' ')
+ if ((k < h && (v += et(h - k)), v != u))
+ return Qr(i, v, L(t, 0), L(t, u.length), '+input'), (a.stateAfter = null), !0
+ for (var M = 0; M < i.sel.ranges.length; M++) {
+ var E = i.sel.ranges[M]
+ if (E.head.line == t && E.head.ch < u.length) {
+ var R = L(t, u.length)
+ eo(i, M, new He(R, R))
+ break
+ }
+ }
+ }
+ var Ut = null
+ function hi(e) {
+ Ut = e
+ }
+ function so(e, t, n, r, i) {
+ var o = e.doc
+ ;(e.display.shift = !1), r || (r = o.sel)
+ var l = +new Date() - 200,
+ a = i == 'paste' || e.state.pasteIncoming > l,
+ s = Pt(t),
+ u = null
+ if (a && r.ranges.length > 1)
+ if (
+ Ut &&
+ Ut.text.join(`
+`) == t
+ ) {
+ if (r.ranges.length % Ut.text.length == 0) {
+ u = []
+ for (var h = 0; h < Ut.text.length; h++) u.push(o.splitLines(Ut.text[h]))
+ }
+ } else
+ s.length == r.ranges.length &&
+ e.options.pasteLinesPerSelection &&
+ (u = Pe(s, function (U) {
+ return [U]
+ }))
+ for (var v = e.curOp.updateInput, k = r.ranges.length - 1; k >= 0; k--) {
+ var x = r.ranges[k],
+ M = x.from(),
+ E = x.to()
+ x.empty() &&
+ (n && n > 0
+ ? (M = L(M.line, M.ch - n))
+ : e.state.overwrite && !a
+ ? (E = L(E.line, Math.min(ce(o, E.line).text.length, E.ch + ge(s).length)))
+ : a &&
+ Ut &&
+ Ut.lineWise &&
+ Ut.text.join(`
+`) ==
+ s.join(`
+`) &&
+ (M = E = L(M.line, 0)))
+ var R = {
+ from: M,
+ to: E,
+ text: u ? u[k % u.length] : s,
+ origin: i || (a ? 'paste' : e.state.cutIncoming > l ? 'cut' : '+input'),
+ }
+ Jr(e.doc, R), ot(e, 'inputRead', e, R)
+ }
+ t && !a && sa(e, t),
+ Gr(e),
+ e.curOp.updateInput < 2 && (e.curOp.updateInput = v),
+ (e.curOp.typing = !0),
+ (e.state.pasteIncoming = e.state.cutIncoming = -1)
+ }
+ function aa(e, t) {
+ var n = e.clipboardData && e.clipboardData.getData('Text')
+ if (n)
+ return (
+ e.preventDefault(),
+ !t.isReadOnly() &&
+ !t.options.disableInput &&
+ t.hasFocus() &&
+ Dt(t, function () {
+ return so(t, n, 0, null, 'paste')
+ }),
+ !0
+ )
+ }
+ function sa(e, t) {
+ if (!(!e.options.electricChars || !e.options.smartIndent))
+ for (var n = e.doc.sel, r = n.ranges.length - 1; r >= 0; r--) {
+ var i = n.ranges[r]
+ if (!(i.head.ch > 100 || (r && n.ranges[r - 1].head.line == i.head.line))) {
+ var o = e.getModeAt(i.head),
+ l = !1
+ if (o.electricChars) {
+ for (var a = 0; a < o.electricChars.length; a++)
+ if (t.indexOf(o.electricChars.charAt(a)) > -1) {
+ l = zn(e, i.head.line, 'smart')
+ break
+ }
+ } else
+ o.electricInput &&
+ o.electricInput.test(ce(e.doc, i.head.line).text.slice(0, i.head.ch)) &&
+ (l = zn(e, i.head.line, 'smart'))
+ l && ot(e, 'electricInput', e, i.head.line)
+ }
+ }
+ }
+ function ua(e) {
+ for (var t = [], n = [], r = 0; r < e.doc.sel.ranges.length; r++) {
+ var i = e.doc.sel.ranges[r].head.line,
+ o = { anchor: L(i, 0), head: L(i + 1, 0) }
+ n.push(o), t.push(e.getRange(o.anchor, o.head))
+ }
+ return { text: t, ranges: n }
+ }
+ function uo(e, t, n, r) {
+ e.setAttribute('autocorrect', n ? 'on' : 'off'),
+ e.setAttribute('autocapitalize', r ? 'on' : 'off'),
+ e.setAttribute('spellcheck', !!t)
+ }
+ function fa() {
+ var e = d(
+ 'textarea',
+ null,
+ null,
+ 'position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none'
+ ),
+ t = d(
+ 'div',
+ [e],
+ null,
+ 'overflow: hidden; position: relative; width: 3px; height: 0px;'
+ )
+ return (
+ _ ? (e.style.width = '1000px') : e.setAttribute('wrap', 'off'),
+ te && (e.style.border = '1px solid black'),
+ t
+ )
+ }
+ function Eu(e) {
+ var t = e.optionHandlers,
+ n = (e.helpers = {})
+ ;(e.prototype = {
+ constructor: e,
+ focus: function () {
+ j(this).focus(), this.display.input.focus()
+ },
+ setOption: function (r, i) {
+ var o = this.options,
+ l = o[r]
+ ;(o[r] == i && r != 'mode') ||
+ ((o[r] = i),
+ t.hasOwnProperty(r) && lt(this, t[r])(this, i, l),
+ Ye(this, 'optionChange', this, r))
+ },
+ getOption: function (r) {
+ return this.options[r]
+ },
+ getDoc: function () {
+ return this.doc
+ },
+ addKeyMap: function (r, i) {
+ this.state.keyMaps[i ? 'push' : 'unshift'](fi(r))
+ },
+ removeKeyMap: function (r) {
+ for (var i = this.state.keyMaps, o = 0; o < i.length; ++o)
+ if (i[o] == r || i[o].name == r) return i.splice(o, 1), !0
+ },
+ addOverlay: vt(function (r, i) {
+ var o = r.token ? r : e.getMode(this.options, r)
+ if (o.startState) throw new Error('Overlays may not be stateful.')
+ T(
+ this.state.overlays,
+ { mode: o, modeSpec: r, opaque: i && i.opaque, priority: (i && i.priority) || 0 },
+ function (l) {
+ return l.priority
+ }
+ ),
+ this.state.modeGen++,
+ bt(this)
+ }),
+ removeOverlay: vt(function (r) {
+ for (var i = this.state.overlays, o = 0; o < i.length; ++o) {
+ var l = i[o].modeSpec
+ if (l == r || (typeof r == 'string' && l.name == r)) {
+ i.splice(o, 1), this.state.modeGen++, bt(this)
+ return
+ }
+ }
+ }),
+ indentLine: vt(function (r, i, o) {
+ typeof i != 'string' &&
+ typeof i != 'number' &&
+ (i == null
+ ? (i = this.options.smartIndent ? 'smart' : 'prev')
+ : (i = i ? 'add' : 'subtract')),
+ A(this.doc, r) && zn(this, r, i, o)
+ }),
+ indentSelection: vt(function (r) {
+ for (var i = this.doc.sel.ranges, o = -1, l = 0; l < i.length; l++) {
+ var a = i[l]
+ if (a.empty())
+ a.head.line > o &&
+ (zn(this, a.head.line, r, !0),
+ (o = a.head.line),
+ l == this.doc.sel.primIndex && Gr(this))
+ else {
+ var s = a.from(),
+ u = a.to(),
+ h = Math.max(o, s.line)
+ o = Math.min(this.lastLine(), u.line - (u.ch ? 0 : 1)) + 1
+ for (var v = h; v < o; ++v) zn(this, v, r)
+ var k = this.doc.sel.ranges
+ s.ch == 0 &&
+ i.length == k.length &&
+ k[l].from().ch > 0 &&
+ eo(this.doc, l, new He(s, k[l].to()), Ve)
+ }
+ }
+ }),
+ getTokenAt: function (r, i) {
+ return bo(this, r, i)
+ },
+ getLineTokens: function (r, i) {
+ return bo(this, L(r), i, !0)
+ },
+ getTokenTypeAt: function (r) {
+ r = Ce(this.doc, r)
+ var i = mo(this, ce(this.doc, r.line)),
+ o = 0,
+ l = (i.length - 1) / 2,
+ a = r.ch,
+ s
+ if (a == 0) s = i[2]
+ else
+ for (;;) {
+ var u = (o + l) >> 1
+ if ((u ? i[u * 2 - 1] : 0) >= a) l = u
+ else if (i[u * 2 + 1] < a) o = u + 1
+ else {
+ s = i[u * 2 + 2]
+ break
+ }
+ }
+ var h = s ? s.indexOf('overlay ') : -1
+ return h < 0 ? s : h == 0 ? null : s.slice(0, h - 1)
+ },
+ getModeAt: function (r) {
+ var i = this.doc.mode
+ return i.innerMode ? e.innerMode(i, this.getTokenAt(r).state).mode : i
+ },
+ getHelper: function (r, i) {
+ return this.getHelpers(r, i)[0]
+ },
+ getHelpers: function (r, i) {
+ var o = []
+ if (!n.hasOwnProperty(i)) return o
+ var l = n[i],
+ a = this.getModeAt(r)
+ if (typeof a[i] == 'string') l[a[i]] && o.push(l[a[i]])
+ else if (a[i])
+ for (var s = 0; s < a[i].length; s++) {
+ var u = l[a[i][s]]
+ u && o.push(u)
+ }
+ else
+ a.helperType && l[a.helperType]
+ ? o.push(l[a.helperType])
+ : l[a.name] && o.push(l[a.name])
+ for (var h = 0; h < l._global.length; h++) {
+ var v = l._global[h]
+ v.pred(a, this) && oe(o, v.val) == -1 && o.push(v.val)
+ }
+ return o
+ },
+ getStateAfter: function (r, i) {
+ var o = this.doc
+ return (r = po(o, r ?? o.first + o.size - 1)), fn(this, r + 1, i).state
+ },
+ cursorCoords: function (r, i) {
+ var o,
+ l = this.doc.sel.primary()
+ return (
+ r == null
+ ? (o = l.head)
+ : typeof r == 'object'
+ ? (o = Ce(this.doc, r))
+ : (o = r ? l.from() : l.to()),
+ jt(this, o, i || 'page')
+ )
+ },
+ charCoords: function (r, i) {
+ return Zn(this, Ce(this.doc, r), i || 'page')
+ },
+ coordsChar: function (r, i) {
+ return (r = Zo(this, r, i || 'page')), Oi(this, r.left, r.top)
+ },
+ lineAtHeight: function (r, i) {
+ return (
+ (r = Zo(this, { top: r, left: 0 }, i || 'page').top),
+ g(this.doc, r + this.display.viewOffset)
+ )
+ },
+ heightAtLine: function (r, i, o) {
+ var l = !1,
+ a
+ if (typeof r == 'number') {
+ var s = this.doc.first + this.doc.size - 1
+ r < this.doc.first ? (r = this.doc.first) : r > s && ((r = s), (l = !0)),
+ (a = ce(this.doc, r))
+ } else a = r
+ return (
+ Yn(this, a, { top: 0, left: 0 }, i || 'page', o || l).top +
+ (l ? this.doc.height - er(a) : 0)
+ )
+ },
+ defaultTextHeight: function () {
+ return jr(this.display)
+ },
+ defaultCharWidth: function () {
+ return Kr(this.display)
+ },
+ getViewport: function () {
+ return { from: this.display.viewFrom, to: this.display.viewTo }
+ },
+ addWidget: function (r, i, o, l, a) {
+ var s = this.display
+ r = jt(this, Ce(this.doc, r))
+ var u = r.bottom,
+ h = r.left
+ if (
+ ((i.style.position = 'absolute'),
+ i.setAttribute('cm-ignore-events', 'true'),
+ this.display.input.setUneditable(i),
+ s.sizer.appendChild(i),
+ l == 'over')
+ )
+ u = r.top
+ else if (l == 'above' || l == 'near') {
+ var v = Math.max(s.wrapper.clientHeight, this.doc.height),
+ k = Math.max(s.sizer.clientWidth, s.lineSpace.clientWidth)
+ ;(l == 'above' || r.bottom + i.offsetHeight > v) && r.top > i.offsetHeight
+ ? (u = r.top - i.offsetHeight)
+ : r.bottom + i.offsetHeight <= v && (u = r.bottom),
+ h + i.offsetWidth > k && (h = k - i.offsetWidth)
+ }
+ ;(i.style.top = u + 'px'),
+ (i.style.left = i.style.right = ''),
+ a == 'right'
+ ? ((h = s.sizer.clientWidth - i.offsetWidth), (i.style.right = '0px'))
+ : (a == 'left'
+ ? (h = 0)
+ : a == 'middle' && (h = (s.sizer.clientWidth - i.offsetWidth) / 2),
+ (i.style.left = h + 'px')),
+ o &&
+ Ms(this, {
+ left: h,
+ top: u,
+ right: h + i.offsetWidth,
+ bottom: u + i.offsetHeight,
+ })
+ },
+ triggerOnKeyDown: vt(Vl),
+ triggerOnKeyPress: vt(ea),
+ triggerOnKeyUp: $l,
+ triggerOnMouseDown: vt(ta),
+ execCommand: function (r) {
+ if (Nn.hasOwnProperty(r)) return Nn[r].call(null, this)
+ },
+ triggerElectric: vt(function (r) {
+ sa(this, r)
+ }),
+ findPosH: function (r, i, o, l) {
+ var a = 1
+ i < 0 && ((a = -1), (i = -i))
+ for (
+ var s = Ce(this.doc, r), u = 0;
+ u < i && ((s = fo(this.doc, s, a, o, l)), !s.hitSide);
+ ++u
+ );
+ return s
+ },
+ moveH: vt(function (r, i) {
+ var o = this
+ this.extendSelectionsBy(function (l) {
+ return o.display.shift || o.doc.extend || l.empty()
+ ? fo(o.doc, l.head, r, i, o.options.rtlMoveVisually)
+ : r < 0
+ ? l.from()
+ : l.to()
+ }, Oe)
+ }),
+ deleteH: vt(function (r, i) {
+ var o = this.doc.sel,
+ l = this.doc
+ o.somethingSelected()
+ ? l.replaceSelection('', null, '+delete')
+ : en(this, function (a) {
+ var s = fo(l, a.head, r, i, !1)
+ return r < 0 ? { from: s, to: a.head } : { from: a.head, to: s }
+ })
+ }),
+ findPosV: function (r, i, o, l) {
+ var a = 1,
+ s = l
+ i < 0 && ((a = -1), (i = -i))
+ for (var u = Ce(this.doc, r), h = 0; h < i; ++h) {
+ var v = jt(this, u, 'div')
+ if ((s == null ? (s = v.left) : (v.left = s), (u = ca(this, v, a, o)), u.hitSide))
+ break
+ }
+ return u
+ },
+ moveV: vt(function (r, i) {
+ var o = this,
+ l = this.doc,
+ a = [],
+ s = !this.display.shift && !l.extend && l.sel.somethingSelected()
+ if (
+ (l.extendSelectionsBy(function (h) {
+ if (s) return r < 0 ? h.from() : h.to()
+ var v = jt(o, h.head, 'div')
+ h.goalColumn != null && (v.left = h.goalColumn), a.push(v.left)
+ var k = ca(o, v, r, i)
+ return (
+ i == 'page' && h == l.sel.primary() && ji(o, Zn(o, k, 'div').top - v.top), k
+ )
+ }, Oe),
+ a.length)
+ )
+ for (var u = 0; u < l.sel.ranges.length; u++) l.sel.ranges[u].goalColumn = a[u]
+ }),
+ findWordAt: function (r) {
+ var i = this.doc,
+ o = ce(i, r.line).text,
+ l = r.ch,
+ a = r.ch
+ if (o) {
+ var s = this.getHelper(r, 'wordChars')
+ ;(r.sticky == 'before' || a == o.length) && l ? --l : ++a
+ for (
+ var u = o.charAt(l),
+ h = Se(u, s)
+ ? function (v) {
+ return Se(v, s)
+ }
+ : /\s/.test(u)
+ ? function (v) {
+ return /\s/.test(v)
+ }
+ : function (v) {
+ return !/\s/.test(v) && !Se(v)
+ };
+ l > 0 && h(o.charAt(l - 1));
+
+ )
+ --l
+ for (; a < o.length && h(o.charAt(a)); ) ++a
+ }
+ return new He(L(r.line, l), L(r.line, a))
+ },
+ toggleOverwrite: function (r) {
+ ;(r != null && r == this.state.overwrite) ||
+ ((this.state.overwrite = !this.state.overwrite)
+ ? P(this.display.cursorDiv, 'CodeMirror-overwrite')
+ : Ee(this.display.cursorDiv, 'CodeMirror-overwrite'),
+ Ye(this, 'overwriteToggle', this, this.state.overwrite))
+ },
+ hasFocus: function () {
+ return this.display.input.getField() == y(Y(this))
+ },
+ isReadOnly: function () {
+ return !!(this.options.readOnly || this.doc.cantEdit)
+ },
+ scrollTo: vt(function (r, i) {
+ mn(this, r, i)
+ }),
+ getScrollInfo: function () {
+ var r = this.display.scroller
+ return {
+ left: r.scrollLeft,
+ top: r.scrollTop,
+ height: r.scrollHeight - Yt(this) - this.display.barHeight,
+ width: r.scrollWidth - Yt(this) - this.display.barWidth,
+ clientHeight: Fi(this),
+ clientWidth: wr(this),
+ }
+ },
+ scrollIntoView: vt(function (r, i) {
+ r == null
+ ? ((r = { from: this.doc.sel.primary().head, to: null }),
+ i == null && (i = this.options.cursorScrollMargin))
+ : typeof r == 'number'
+ ? (r = { from: L(r, 0), to: null })
+ : r.from == null && (r = { from: r, to: null }),
+ r.to || (r.to = r.from),
+ (r.margin = i || 0),
+ r.from.line != null ? Fs(this, r) : il(this, r.from, r.to, r.margin)
+ }),
+ setSize: vt(function (r, i) {
+ var o = this,
+ l = function (s) {
+ return typeof s == 'number' || /^\d+$/.test(String(s)) ? s + 'px' : s
+ }
+ r != null && (this.display.wrapper.style.width = l(r)),
+ i != null && (this.display.wrapper.style.height = l(i)),
+ this.options.lineWrapping && Go(this)
+ var a = this.display.viewFrom
+ this.doc.iter(a, this.display.viewTo, function (s) {
+ if (s.widgets) {
+ for (var u = 0; u < s.widgets.length; u++)
+ if (s.widgets[u].noHScroll) {
+ dr(o, a, 'widget')
+ break
+ }
+ }
+ ++a
+ }),
+ (this.curOp.forceUpdate = !0),
+ Ye(this, 'refresh', this)
+ }),
+ operation: function (r) {
+ return Dt(this, r)
+ },
+ startOperation: function () {
+ return Mr(this)
+ },
+ endOperation: function () {
+ return Fr(this)
+ },
+ refresh: vt(function () {
+ var r = this.display.cachedTextHeight
+ bt(this),
+ (this.curOp.forceUpdate = !0),
+ gn(this),
+ mn(this, this.doc.scrollLeft, this.doc.scrollTop),
+ Gi(this.display),
+ (r == null ||
+ Math.abs(r - jr(this.display)) > 0.5 ||
+ this.options.lineWrapping) &&
+ Bi(this),
+ Ye(this, 'refresh', this)
+ }),
+ swapDoc: vt(function (r) {
+ var i = this.doc
+ return (
+ (i.cm = null),
+ this.state.selectingText && this.state.selectingText(),
+ yl(this, r),
+ gn(this),
+ this.display.input.reset(),
+ mn(this, r.scrollLeft, r.scrollTop),
+ (this.curOp.forceScroll = !0),
+ ot(this, 'swapDoc', this, i),
+ i
+ )
+ }),
+ phrase: function (r) {
+ var i = this.options.phrases
+ return i && Object.prototype.hasOwnProperty.call(i, r) ? i[r] : r
+ },
+ getInputField: function () {
+ return this.display.input.getField()
+ },
+ getWrapperElement: function () {
+ return this.display.wrapper
+ },
+ getScrollerElement: function () {
+ return this.display.scroller
+ },
+ getGutterElement: function () {
+ return this.display.gutters
+ },
+ }),
+ Bt(e),
+ (e.registerHelper = function (r, i, o) {
+ n.hasOwnProperty(r) || (n[r] = e[r] = { _global: [] }), (n[r][i] = o)
+ }),
+ (e.registerGlobalHelper = function (r, i, o, l) {
+ e.registerHelper(r, i, l), n[r]._global.push({ pred: o, val: l })
+ })
+ }
+ function fo(e, t, n, r, i) {
+ var o = t,
+ l = n,
+ a = ce(e, t.line),
+ s = i && e.direction == 'rtl' ? -n : n
+ function u() {
+ var Q = t.line + s
+ return Q < e.first || Q >= e.first + e.size
+ ? !1
+ : ((t = new L(Q, t.ch, t.sticky)), (a = ce(e, Q)))
+ }
+ function h(Q) {
+ var G
+ if (r == 'codepoint') {
+ var ee = a.text.charCodeAt(t.ch + (n > 0 ? 0 : -1))
+ if (isNaN(ee)) G = null
+ else {
+ var me = n > 0 ? ee >= 55296 && ee < 56320 : ee >= 56320 && ee < 57343
+ G = new L(
+ t.line,
+ Math.max(0, Math.min(a.text.length, t.ch + n * (me ? 2 : 1))),
+ -n
+ )
+ }
+ } else i ? (G = du(e.cm, a, t, n)) : (G = ro(a, t, n))
+ if (G == null)
+ if (!Q && u()) t = no(i, e.cm, a, t.line, s)
+ else return !1
+ else t = G
+ return !0
+ }
+ if (r == 'char' || r == 'codepoint') h()
+ else if (r == 'column') h(!0)
+ else if (r == 'word' || r == 'group')
+ for (
+ var v = null, k = r == 'group', x = e.cm && e.cm.getHelper(t, 'wordChars'), M = !0;
+ !(n < 0 && !h(!M));
+ M = !1
+ ) {
+ var E =
+ a.text.charAt(t.ch) ||
+ `
+`,
+ R = Se(E, x)
+ ? 'w'
+ : k &&
+ E ==
+ `
+`
+ ? 'n'
+ : !k || /\s/.test(E)
+ ? null
+ : 'p'
+ if ((k && !M && !R && (R = 's'), v && v != R)) {
+ n < 0 && ((n = 1), h(), (t.sticky = 'after'))
+ break
+ }
+ if ((R && (v = R), n > 0 && !h(!M))) break
+ }
+ var U = ai(e, t, o, l, !0)
+ return _e(o, U) && (U.hitSide = !0), U
+ }
+ function ca(e, t, n, r) {
+ var i = e.doc,
+ o = t.left,
+ l
+ if (r == 'page') {
+ var a = Math.min(
+ e.display.wrapper.clientHeight,
+ j(e).innerHeight || i(e).documentElement.clientHeight
+ ),
+ s = Math.max(a - 0.5 * jr(e.display), 3)
+ l = (n > 0 ? t.bottom : t.top) + n * s
+ } else r == 'line' && (l = n > 0 ? t.bottom + 3 : t.top - 3)
+ for (var u; (u = Oi(e, o, l)), !!u.outside; ) {
+ if (n < 0 ? l <= 0 : l >= i.height) {
+ u.hitSide = !0
+ break
+ }
+ l += n * 5
+ }
+ return u
+ }
+ var je = function (e) {
+ ;(this.cm = e),
+ (this.lastAnchorNode =
+ this.lastAnchorOffset =
+ this.lastFocusNode =
+ this.lastFocusOffset =
+ null),
+ (this.polling = new be()),
+ (this.composing = null),
+ (this.gracePeriod = !1),
+ (this.readDOMTimeout = null)
+ }
+ ;(je.prototype.init = function (e) {
+ var t = this,
+ n = this,
+ r = n.cm,
+ i = (n.div = e.lineDiv)
+ ;(i.contentEditable = !0),
+ uo(i, r.options.spellcheck, r.options.autocorrect, r.options.autocapitalize)
+ function o(a) {
+ for (var s = a.target; s; s = s.parentNode) {
+ if (s == i) return !0
+ if (/\bCodeMirror-(?:line)?widget\b/.test(s.className)) break
+ }
+ return !1
+ }
+ ve(i, 'paste', function (a) {
+ !o(a) ||
+ Ze(r, a) ||
+ aa(a, r) ||
+ (N <= 11 &&
+ setTimeout(
+ lt(r, function () {
+ return t.updateFromDOM()
+ }),
+ 20
+ ))
+ }),
+ ve(i, 'compositionstart', function (a) {
+ t.composing = { data: a.data, done: !1 }
+ }),
+ ve(i, 'compositionupdate', function (a) {
+ t.composing || (t.composing = { data: a.data, done: !1 })
+ }),
+ ve(i, 'compositionend', function (a) {
+ t.composing &&
+ (a.data != t.composing.data && t.readFromDOMSoon(), (t.composing.done = !0))
+ }),
+ ve(i, 'touchstart', function () {
+ return n.forceCompositionEnd()
+ }),
+ ve(i, 'input', function () {
+ t.composing || t.readFromDOMSoon()
+ })
+ function l(a) {
+ if (!(!o(a) || Ze(r, a))) {
+ if (r.somethingSelected())
+ hi({ lineWise: !1, text: r.getSelections() }),
+ a.type == 'cut' && r.replaceSelection('', null, 'cut')
+ else if (r.options.lineWiseCopyCut) {
+ var s = ua(r)
+ hi({ lineWise: !0, text: s.text }),
+ a.type == 'cut' &&
+ r.operation(function () {
+ r.setSelections(s.ranges, 0, Ve), r.replaceSelection('', null, 'cut')
+ })
+ } else return
+ if (a.clipboardData) {
+ a.clipboardData.clearData()
+ var u = Ut.text.join(`
+`)
+ if ((a.clipboardData.setData('Text', u), a.clipboardData.getData('Text') == u)) {
+ a.preventDefault()
+ return
+ }
+ }
+ var h = fa(),
+ v = h.firstChild
+ uo(v),
+ r.display.lineSpace.insertBefore(h, r.display.lineSpace.firstChild),
+ (v.value = Ut.text.join(`
+`))
+ var k = y(xe(i))
+ p(v),
+ setTimeout(function () {
+ r.display.lineSpace.removeChild(h),
+ k.focus(),
+ k == i && n.showPrimarySelection()
+ }, 50)
+ }
+ }
+ ve(i, 'copy', l), ve(i, 'cut', l)
+ }),
+ (je.prototype.screenReaderLabelChanged = function (e) {
+ e ? this.div.setAttribute('aria-label', e) : this.div.removeAttribute('aria-label')
+ }),
+ (je.prototype.prepareSelection = function () {
+ var e = tl(this.cm, !1)
+ return (e.focus = y(xe(this.div)) == this.div), e
+ }),
+ (je.prototype.showSelection = function (e, t) {
+ !e ||
+ !this.cm.display.view.length ||
+ ((e.focus || t) && this.showPrimarySelection(), this.showMultipleSelections(e))
+ }),
+ (je.prototype.getSelection = function () {
+ return this.cm.display.wrapper.ownerDocument.getSelection()
+ }),
+ (je.prototype.showPrimarySelection = function () {
+ var e = this.getSelection(),
+ t = this.cm,
+ n = t.doc.sel.primary(),
+ r = n.from(),
+ i = n.to()
+ if (
+ t.display.viewTo == t.display.viewFrom ||
+ r.line >= t.display.viewTo ||
+ i.line < t.display.viewFrom
+ ) {
+ e.removeAllRanges()
+ return
+ }
+ var o = pi(t, e.anchorNode, e.anchorOffset),
+ l = pi(t, e.focusNode, e.focusOffset)
+ if (!(o && !o.bad && l && !l.bad && Z(_r(o, l), r) == 0 && Z(xt(o, l), i) == 0)) {
+ var a = t.display.view,
+ s = (r.line >= t.display.viewFrom && da(t, r)) || {
+ node: a[0].measure.map[2],
+ offset: 0,
+ },
+ u = i.line < t.display.viewTo && da(t, i)
+ if (!u) {
+ var h = a[a.length - 1].measure,
+ v = h.maps ? h.maps[h.maps.length - 1] : h.map
+ u = { node: v[v.length - 1], offset: v[v.length - 2] - v[v.length - 3] }
+ }
+ if (!s || !u) {
+ e.removeAllRanges()
+ return
+ }
+ var k = e.rangeCount && e.getRangeAt(0),
+ x
+ try {
+ x = w(s.node, s.offset, u.offset, u.node)
+ } catch {}
+ x &&
+ (!I && t.state.focused
+ ? (e.collapse(s.node, s.offset),
+ x.collapsed || (e.removeAllRanges(), e.addRange(x)))
+ : (e.removeAllRanges(), e.addRange(x)),
+ k && e.anchorNode == null ? e.addRange(k) : I && this.startGracePeriod()),
+ this.rememberSelection()
+ }
+ }),
+ (je.prototype.startGracePeriod = function () {
+ var e = this
+ clearTimeout(this.gracePeriod),
+ (this.gracePeriod = setTimeout(function () {
+ ;(e.gracePeriod = !1),
+ e.selectionChanged() &&
+ e.cm.operation(function () {
+ return (e.cm.curOp.selectionChanged = !0)
+ })
+ }, 20))
+ }),
+ (je.prototype.showMultipleSelections = function (e) {
+ J(this.cm.display.cursorDiv, e.cursors), J(this.cm.display.selectionDiv, e.selection)
+ }),
+ (je.prototype.rememberSelection = function () {
+ var e = this.getSelection()
+ ;(this.lastAnchorNode = e.anchorNode),
+ (this.lastAnchorOffset = e.anchorOffset),
+ (this.lastFocusNode = e.focusNode),
+ (this.lastFocusOffset = e.focusOffset)
+ }),
+ (je.prototype.selectionInEditor = function () {
+ var e = this.getSelection()
+ if (!e.rangeCount) return !1
+ var t = e.getRangeAt(0).commonAncestorContainer
+ return m(this.div, t)
+ }),
+ (je.prototype.focus = function () {
+ this.cm.options.readOnly != 'nocursor' &&
+ ((!this.selectionInEditor() || y(xe(this.div)) != this.div) &&
+ this.showSelection(this.prepareSelection(), !0),
+ this.div.focus())
+ }),
+ (je.prototype.blur = function () {
+ this.div.blur()
+ }),
+ (je.prototype.getField = function () {
+ return this.div
+ }),
+ (je.prototype.supportsTouch = function () {
+ return !0
+ }),
+ (je.prototype.receivedFocus = function () {
+ var e = this,
+ t = this
+ this.selectionInEditor()
+ ? setTimeout(function () {
+ return e.pollSelection()
+ }, 20)
+ : Dt(this.cm, function () {
+ return (t.cm.curOp.selectionChanged = !0)
+ })
+ function n() {
+ t.cm.state.focused &&
+ (t.pollSelection(), t.polling.set(t.cm.options.pollInterval, n))
+ }
+ this.polling.set(this.cm.options.pollInterval, n)
+ }),
+ (je.prototype.selectionChanged = function () {
+ var e = this.getSelection()
+ return (
+ e.anchorNode != this.lastAnchorNode ||
+ e.anchorOffset != this.lastAnchorOffset ||
+ e.focusNode != this.lastFocusNode ||
+ e.focusOffset != this.lastFocusOffset
+ )
+ }),
+ (je.prototype.pollSelection = function () {
+ if (!(this.readDOMTimeout != null || this.gracePeriod || !this.selectionChanged())) {
+ var e = this.getSelection(),
+ t = this.cm
+ if (re && O && this.cm.display.gutterSpecs.length && Nu(e.anchorNode)) {
+ this.cm.triggerOnKeyDown({
+ type: 'keydown',
+ keyCode: 8,
+ preventDefault: Math.abs,
+ }),
+ this.blur(),
+ this.focus()
+ return
+ }
+ if (!this.composing) {
+ this.rememberSelection()
+ var n = pi(t, e.anchorNode, e.anchorOffset),
+ r = pi(t, e.focusNode, e.focusOffset)
+ n &&
+ r &&
+ Dt(t, function () {
+ pt(t.doc, pr(n, r), Ve), (n.bad || r.bad) && (t.curOp.selectionChanged = !0)
+ })
+ }
+ }
+ }),
+ (je.prototype.pollContent = function () {
+ this.readDOMTimeout != null &&
+ (clearTimeout(this.readDOMTimeout), (this.readDOMTimeout = null))
+ var e = this.cm,
+ t = e.display,
+ n = e.doc.sel.primary(),
+ r = n.from(),
+ i = n.to()
+ if (
+ (r.ch == 0 &&
+ r.line > e.firstLine() &&
+ (r = L(r.line - 1, ce(e.doc, r.line - 1).length)),
+ i.ch == ce(e.doc, i.line).text.length &&
+ i.line < e.lastLine() &&
+ (i = L(i.line + 1, 0)),
+ r.line < t.viewFrom || i.line > t.viewTo - 1)
+ )
+ return !1
+ var o, l, a
+ r.line == t.viewFrom || (o = Lr(e, r.line)) == 0
+ ? ((l = f(t.view[0].line)), (a = t.view[0].node))
+ : ((l = f(t.view[o].line)), (a = t.view[o - 1].node.nextSibling))
+ var s = Lr(e, i.line),
+ u,
+ h
+ if (
+ (s == t.view.length - 1
+ ? ((u = t.viewTo - 1), (h = t.lineDiv.lastChild))
+ : ((u = f(t.view[s + 1].line) - 1), (h = t.view[s + 1].node.previousSibling)),
+ !a)
+ )
+ return !1
+ for (
+ var v = e.doc.splitLines(Ou(e, a, h, l, u)),
+ k = Vt(e.doc, L(l, 0), L(u, ce(e.doc, u).text.length));
+ v.length > 1 && k.length > 1;
+
+ )
+ if (ge(v) == ge(k)) v.pop(), k.pop(), u--
+ else if (v[0] == k[0]) v.shift(), k.shift(), l++
+ else break
+ for (
+ var x = 0, M = 0, E = v[0], R = k[0], U = Math.min(E.length, R.length);
+ x < U && E.charCodeAt(x) == R.charCodeAt(x);
+
+ )
+ ++x
+ for (
+ var Q = ge(v),
+ G = ge(k),
+ ee = Math.min(
+ Q.length - (v.length == 1 ? x : 0),
+ G.length - (k.length == 1 ? x : 0)
+ );
+ M < ee && Q.charCodeAt(Q.length - M - 1) == G.charCodeAt(G.length - M - 1);
+
+ )
+ ++M
+ if (v.length == 1 && k.length == 1 && l == r.line)
+ for (
+ ;
+ x && x > r.ch && Q.charCodeAt(Q.length - M - 1) == G.charCodeAt(G.length - M - 1);
+
+ )
+ x--, M++
+ ;(v[v.length - 1] = Q.slice(0, Q.length - M).replace(/^\u200b+/, '')),
+ (v[0] = v[0].slice(x).replace(/\u200b+$/, ''))
+ var me = L(l, x),
+ pe = L(u, k.length ? ge(k).length - M : 0)
+ if (v.length > 1 || v[0] || Z(me, pe)) return Qr(e.doc, v, me, pe, '+input'), !0
+ }),
+ (je.prototype.ensurePolled = function () {
+ this.forceCompositionEnd()
+ }),
+ (je.prototype.reset = function () {
+ this.forceCompositionEnd()
+ }),
+ (je.prototype.forceCompositionEnd = function () {
+ this.composing &&
+ (clearTimeout(this.readDOMTimeout),
+ (this.composing = null),
+ this.updateFromDOM(),
+ this.div.blur(),
+ this.div.focus())
+ }),
+ (je.prototype.readFromDOMSoon = function () {
+ var e = this
+ this.readDOMTimeout == null &&
+ (this.readDOMTimeout = setTimeout(function () {
+ if (((e.readDOMTimeout = null), e.composing))
+ if (e.composing.done) e.composing = null
+ else return
+ e.updateFromDOM()
+ }, 80))
+ }),
+ (je.prototype.updateFromDOM = function () {
+ var e = this
+ ;(this.cm.isReadOnly() || !this.pollContent()) &&
+ Dt(this.cm, function () {
+ return bt(e.cm)
+ })
+ }),
+ (je.prototype.setUneditable = function (e) {
+ e.contentEditable = 'false'
+ }),
+ (je.prototype.onKeyPress = function (e) {
+ e.charCode == 0 ||
+ this.composing ||
+ (e.preventDefault(),
+ this.cm.isReadOnly() ||
+ lt(this.cm, so)(
+ this.cm,
+ String.fromCharCode(e.charCode == null ? e.keyCode : e.charCode),
+ 0
+ ))
+ }),
+ (je.prototype.readOnlyChanged = function (e) {
+ this.div.contentEditable = String(e != 'nocursor')
+ }),
+ (je.prototype.onContextMenu = function () {}),
+ (je.prototype.resetPosition = function () {}),
+ (je.prototype.needsContentAttribute = !0)
+ function da(e, t) {
+ var n = Ai(e, t.line)
+ if (!n || n.hidden) return null
+ var r = ce(e.doc, t.line),
+ i = Ro(n, r, t.line),
+ o = We(r, e.doc.direction),
+ l = 'left'
+ if (o) {
+ var a = lr(o, t.ch)
+ l = a % 2 ? 'right' : 'left'
+ }
+ var s = Ko(i.map, t.ch, l)
+ return (s.offset = s.collapse == 'right' ? s.end : s.start), s
+ }
+ function Nu(e) {
+ for (var t = e; t; t = t.parentNode)
+ if (/CodeMirror-gutter-wrapper/.test(t.className)) return !0
+ return !1
+ }
+ function rn(e, t) {
+ return t && (e.bad = !0), e
+ }
+ function Ou(e, t, n, r, i) {
+ var o = '',
+ l = !1,
+ a = e.doc.lineSeparator(),
+ s = !1
+ function u(x) {
+ return function (M) {
+ return M.id == x
+ }
+ }
+ function h() {
+ l && ((o += a), s && (o += a), (l = s = !1))
+ }
+ function v(x) {
+ x && (h(), (o += x))
+ }
+ function k(x) {
+ if (x.nodeType == 1) {
+ var M = x.getAttribute('cm-text')
+ if (M) {
+ v(M)
+ return
+ }
+ var E = x.getAttribute('cm-marker'),
+ R
+ if (E) {
+ var U = e.findMarks(L(r, 0), L(i + 1, 0), u(+E))
+ U.length && (R = U[0].find(0)) && v(Vt(e.doc, R.from, R.to).join(a))
+ return
+ }
+ if (x.getAttribute('contenteditable') == 'false') return
+ var Q = /^(pre|div|p|li|table|br)$/i.test(x.nodeName)
+ if (!/^br$/i.test(x.nodeName) && x.textContent.length == 0) return
+ Q && h()
+ for (var G = 0; G < x.childNodes.length; G++) k(x.childNodes[G])
+ ;/^(pre|p)$/i.test(x.nodeName) && (s = !0), Q && (l = !0)
+ } else x.nodeType == 3 && v(x.nodeValue.replace(/\u200b/g, '').replace(/\u00a0/g, ' '))
+ }
+ for (; k(t), t != n; ) (t = t.nextSibling), (s = !1)
+ return o
+ }
+ function pi(e, t, n) {
+ var r
+ if (t == e.display.lineDiv) {
+ if (((r = e.display.lineDiv.childNodes[n]), !r))
+ return rn(e.clipPos(L(e.display.viewTo - 1)), !0)
+ ;(t = null), (n = 0)
+ } else
+ for (r = t; ; r = r.parentNode) {
+ if (!r || r == e.display.lineDiv) return null
+ if (r.parentNode && r.parentNode == e.display.lineDiv) break
+ }
+ for (var i = 0; i < e.display.view.length; i++) {
+ var o = e.display.view[i]
+ if (o.node == r) return Pu(o, t, n)
+ }
+ }
+ function Pu(e, t, n) {
+ var r = e.text.firstChild,
+ i = !1
+ if (!t || !m(r, t)) return rn(L(f(e.line), 0), !0)
+ if (t == r && ((i = !0), (t = r.childNodes[n]), (n = 0), !t)) {
+ var o = e.rest ? ge(e.rest) : e.line
+ return rn(L(f(o), o.text.length), i)
+ }
+ var l = t.nodeType == 3 ? t : null,
+ a = t
+ for (
+ !l &&
+ t.childNodes.length == 1 &&
+ t.firstChild.nodeType == 3 &&
+ ((l = t.firstChild), n && (n = l.nodeValue.length));
+ a.parentNode != r;
+
+ )
+ a = a.parentNode
+ var s = e.measure,
+ u = s.maps
+ function h(R, U, Q) {
+ for (var G = -1; G < (u ? u.length : 0); G++)
+ for (var ee = G < 0 ? s.map : u[G], me = 0; me < ee.length; me += 3) {
+ var pe = ee[me + 2]
+ if (pe == R || pe == U) {
+ var Fe = f(G < 0 ? e.line : e.rest[G]),
+ Ke = ee[me] + Q
+ return (Q < 0 || pe != R) && (Ke = ee[me + (Q ? 1 : 0)]), L(Fe, Ke)
+ }
+ }
+ }
+ var v = h(l, a, n)
+ if (v) return rn(v, i)
+ for (var k = a.nextSibling, x = l ? l.nodeValue.length - n : 0; k; k = k.nextSibling) {
+ if (((v = h(k, k.firstChild, 0)), v)) return rn(L(v.line, v.ch - x), i)
+ x += k.textContent.length
+ }
+ for (var M = a.previousSibling, E = n; M; M = M.previousSibling) {
+ if (((v = h(M, M.firstChild, -1)), v)) return rn(L(v.line, v.ch + E), i)
+ E += M.textContent.length
+ }
+ }
+ var $e = function (e) {
+ ;(this.cm = e),
+ (this.prevInput = ''),
+ (this.pollingFast = !1),
+ (this.polling = new be()),
+ (this.hasSelection = !1),
+ (this.composing = null),
+ (this.resetting = !1)
+ }
+ ;($e.prototype.init = function (e) {
+ var t = this,
+ n = this,
+ r = this.cm
+ this.createField(e)
+ var i = this.textarea
+ e.wrapper.insertBefore(this.wrapper, e.wrapper.firstChild),
+ te && (i.style.width = '0px'),
+ ve(i, 'input', function () {
+ b && N >= 9 && t.hasSelection && (t.hasSelection = null), n.poll()
+ }),
+ ve(i, 'paste', function (l) {
+ Ze(r, l) || aa(l, r) || ((r.state.pasteIncoming = +new Date()), n.fastPoll())
+ })
+ function o(l) {
+ if (!Ze(r, l)) {
+ if (r.somethingSelected()) hi({ lineWise: !1, text: r.getSelections() })
+ else if (r.options.lineWiseCopyCut) {
+ var a = ua(r)
+ hi({ lineWise: !0, text: a.text }),
+ l.type == 'cut'
+ ? r.setSelections(a.ranges, null, Ve)
+ : ((n.prevInput = ''),
+ (i.value = a.text.join(`
+`)),
+ p(i))
+ } else return
+ l.type == 'cut' && (r.state.cutIncoming = +new Date())
+ }
+ }
+ ve(i, 'cut', o),
+ ve(i, 'copy', o),
+ ve(e.scroller, 'paste', function (l) {
+ if (!(tr(e, l) || Ze(r, l))) {
+ if (!i.dispatchEvent) {
+ ;(r.state.pasteIncoming = +new Date()), n.focus()
+ return
+ }
+ var a = new Event('paste')
+ ;(a.clipboardData = l.clipboardData), i.dispatchEvent(a)
+ }
+ }),
+ ve(e.lineSpace, 'selectstart', function (l) {
+ tr(e, l) || ht(l)
+ }),
+ ve(i, 'compositionstart', function () {
+ var l = r.getCursor('from')
+ n.composing && n.composing.range.clear(),
+ (n.composing = {
+ start: l,
+ range: r.markText(l, r.getCursor('to'), { className: 'CodeMirror-composing' }),
+ })
+ }),
+ ve(i, 'compositionend', function () {
+ n.composing && (n.poll(), n.composing.range.clear(), (n.composing = null))
+ })
+ }),
+ ($e.prototype.createField = function (e) {
+ ;(this.wrapper = fa()), (this.textarea = this.wrapper.firstChild)
+ var t = this.cm.options
+ uo(this.textarea, t.spellcheck, t.autocorrect, t.autocapitalize)
+ }),
+ ($e.prototype.screenReaderLabelChanged = function (e) {
+ e
+ ? this.textarea.setAttribute('aria-label', e)
+ : this.textarea.removeAttribute('aria-label')
+ }),
+ ($e.prototype.prepareSelection = function () {
+ var e = this.cm,
+ t = e.display,
+ n = e.doc,
+ r = tl(e)
+ if (e.options.moveInputWithCursor) {
+ var i = jt(e, n.sel.primary().head, 'div'),
+ o = t.wrapper.getBoundingClientRect(),
+ l = t.lineDiv.getBoundingClientRect()
+ ;(r.teTop = Math.max(
+ 0,
+ Math.min(t.wrapper.clientHeight - 10, i.top + l.top - o.top)
+ )),
+ (r.teLeft = Math.max(
+ 0,
+ Math.min(t.wrapper.clientWidth - 10, i.left + l.left - o.left)
+ ))
+ }
+ return r
+ }),
+ ($e.prototype.showSelection = function (e) {
+ var t = this.cm,
+ n = t.display
+ J(n.cursorDiv, e.cursors),
+ J(n.selectionDiv, e.selection),
+ e.teTop != null &&
+ ((this.wrapper.style.top = e.teTop + 'px'),
+ (this.wrapper.style.left = e.teLeft + 'px'))
+ }),
+ ($e.prototype.reset = function (e) {
+ if (!(this.contextMenuPending || (this.composing && e))) {
+ var t = this.cm
+ if (((this.resetting = !0), t.somethingSelected())) {
+ this.prevInput = ''
+ var n = t.getSelection()
+ ;(this.textarea.value = n),
+ t.state.focused && p(this.textarea),
+ b && N >= 9 && (this.hasSelection = n)
+ } else
+ e ||
+ ((this.prevInput = this.textarea.value = ''),
+ b && N >= 9 && (this.hasSelection = null))
+ this.resetting = !1
+ }
+ }),
+ ($e.prototype.getField = function () {
+ return this.textarea
+ }),
+ ($e.prototype.supportsTouch = function () {
+ return !1
+ }),
+ ($e.prototype.focus = function () {
+ if (
+ this.cm.options.readOnly != 'nocursor' &&
+ (!ne || y(xe(this.textarea)) != this.textarea)
+ )
+ try {
+ this.textarea.focus()
+ } catch {}
+ }),
+ ($e.prototype.blur = function () {
+ this.textarea.blur()
+ }),
+ ($e.prototype.resetPosition = function () {
+ this.wrapper.style.top = this.wrapper.style.left = 0
+ }),
+ ($e.prototype.receivedFocus = function () {
+ this.slowPoll()
+ }),
+ ($e.prototype.slowPoll = function () {
+ var e = this
+ this.pollingFast ||
+ this.polling.set(this.cm.options.pollInterval, function () {
+ e.poll(), e.cm.state.focused && e.slowPoll()
+ })
+ }),
+ ($e.prototype.fastPoll = function () {
+ var e = !1,
+ t = this
+ t.pollingFast = !0
+ function n() {
+ var r = t.poll()
+ !r && !e ? ((e = !0), t.polling.set(60, n)) : ((t.pollingFast = !1), t.slowPoll())
+ }
+ t.polling.set(20, n)
+ }),
+ ($e.prototype.poll = function () {
+ var e = this,
+ t = this.cm,
+ n = this.textarea,
+ r = this.prevInput
+ if (
+ this.contextMenuPending ||
+ this.resetting ||
+ !t.state.focused ||
+ (ur(n) && !r && !this.composing) ||
+ t.isReadOnly() ||
+ t.options.disableInput ||
+ t.state.keySeq
+ )
+ return !1
+ var i = n.value
+ if (i == r && !t.somethingSelected()) return !1
+ if ((b && N >= 9 && this.hasSelection === i) || (se && /[\uf700-\uf7ff]/.test(i)))
+ return t.display.input.reset(), !1
+ if (t.doc.sel == t.display.selForContextMenu) {
+ var o = i.charCodeAt(0)
+ if ((o == 8203 && !r && (r = ''), o == 8666))
+ return this.reset(), this.cm.execCommand('undo')
+ }
+ for (
+ var l = 0, a = Math.min(r.length, i.length);
+ l < a && r.charCodeAt(l) == i.charCodeAt(l);
+
+ )
+ ++l
+ return (
+ Dt(t, function () {
+ so(t, i.slice(l), r.length - l, null, e.composing ? '*compose' : null),
+ i.length > 1e3 ||
+ i.indexOf(`
+`) > -1
+ ? (n.value = e.prevInput = '')
+ : (e.prevInput = i),
+ e.composing &&
+ (e.composing.range.clear(),
+ (e.composing.range = t.markText(e.composing.start, t.getCursor('to'), {
+ className: 'CodeMirror-composing',
+ })))
+ }),
+ !0
+ )
+ }),
+ ($e.prototype.ensurePolled = function () {
+ this.pollingFast && this.poll() && (this.pollingFast = !1)
+ }),
+ ($e.prototype.onKeyPress = function () {
+ b && N >= 9 && (this.hasSelection = null), this.fastPoll()
+ }),
+ ($e.prototype.onContextMenu = function (e) {
+ var t = this,
+ n = t.cm,
+ r = n.display,
+ i = t.textarea
+ t.contextMenuPending && t.contextMenuPending()
+ var o = Tr(n, e),
+ l = r.scroller.scrollTop
+ if (!o || z) return
+ var a = n.options.resetSelectionOnContextMenu
+ a && n.doc.sel.contains(o) == -1 && lt(n, pt)(n.doc, pr(o), Ve)
+ var s = i.style.cssText,
+ u = t.wrapper.style.cssText,
+ h = t.wrapper.offsetParent.getBoundingClientRect()
+ ;(t.wrapper.style.cssText = 'position: static'),
+ (i.style.cssText =
+ `position: absolute; width: 30px; height: 30px;
+ top: ` +
+ (e.clientY - h.top - 5) +
+ 'px; left: ' +
+ (e.clientX - h.left - 5) +
+ `px;
+ z-index: 1000; background: ` +
+ (b ? 'rgba(255, 255, 255, .05)' : 'transparent') +
+ `;
+ outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`)
+ var v
+ _ && (v = i.ownerDocument.defaultView.scrollY),
+ r.input.focus(),
+ _ && i.ownerDocument.defaultView.scrollTo(null, v),
+ r.input.reset(),
+ n.somethingSelected() || (i.value = t.prevInput = ' '),
+ (t.contextMenuPending = x),
+ (r.selForContextMenu = n.doc.sel),
+ clearTimeout(r.detectingSelectAll)
+ function k() {
+ if (i.selectionStart != null) {
+ var E = n.somethingSelected(),
+ R = '' + (E ? i.value : '')
+ ;(i.value = '⇚'),
+ (i.value = R),
+ (t.prevInput = E ? '' : ''),
+ (i.selectionStart = 1),
+ (i.selectionEnd = R.length),
+ (r.selForContextMenu = n.doc.sel)
+ }
+ }
+ function x() {
+ if (
+ t.contextMenuPending == x &&
+ ((t.contextMenuPending = !1),
+ (t.wrapper.style.cssText = u),
+ (i.style.cssText = s),
+ b && N < 9 && r.scrollbars.setScrollTop((r.scroller.scrollTop = l)),
+ i.selectionStart != null)
+ ) {
+ ;(!b || (b && N < 9)) && k()
+ var E = 0,
+ R = function () {
+ r.selForContextMenu == n.doc.sel &&
+ i.selectionStart == 0 &&
+ i.selectionEnd > 0 &&
+ t.prevInput == ''
+ ? lt(n, El)(n)
+ : E++ < 10
+ ? (r.detectingSelectAll = setTimeout(R, 500))
+ : ((r.selForContextMenu = null), r.input.reset())
+ }
+ r.detectingSelectAll = setTimeout(R, 200)
+ }
+ }
+ if ((b && N >= 9 && k(), fe)) {
+ ar(e)
+ var M = function () {
+ dt(window, 'mouseup', M), setTimeout(x, 20)
+ }
+ ve(window, 'mouseup', M)
+ } else setTimeout(x, 50)
+ }),
+ ($e.prototype.readOnlyChanged = function (e) {
+ e || this.reset(),
+ (this.textarea.disabled = e == 'nocursor'),
+ (this.textarea.readOnly = !!e)
+ }),
+ ($e.prototype.setUneditable = function () {}),
+ ($e.prototype.needsContentAttribute = !1)
+ function Iu(e, t) {
+ if (
+ ((t = t ? Te(t) : {}),
+ (t.value = e.value),
+ !t.tabindex && e.tabIndex && (t.tabindex = e.tabIndex),
+ !t.placeholder && e.placeholder && (t.placeholder = e.placeholder),
+ t.autofocus == null)
+ ) {
+ var n = y(xe(e))
+ t.autofocus = n == e || (e.getAttribute('autofocus') != null && n == document.body)
+ }
+ function r() {
+ e.value = a.getValue()
+ }
+ var i
+ if (e.form && (ve(e.form, 'submit', r), !t.leaveSubmitMethodAlone)) {
+ var o = e.form
+ i = o.submit
+ try {
+ var l = (o.submit = function () {
+ r(), (o.submit = i), o.submit(), (o.submit = l)
+ })
+ } catch {}
+ }
+ ;(t.finishInit = function (s) {
+ ;(s.save = r),
+ (s.getTextArea = function () {
+ return e
+ }),
+ (s.toTextArea = function () {
+ ;(s.toTextArea = isNaN),
+ r(),
+ e.parentNode.removeChild(s.getWrapperElement()),
+ (e.style.display = ''),
+ e.form &&
+ (dt(e.form, 'submit', r),
+ !t.leaveSubmitMethodAlone &&
+ typeof e.form.submit == 'function' &&
+ (e.form.submit = i))
+ })
+ }),
+ (e.style.display = 'none')
+ var a = Ge(function (s) {
+ return e.parentNode.insertBefore(s, e.nextSibling)
+ }, t)
+ return a
+ }
+ function zu(e) {
+ ;(e.off = dt),
+ (e.on = ve),
+ (e.wheelEventPixels = js),
+ (e.Doc = kt),
+ (e.splitLines = Pt),
+ (e.countColumn = Le),
+ (e.findColumn = Re),
+ (e.isWordChar = ae),
+ (e.Pass = qe),
+ (e.signal = Ye),
+ (e.Line = Hr),
+ (e.changeEnd = gr),
+ (e.scrollbarModel = al),
+ (e.Pos = L),
+ (e.cmpPos = Z),
+ (e.modes = Pr),
+ (e.mimeModes = Ht),
+ (e.resolveMode = Ir),
+ (e.getMode = zr),
+ (e.modeExtensions = fr),
+ (e.extendMode = Br),
+ (e.copyState = Gt),
+ (e.startState = Wr),
+ (e.innerMode = sn),
+ (e.commands = Nn),
+ (e.keyMap = nr),
+ (e.keyName = Xl),
+ (e.isModifierKey = Ul),
+ (e.lookupKey = $r),
+ (e.normalizeKeyMap = cu),
+ (e.StringStream = Je),
+ (e.SharedTextMarker = Fn),
+ (e.TextMarker = mr),
+ (e.LineWidget = Mn),
+ (e.e_preventDefault = ht),
+ (e.e_stopPropagation = Nr),
+ (e.e_stop = ar),
+ (e.addClass = P),
+ (e.contains = m),
+ (e.rmClass = Ee),
+ (e.keyNames = yr)
+ }
+ Du(Ge), Eu(Ge)
+ var Bu = 'iter insert remove copy getEditor constructor'.split(' ')
+ for (var gi in kt.prototype)
+ kt.prototype.hasOwnProperty(gi) &&
+ oe(Bu, gi) < 0 &&
+ (Ge.prototype[gi] = (function (e) {
+ return function () {
+ return e.apply(this.doc, arguments)
+ }
+ })(kt.prototype[gi]))
+ return (
+ Bt(kt),
+ (Ge.inputStyles = { textarea: $e, contenteditable: je }),
+ (Ge.defineMode = function (e) {
+ !Ge.defaults.mode && e != 'null' && (Ge.defaults.mode = e), Rt.apply(this, arguments)
+ }),
+ (Ge.defineMIME = kr),
+ Ge.defineMode('null', function () {
+ return {
+ token: function (e) {
+ return e.skipToEnd()
+ },
+ }
+ }),
+ Ge.defineMIME('text/plain', 'null'),
+ (Ge.defineExtension = function (e, t) {
+ Ge.prototype[e] = t
+ }),
+ (Ge.defineDocExtension = function (e, t) {
+ kt.prototype[e] = t
+ }),
+ (Ge.fromTextArea = Iu),
+ zu(Ge),
+ (Ge.version = '5.65.18'),
+ Ge
+ )
+ })
+ })(vi)),
+ vi.exports
+ )
+}
+var Hu = It()
+const Ju = Wu(Hu)
+var pa = { exports: {} },
+ ga
+function za() {
+ return (
+ ga ||
+ ((ga = 1),
+ (function (Et, zt) {
+ ;(function (C) {
+ C(It())
+ })(function (C) {
+ C.defineMode('css', function (fe, H) {
+ var Ee = H.inline
+ H.propertyKeywords || (H = C.resolveMode('text/css'))
+ var D = fe.indentUnit,
+ J = H.tokenHooks,
+ d = H.documentTypes || {},
+ S = H.mediaTypes || {},
+ w = H.mediaFeatures || {},
+ m = H.mediaValueKeywords || {},
+ y = H.propertyKeywords || {},
+ P = H.nonStandardPropertyKeywords || {},
+ le = H.fontProperties || {},
+ p = H.counterDescriptors || {},
+ c = H.colorKeywords || {},
+ Y = H.valueKeywords || {},
+ xe = H.allowNested,
+ j = H.lineComment,
+ ue = H.supportsAtComponent === !0,
+ Te = fe.highlightNonStandardPropertyKeywords !== !1,
+ Le,
+ be
+ function oe(T, B) {
+ return (Le = B), T
+ }
+ function Ne(T, B) {
+ var F = T.next()
+ if (J[F]) {
+ var Ie = J[F](T, B)
+ if (Ie !== !1) return Ie
+ }
+ if (F == '@') return T.eatWhile(/[\w\\\-]/), oe('def', T.current())
+ if (F == '=' || ((F == '~' || F == '|') && T.eat('='))) return oe(null, 'compare')
+ if (F == '"' || F == "'") return (B.tokenize = qe(F)), B.tokenize(T, B)
+ if (F == '#') return T.eatWhile(/[\w\\\-]/), oe('atom', 'hash')
+ if (F == '!') return T.match(/^\s*\w*/), oe('keyword', 'important')
+ if (/\d/.test(F) || (F == '.' && T.eat(/\d/)))
+ return T.eatWhile(/[\w.%]/), oe('number', 'unit')
+ if (F === '-') {
+ if (/[\d.]/.test(T.peek())) return T.eatWhile(/[\w.%]/), oe('number', 'unit')
+ if (T.match(/^-[\w\\\-]*/))
+ return (
+ T.eatWhile(/[\w\\\-]/),
+ T.match(/^\s*:/, !1)
+ ? oe('variable-2', 'variable-definition')
+ : oe('variable-2', 'variable')
+ )
+ if (T.match(/^\w+-/)) return oe('meta', 'meta')
+ } else return /[,+>*\/]/.test(F) ? oe(null, 'select-op') : F == '.' && T.match(/^-?[_a-z][_a-z0-9-]*/i) ? oe('qualifier', 'qualifier') : /[:;{}\[\]\(\)]/.test(F) ? oe(null, F) : T.match(/^[\w-.]+(?=\()/) ? (/^(url(-prefix)?|domain|regexp)$/i.test(T.current()) && (B.tokenize = Ve), oe('variable callee', 'variable')) : /[\w\\\-]/.test(F) ? (T.eatWhile(/[\w\\\-]/), oe('property', 'word')) : oe(null, null)
+ }
+ function qe(T) {
+ return function (B, F) {
+ for (var Ie = !1, ae; (ae = B.next()) != null; ) {
+ if (ae == T && !Ie) {
+ T == ')' && B.backUp(1)
+ break
+ }
+ Ie = !Ie && ae == '\\'
+ }
+ return (ae == T || (!Ie && T != ')')) && (F.tokenize = null), oe('string', 'string')
+ }
+ }
+ function Ve(T, B) {
+ return (
+ T.next(),
+ T.match(/^\s*[\"\')]/, !1) ? (B.tokenize = null) : (B.tokenize = qe(')')),
+ oe(null, '(')
+ )
+ }
+ function ct(T, B, F) {
+ ;(this.type = T), (this.indent = B), (this.prev = F)
+ }
+ function Oe(T, B, F, Ie) {
+ return (T.context = new ct(F, B.indentation() + (Ie === !1 ? 0 : D), T.context)), F
+ }
+ function Re(T) {
+ return T.context.prev && (T.context = T.context.prev), T.context.type
+ }
+ function Ue(T, B, F) {
+ return Pe[F.context.type](T, B, F)
+ }
+ function et(T, B, F, Ie) {
+ for (var ae = Ie || 1; ae > 0; ae--) F.context = F.context.prev
+ return Ue(T, B, F)
+ }
+ function ge(T) {
+ var B = T.current().toLowerCase()
+ Y.hasOwnProperty(B)
+ ? (be = 'atom')
+ : c.hasOwnProperty(B)
+ ? (be = 'keyword')
+ : (be = 'variable')
+ }
+ var Pe = {}
+ return (
+ (Pe.top = function (T, B, F) {
+ if (T == '{') return Oe(F, B, 'block')
+ if (T == '}' && F.context.prev) return Re(F)
+ if (ue && /@component/i.test(T)) return Oe(F, B, 'atComponentBlock')
+ if (/^@(-moz-)?document$/i.test(T)) return Oe(F, B, 'documentTypes')
+ if (/^@(media|supports|(-moz-)?document|import)$/i.test(T))
+ return Oe(F, B, 'atBlock')
+ if (/^@(font-face|counter-style)/i.test(T))
+ return (F.stateArg = T), 'restricted_atBlock_before'
+ if (/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(T)) return 'keyframes'
+ if (T && T.charAt(0) == '@') return Oe(F, B, 'at')
+ if (T == 'hash') be = 'builtin'
+ else if (T == 'word') be = 'tag'
+ else {
+ if (T == 'variable-definition') return 'maybeprop'
+ if (T == 'interpolation') return Oe(F, B, 'interpolation')
+ if (T == ':') return 'pseudo'
+ if (xe && T == '(') return Oe(F, B, 'parens')
+ }
+ return F.context.type
+ }),
+ (Pe.block = function (T, B, F) {
+ if (T == 'word') {
+ var Ie = B.current().toLowerCase()
+ return y.hasOwnProperty(Ie)
+ ? ((be = 'property'), 'maybeprop')
+ : P.hasOwnProperty(Ie)
+ ? ((be = Te ? 'string-2' : 'property'), 'maybeprop')
+ : xe
+ ? ((be = B.match(/^\s*:(?:\s|$)/, !1) ? 'property' : 'tag'), 'block')
+ : ((be += ' error'), 'maybeprop')
+ } else
+ return T == 'meta'
+ ? 'block'
+ : !xe && (T == 'hash' || T == 'qualifier')
+ ? ((be = 'error'), 'block')
+ : Pe.top(T, B, F)
+ }),
+ (Pe.maybeprop = function (T, B, F) {
+ return T == ':' ? Oe(F, B, 'prop') : Ue(T, B, F)
+ }),
+ (Pe.prop = function (T, B, F) {
+ if (T == ';') return Re(F)
+ if (T == '{' && xe) return Oe(F, B, 'propBlock')
+ if (T == '}' || T == '{') return et(T, B, F)
+ if (T == '(') return Oe(F, B, 'parens')
+ if (
+ T == 'hash' &&
+ !/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(B.current())
+ )
+ be += ' error'
+ else if (T == 'word') ge(B)
+ else if (T == 'interpolation') return Oe(F, B, 'interpolation')
+ return 'prop'
+ }),
+ (Pe.propBlock = function (T, B, F) {
+ return T == '}'
+ ? Re(F)
+ : T == 'word'
+ ? ((be = 'property'), 'maybeprop')
+ : F.context.type
+ }),
+ (Pe.parens = function (T, B, F) {
+ return T == '{' || T == '}'
+ ? et(T, B, F)
+ : T == ')'
+ ? Re(F)
+ : T == '('
+ ? Oe(F, B, 'parens')
+ : T == 'interpolation'
+ ? Oe(F, B, 'interpolation')
+ : (T == 'word' && ge(B), 'parens')
+ }),
+ (Pe.pseudo = function (T, B, F) {
+ return T == 'meta'
+ ? 'pseudo'
+ : T == 'word'
+ ? ((be = 'variable-3'), F.context.type)
+ : Ue(T, B, F)
+ }),
+ (Pe.documentTypes = function (T, B, F) {
+ return T == 'word' && d.hasOwnProperty(B.current())
+ ? ((be = 'tag'), F.context.type)
+ : Pe.atBlock(T, B, F)
+ }),
+ (Pe.atBlock = function (T, B, F) {
+ if (T == '(') return Oe(F, B, 'atBlock_parens')
+ if (T == '}' || T == ';') return et(T, B, F)
+ if (T == '{') return Re(F) && Oe(F, B, xe ? 'block' : 'top')
+ if (T == 'interpolation') return Oe(F, B, 'interpolation')
+ if (T == 'word') {
+ var Ie = B.current().toLowerCase()
+ Ie == 'only' || Ie == 'not' || Ie == 'and' || Ie == 'or'
+ ? (be = 'keyword')
+ : S.hasOwnProperty(Ie)
+ ? (be = 'attribute')
+ : w.hasOwnProperty(Ie)
+ ? (be = 'property')
+ : m.hasOwnProperty(Ie)
+ ? (be = 'keyword')
+ : y.hasOwnProperty(Ie)
+ ? (be = 'property')
+ : P.hasOwnProperty(Ie)
+ ? (be = Te ? 'string-2' : 'property')
+ : Y.hasOwnProperty(Ie)
+ ? (be = 'atom')
+ : c.hasOwnProperty(Ie)
+ ? (be = 'keyword')
+ : (be = 'error')
+ }
+ return F.context.type
+ }),
+ (Pe.atComponentBlock = function (T, B, F) {
+ return T == '}'
+ ? et(T, B, F)
+ : T == '{'
+ ? Re(F) && Oe(F, B, xe ? 'block' : 'top', !1)
+ : (T == 'word' && (be = 'error'), F.context.type)
+ }),
+ (Pe.atBlock_parens = function (T, B, F) {
+ return T == ')'
+ ? Re(F)
+ : T == '{' || T == '}'
+ ? et(T, B, F, 2)
+ : Pe.atBlock(T, B, F)
+ }),
+ (Pe.restricted_atBlock_before = function (T, B, F) {
+ return T == '{'
+ ? Oe(F, B, 'restricted_atBlock')
+ : T == 'word' && F.stateArg == '@counter-style'
+ ? ((be = 'variable'), 'restricted_atBlock_before')
+ : Ue(T, B, F)
+ }),
+ (Pe.restricted_atBlock = function (T, B, F) {
+ return T == '}'
+ ? ((F.stateArg = null), Re(F))
+ : T == 'word'
+ ? ((F.stateArg == '@font-face' &&
+ !le.hasOwnProperty(B.current().toLowerCase())) ||
+ (F.stateArg == '@counter-style' && !p.hasOwnProperty(B.current().toLowerCase()))
+ ? (be = 'error')
+ : (be = 'property'),
+ 'maybeprop')
+ : 'restricted_atBlock'
+ }),
+ (Pe.keyframes = function (T, B, F) {
+ return T == 'word'
+ ? ((be = 'variable'), 'keyframes')
+ : T == '{'
+ ? Oe(F, B, 'top')
+ : Ue(T, B, F)
+ }),
+ (Pe.at = function (T, B, F) {
+ return T == ';'
+ ? Re(F)
+ : T == '{' || T == '}'
+ ? et(T, B, F)
+ : (T == 'word' ? (be = 'tag') : T == 'hash' && (be = 'builtin'), 'at')
+ }),
+ (Pe.interpolation = function (T, B, F) {
+ return T == '}'
+ ? Re(F)
+ : T == '{' || T == ';'
+ ? et(T, B, F)
+ : (T == 'word'
+ ? (be = 'variable')
+ : T != 'variable' && T != '(' && T != ')' && (be = 'error'),
+ 'interpolation')
+ }),
+ {
+ startState: function (T) {
+ return {
+ tokenize: null,
+ state: Ee ? 'block' : 'top',
+ stateArg: null,
+ context: new ct(Ee ? 'block' : 'top', T || 0, null),
+ }
+ },
+ token: function (T, B) {
+ if (!B.tokenize && T.eatSpace()) return null
+ var F = (B.tokenize || Ne)(T, B)
+ return (
+ F && typeof F == 'object' && ((Le = F[1]), (F = F[0])),
+ (be = F),
+ Le != 'comment' && (B.state = Pe[B.state](Le, T, B)),
+ be
+ )
+ },
+ indent: function (T, B) {
+ var F = T.context,
+ Ie = B && B.charAt(0),
+ ae = F.indent
+ return (
+ F.type == 'prop' && (Ie == '}' || Ie == ')') && (F = F.prev),
+ F.prev &&
+ (Ie == '}' &&
+ (F.type == 'block' ||
+ F.type == 'top' ||
+ F.type == 'interpolation' ||
+ F.type == 'restricted_atBlock')
+ ? ((F = F.prev), (ae = F.indent))
+ : ((Ie == ')' && (F.type == 'parens' || F.type == 'atBlock_parens')) ||
+ (Ie == '{' && (F.type == 'at' || F.type == 'atBlock'))) &&
+ (ae = Math.max(0, F.indent - D))),
+ ae
+ )
+ },
+ electricChars: '}',
+ blockCommentStart: '/*',
+ blockCommentEnd: '*/',
+ blockCommentContinue: ' * ',
+ lineComment: j,
+ fold: 'brace',
+ }
+ )
+ })
+ function De(fe) {
+ for (var H = {}, Ee = 0; Ee < fe.length; ++Ee) H[fe[Ee].toLowerCase()] = !0
+ return H
+ }
+ var I = ['domain', 'regexp', 'url', 'url-prefix'],
+ K = De(I),
+ $ = [
+ 'all',
+ 'aural',
+ 'braille',
+ 'handheld',
+ 'print',
+ 'projection',
+ 'screen',
+ 'tty',
+ 'tv',
+ 'embossed',
+ ],
+ V = De($),
+ b = [
+ 'width',
+ 'min-width',
+ 'max-width',
+ 'height',
+ 'min-height',
+ 'max-height',
+ 'device-width',
+ 'min-device-width',
+ 'max-device-width',
+ 'device-height',
+ 'min-device-height',
+ 'max-device-height',
+ 'aspect-ratio',
+ 'min-aspect-ratio',
+ 'max-aspect-ratio',
+ 'device-aspect-ratio',
+ 'min-device-aspect-ratio',
+ 'max-device-aspect-ratio',
+ 'color',
+ 'min-color',
+ 'max-color',
+ 'color-index',
+ 'min-color-index',
+ 'max-color-index',
+ 'monochrome',
+ 'min-monochrome',
+ 'max-monochrome',
+ 'resolution',
+ 'min-resolution',
+ 'max-resolution',
+ 'scan',
+ 'grid',
+ 'orientation',
+ 'device-pixel-ratio',
+ 'min-device-pixel-ratio',
+ 'max-device-pixel-ratio',
+ 'pointer',
+ 'any-pointer',
+ 'hover',
+ 'any-hover',
+ 'prefers-color-scheme',
+ 'dynamic-range',
+ 'video-dynamic-range',
+ ],
+ N = De(b),
+ _ = [
+ 'landscape',
+ 'portrait',
+ 'none',
+ 'coarse',
+ 'fine',
+ 'on-demand',
+ 'hover',
+ 'interlace',
+ 'progressive',
+ 'dark',
+ 'light',
+ 'standard',
+ 'high',
+ ],
+ ie = De(_),
+ O = [
+ 'align-content',
+ 'align-items',
+ 'align-self',
+ 'alignment-adjust',
+ 'alignment-baseline',
+ 'all',
+ 'anchor-point',
+ 'animation',
+ 'animation-delay',
+ 'animation-direction',
+ 'animation-duration',
+ 'animation-fill-mode',
+ 'animation-iteration-count',
+ 'animation-name',
+ 'animation-play-state',
+ 'animation-timing-function',
+ 'appearance',
+ 'azimuth',
+ 'backdrop-filter',
+ 'backface-visibility',
+ 'background',
+ 'background-attachment',
+ 'background-blend-mode',
+ 'background-clip',
+ 'background-color',
+ 'background-image',
+ 'background-origin',
+ 'background-position',
+ 'background-position-x',
+ 'background-position-y',
+ 'background-repeat',
+ 'background-size',
+ 'baseline-shift',
+ 'binding',
+ 'bleed',
+ 'block-size',
+ 'bookmark-label',
+ 'bookmark-level',
+ 'bookmark-state',
+ 'bookmark-target',
+ 'border',
+ 'border-bottom',
+ 'border-bottom-color',
+ 'border-bottom-left-radius',
+ 'border-bottom-right-radius',
+ 'border-bottom-style',
+ 'border-bottom-width',
+ 'border-collapse',
+ 'border-color',
+ 'border-image',
+ 'border-image-outset',
+ 'border-image-repeat',
+ 'border-image-slice',
+ 'border-image-source',
+ 'border-image-width',
+ 'border-left',
+ 'border-left-color',
+ 'border-left-style',
+ 'border-left-width',
+ 'border-radius',
+ 'border-right',
+ 'border-right-color',
+ 'border-right-style',
+ 'border-right-width',
+ 'border-spacing',
+ 'border-style',
+ 'border-top',
+ 'border-top-color',
+ 'border-top-left-radius',
+ 'border-top-right-radius',
+ 'border-top-style',
+ 'border-top-width',
+ 'border-width',
+ 'bottom',
+ 'box-decoration-break',
+ 'box-shadow',
+ 'box-sizing',
+ 'break-after',
+ 'break-before',
+ 'break-inside',
+ 'caption-side',
+ 'caret-color',
+ 'clear',
+ 'clip',
+ 'color',
+ 'color-profile',
+ 'column-count',
+ 'column-fill',
+ 'column-gap',
+ 'column-rule',
+ 'column-rule-color',
+ 'column-rule-style',
+ 'column-rule-width',
+ 'column-span',
+ 'column-width',
+ 'columns',
+ 'contain',
+ 'content',
+ 'counter-increment',
+ 'counter-reset',
+ 'crop',
+ 'cue',
+ 'cue-after',
+ 'cue-before',
+ 'cursor',
+ 'direction',
+ 'display',
+ 'dominant-baseline',
+ 'drop-initial-after-adjust',
+ 'drop-initial-after-align',
+ 'drop-initial-before-adjust',
+ 'drop-initial-before-align',
+ 'drop-initial-size',
+ 'drop-initial-value',
+ 'elevation',
+ 'empty-cells',
+ 'fit',
+ 'fit-content',
+ 'fit-position',
+ 'flex',
+ 'flex-basis',
+ 'flex-direction',
+ 'flex-flow',
+ 'flex-grow',
+ 'flex-shrink',
+ 'flex-wrap',
+ 'float',
+ 'float-offset',
+ 'flow-from',
+ 'flow-into',
+ 'font',
+ 'font-family',
+ 'font-feature-settings',
+ 'font-kerning',
+ 'font-language-override',
+ 'font-optical-sizing',
+ 'font-size',
+ 'font-size-adjust',
+ 'font-stretch',
+ 'font-style',
+ 'font-synthesis',
+ 'font-variant',
+ 'font-variant-alternates',
+ 'font-variant-caps',
+ 'font-variant-east-asian',
+ 'font-variant-ligatures',
+ 'font-variant-numeric',
+ 'font-variant-position',
+ 'font-variation-settings',
+ 'font-weight',
+ 'gap',
+ 'grid',
+ 'grid-area',
+ 'grid-auto-columns',
+ 'grid-auto-flow',
+ 'grid-auto-rows',
+ 'grid-column',
+ 'grid-column-end',
+ 'grid-column-gap',
+ 'grid-column-start',
+ 'grid-gap',
+ 'grid-row',
+ 'grid-row-end',
+ 'grid-row-gap',
+ 'grid-row-start',
+ 'grid-template',
+ 'grid-template-areas',
+ 'grid-template-columns',
+ 'grid-template-rows',
+ 'hanging-punctuation',
+ 'height',
+ 'hyphens',
+ 'icon',
+ 'image-orientation',
+ 'image-rendering',
+ 'image-resolution',
+ 'inline-box-align',
+ 'inset',
+ 'inset-block',
+ 'inset-block-end',
+ 'inset-block-start',
+ 'inset-inline',
+ 'inset-inline-end',
+ 'inset-inline-start',
+ 'isolation',
+ 'justify-content',
+ 'justify-items',
+ 'justify-self',
+ 'left',
+ 'letter-spacing',
+ 'line-break',
+ 'line-height',
+ 'line-height-step',
+ 'line-stacking',
+ 'line-stacking-ruby',
+ 'line-stacking-shift',
+ 'line-stacking-strategy',
+ 'list-style',
+ 'list-style-image',
+ 'list-style-position',
+ 'list-style-type',
+ 'margin',
+ 'margin-bottom',
+ 'margin-left',
+ 'margin-right',
+ 'margin-top',
+ 'marks',
+ 'marquee-direction',
+ 'marquee-loop',
+ 'marquee-play-count',
+ 'marquee-speed',
+ 'marquee-style',
+ 'mask-clip',
+ 'mask-composite',
+ 'mask-image',
+ 'mask-mode',
+ 'mask-origin',
+ 'mask-position',
+ 'mask-repeat',
+ 'mask-size',
+ 'mask-type',
+ 'max-block-size',
+ 'max-height',
+ 'max-inline-size',
+ 'max-width',
+ 'min-block-size',
+ 'min-height',
+ 'min-inline-size',
+ 'min-width',
+ 'mix-blend-mode',
+ 'move-to',
+ 'nav-down',
+ 'nav-index',
+ 'nav-left',
+ 'nav-right',
+ 'nav-up',
+ 'object-fit',
+ 'object-position',
+ 'offset',
+ 'offset-anchor',
+ 'offset-distance',
+ 'offset-path',
+ 'offset-position',
+ 'offset-rotate',
+ 'opacity',
+ 'order',
+ 'orphans',
+ 'outline',
+ 'outline-color',
+ 'outline-offset',
+ 'outline-style',
+ 'outline-width',
+ 'overflow',
+ 'overflow-style',
+ 'overflow-wrap',
+ 'overflow-x',
+ 'overflow-y',
+ 'padding',
+ 'padding-bottom',
+ 'padding-left',
+ 'padding-right',
+ 'padding-top',
+ 'page',
+ 'page-break-after',
+ 'page-break-before',
+ 'page-break-inside',
+ 'page-policy',
+ 'pause',
+ 'pause-after',
+ 'pause-before',
+ 'perspective',
+ 'perspective-origin',
+ 'pitch',
+ 'pitch-range',
+ 'place-content',
+ 'place-items',
+ 'place-self',
+ 'play-during',
+ 'position',
+ 'presentation-level',
+ 'punctuation-trim',
+ 'quotes',
+ 'region-break-after',
+ 'region-break-before',
+ 'region-break-inside',
+ 'region-fragment',
+ 'rendering-intent',
+ 'resize',
+ 'rest',
+ 'rest-after',
+ 'rest-before',
+ 'richness',
+ 'right',
+ 'rotate',
+ 'rotation',
+ 'rotation-point',
+ 'row-gap',
+ 'ruby-align',
+ 'ruby-overhang',
+ 'ruby-position',
+ 'ruby-span',
+ 'scale',
+ 'scroll-behavior',
+ 'scroll-margin',
+ 'scroll-margin-block',
+ 'scroll-margin-block-end',
+ 'scroll-margin-block-start',
+ 'scroll-margin-bottom',
+ 'scroll-margin-inline',
+ 'scroll-margin-inline-end',
+ 'scroll-margin-inline-start',
+ 'scroll-margin-left',
+ 'scroll-margin-right',
+ 'scroll-margin-top',
+ 'scroll-padding',
+ 'scroll-padding-block',
+ 'scroll-padding-block-end',
+ 'scroll-padding-block-start',
+ 'scroll-padding-bottom',
+ 'scroll-padding-inline',
+ 'scroll-padding-inline-end',
+ 'scroll-padding-inline-start',
+ 'scroll-padding-left',
+ 'scroll-padding-right',
+ 'scroll-padding-top',
+ 'scroll-snap-align',
+ 'scroll-snap-type',
+ 'shape-image-threshold',
+ 'shape-inside',
+ 'shape-margin',
+ 'shape-outside',
+ 'size',
+ 'speak',
+ 'speak-as',
+ 'speak-header',
+ 'speak-numeral',
+ 'speak-punctuation',
+ 'speech-rate',
+ 'stress',
+ 'string-set',
+ 'tab-size',
+ 'table-layout',
+ 'target',
+ 'target-name',
+ 'target-new',
+ 'target-position',
+ 'text-align',
+ 'text-align-last',
+ 'text-combine-upright',
+ 'text-decoration',
+ 'text-decoration-color',
+ 'text-decoration-line',
+ 'text-decoration-skip',
+ 'text-decoration-skip-ink',
+ 'text-decoration-style',
+ 'text-emphasis',
+ 'text-emphasis-color',
+ 'text-emphasis-position',
+ 'text-emphasis-style',
+ 'text-height',
+ 'text-indent',
+ 'text-justify',
+ 'text-orientation',
+ 'text-outline',
+ 'text-overflow',
+ 'text-rendering',
+ 'text-shadow',
+ 'text-size-adjust',
+ 'text-space-collapse',
+ 'text-transform',
+ 'text-underline-position',
+ 'text-wrap',
+ 'top',
+ 'touch-action',
+ 'transform',
+ 'transform-origin',
+ 'transform-style',
+ 'transition',
+ 'transition-delay',
+ 'transition-duration',
+ 'transition-property',
+ 'transition-timing-function',
+ 'translate',
+ 'unicode-bidi',
+ 'user-select',
+ 'vertical-align',
+ 'visibility',
+ 'voice-balance',
+ 'voice-duration',
+ 'voice-family',
+ 'voice-pitch',
+ 'voice-range',
+ 'voice-rate',
+ 'voice-stress',
+ 'voice-volume',
+ 'volume',
+ 'white-space',
+ 'widows',
+ 'width',
+ 'will-change',
+ 'word-break',
+ 'word-spacing',
+ 'word-wrap',
+ 'writing-mode',
+ 'z-index',
+ 'clip-path',
+ 'clip-rule',
+ 'mask',
+ 'enable-background',
+ 'filter',
+ 'flood-color',
+ 'flood-opacity',
+ 'lighting-color',
+ 'stop-color',
+ 'stop-opacity',
+ 'pointer-events',
+ 'color-interpolation',
+ 'color-interpolation-filters',
+ 'color-rendering',
+ 'fill',
+ 'fill-opacity',
+ 'fill-rule',
+ 'image-rendering',
+ 'marker',
+ 'marker-end',
+ 'marker-mid',
+ 'marker-start',
+ 'paint-order',
+ 'shape-rendering',
+ 'stroke',
+ 'stroke-dasharray',
+ 'stroke-dashoffset',
+ 'stroke-linecap',
+ 'stroke-linejoin',
+ 'stroke-miterlimit',
+ 'stroke-opacity',
+ 'stroke-width',
+ 'text-rendering',
+ 'baseline-shift',
+ 'dominant-baseline',
+ 'glyph-orientation-horizontal',
+ 'glyph-orientation-vertical',
+ 'text-anchor',
+ 'writing-mode',
+ ],
+ q = De(O),
+ z = [
+ 'accent-color',
+ 'aspect-ratio',
+ 'border-block',
+ 'border-block-color',
+ 'border-block-end',
+ 'border-block-end-color',
+ 'border-block-end-style',
+ 'border-block-end-width',
+ 'border-block-start',
+ 'border-block-start-color',
+ 'border-block-start-style',
+ 'border-block-start-width',
+ 'border-block-style',
+ 'border-block-width',
+ 'border-inline',
+ 'border-inline-color',
+ 'border-inline-end',
+ 'border-inline-end-color',
+ 'border-inline-end-style',
+ 'border-inline-end-width',
+ 'border-inline-start',
+ 'border-inline-start-color',
+ 'border-inline-start-style',
+ 'border-inline-start-width',
+ 'border-inline-style',
+ 'border-inline-width',
+ 'content-visibility',
+ 'margin-block',
+ 'margin-block-end',
+ 'margin-block-start',
+ 'margin-inline',
+ 'margin-inline-end',
+ 'margin-inline-start',
+ 'overflow-anchor',
+ 'overscroll-behavior',
+ 'padding-block',
+ 'padding-block-end',
+ 'padding-block-start',
+ 'padding-inline',
+ 'padding-inline-end',
+ 'padding-inline-start',
+ 'scroll-snap-stop',
+ 'scrollbar-3d-light-color',
+ 'scrollbar-arrow-color',
+ 'scrollbar-base-color',
+ 'scrollbar-dark-shadow-color',
+ 'scrollbar-face-color',
+ 'scrollbar-highlight-color',
+ 'scrollbar-shadow-color',
+ 'scrollbar-track-color',
+ 'searchfield-cancel-button',
+ 'searchfield-decoration',
+ 'searchfield-results-button',
+ 'searchfield-results-decoration',
+ 'shape-inside',
+ 'zoom',
+ ],
+ X = De(z),
+ ke = [
+ 'font-display',
+ 'font-family',
+ 'src',
+ 'unicode-range',
+ 'font-variant',
+ 'font-feature-settings',
+ 'font-stretch',
+ 'font-weight',
+ 'font-style',
+ ],
+ we = De(ke),
+ te = [
+ 'additive-symbols',
+ 'fallback',
+ 'negative',
+ 'pad',
+ 'prefix',
+ 'range',
+ 'speak-as',
+ 'suffix',
+ 'symbols',
+ 'system',
+ ],
+ re = De(te),
+ ne = [
+ 'aliceblue',
+ 'antiquewhite',
+ 'aqua',
+ 'aquamarine',
+ 'azure',
+ 'beige',
+ 'bisque',
+ 'black',
+ 'blanchedalmond',
+ 'blue',
+ 'blueviolet',
+ 'brown',
+ 'burlywood',
+ 'cadetblue',
+ 'chartreuse',
+ 'chocolate',
+ 'coral',
+ 'cornflowerblue',
+ 'cornsilk',
+ 'crimson',
+ 'cyan',
+ 'darkblue',
+ 'darkcyan',
+ 'darkgoldenrod',
+ 'darkgray',
+ 'darkgreen',
+ 'darkgrey',
+ 'darkkhaki',
+ 'darkmagenta',
+ 'darkolivegreen',
+ 'darkorange',
+ 'darkorchid',
+ 'darkred',
+ 'darksalmon',
+ 'darkseagreen',
+ 'darkslateblue',
+ 'darkslategray',
+ 'darkslategrey',
+ 'darkturquoise',
+ 'darkviolet',
+ 'deeppink',
+ 'deepskyblue',
+ 'dimgray',
+ 'dimgrey',
+ 'dodgerblue',
+ 'firebrick',
+ 'floralwhite',
+ 'forestgreen',
+ 'fuchsia',
+ 'gainsboro',
+ 'ghostwhite',
+ 'gold',
+ 'goldenrod',
+ 'gray',
+ 'grey',
+ 'green',
+ 'greenyellow',
+ 'honeydew',
+ 'hotpink',
+ 'indianred',
+ 'indigo',
+ 'ivory',
+ 'khaki',
+ 'lavender',
+ 'lavenderblush',
+ 'lawngreen',
+ 'lemonchiffon',
+ 'lightblue',
+ 'lightcoral',
+ 'lightcyan',
+ 'lightgoldenrodyellow',
+ 'lightgray',
+ 'lightgreen',
+ 'lightgrey',
+ 'lightpink',
+ 'lightsalmon',
+ 'lightseagreen',
+ 'lightskyblue',
+ 'lightslategray',
+ 'lightslategrey',
+ 'lightsteelblue',
+ 'lightyellow',
+ 'lime',
+ 'limegreen',
+ 'linen',
+ 'magenta',
+ 'maroon',
+ 'mediumaquamarine',
+ 'mediumblue',
+ 'mediumorchid',
+ 'mediumpurple',
+ 'mediumseagreen',
+ 'mediumslateblue',
+ 'mediumspringgreen',
+ 'mediumturquoise',
+ 'mediumvioletred',
+ 'midnightblue',
+ 'mintcream',
+ 'mistyrose',
+ 'moccasin',
+ 'navajowhite',
+ 'navy',
+ 'oldlace',
+ 'olive',
+ 'olivedrab',
+ 'orange',
+ 'orangered',
+ 'orchid',
+ 'palegoldenrod',
+ 'palegreen',
+ 'paleturquoise',
+ 'palevioletred',
+ 'papayawhip',
+ 'peachpuff',
+ 'peru',
+ 'pink',
+ 'plum',
+ 'powderblue',
+ 'purple',
+ 'rebeccapurple',
+ 'red',
+ 'rosybrown',
+ 'royalblue',
+ 'saddlebrown',
+ 'salmon',
+ 'sandybrown',
+ 'seagreen',
+ 'seashell',
+ 'sienna',
+ 'silver',
+ 'skyblue',
+ 'slateblue',
+ 'slategray',
+ 'slategrey',
+ 'snow',
+ 'springgreen',
+ 'steelblue',
+ 'tan',
+ 'teal',
+ 'thistle',
+ 'tomato',
+ 'turquoise',
+ 'violet',
+ 'wheat',
+ 'white',
+ 'whitesmoke',
+ 'yellow',
+ 'yellowgreen',
+ ],
+ se = De(ne),
+ Ae = [
+ 'above',
+ 'absolute',
+ 'activeborder',
+ 'additive',
+ 'activecaption',
+ 'afar',
+ 'after-white-space',
+ 'ahead',
+ 'alias',
+ 'all',
+ 'all-scroll',
+ 'alphabetic',
+ 'alternate',
+ 'always',
+ 'amharic',
+ 'amharic-abegede',
+ 'antialiased',
+ 'appworkspace',
+ 'arabic-indic',
+ 'armenian',
+ 'asterisks',
+ 'attr',
+ 'auto',
+ 'auto-flow',
+ 'avoid',
+ 'avoid-column',
+ 'avoid-page',
+ 'avoid-region',
+ 'axis-pan',
+ 'background',
+ 'backwards',
+ 'baseline',
+ 'below',
+ 'bidi-override',
+ 'binary',
+ 'bengali',
+ 'blink',
+ 'block',
+ 'block-axis',
+ 'blur',
+ 'bold',
+ 'bolder',
+ 'border',
+ 'border-box',
+ 'both',
+ 'bottom',
+ 'break',
+ 'break-all',
+ 'break-word',
+ 'brightness',
+ 'bullets',
+ 'button',
+ 'buttonface',
+ 'buttonhighlight',
+ 'buttonshadow',
+ 'buttontext',
+ 'calc',
+ 'cambodian',
+ 'capitalize',
+ 'caps-lock-indicator',
+ 'caption',
+ 'captiontext',
+ 'caret',
+ 'cell',
+ 'center',
+ 'checkbox',
+ 'circle',
+ 'cjk-decimal',
+ 'cjk-earthly-branch',
+ 'cjk-heavenly-stem',
+ 'cjk-ideographic',
+ 'clear',
+ 'clip',
+ 'close-quote',
+ 'col-resize',
+ 'collapse',
+ 'color',
+ 'color-burn',
+ 'color-dodge',
+ 'column',
+ 'column-reverse',
+ 'compact',
+ 'condensed',
+ 'conic-gradient',
+ 'contain',
+ 'content',
+ 'contents',
+ 'content-box',
+ 'context-menu',
+ 'continuous',
+ 'contrast',
+ 'copy',
+ 'counter',
+ 'counters',
+ 'cover',
+ 'crop',
+ 'cross',
+ 'crosshair',
+ 'cubic-bezier',
+ 'currentcolor',
+ 'cursive',
+ 'cyclic',
+ 'darken',
+ 'dashed',
+ 'decimal',
+ 'decimal-leading-zero',
+ 'default',
+ 'default-button',
+ 'dense',
+ 'destination-atop',
+ 'destination-in',
+ 'destination-out',
+ 'destination-over',
+ 'devanagari',
+ 'difference',
+ 'disc',
+ 'discard',
+ 'disclosure-closed',
+ 'disclosure-open',
+ 'document',
+ 'dot-dash',
+ 'dot-dot-dash',
+ 'dotted',
+ 'double',
+ 'down',
+ 'drop-shadow',
+ 'e-resize',
+ 'ease',
+ 'ease-in',
+ 'ease-in-out',
+ 'ease-out',
+ 'element',
+ 'ellipse',
+ 'ellipsis',
+ 'embed',
+ 'end',
+ 'ethiopic',
+ 'ethiopic-abegede',
+ 'ethiopic-abegede-am-et',
+ 'ethiopic-abegede-gez',
+ 'ethiopic-abegede-ti-er',
+ 'ethiopic-abegede-ti-et',
+ 'ethiopic-halehame-aa-er',
+ 'ethiopic-halehame-aa-et',
+ 'ethiopic-halehame-am-et',
+ 'ethiopic-halehame-gez',
+ 'ethiopic-halehame-om-et',
+ 'ethiopic-halehame-sid-et',
+ 'ethiopic-halehame-so-et',
+ 'ethiopic-halehame-ti-er',
+ 'ethiopic-halehame-ti-et',
+ 'ethiopic-halehame-tig',
+ 'ethiopic-numeric',
+ 'ew-resize',
+ 'exclusion',
+ 'expanded',
+ 'extends',
+ 'extra-condensed',
+ 'extra-expanded',
+ 'fantasy',
+ 'fast',
+ 'fill',
+ 'fill-box',
+ 'fixed',
+ 'flat',
+ 'flex',
+ 'flex-end',
+ 'flex-start',
+ 'footnotes',
+ 'forwards',
+ 'from',
+ 'geometricPrecision',
+ 'georgian',
+ 'grayscale',
+ 'graytext',
+ 'grid',
+ 'groove',
+ 'gujarati',
+ 'gurmukhi',
+ 'hand',
+ 'hangul',
+ 'hangul-consonant',
+ 'hard-light',
+ 'hebrew',
+ 'help',
+ 'hidden',
+ 'hide',
+ 'higher',
+ 'highlight',
+ 'highlighttext',
+ 'hiragana',
+ 'hiragana-iroha',
+ 'horizontal',
+ 'hsl',
+ 'hsla',
+ 'hue',
+ 'hue-rotate',
+ 'icon',
+ 'ignore',
+ 'inactiveborder',
+ 'inactivecaption',
+ 'inactivecaptiontext',
+ 'infinite',
+ 'infobackground',
+ 'infotext',
+ 'inherit',
+ 'initial',
+ 'inline',
+ 'inline-axis',
+ 'inline-block',
+ 'inline-flex',
+ 'inline-grid',
+ 'inline-table',
+ 'inset',
+ 'inside',
+ 'intrinsic',
+ 'invert',
+ 'italic',
+ 'japanese-formal',
+ 'japanese-informal',
+ 'justify',
+ 'kannada',
+ 'katakana',
+ 'katakana-iroha',
+ 'keep-all',
+ 'khmer',
+ 'korean-hangul-formal',
+ 'korean-hanja-formal',
+ 'korean-hanja-informal',
+ 'landscape',
+ 'lao',
+ 'large',
+ 'larger',
+ 'left',
+ 'level',
+ 'lighter',
+ 'lighten',
+ 'line-through',
+ 'linear',
+ 'linear-gradient',
+ 'lines',
+ 'list-item',
+ 'listbox',
+ 'listitem',
+ 'local',
+ 'logical',
+ 'loud',
+ 'lower',
+ 'lower-alpha',
+ 'lower-armenian',
+ 'lower-greek',
+ 'lower-hexadecimal',
+ 'lower-latin',
+ 'lower-norwegian',
+ 'lower-roman',
+ 'lowercase',
+ 'ltr',
+ 'luminosity',
+ 'malayalam',
+ 'manipulation',
+ 'match',
+ 'matrix',
+ 'matrix3d',
+ 'media-play-button',
+ 'media-slider',
+ 'media-sliderthumb',
+ 'media-volume-slider',
+ 'media-volume-sliderthumb',
+ 'medium',
+ 'menu',
+ 'menulist',
+ 'menulist-button',
+ 'menutext',
+ 'message-box',
+ 'middle',
+ 'min-intrinsic',
+ 'mix',
+ 'mongolian',
+ 'monospace',
+ 'move',
+ 'multiple',
+ 'multiple_mask_images',
+ 'multiply',
+ 'myanmar',
+ 'n-resize',
+ 'narrower',
+ 'ne-resize',
+ 'nesw-resize',
+ 'no-close-quote',
+ 'no-drop',
+ 'no-open-quote',
+ 'no-repeat',
+ 'none',
+ 'normal',
+ 'not-allowed',
+ 'nowrap',
+ 'ns-resize',
+ 'numbers',
+ 'numeric',
+ 'nw-resize',
+ 'nwse-resize',
+ 'oblique',
+ 'octal',
+ 'opacity',
+ 'open-quote',
+ 'optimizeLegibility',
+ 'optimizeSpeed',
+ 'oriya',
+ 'oromo',
+ 'outset',
+ 'outside',
+ 'outside-shape',
+ 'overlay',
+ 'overline',
+ 'padding',
+ 'padding-box',
+ 'painted',
+ 'page',
+ 'paused',
+ 'persian',
+ 'perspective',
+ 'pinch-zoom',
+ 'plus-darker',
+ 'plus-lighter',
+ 'pointer',
+ 'polygon',
+ 'portrait',
+ 'pre',
+ 'pre-line',
+ 'pre-wrap',
+ 'preserve-3d',
+ 'progress',
+ 'push-button',
+ 'radial-gradient',
+ 'radio',
+ 'read-only',
+ 'read-write',
+ 'read-write-plaintext-only',
+ 'rectangle',
+ 'region',
+ 'relative',
+ 'repeat',
+ 'repeating-linear-gradient',
+ 'repeating-radial-gradient',
+ 'repeating-conic-gradient',
+ 'repeat-x',
+ 'repeat-y',
+ 'reset',
+ 'reverse',
+ 'rgb',
+ 'rgba',
+ 'ridge',
+ 'right',
+ 'rotate',
+ 'rotate3d',
+ 'rotateX',
+ 'rotateY',
+ 'rotateZ',
+ 'round',
+ 'row',
+ 'row-resize',
+ 'row-reverse',
+ 'rtl',
+ 'run-in',
+ 'running',
+ 's-resize',
+ 'sans-serif',
+ 'saturate',
+ 'saturation',
+ 'scale',
+ 'scale3d',
+ 'scaleX',
+ 'scaleY',
+ 'scaleZ',
+ 'screen',
+ 'scroll',
+ 'scrollbar',
+ 'scroll-position',
+ 'se-resize',
+ 'searchfield',
+ 'searchfield-cancel-button',
+ 'searchfield-decoration',
+ 'searchfield-results-button',
+ 'searchfield-results-decoration',
+ 'self-start',
+ 'self-end',
+ 'semi-condensed',
+ 'semi-expanded',
+ 'separate',
+ 'sepia',
+ 'serif',
+ 'show',
+ 'sidama',
+ 'simp-chinese-formal',
+ 'simp-chinese-informal',
+ 'single',
+ 'skew',
+ 'skewX',
+ 'skewY',
+ 'skip-white-space',
+ 'slide',
+ 'slider-horizontal',
+ 'slider-vertical',
+ 'sliderthumb-horizontal',
+ 'sliderthumb-vertical',
+ 'slow',
+ 'small',
+ 'small-caps',
+ 'small-caption',
+ 'smaller',
+ 'soft-light',
+ 'solid',
+ 'somali',
+ 'source-atop',
+ 'source-in',
+ 'source-out',
+ 'source-over',
+ 'space',
+ 'space-around',
+ 'space-between',
+ 'space-evenly',
+ 'spell-out',
+ 'square',
+ 'square-button',
+ 'start',
+ 'static',
+ 'status-bar',
+ 'stretch',
+ 'stroke',
+ 'stroke-box',
+ 'sub',
+ 'subpixel-antialiased',
+ 'svg_masks',
+ 'super',
+ 'sw-resize',
+ 'symbolic',
+ 'symbols',
+ 'system-ui',
+ 'table',
+ 'table-caption',
+ 'table-cell',
+ 'table-column',
+ 'table-column-group',
+ 'table-footer-group',
+ 'table-header-group',
+ 'table-row',
+ 'table-row-group',
+ 'tamil',
+ 'telugu',
+ 'text',
+ 'text-bottom',
+ 'text-top',
+ 'textarea',
+ 'textfield',
+ 'thai',
+ 'thick',
+ 'thin',
+ 'threeddarkshadow',
+ 'threedface',
+ 'threedhighlight',
+ 'threedlightshadow',
+ 'threedshadow',
+ 'tibetan',
+ 'tigre',
+ 'tigrinya-er',
+ 'tigrinya-er-abegede',
+ 'tigrinya-et',
+ 'tigrinya-et-abegede',
+ 'to',
+ 'top',
+ 'trad-chinese-formal',
+ 'trad-chinese-informal',
+ 'transform',
+ 'translate',
+ 'translate3d',
+ 'translateX',
+ 'translateY',
+ 'translateZ',
+ 'transparent',
+ 'ultra-condensed',
+ 'ultra-expanded',
+ 'underline',
+ 'unidirectional-pan',
+ 'unset',
+ 'up',
+ 'upper-alpha',
+ 'upper-armenian',
+ 'upper-greek',
+ 'upper-hexadecimal',
+ 'upper-latin',
+ 'upper-norwegian',
+ 'upper-roman',
+ 'uppercase',
+ 'urdu',
+ 'url',
+ 'var',
+ 'vertical',
+ 'vertical-text',
+ 'view-box',
+ 'visible',
+ 'visibleFill',
+ 'visiblePainted',
+ 'visibleStroke',
+ 'visual',
+ 'w-resize',
+ 'wait',
+ 'wave',
+ 'wider',
+ 'window',
+ 'windowframe',
+ 'windowtext',
+ 'words',
+ 'wrap',
+ 'wrap-reverse',
+ 'x-large',
+ 'x-small',
+ 'xor',
+ 'xx-large',
+ 'xx-small',
+ ],
+ ye = De(Ae),
+ de = I.concat($).concat(b).concat(_).concat(O).concat(z).concat(ne).concat(Ae)
+ C.registerHelper('hintWords', 'css', de)
+ function ze(fe, H) {
+ for (var Ee = !1, D; (D = fe.next()) != null; ) {
+ if (Ee && D == '/') {
+ H.tokenize = null
+ break
+ }
+ Ee = D == '*'
+ }
+ return ['comment', 'comment']
+ }
+ C.defineMIME('text/css', {
+ documentTypes: K,
+ mediaTypes: V,
+ mediaFeatures: N,
+ mediaValueKeywords: ie,
+ propertyKeywords: q,
+ nonStandardPropertyKeywords: X,
+ fontProperties: we,
+ counterDescriptors: re,
+ colorKeywords: se,
+ valueKeywords: ye,
+ tokenHooks: {
+ '/': function (fe, H) {
+ return fe.eat('*') ? ((H.tokenize = ze), ze(fe, H)) : !1
+ },
+ },
+ name: 'css',
+ }),
+ C.defineMIME('text/x-scss', {
+ mediaTypes: V,
+ mediaFeatures: N,
+ mediaValueKeywords: ie,
+ propertyKeywords: q,
+ nonStandardPropertyKeywords: X,
+ colorKeywords: se,
+ valueKeywords: ye,
+ fontProperties: we,
+ allowNested: !0,
+ lineComment: '//',
+ tokenHooks: {
+ '/': function (fe, H) {
+ return fe.eat('/')
+ ? (fe.skipToEnd(), ['comment', 'comment'])
+ : fe.eat('*')
+ ? ((H.tokenize = ze), ze(fe, H))
+ : ['operator', 'operator']
+ },
+ ':': function (fe) {
+ return fe.match(/^\s*\{/, !1) ? [null, null] : !1
+ },
+ $: function (fe) {
+ return (
+ fe.match(/^[\w-]+/),
+ fe.match(/^\s*:/, !1)
+ ? ['variable-2', 'variable-definition']
+ : ['variable-2', 'variable']
+ )
+ },
+ '#': function (fe) {
+ return fe.eat('{') ? [null, 'interpolation'] : !1
+ },
+ },
+ name: 'css',
+ helperType: 'scss',
+ }),
+ C.defineMIME('text/x-less', {
+ mediaTypes: V,
+ mediaFeatures: N,
+ mediaValueKeywords: ie,
+ propertyKeywords: q,
+ nonStandardPropertyKeywords: X,
+ colorKeywords: se,
+ valueKeywords: ye,
+ fontProperties: we,
+ allowNested: !0,
+ lineComment: '//',
+ tokenHooks: {
+ '/': function (fe, H) {
+ return fe.eat('/')
+ ? (fe.skipToEnd(), ['comment', 'comment'])
+ : fe.eat('*')
+ ? ((H.tokenize = ze), ze(fe, H))
+ : ['operator', 'operator']
+ },
+ '@': function (fe) {
+ return fe.eat('{')
+ ? [null, 'interpolation']
+ : fe.match(
+ /^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,
+ !1
+ )
+ ? !1
+ : (fe.eatWhile(/[\w\\\-]/),
+ fe.match(/^\s*:/, !1)
+ ? ['variable-2', 'variable-definition']
+ : ['variable-2', 'variable'])
+ },
+ '&': function () {
+ return ['atom', 'atom']
+ },
+ },
+ name: 'css',
+ helperType: 'less',
+ }),
+ C.defineMIME('text/x-gss', {
+ documentTypes: K,
+ mediaTypes: V,
+ mediaFeatures: N,
+ propertyKeywords: q,
+ nonStandardPropertyKeywords: X,
+ fontProperties: we,
+ counterDescriptors: re,
+ colorKeywords: se,
+ valueKeywords: ye,
+ supportsAtComponent: !0,
+ tokenHooks: {
+ '/': function (fe, H) {
+ return fe.eat('*') ? ((H.tokenize = ze), ze(fe, H)) : !1
+ },
+ },
+ name: 'css',
+ helperType: 'gss',
+ })
+ })
+ })()),
+ pa.exports
+ )
+}
+za()
+var va = { exports: {} },
+ ma = { exports: {} },
+ ya
+function Ba() {
+ return (
+ ya ||
+ ((ya = 1),
+ (function (Et, zt) {
+ ;(function (C) {
+ C(It())
+ })(function (C) {
+ var De = {
+ autoSelfClosers: {
+ area: !0,
+ base: !0,
+ br: !0,
+ col: !0,
+ command: !0,
+ embed: !0,
+ frame: !0,
+ hr: !0,
+ img: !0,
+ input: !0,
+ keygen: !0,
+ link: !0,
+ meta: !0,
+ param: !0,
+ source: !0,
+ track: !0,
+ wbr: !0,
+ menuitem: !0,
+ },
+ implicitlyClosed: {
+ dd: !0,
+ li: !0,
+ optgroup: !0,
+ option: !0,
+ p: !0,
+ rp: !0,
+ rt: !0,
+ tbody: !0,
+ td: !0,
+ tfoot: !0,
+ th: !0,
+ tr: !0,
+ },
+ contextGrabbers: {
+ dd: { dd: !0, dt: !0 },
+ dt: { dd: !0, dt: !0 },
+ li: { li: !0 },
+ option: { option: !0, optgroup: !0 },
+ optgroup: { optgroup: !0 },
+ p: {
+ address: !0,
+ article: !0,
+ aside: !0,
+ blockquote: !0,
+ dir: !0,
+ div: !0,
+ dl: !0,
+ fieldset: !0,
+ footer: !0,
+ form: !0,
+ h1: !0,
+ h2: !0,
+ h3: !0,
+ h4: !0,
+ h5: !0,
+ h6: !0,
+ header: !0,
+ hgroup: !0,
+ hr: !0,
+ menu: !0,
+ nav: !0,
+ ol: !0,
+ p: !0,
+ pre: !0,
+ section: !0,
+ table: !0,
+ ul: !0,
+ },
+ rp: { rp: !0, rt: !0 },
+ rt: { rp: !0, rt: !0 },
+ tbody: { tbody: !0, tfoot: !0 },
+ td: { td: !0, th: !0 },
+ tfoot: { tbody: !0 },
+ th: { td: !0, th: !0 },
+ thead: { tbody: !0, tfoot: !0 },
+ tr: { tr: !0 },
+ },
+ doNotIndent: { pre: !0 },
+ allowUnquoted: !0,
+ allowMissing: !0,
+ caseFold: !0,
+ },
+ I = {
+ autoSelfClosers: {},
+ implicitlyClosed: {},
+ contextGrabbers: {},
+ doNotIndent: {},
+ allowUnquoted: !1,
+ allowMissing: !1,
+ allowMissingTagName: !1,
+ caseFold: !1,
+ }
+ C.defineMode('xml', function (K, $) {
+ var V = K.indentUnit,
+ b = {},
+ N = $.htmlMode ? De : I
+ for (var _ in N) b[_] = N[_]
+ for (var _ in $) b[_] = $[_]
+ var ie, O
+ function q(d, S) {
+ function w(P) {
+ return (S.tokenize = P), P(d, S)
+ }
+ var m = d.next()
+ if (m == '<')
+ return d.eat('!')
+ ? d.eat('[')
+ ? d.match('CDATA[')
+ ? w(ke('atom', ']]>'))
+ : null
+ : d.match('--')
+ ? w(ke('comment', '-->'))
+ : d.match('DOCTYPE', !0, !0)
+ ? (d.eatWhile(/[\w\._\-]/), w(we(1)))
+ : null
+ : d.eat('?')
+ ? (d.eatWhile(/[\w\._\-]/), (S.tokenize = ke('meta', '?>')), 'meta')
+ : ((ie = d.eat('/') ? 'closeTag' : 'openTag'), (S.tokenize = z), 'tag bracket')
+ if (m == '&') {
+ var y
+ return (
+ d.eat('#')
+ ? d.eat('x')
+ ? (y = d.eatWhile(/[a-fA-F\d]/) && d.eat(';'))
+ : (y = d.eatWhile(/[\d]/) && d.eat(';'))
+ : (y = d.eatWhile(/[\w\.\-:]/) && d.eat(';')),
+ y ? 'atom' : 'error'
+ )
+ } else return d.eatWhile(/[^&<]/), null
+ }
+ q.isInText = !0
+ function z(d, S) {
+ var w = d.next()
+ if (w == '>' || (w == '/' && d.eat('>')))
+ return (S.tokenize = q), (ie = w == '>' ? 'endTag' : 'selfcloseTag'), 'tag bracket'
+ if (w == '=') return (ie = 'equals'), null
+ if (w == '<') {
+ ;(S.tokenize = q), (S.state = Ae), (S.tagName = S.tagStart = null)
+ var m = S.tokenize(d, S)
+ return m ? m + ' tag error' : 'tag error'
+ } else return /[\'\"]/.test(w) ? ((S.tokenize = X(w)), (S.stringStartCol = d.column()), S.tokenize(d, S)) : (d.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/), 'word')
+ }
+ function X(d) {
+ var S = function (w, m) {
+ for (; !w.eol(); )
+ if (w.next() == d) {
+ m.tokenize = z
+ break
+ }
+ return 'string'
+ }
+ return (S.isInAttribute = !0), S
+ }
+ function ke(d, S) {
+ return function (w, m) {
+ for (; !w.eol(); ) {
+ if (w.match(S)) {
+ m.tokenize = q
+ break
+ }
+ w.next()
+ }
+ return d
+ }
+ }
+ function we(d) {
+ return function (S, w) {
+ for (var m; (m = S.next()) != null; ) {
+ if (m == '<') return (w.tokenize = we(d + 1)), w.tokenize(S, w)
+ if (m == '>')
+ if (d == 1) {
+ w.tokenize = q
+ break
+ } else return (w.tokenize = we(d - 1)), w.tokenize(S, w)
+ }
+ return 'meta'
+ }
+ }
+ function te(d) {
+ return d && d.toLowerCase()
+ }
+ function re(d, S, w) {
+ ;(this.prev = d.context),
+ (this.tagName = S || ''),
+ (this.indent = d.indented),
+ (this.startOfLine = w),
+ (b.doNotIndent.hasOwnProperty(S) || (d.context && d.context.noIndent)) &&
+ (this.noIndent = !0)
+ }
+ function ne(d) {
+ d.context && (d.context = d.context.prev)
+ }
+ function se(d, S) {
+ for (var w; ; ) {
+ if (
+ !d.context ||
+ ((w = d.context.tagName),
+ !b.contextGrabbers.hasOwnProperty(te(w)) ||
+ !b.contextGrabbers[te(w)].hasOwnProperty(te(S)))
+ )
+ return
+ ne(d)
+ }
+ }
+ function Ae(d, S, w) {
+ return d == 'openTag' ? ((w.tagStart = S.column()), ye) : d == 'closeTag' ? de : Ae
+ }
+ function ye(d, S, w) {
+ return d == 'word'
+ ? ((w.tagName = S.current()), (O = 'tag'), H)
+ : b.allowMissingTagName && d == 'endTag'
+ ? ((O = 'tag bracket'), H(d, S, w))
+ : ((O = 'error'), ye)
+ }
+ function de(d, S, w) {
+ if (d == 'word') {
+ var m = S.current()
+ return (
+ w.context &&
+ w.context.tagName != m &&
+ b.implicitlyClosed.hasOwnProperty(te(w.context.tagName)) &&
+ ne(w),
+ (w.context && w.context.tagName == m) || b.matchClosing === !1
+ ? ((O = 'tag'), ze)
+ : ((O = 'tag error'), fe)
+ )
+ } else return b.allowMissingTagName && d == 'endTag' ? ((O = 'tag bracket'), ze(d, S, w)) : ((O = 'error'), fe)
+ }
+ function ze(d, S, w) {
+ return d != 'endTag' ? ((O = 'error'), ze) : (ne(w), Ae)
+ }
+ function fe(d, S, w) {
+ return (O = 'error'), ze(d, S, w)
+ }
+ function H(d, S, w) {
+ if (d == 'word') return (O = 'attribute'), Ee
+ if (d == 'endTag' || d == 'selfcloseTag') {
+ var m = w.tagName,
+ y = w.tagStart
+ return (
+ (w.tagName = w.tagStart = null),
+ d == 'selfcloseTag' || b.autoSelfClosers.hasOwnProperty(te(m))
+ ? se(w, m)
+ : (se(w, m), (w.context = new re(w, m, y == w.indented))),
+ Ae
+ )
+ }
+ return (O = 'error'), H
+ }
+ function Ee(d, S, w) {
+ return d == 'equals' ? D : (b.allowMissing || (O = 'error'), H(d, S, w))
+ }
+ function D(d, S, w) {
+ return d == 'string'
+ ? J
+ : d == 'word' && b.allowUnquoted
+ ? ((O = 'string'), H)
+ : ((O = 'error'), H(d, S, w))
+ }
+ function J(d, S, w) {
+ return d == 'string' ? J : H(d, S, w)
+ }
+ return {
+ startState: function (d) {
+ var S = {
+ tokenize: q,
+ state: Ae,
+ indented: d || 0,
+ tagName: null,
+ tagStart: null,
+ context: null,
+ }
+ return d != null && (S.baseIndent = d), S
+ },
+ token: function (d, S) {
+ if ((!S.tagName && d.sol() && (S.indented = d.indentation()), d.eatSpace()))
+ return null
+ ie = null
+ var w = S.tokenize(d, S)
+ return (
+ (w || ie) &&
+ w != 'comment' &&
+ ((O = null),
+ (S.state = S.state(ie || w, d, S)),
+ O && (w = O == 'error' ? w + ' error' : O)),
+ w
+ )
+ },
+ indent: function (d, S, w) {
+ var m = d.context
+ if (d.tokenize.isInAttribute)
+ return d.tagStart == d.indented ? d.stringStartCol + 1 : d.indented + V
+ if (m && m.noIndent) return C.Pass
+ if (d.tokenize != z && d.tokenize != q) return w ? w.match(/^(\s*)/)[0].length : 0
+ if (d.tagName)
+ return b.multilineTagIndentPastTag !== !1
+ ? d.tagStart + d.tagName.length + 2
+ : d.tagStart + V * (b.multilineTagIndentFactor || 1)
+ if (b.alignCDATA && /$/,
+ blockCommentStart: '',
+ configuration: b.htmlMode ? 'html' : 'xml',
+ helperType: b.htmlMode ? 'html' : 'xml',
+ skipAttribute: function (d) {
+ d.state == D && (d.state = H)
+ },
+ xmlCurrentTag: function (d) {
+ return d.tagName ? { name: d.tagName, close: d.type == 'closeTag' } : null
+ },
+ xmlCurrentContext: function (d) {
+ for (var S = [], w = d.context; w; w = w.prev) S.push(w.tagName)
+ return S.reverse()
+ },
+ }
+ }),
+ C.defineMIME('text/xml', 'xml'),
+ C.defineMIME('application/xml', 'xml'),
+ C.mimeModes.hasOwnProperty('text/html') ||
+ C.defineMIME('text/html', { name: 'xml', htmlMode: !0 })
+ })
+ })()),
+ ma.exports
+ )
+}
+var xa = { exports: {} },
+ ba
+function Wa() {
+ return (
+ ba ||
+ ((ba = 1),
+ (function (Et, zt) {
+ ;(function (C) {
+ C(It())
+ })(function (C) {
+ C.defineMode('javascript', function (De, I) {
+ var K = De.indentUnit,
+ $ = I.statementIndent,
+ V = I.jsonld,
+ b = I.json || V,
+ N = I.trackScope !== !1,
+ _ = I.typescript,
+ ie = I.wordCharacters || /[\w$\xa1-\uffff]/,
+ O = (function () {
+ function f(it) {
+ return { type: it, style: 'keyword' }
+ }
+ var g = f('keyword a'),
+ A = f('keyword b'),
+ W = f('keyword c'),
+ L = f('keyword d'),
+ Z = f('operator'),
+ _e = { type: 'atom', style: 'atom' }
+ return {
+ if: f('if'),
+ while: g,
+ with: g,
+ else: A,
+ do: A,
+ try: A,
+ finally: A,
+ return: L,
+ break: L,
+ continue: L,
+ new: f('new'),
+ delete: W,
+ void: W,
+ throw: W,
+ debugger: f('debugger'),
+ var: f('var'),
+ const: f('var'),
+ let: f('var'),
+ function: f('function'),
+ catch: f('catch'),
+ for: f('for'),
+ switch: f('switch'),
+ case: f('case'),
+ default: f('default'),
+ in: Z,
+ typeof: Z,
+ instanceof: Z,
+ true: _e,
+ false: _e,
+ null: _e,
+ undefined: _e,
+ NaN: _e,
+ Infinity: _e,
+ this: f('this'),
+ class: f('class'),
+ super: f('atom'),
+ yield: W,
+ export: f('export'),
+ import: f('import'),
+ extends: W,
+ await: W,
+ }
+ })(),
+ q = /[+\-*&%=<>!?|~^@]/,
+ z =
+ /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/
+ function X(f) {
+ for (var g = !1, A, W = !1; (A = f.next()) != null; ) {
+ if (!g) {
+ if (A == '/' && !W) return
+ A == '[' ? (W = !0) : W && A == ']' && (W = !1)
+ }
+ g = !g && A == '\\'
+ }
+ }
+ var ke, we
+ function te(f, g, A) {
+ return (ke = f), (we = A), g
+ }
+ function re(f, g) {
+ var A = f.next()
+ if (A == '"' || A == "'") return (g.tokenize = ne(A)), g.tokenize(f, g)
+ if (A == '.' && f.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))
+ return te('number', 'number')
+ if (A == '.' && f.match('..')) return te('spread', 'meta')
+ if (/[\[\]{}\(\),;\:\.]/.test(A)) return te(A)
+ if (A == '=' && f.eat('>')) return te('=>', 'operator')
+ if (A == '0' && f.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))
+ return te('number', 'number')
+ if (/\d/.test(A))
+ return (
+ f.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),
+ te('number', 'number')
+ )
+ if (A == '/')
+ return f.eat('*')
+ ? ((g.tokenize = se), se(f, g))
+ : f.eat('/')
+ ? (f.skipToEnd(), te('comment', 'comment'))
+ : Ft(f, g, 1)
+ ? (X(f), f.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/), te('regexp', 'string-2'))
+ : (f.eat('='), te('operator', 'operator', f.current()))
+ if (A == '`') return (g.tokenize = Ae), Ae(f, g)
+ if (A == '#' && f.peek() == '!') return f.skipToEnd(), te('meta', 'meta')
+ if (A == '#' && f.eatWhile(ie)) return te('variable', 'property')
+ if (
+ (A == '<' && f.match('!--')) ||
+ (A == '-' && f.match('->') && !/\S/.test(f.string.slice(0, f.start)))
+ )
+ return f.skipToEnd(), te('comment', 'comment')
+ if (q.test(A))
+ return (
+ (A != '>' || !g.lexical || g.lexical.type != '>') &&
+ (f.eat('=')
+ ? (A == '!' || A == '=') && f.eat('=')
+ : /[<>*+\-|&?]/.test(A) && (f.eat(A), A == '>' && f.eat(A))),
+ A == '?' && f.eat('.') ? te('.') : te('operator', 'operator', f.current())
+ )
+ if (ie.test(A)) {
+ f.eatWhile(ie)
+ var W = f.current()
+ if (g.lastType != '.') {
+ if (O.propertyIsEnumerable(W)) {
+ var L = O[W]
+ return te(L.type, L.style, W)
+ }
+ if (W == 'async' && f.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/, !1))
+ return te('async', 'keyword', W)
+ }
+ return te('variable', 'variable', W)
+ }
+ }
+ function ne(f) {
+ return function (g, A) {
+ var W = !1,
+ L
+ if (V && g.peek() == '@' && g.match(z))
+ return (A.tokenize = re), te('jsonld-keyword', 'meta')
+ for (; (L = g.next()) != null && !(L == f && !W); ) W = !W && L == '\\'
+ return W || (A.tokenize = re), te('string', 'string')
+ }
+ }
+ function se(f, g) {
+ for (var A = !1, W; (W = f.next()); ) {
+ if (W == '/' && A) {
+ g.tokenize = re
+ break
+ }
+ A = W == '*'
+ }
+ return te('comment', 'comment')
+ }
+ function Ae(f, g) {
+ for (var A = !1, W; (W = f.next()) != null; ) {
+ if (!A && (W == '`' || (W == '$' && f.eat('{')))) {
+ g.tokenize = re
+ break
+ }
+ A = !A && W == '\\'
+ }
+ return te('quasi', 'string-2', f.current())
+ }
+ var ye = '([{}])'
+ function de(f, g) {
+ g.fatArrowAt && (g.fatArrowAt = null)
+ var A = f.string.indexOf('=>', f.start)
+ if (!(A < 0)) {
+ if (_) {
+ var W = /:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(
+ f.string.slice(f.start, A)
+ )
+ W && (A = W.index)
+ }
+ for (var L = 0, Z = !1, _e = A - 1; _e >= 0; --_e) {
+ var it = f.string.charAt(_e),
+ xt = ye.indexOf(it)
+ if (xt >= 0 && xt < 3) {
+ if (!L) {
+ ++_e
+ break
+ }
+ if (--L == 0) {
+ it == '(' && (Z = !0)
+ break
+ }
+ } else if (xt >= 3 && xt < 6) ++L
+ else if (ie.test(it)) Z = !0
+ else if (/["'\/`]/.test(it))
+ for (; ; --_e) {
+ if (_e == 0) return
+ var _r = f.string.charAt(_e - 1)
+ if (_r == it && f.string.charAt(_e - 2) != '\\') {
+ _e--
+ break
+ }
+ }
+ else if (Z && !L) {
+ ++_e
+ break
+ }
+ }
+ Z && !L && (g.fatArrowAt = _e)
+ }
+ }
+ var ze = {
+ atom: !0,
+ number: !0,
+ variable: !0,
+ string: !0,
+ regexp: !0,
+ this: !0,
+ import: !0,
+ 'jsonld-keyword': !0,
+ }
+ function fe(f, g, A, W, L, Z) {
+ ;(this.indented = f),
+ (this.column = g),
+ (this.type = A),
+ (this.prev = L),
+ (this.info = Z),
+ W != null && (this.align = W)
+ }
+ function H(f, g) {
+ if (!N) return !1
+ for (var A = f.localVars; A; A = A.next) if (A.name == g) return !0
+ for (var W = f.context; W; W = W.prev)
+ for (var A = W.vars; A; A = A.next) if (A.name == g) return !0
+ }
+ function Ee(f, g, A, W, L) {
+ var Z = f.cc
+ for (
+ D.state = f,
+ D.stream = L,
+ D.marked = null,
+ D.cc = Z,
+ D.style = g,
+ f.lexical.hasOwnProperty('align') || (f.lexical.align = !0);
+ ;
+
+ ) {
+ var _e = Z.length ? Z.pop() : b ? oe : Le
+ if (_e(A, W)) {
+ for (; Z.length && Z[Z.length - 1].lex; ) Z.pop()()
+ return D.marked ? D.marked : A == 'variable' && H(f, W) ? 'variable-2' : g
+ }
+ }
+ }
+ var D = { state: null, marked: null, cc: null }
+ function J() {
+ for (var f = arguments.length - 1; f >= 0; f--) D.cc.push(arguments[f])
+ }
+ function d() {
+ return J.apply(null, arguments), !0
+ }
+ function S(f, g) {
+ for (var A = g; A; A = A.next) if (A.name == f) return !0
+ return !1
+ }
+ function w(f) {
+ var g = D.state
+ if (((D.marked = 'def'), !!N)) {
+ if (g.context) {
+ if (g.lexical.info == 'var' && g.context && g.context.block) {
+ var A = m(f, g.context)
+ if (A != null) {
+ g.context = A
+ return
+ }
+ } else if (!S(f, g.localVars)) {
+ g.localVars = new le(f, g.localVars)
+ return
+ }
+ }
+ I.globalVars && !S(f, g.globalVars) && (g.globalVars = new le(f, g.globalVars))
+ }
+ }
+ function m(f, g) {
+ if (g)
+ if (g.block) {
+ var A = m(f, g.prev)
+ return A ? (A == g.prev ? g : new P(A, g.vars, !0)) : null
+ } else return S(f, g.vars) ? g : new P(g.prev, new le(f, g.vars), !1)
+ else return null
+ }
+ function y(f) {
+ return (
+ f == 'public' ||
+ f == 'private' ||
+ f == 'protected' ||
+ f == 'abstract' ||
+ f == 'readonly'
+ )
+ }
+ function P(f, g, A) {
+ ;(this.prev = f), (this.vars = g), (this.block = A)
+ }
+ function le(f, g) {
+ ;(this.name = f), (this.next = g)
+ }
+ var p = new le('this', new le('arguments', null))
+ function c() {
+ ;(D.state.context = new P(D.state.context, D.state.localVars, !1)),
+ (D.state.localVars = p)
+ }
+ function Y() {
+ ;(D.state.context = new P(D.state.context, D.state.localVars, !0)),
+ (D.state.localVars = null)
+ }
+ c.lex = Y.lex = !0
+ function xe() {
+ ;(D.state.localVars = D.state.context.vars), (D.state.context = D.state.context.prev)
+ }
+ xe.lex = !0
+ function j(f, g) {
+ var A = function () {
+ var W = D.state,
+ L = W.indented
+ if (W.lexical.type == 'stat') L = W.lexical.indented
+ else
+ for (var Z = W.lexical; Z && Z.type == ')' && Z.align; Z = Z.prev) L = Z.indented
+ W.lexical = new fe(L, D.stream.column(), f, null, W.lexical, g)
+ }
+ return (A.lex = !0), A
+ }
+ function ue() {
+ var f = D.state
+ f.lexical.prev &&
+ (f.lexical.type == ')' && (f.indented = f.lexical.indented),
+ (f.lexical = f.lexical.prev))
+ }
+ ue.lex = !0
+ function Te(f) {
+ function g(A) {
+ return A == f ? d() : f == ';' || A == '}' || A == ')' || A == ']' ? J() : d(g)
+ }
+ return g
+ }
+ function Le(f, g) {
+ return f == 'var'
+ ? d(j('vardef', g), Nr, Te(';'), ue)
+ : f == 'keyword a'
+ ? d(j('form'), qe, Le, ue)
+ : f == 'keyword b'
+ ? d(j('form'), Le, ue)
+ : f == 'keyword d'
+ ? D.stream.match(/^\s*$/, !1)
+ ? d()
+ : d(j('stat'), ct, Te(';'), ue)
+ : f == 'debugger'
+ ? d(Te(';'))
+ : f == '{'
+ ? d(j('}'), Y, Nt, ue, xe)
+ : f == ';'
+ ? d()
+ : f == 'if'
+ ? (D.state.lexical.info == 'else' &&
+ D.state.cc[D.state.cc.length - 1] == ue &&
+ D.state.cc.pop()(),
+ d(j('form'), qe, Le, ue, Or))
+ : f == 'function'
+ ? d(Pt)
+ : f == 'for'
+ ? d(j('form'), Y, Wn, Le, xe, ue)
+ : f == 'class' || (_ && g == 'interface')
+ ? ((D.marked = 'keyword'), d(j('form', f == 'class' ? f : g), Pr, ue))
+ : f == 'variable'
+ ? _ && g == 'declare'
+ ? ((D.marked = 'keyword'), d(Le))
+ : _ &&
+ (g == 'module' || g == 'enum' || g == 'type') &&
+ D.stream.match(/^\s*\w/, !1)
+ ? ((D.marked = 'keyword'),
+ g == 'enum'
+ ? d(ce)
+ : g == 'type'
+ ? d(_n, Te('operator'), We, Te(';'))
+ : d(j('form'), yt, Te('{'), j('}'), Nt, ue, ue))
+ : _ && g == 'namespace'
+ ? ((D.marked = 'keyword'), d(j('form'), oe, Le, ue))
+ : _ && g == 'abstract'
+ ? ((D.marked = 'keyword'), d(Le))
+ : d(j('stat'), Ie)
+ : f == 'switch'
+ ? d(j('form'), qe, Te('{'), j('}', 'switch'), Y, Nt, ue, ue, xe)
+ : f == 'case'
+ ? d(oe, Te(':'))
+ : f == 'default'
+ ? d(Te(':'))
+ : f == 'catch'
+ ? d(j('form'), c, be, Le, ue, xe)
+ : f == 'export'
+ ? d(j('stat'), Ir, ue)
+ : f == 'import'
+ ? d(j('stat'), fr, ue)
+ : f == 'async'
+ ? d(Le)
+ : g == '@'
+ ? d(oe, Le)
+ : J(j('stat'), oe, Te(';'), ue)
+ }
+ function be(f) {
+ if (f == '(') return d(_t, Te(')'))
+ }
+ function oe(f, g) {
+ return Ve(f, g, !1)
+ }
+ function Ne(f, g) {
+ return Ve(f, g, !0)
+ }
+ function qe(f) {
+ return f != '(' ? J() : d(j(')'), ct, Te(')'), ue)
+ }
+ function Ve(f, g, A) {
+ if (D.state.fatArrowAt == D.stream.start) {
+ var W = A ? Pe : ge
+ if (f == '(') return d(c, j(')'), Me(_t, ')'), ue, Te('=>'), W, xe)
+ if (f == 'variable') return J(c, yt, Te('=>'), W, xe)
+ }
+ var L = A ? Re : Oe
+ return ze.hasOwnProperty(f)
+ ? d(L)
+ : f == 'function'
+ ? d(Pt, L)
+ : f == 'class' || (_ && g == 'interface')
+ ? ((D.marked = 'keyword'), d(j('form'), xi, ue))
+ : f == 'keyword c' || f == 'async'
+ ? d(A ? Ne : oe)
+ : f == '('
+ ? d(j(')'), ct, Te(')'), ue, L)
+ : f == 'operator' || f == 'spread'
+ ? d(A ? Ne : oe)
+ : f == '['
+ ? d(j(']'), Je, ue, L)
+ : f == '{'
+ ? Lt(Se, '}', null, L)
+ : f == 'quasi'
+ ? J(Ue, L)
+ : f == 'new'
+ ? d(T(A))
+ : d()
+ }
+ function ct(f) {
+ return f.match(/[;\}\)\],]/) ? J() : J(oe)
+ }
+ function Oe(f, g) {
+ return f == ',' ? d(ct) : Re(f, g, !1)
+ }
+ function Re(f, g, A) {
+ var W = A == !1 ? Oe : Re,
+ L = A == !1 ? oe : Ne
+ if (f == '=>') return d(c, A ? Pe : ge, xe)
+ if (f == 'operator')
+ return /\+\+|--/.test(g) || (_ && g == '!')
+ ? d(W)
+ : _ && g == '<' && D.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/, !1)
+ ? d(j('>'), Me(We, '>'), ue, W)
+ : g == '?'
+ ? d(oe, Te(':'), L)
+ : d(L)
+ if (f == 'quasi') return J(Ue, W)
+ if (f != ';') {
+ if (f == '(') return Lt(Ne, ')', 'call', W)
+ if (f == '.') return d(ae, W)
+ if (f == '[') return d(j(']'), ct, Te(']'), ue, W)
+ if (_ && g == 'as') return (D.marked = 'keyword'), d(We, W)
+ if (f == 'regexp')
+ return (
+ (D.state.lastType = D.marked = 'operator'),
+ D.stream.backUp(D.stream.pos - D.stream.start - 1),
+ d(L)
+ )
+ }
+ }
+ function Ue(f, g) {
+ return f != 'quasi' ? J() : g.slice(g.length - 2) != '${' ? d(Ue) : d(ct, et)
+ }
+ function et(f) {
+ if (f == '}') return (D.marked = 'string-2'), (D.state.tokenize = Ae), d(Ue)
+ }
+ function ge(f) {
+ return de(D.stream, D.state), J(f == '{' ? Le : oe)
+ }
+ function Pe(f) {
+ return de(D.stream, D.state), J(f == '{' ? Le : Ne)
+ }
+ function T(f) {
+ return function (g) {
+ return g == '.'
+ ? d(f ? F : B)
+ : g == 'variable' && _
+ ? d(Ct, f ? Re : Oe)
+ : J(f ? Ne : oe)
+ }
+ }
+ function B(f, g) {
+ if (g == 'target') return (D.marked = 'keyword'), d(Oe)
+ }
+ function F(f, g) {
+ if (g == 'target') return (D.marked = 'keyword'), d(Re)
+ }
+ function Ie(f) {
+ return f == ':' ? d(ue, Le) : J(Oe, Te(';'), ue)
+ }
+ function ae(f) {
+ if (f == 'variable') return (D.marked = 'property'), d()
+ }
+ function Se(f, g) {
+ if (f == 'async') return (D.marked = 'property'), d(Se)
+ if (f == 'variable' || D.style == 'keyword') {
+ if (((D.marked = 'property'), g == 'get' || g == 'set')) return d(he)
+ var A
+ return (
+ _ &&
+ D.state.fatArrowAt == D.stream.start &&
+ (A = D.stream.match(/^\s*:\s*/, !1)) &&
+ (D.state.fatArrowAt = D.stream.pos + A[0].length),
+ d(Be)
+ )
+ } else {
+ if (f == 'number' || f == 'string')
+ return (D.marked = V ? 'property' : D.style + ' property'), d(Be)
+ if (f == 'jsonld-keyword') return d(Be)
+ if (_ && y(g)) return (D.marked = 'keyword'), d(Se)
+ if (f == '[') return d(oe, or, Te(']'), Be)
+ if (f == 'spread') return d(Ne, Be)
+ if (g == '*') return (D.marked = 'keyword'), d(Se)
+ if (f == ':') return J(Be)
+ }
+ }
+ function he(f) {
+ return f != 'variable' ? J(Be) : ((D.marked = 'property'), d(Pt))
+ }
+ function Be(f) {
+ if (f == ':') return d(Ne)
+ if (f == '(') return J(Pt)
+ }
+ function Me(f, g, A) {
+ function W(L, Z) {
+ if (A ? A.indexOf(L) > -1 : L == ',') {
+ var _e = D.state.lexical
+ return (
+ _e.info == 'call' && (_e.pos = (_e.pos || 0) + 1),
+ d(function (it, xt) {
+ return it == g || xt == g ? J() : J(f)
+ }, W)
+ )
+ }
+ return L == g || Z == g ? d() : A && A.indexOf(';') > -1 ? J(f) : d(Te(g))
+ }
+ return function (L, Z) {
+ return L == g || Z == g ? d() : J(f, W)
+ }
+ }
+ function Lt(f, g, A) {
+ for (var W = 3; W < arguments.length; W++) D.cc.push(arguments[W])
+ return d(j(g, A), Me(f, g), ue)
+ }
+ function Nt(f) {
+ return f == '}' ? d() : J(Le, Nt)
+ }
+ function or(f, g) {
+ if (_) {
+ if (f == ':') return d(We)
+ if (g == '?') return d(or)
+ }
+ }
+ function br(f, g) {
+ if (_ && (f == ':' || g == 'in')) return d(We)
+ }
+ function lr(f) {
+ if (_ && f == ':') return D.stream.match(/^\s*\w+\s+is\b/, !1) ? d(oe, mi, We) : d(We)
+ }
+ function mi(f, g) {
+ if (g == 'is') return (D.marked = 'keyword'), d()
+ }
+ function We(f, g) {
+ if (g == 'keyof' || g == 'typeof' || g == 'infer' || g == 'readonly')
+ return (D.marked = 'keyword'), d(g == 'typeof' ? Ne : We)
+ if (f == 'variable' || g == 'void') return (D.marked = 'type'), d(Ot)
+ if (g == '|' || g == '&') return d(We)
+ if (f == 'string' || f == 'number' || f == 'atom') return d(Ot)
+ if (f == '[') return d(j(']'), Me(We, ']', ','), ue, Ot)
+ if (f == '{') return d(j('}'), ve, ue, Ot)
+ if (f == '(') return d(Me(Ze, ')'), Bn, Ot)
+ if (f == '<') return d(Me(We, '>'), We)
+ if (f == 'quasi') return J(dt, Ot)
+ }
+ function Bn(f) {
+ if (f == '=>') return d(We)
+ }
+ function ve(f) {
+ return f.match(/[\}\)\]]/) ? d() : f == ',' || f == ';' ? d(ve) : J(Qt, ve)
+ }
+ function Qt(f, g) {
+ if (f == 'variable' || D.style == 'keyword') return (D.marked = 'property'), d(Qt)
+ if (g == '?' || f == 'number' || f == 'string') return d(Qt)
+ if (f == ':') return d(We)
+ if (f == '[') return d(Te('variable'), br, Te(']'), Qt)
+ if (f == '(') return J(ur, Qt)
+ if (!f.match(/[;\}\)\],]/)) return d()
+ }
+ function dt(f, g) {
+ return f != 'quasi' ? J() : g.slice(g.length - 2) != '${' ? d(dt) : d(We, Ye)
+ }
+ function Ye(f) {
+ if (f == '}') return (D.marked = 'string-2'), (D.state.tokenize = Ae), d(dt)
+ }
+ function Ze(f, g) {
+ return (f == 'variable' && D.stream.match(/^\s*[?:]/, !1)) || g == '?'
+ ? d(Ze)
+ : f == ':'
+ ? d(We)
+ : f == 'spread'
+ ? d(Ze)
+ : J(We)
+ }
+ function Ot(f, g) {
+ if (g == '<') return d(j('>'), Me(We, '>'), ue, Ot)
+ if (g == '|' || f == '.' || g == '&') return d(We)
+ if (f == '[') return d(We, Te(']'), Ot)
+ if (g == 'extends' || g == 'implements') return (D.marked = 'keyword'), d(We)
+ if (g == '?') return d(We, Te(':'), We)
+ }
+ function Ct(f, g) {
+ if (g == '<') return d(j('>'), Me(We, '>'), ue, Ot)
+ }
+ function Bt() {
+ return J(We, ht)
+ }
+ function ht(f, g) {
+ if (g == '=') return d(We)
+ }
+ function Nr(f, g) {
+ return g == 'enum' ? ((D.marked = 'keyword'), d(ce)) : J(yt, or, Wt, yi)
+ }
+ function yt(f, g) {
+ if (_ && y(g)) return (D.marked = 'keyword'), d(yt)
+ if (f == 'variable') return w(g), d()
+ if (f == 'spread') return d(yt)
+ if (f == '[') return Lt(ln, ']')
+ if (f == '{') return Lt(ar, '}')
+ }
+ function ar(f, g) {
+ return f == 'variable' && !D.stream.match(/^\s*:/, !1)
+ ? (w(g), d(Wt))
+ : (f == 'variable' && (D.marked = 'property'),
+ f == 'spread'
+ ? d(yt)
+ : f == '}'
+ ? J()
+ : f == '['
+ ? d(oe, Te(']'), Te(':'), ar)
+ : d(Te(':'), yt, Wt))
+ }
+ function ln() {
+ return J(yt, Wt)
+ }
+ function Wt(f, g) {
+ if (g == '=') return d(Ne)
+ }
+ function yi(f) {
+ if (f == ',') return d(Nr)
+ }
+ function Or(f, g) {
+ if (f == 'keyword b' && g == 'else') return d(j('form', 'else'), Le, ue)
+ }
+ function Wn(f, g) {
+ if (g == 'await') return d(Wn)
+ if (f == '(') return d(j(')'), an, ue)
+ }
+ function an(f) {
+ return f == 'var' ? d(Nr, sr) : f == 'variable' ? d(sr) : J(sr)
+ }
+ function sr(f, g) {
+ return f == ')'
+ ? d()
+ : f == ';'
+ ? d(sr)
+ : g == 'in' || g == 'of'
+ ? ((D.marked = 'keyword'), d(oe, sr))
+ : J(oe, sr)
+ }
+ function Pt(f, g) {
+ if (g == '*') return (D.marked = 'keyword'), d(Pt)
+ if (f == 'variable') return w(g), d(Pt)
+ if (f == '(') return d(c, j(')'), Me(_t, ')'), ue, lr, Le, xe)
+ if (_ && g == '<') return d(j('>'), Me(Bt, '>'), ue, Pt)
+ }
+ function ur(f, g) {
+ if (g == '*') return (D.marked = 'keyword'), d(ur)
+ if (f == 'variable') return w(g), d(ur)
+ if (f == '(') return d(c, j(')'), Me(_t, ')'), ue, lr, xe)
+ if (_ && g == '<') return d(j('>'), Me(Bt, '>'), ue, ur)
+ }
+ function _n(f, g) {
+ if (f == 'keyword' || f == 'variable') return (D.marked = 'type'), d(_n)
+ if (g == '<') return d(j('>'), Me(Bt, '>'), ue)
+ }
+ function _t(f, g) {
+ return (
+ g == '@' && d(oe, _t),
+ f == 'spread'
+ ? d(_t)
+ : _ && y(g)
+ ? ((D.marked = 'keyword'), d(_t))
+ : _ && f == 'this'
+ ? d(or, Wt)
+ : J(yt, or, Wt)
+ )
+ }
+ function xi(f, g) {
+ return f == 'variable' ? Pr(f, g) : Ht(f, g)
+ }
+ function Pr(f, g) {
+ if (f == 'variable') return w(g), d(Ht)
+ }
+ function Ht(f, g) {
+ if (g == '<') return d(j('>'), Me(Bt, '>'), ue, Ht)
+ if (g == 'extends' || g == 'implements' || (_ && f == ','))
+ return g == 'implements' && (D.marked = 'keyword'), d(_ ? We : oe, Ht)
+ if (f == '{') return d(j('}'), Rt, ue)
+ }
+ function Rt(f, g) {
+ if (
+ f == 'async' ||
+ (f == 'variable' &&
+ (g == 'static' || g == 'get' || g == 'set' || (_ && y(g))) &&
+ D.stream.match(/^\s+#?[\w$\xa1-\uffff]/, !1))
+ )
+ return (D.marked = 'keyword'), d(Rt)
+ if (f == 'variable' || D.style == 'keyword') return (D.marked = 'property'), d(kr, Rt)
+ if (f == 'number' || f == 'string') return d(kr, Rt)
+ if (f == '[') return d(oe, or, Te(']'), kr, Rt)
+ if (g == '*') return (D.marked = 'keyword'), d(Rt)
+ if (_ && f == '(') return J(ur, Rt)
+ if (f == ';' || f == ',') return d(Rt)
+ if (f == '}') return d()
+ if (g == '@') return d(oe, Rt)
+ }
+ function kr(f, g) {
+ if (g == '!' || g == '?') return d(kr)
+ if (f == ':') return d(We, Wt)
+ if (g == '=') return d(Ne)
+ var A = D.state.lexical.prev,
+ W = A && A.info == 'interface'
+ return J(W ? ur : Pt)
+ }
+ function Ir(f, g) {
+ return g == '*'
+ ? ((D.marked = 'keyword'), d(Wr, Te(';')))
+ : g == 'default'
+ ? ((D.marked = 'keyword'), d(oe, Te(';')))
+ : f == '{'
+ ? d(Me(zr, '}'), Wr, Te(';'))
+ : J(Le)
+ }
+ function zr(f, g) {
+ if (g == 'as') return (D.marked = 'keyword'), d(Te('variable'))
+ if (f == 'variable') return J(Ne, zr)
+ }
+ function fr(f) {
+ return f == 'string' ? d() : f == '(' ? J(oe) : f == '.' ? J(Oe) : J(Br, Gt, Wr)
+ }
+ function Br(f, g) {
+ return f == '{'
+ ? Lt(Br, '}')
+ : (f == 'variable' && w(g), g == '*' && (D.marked = 'keyword'), d(sn))
+ }
+ function Gt(f) {
+ if (f == ',') return d(Br, Gt)
+ }
+ function sn(f, g) {
+ if (g == 'as') return (D.marked = 'keyword'), d(Br)
+ }
+ function Wr(f, g) {
+ if (g == 'from') return (D.marked = 'keyword'), d(oe)
+ }
+ function Je(f) {
+ return f == ']' ? d() : J(Me(Ne, ']'))
+ }
+ function ce() {
+ return J(j('form'), yt, Te('{'), j('}'), Me(Vt, '}'), ue, ue)
+ }
+ function Vt() {
+ return J(yt, Wt)
+ }
+ function un(f, g) {
+ return (
+ f.lastType == 'operator' ||
+ f.lastType == ',' ||
+ q.test(g.charAt(0)) ||
+ /[,.]/.test(g.charAt(0))
+ )
+ }
+ function Ft(f, g, A) {
+ return (
+ (g.tokenize == re &&
+ /^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(
+ g.lastType
+ )) ||
+ (g.lastType == 'quasi' && /\{\s*$/.test(f.string.slice(0, f.pos - (A || 0))))
+ )
+ }
+ return {
+ startState: function (f) {
+ var g = {
+ tokenize: re,
+ lastType: 'sof',
+ cc: [],
+ lexical: new fe((f || 0) - K, 0, 'block', !1),
+ localVars: I.localVars,
+ context: I.localVars && new P(null, null, !1),
+ indented: f || 0,
+ }
+ return (
+ I.globalVars && typeof I.globalVars == 'object' && (g.globalVars = I.globalVars),
+ g
+ )
+ },
+ token: function (f, g) {
+ if (
+ (f.sol() &&
+ (g.lexical.hasOwnProperty('align') || (g.lexical.align = !1),
+ (g.indented = f.indentation()),
+ de(f, g)),
+ g.tokenize != se && f.eatSpace())
+ )
+ return null
+ var A = g.tokenize(f, g)
+ return ke == 'comment'
+ ? A
+ : ((g.lastType = ke == 'operator' && (we == '++' || we == '--') ? 'incdec' : ke),
+ Ee(g, A, ke, we, f))
+ },
+ indent: function (f, g) {
+ if (f.tokenize == se || f.tokenize == Ae) return C.Pass
+ if (f.tokenize != re) return 0
+ var A = g && g.charAt(0),
+ W = f.lexical,
+ L
+ if (!/^\s*else\b/.test(g))
+ for (var Z = f.cc.length - 1; Z >= 0; --Z) {
+ var _e = f.cc[Z]
+ if (_e == ue) W = W.prev
+ else if (_e != Or && _e != xe) break
+ }
+ for (
+ ;
+ (W.type == 'stat' || W.type == 'form') &&
+ (A == '}' ||
+ ((L = f.cc[f.cc.length - 1]) &&
+ (L == Oe || L == Re) &&
+ !/^[,\.=+\-*:?[\(]/.test(g)));
+
+ )
+ W = W.prev
+ $ && W.type == ')' && W.prev.type == 'stat' && (W = W.prev)
+ var it = W.type,
+ xt = A == it
+ return it == 'vardef'
+ ? W.indented +
+ (f.lastType == 'operator' || f.lastType == ',' ? W.info.length + 1 : 0)
+ : it == 'form' && A == '{'
+ ? W.indented
+ : it == 'form'
+ ? W.indented + K
+ : it == 'stat'
+ ? W.indented + (un(f, g) ? $ || K : 0)
+ : W.info == 'switch' && !xt && I.doubleIndentSwitch != !1
+ ? W.indented + (/^(?:case|default)\b/.test(g) ? K : 2 * K)
+ : W.align
+ ? W.column + (xt ? 0 : 1)
+ : W.indented + (xt ? 0 : K)
+ },
+ electricInput: /^\s*(?:case .*?:|default:|\{|\})$/,
+ blockCommentStart: b ? null : '/*',
+ blockCommentEnd: b ? null : '*/',
+ blockCommentContinue: b ? null : ' * ',
+ lineComment: b ? null : '//',
+ fold: 'brace',
+ closeBrackets: '()[]{}\'\'""``',
+ helperType: b ? 'json' : 'javascript',
+ jsonldMode: V,
+ jsonMode: b,
+ expressionAllowed: Ft,
+ skipExpression: function (f) {
+ Ee(f, 'atom', 'atom', 'true', new C.StringStream('', 2, null))
+ },
+ }
+ }),
+ C.registerHelper('wordChars', 'javascript', /[\w$]/),
+ C.defineMIME('text/javascript', 'javascript'),
+ C.defineMIME('text/ecmascript', 'javascript'),
+ C.defineMIME('application/javascript', 'javascript'),
+ C.defineMIME('application/x-javascript', 'javascript'),
+ C.defineMIME('application/ecmascript', 'javascript'),
+ C.defineMIME('application/json', { name: 'javascript', json: !0 }),
+ C.defineMIME('application/x-json', { name: 'javascript', json: !0 }),
+ C.defineMIME('application/manifest+json', { name: 'javascript', json: !0 }),
+ C.defineMIME('application/ld+json', { name: 'javascript', jsonld: !0 }),
+ C.defineMIME('text/typescript', { name: 'javascript', typescript: !0 }),
+ C.defineMIME('application/typescript', { name: 'javascript', typescript: !0 })
+ })
+ })()),
+ xa.exports
+ )
+}
+var ka
+function Ru() {
+ return (
+ ka ||
+ ((ka = 1),
+ (function (Et, zt) {
+ ;(function (C) {
+ C(It(), Ba(), Wa(), za())
+ })(function (C) {
+ var De = {
+ script: [
+ ['lang', /(javascript|babel)/i, 'javascript'],
+ [
+ 'type',
+ /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,
+ 'javascript',
+ ],
+ ['type', /./, 'text/plain'],
+ [null, null, 'javascript'],
+ ],
+ style: [
+ ['lang', /^css$/i, 'css'],
+ ['type', /^(text\/)?(x-)?(stylesheet|css)$/i, 'css'],
+ ['type', /./, 'text/plain'],
+ [null, null, 'css'],
+ ],
+ }
+ function I(ie, O, q) {
+ var z = ie.current(),
+ X = z.search(O)
+ return (
+ X > -1
+ ? ie.backUp(z.length - X)
+ : z.match(/<\/?$/) && (ie.backUp(z.length), ie.match(O, !1) || ie.match(z)),
+ q
+ )
+ }
+ var K = {}
+ function $(ie) {
+ var O = K[ie]
+ return O || (K[ie] = new RegExp('\\s+' + ie + `\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))
+ }
+ function V(ie, O) {
+ var q = ie.match($(O))
+ return q ? /^\s*(.*?)\s*$/.exec(q[2])[1] : ''
+ }
+ function b(ie, O) {
+ return new RegExp((O ? '^' : '') + '\\s*' + ie + '\\s*>', 'i')
+ }
+ function N(ie, O) {
+ for (var q in ie)
+ for (var z = O[q] || (O[q] = []), X = ie[q], ke = X.length - 1; ke >= 0; ke--)
+ z.unshift(X[ke])
+ }
+ function _(ie, O) {
+ for (var q = 0; q < ie.length; q++) {
+ var z = ie[q]
+ if (!z[0] || z[1].test(V(O, z[0]))) return z[2]
+ }
+ }
+ C.defineMode(
+ 'htmlmixed',
+ function (ie, O) {
+ var q = C.getMode(ie, {
+ name: 'xml',
+ htmlMode: !0,
+ multilineTagIndentFactor: O.multilineTagIndentFactor,
+ multilineTagIndentPastTag: O.multilineTagIndentPastTag,
+ allowMissingTagName: O.allowMissingTagName,
+ }),
+ z = {},
+ X = O && O.tags,
+ ke = O && O.scriptTypes
+ if ((N(De, z), X && N(X, z), ke))
+ for (var we = ke.length - 1; we >= 0; we--)
+ z.script.unshift(['type', ke[we].matches, ke[we].mode])
+ function te(re, ne) {
+ var se = q.token(re, ne.htmlState),
+ Ae = /\btag\b/.test(se),
+ ye
+ if (
+ Ae &&
+ !/[<>\s\/]/.test(re.current()) &&
+ (ye = ne.htmlState.tagName && ne.htmlState.tagName.toLowerCase()) &&
+ z.hasOwnProperty(ye)
+ )
+ ne.inTag = ye + ' '
+ else if (ne.inTag && Ae && />$/.test(re.current())) {
+ var de = /^([\S]+) (.*)/.exec(ne.inTag)
+ ne.inTag = null
+ var ze = re.current() == '>' && _(z[de[1]], de[2]),
+ fe = C.getMode(ie, ze),
+ H = b(de[1], !0),
+ Ee = b(de[1], !1)
+ ;(ne.token = function (D, J) {
+ return D.match(H, !1)
+ ? ((J.token = te), (J.localState = J.localMode = null), null)
+ : I(D, Ee, J.localMode.token(D, J.localState))
+ }),
+ (ne.localMode = fe),
+ (ne.localState = C.startState(fe, q.indent(ne.htmlState, '', '')))
+ } else ne.inTag && ((ne.inTag += re.current()), re.eol() && (ne.inTag += ' '))
+ return se
+ }
+ return {
+ startState: function () {
+ var re = C.startState(q)
+ return {
+ token: te,
+ inTag: null,
+ localMode: null,
+ localState: null,
+ htmlState: re,
+ }
+ },
+ copyState: function (re) {
+ var ne
+ return (
+ re.localState && (ne = C.copyState(re.localMode, re.localState)),
+ {
+ token: re.token,
+ inTag: re.inTag,
+ localMode: re.localMode,
+ localState: ne,
+ htmlState: C.copyState(q, re.htmlState),
+ }
+ )
+ },
+ token: function (re, ne) {
+ return ne.token(re, ne)
+ },
+ indent: function (re, ne, se) {
+ return !re.localMode || /^\s*<\//.test(ne)
+ ? q.indent(re.htmlState, ne, se)
+ : re.localMode.indent
+ ? re.localMode.indent(re.localState, ne, se)
+ : C.Pass
+ },
+ innerMode: function (re) {
+ return { state: re.localState || re.htmlState, mode: re.localMode || q }
+ },
+ }
+ },
+ 'xml',
+ 'javascript',
+ 'css'
+ ),
+ C.defineMIME('text/html', 'htmlmixed')
+ })
+ })()),
+ va.exports
+ )
+}
+Ru()
+Wa()
+var wa = { exports: {} },
+ Sa
+function qu() {
+ return (
+ Sa ||
+ ((Sa = 1),
+ (function (Et, zt) {
+ ;(function (C) {
+ C(It())
+ })(function (C) {
+ function De(N) {
+ return new RegExp('^((' + N.join(')|(') + '))\\b')
+ }
+ var I = De(['and', 'or', 'not', 'is']),
+ K = [
+ 'as',
+ 'assert',
+ 'break',
+ 'class',
+ 'continue',
+ 'def',
+ 'del',
+ 'elif',
+ 'else',
+ 'except',
+ 'finally',
+ 'for',
+ 'from',
+ 'global',
+ 'if',
+ 'import',
+ 'lambda',
+ 'pass',
+ 'raise',
+ 'return',
+ 'try',
+ 'while',
+ 'with',
+ 'yield',
+ 'in',
+ 'False',
+ 'True',
+ ],
+ $ = [
+ 'abs',
+ 'all',
+ 'any',
+ 'bin',
+ 'bool',
+ 'bytearray',
+ 'callable',
+ 'chr',
+ 'classmethod',
+ 'compile',
+ 'complex',
+ 'delattr',
+ 'dict',
+ 'dir',
+ 'divmod',
+ 'enumerate',
+ 'eval',
+ 'filter',
+ 'float',
+ 'format',
+ 'frozenset',
+ 'getattr',
+ 'globals',
+ 'hasattr',
+ 'hash',
+ 'help',
+ 'hex',
+ 'id',
+ 'input',
+ 'int',
+ 'isinstance',
+ 'issubclass',
+ 'iter',
+ 'len',
+ 'list',
+ 'locals',
+ 'map',
+ 'max',
+ 'memoryview',
+ 'min',
+ 'next',
+ 'object',
+ 'oct',
+ 'open',
+ 'ord',
+ 'pow',
+ 'property',
+ 'range',
+ 'repr',
+ 'reversed',
+ 'round',
+ 'set',
+ 'setattr',
+ 'slice',
+ 'sorted',
+ 'staticmethod',
+ 'str',
+ 'sum',
+ 'super',
+ 'tuple',
+ 'type',
+ 'vars',
+ 'zip',
+ '__import__',
+ 'NotImplemented',
+ 'Ellipsis',
+ '__debug__',
+ ]
+ C.registerHelper('hintWords', 'python', K.concat($).concat(['exec', 'print']))
+ function V(N) {
+ return N.scopes[N.scopes.length - 1]
+ }
+ C.defineMode('python', function (N, _) {
+ for (
+ var ie = 'error',
+ O = _.delimiters || _.singleDelimiters || /^[\(\)\[\]\{\}@,:`=;\.\\]/,
+ q = [
+ _.singleOperators,
+ _.doubleOperators,
+ _.doubleDelimiters,
+ _.tripleDelimiters,
+ _.operators || /^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/,
+ ],
+ z = 0;
+ z < q.length;
+ z++
+ )
+ q[z] || q.splice(z--, 1)
+ var X = _.hangingIndent || N.indentUnit,
+ ke = K,
+ we = $
+ _.extra_keywords != null && (ke = ke.concat(_.extra_keywords)),
+ _.extra_builtins != null && (we = we.concat(_.extra_builtins))
+ var te = !(_.version && Number(_.version) < 3)
+ if (te) {
+ var re = _.identifiers || /^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/
+ ;(ke = ke.concat([
+ 'nonlocal',
+ 'None',
+ 'aiter',
+ 'anext',
+ 'async',
+ 'await',
+ 'breakpoint',
+ 'match',
+ 'case',
+ ])),
+ (we = we.concat(['ascii', 'bytes', 'exec', 'print']))
+ var ne = new RegExp(`^(([rbuf]|(br)|(rb)|(fr)|(rf))?('{3}|"{3}|['"]))`, 'i')
+ } else {
+ var re = _.identifiers || /^[_A-Za-z][_A-Za-z0-9]*/
+ ;(ke = ke.concat(['exec', 'print'])),
+ (we = we.concat([
+ 'apply',
+ 'basestring',
+ 'buffer',
+ 'cmp',
+ 'coerce',
+ 'execfile',
+ 'file',
+ 'intern',
+ 'long',
+ 'raw_input',
+ 'reduce',
+ 'reload',
+ 'unichr',
+ 'unicode',
+ 'xrange',
+ 'None',
+ ]))
+ var ne = new RegExp(`^(([rubf]|(ur)|(br))?('{3}|"{3}|['"]))`, 'i')
+ }
+ var se = De(ke),
+ Ae = De(we)
+ function ye(S, w) {
+ var m = S.sol() && w.lastToken != '\\'
+ if ((m && (w.indent = S.indentation()), m && V(w).type == 'py')) {
+ var y = V(w).offset
+ if (S.eatSpace()) {
+ var P = S.indentation()
+ return (
+ P > y ? H(w) : P < y && D(S, w) && S.peek() != '#' && (w.errorToken = !0), null
+ )
+ } else {
+ var le = de(S, w)
+ return y > 0 && D(S, w) && (le += ' ' + ie), le
+ }
+ }
+ return de(S, w)
+ }
+ function de(S, w, m) {
+ if (S.eatSpace()) return null
+ if (!m && S.match(/^#.*/)) return 'comment'
+ if (S.match(/^[0-9\.]/, !1)) {
+ var y = !1
+ if (
+ (S.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i) && (y = !0),
+ S.match(/^[\d_]+\.\d*/) && (y = !0),
+ S.match(/^\.\d+/) && (y = !0),
+ y)
+ )
+ return S.eat(/J/i), 'number'
+ var P = !1
+ if (
+ (S.match(/^0x[0-9a-f_]+/i) && (P = !0),
+ S.match(/^0b[01_]+/i) && (P = !0),
+ S.match(/^0o[0-7_]+/i) && (P = !0),
+ S.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/) && (S.eat(/J/i), (P = !0)),
+ S.match(/^0(?![\dx])/i) && (P = !0),
+ P)
+ )
+ return S.eat(/L/i), 'number'
+ }
+ if (S.match(ne)) {
+ var le = S.current().toLowerCase().indexOf('f') !== -1
+ return le
+ ? ((w.tokenize = ze(S.current(), w.tokenize)), w.tokenize(S, w))
+ : ((w.tokenize = fe(S.current(), w.tokenize)), w.tokenize(S, w))
+ }
+ for (var p = 0; p < q.length; p++) if (S.match(q[p])) return 'operator'
+ return S.match(O)
+ ? 'punctuation'
+ : w.lastToken == '.' && S.match(re)
+ ? 'property'
+ : S.match(se) || S.match(I)
+ ? 'keyword'
+ : S.match(Ae)
+ ? 'builtin'
+ : S.match(/^(self|cls)\b/)
+ ? 'variable-2'
+ : S.match(re)
+ ? w.lastToken == 'def' || w.lastToken == 'class'
+ ? 'def'
+ : 'variable'
+ : (S.next(), m ? null : ie)
+ }
+ function ze(S, w) {
+ for (; 'rubf'.indexOf(S.charAt(0).toLowerCase()) >= 0; ) S = S.substr(1)
+ var m = S.length == 1,
+ y = 'string'
+ function P(p) {
+ return function (c, Y) {
+ var xe = de(c, Y, !0)
+ return (
+ xe == 'punctuation' &&
+ (c.current() == '{'
+ ? (Y.tokenize = P(p + 1))
+ : c.current() == '}' &&
+ (p > 1 ? (Y.tokenize = P(p - 1)) : (Y.tokenize = le))),
+ xe
+ )
+ }
+ }
+ function le(p, c) {
+ for (; !p.eol(); )
+ if ((p.eatWhile(/[^'"\{\}\\]/), p.eat('\\'))) {
+ if ((p.next(), m && p.eol())) return y
+ } else {
+ if (p.match(S)) return (c.tokenize = w), y
+ if (p.match('{{')) return y
+ if (p.match('{', !1))
+ return (c.tokenize = P(0)), p.current() ? y : c.tokenize(p, c)
+ if (p.match('}}')) return y
+ if (p.match('}')) return ie
+ p.eat(/['"]/)
+ }
+ if (m) {
+ if (_.singleLineStringErrors) return ie
+ c.tokenize = w
+ }
+ return y
+ }
+ return (le.isString = !0), le
+ }
+ function fe(S, w) {
+ for (; 'rubf'.indexOf(S.charAt(0).toLowerCase()) >= 0; ) S = S.substr(1)
+ var m = S.length == 1,
+ y = 'string'
+ function P(le, p) {
+ for (; !le.eol(); )
+ if ((le.eatWhile(/[^'"\\]/), le.eat('\\'))) {
+ if ((le.next(), m && le.eol())) return y
+ } else {
+ if (le.match(S)) return (p.tokenize = w), y
+ le.eat(/['"]/)
+ }
+ if (m) {
+ if (_.singleLineStringErrors) return ie
+ p.tokenize = w
+ }
+ return y
+ }
+ return (P.isString = !0), P
+ }
+ function H(S) {
+ for (; V(S).type != 'py'; ) S.scopes.pop()
+ S.scopes.push({ offset: V(S).offset + N.indentUnit, type: 'py', align: null })
+ }
+ function Ee(S, w, m) {
+ var y = S.match(/^[\s\[\{\(]*(?:#|$)/, !1) ? null : S.column() + 1
+ w.scopes.push({ offset: w.indent + X, type: m, align: y })
+ }
+ function D(S, w) {
+ for (var m = S.indentation(); w.scopes.length > 1 && V(w).offset > m; ) {
+ if (V(w).type != 'py') return !0
+ w.scopes.pop()
+ }
+ return V(w).offset != m
+ }
+ function J(S, w) {
+ S.sol() && ((w.beginningOfLine = !0), (w.dedent = !1))
+ var m = w.tokenize(S, w),
+ y = S.current()
+ if (w.beginningOfLine && y == '@')
+ return S.match(re, !1) ? 'meta' : te ? 'operator' : ie
+ if (
+ (/\S/.test(y) && (w.beginningOfLine = !1),
+ (m == 'variable' || m == 'builtin') && w.lastToken == 'meta' && (m = 'meta'),
+ (y == 'pass' || y == 'return') && (w.dedent = !0),
+ y == 'lambda' && (w.lambda = !0),
+ y == ':' && !w.lambda && V(w).type == 'py' && S.match(/^\s*(?:#|$)/, !1) && H(w),
+ y.length == 1 && !/string|comment/.test(m))
+ ) {
+ var P = '[({'.indexOf(y)
+ if ((P != -1 && Ee(S, w, '])}'.slice(P, P + 1)), (P = '])}'.indexOf(y)), P != -1))
+ if (V(w).type == y) w.indent = w.scopes.pop().offset - X
+ else return ie
+ }
+ return (
+ w.dedent && S.eol() && V(w).type == 'py' && w.scopes.length > 1 && w.scopes.pop(), m
+ )
+ }
+ var d = {
+ startState: function (S) {
+ return {
+ tokenize: ye,
+ scopes: [{ offset: S || 0, type: 'py', align: null }],
+ indent: S || 0,
+ lastToken: null,
+ lambda: !1,
+ dedent: 0,
+ }
+ },
+ token: function (S, w) {
+ var m = w.errorToken
+ m && (w.errorToken = !1)
+ var y = J(S, w)
+ return (
+ y &&
+ y != 'comment' &&
+ (w.lastToken = y == 'keyword' || y == 'punctuation' ? S.current() : y),
+ y == 'punctuation' && (y = null),
+ S.eol() && w.lambda && (w.lambda = !1),
+ m ? y + ' ' + ie : y
+ )
+ },
+ indent: function (S, w) {
+ if (S.tokenize != ye) return S.tokenize.isString ? C.Pass : 0
+ var m = V(S),
+ y =
+ m.type == w.charAt(0) ||
+ (m.type == 'py' && !S.dedent && /^(else:|elif |except |finally:)/.test(w))
+ return m.align != null ? m.align - (y ? 1 : 0) : m.offset - (y ? X : 0)
+ },
+ electricInput: /^\s*([\}\]\)]|else:|elif |except |finally:)$/,
+ closeBrackets: { triples: `'"` },
+ lineComment: '#',
+ fold: 'indent',
+ }
+ return d
+ }),
+ C.defineMIME('text/x-python', 'python')
+ var b = function (N) {
+ return N.split(' ')
+ }
+ C.defineMIME('text/x-cython', {
+ name: 'python',
+ extra_keywords: b(
+ 'by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE'
+ ),
+ })
+ })
+ })()),
+ wa.exports
+ )
+}
+qu()
+var Ta = { exports: {} },
+ La
+function ju() {
+ return (
+ La ||
+ ((La = 1),
+ (function (Et, zt) {
+ ;(function (C) {
+ C(It())
+ })(function (C) {
+ function De(m, y, P, le, p, c) {
+ ;(this.indented = m),
+ (this.column = y),
+ (this.type = P),
+ (this.info = le),
+ (this.align = p),
+ (this.prev = c)
+ }
+ function I(m, y, P, le) {
+ var p = m.indented
+ return (
+ m.context &&
+ m.context.type == 'statement' &&
+ P != 'statement' &&
+ (p = m.context.indented),
+ (m.context = new De(p, y, P, le, null, m.context))
+ )
+ }
+ function K(m) {
+ var y = m.context.type
+ return (
+ (y == ')' || y == ']' || y == '}') && (m.indented = m.context.indented),
+ (m.context = m.context.prev)
+ )
+ }
+ function $(m, y, P) {
+ if (
+ y.prevToken == 'variable' ||
+ y.prevToken == 'type' ||
+ /\S(?:[^- ]>|[*\]])\s*$|\*$/.test(m.string.slice(0, P)) ||
+ (y.typeAtEndOfLine && m.column() == m.indentation())
+ )
+ return !0
+ }
+ function V(m) {
+ for (;;) {
+ if (!m || m.type == 'top') return !0
+ if (m.type == '}' && m.prev.info != 'namespace') return !1
+ m = m.prev
+ }
+ }
+ C.defineMode('clike', function (m, y) {
+ var P = m.indentUnit,
+ le = y.statementIndentUnit || P,
+ p = y.dontAlignCalls,
+ c = y.keywords || {},
+ Y = y.types || {},
+ xe = y.builtin || {},
+ j = y.blockKeywords || {},
+ ue = y.defKeywords || {},
+ Te = y.atoms || {},
+ Le = y.hooks || {},
+ be = y.multiLineStrings,
+ oe = y.indentStatements !== !1,
+ Ne = y.indentSwitch !== !1,
+ qe = y.namespaceSeparator,
+ Ve = y.isPunctuationChar || /[\[\]{}\(\),;\:\.]/,
+ ct = y.numberStart || /[\d\.]/,
+ Oe =
+ y.number ||
+ /^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,
+ Re = y.isOperatorChar || /[+\-*&%=<>!?|\/]/,
+ Ue = y.isIdentifierChar || /[\w\$_\xa1-\uffff]/,
+ et = y.isReservedIdentifier || !1,
+ ge,
+ Pe
+ function T(ae, Se) {
+ var he = ae.next()
+ if (Le[he]) {
+ var Be = Le[he](ae, Se)
+ if (Be !== !1) return Be
+ }
+ if (he == '"' || he == "'") return (Se.tokenize = B(he)), Se.tokenize(ae, Se)
+ if (ct.test(he)) {
+ if ((ae.backUp(1), ae.match(Oe))) return 'number'
+ ae.next()
+ }
+ if (Ve.test(he)) return (ge = he), null
+ if (he == '/') {
+ if (ae.eat('*')) return (Se.tokenize = F), F(ae, Se)
+ if (ae.eat('/')) return ae.skipToEnd(), 'comment'
+ }
+ if (Re.test(he)) {
+ for (; !ae.match(/^\/[\/*]/, !1) && ae.eat(Re); );
+ return 'operator'
+ }
+ if ((ae.eatWhile(Ue), qe)) for (; ae.match(qe); ) ae.eatWhile(Ue)
+ var Me = ae.current()
+ return N(c, Me)
+ ? (N(j, Me) && (ge = 'newstatement'), N(ue, Me) && (Pe = !0), 'keyword')
+ : N(Y, Me)
+ ? 'type'
+ : N(xe, Me) || (et && et(Me))
+ ? (N(j, Me) && (ge = 'newstatement'), 'builtin')
+ : N(Te, Me)
+ ? 'atom'
+ : 'variable'
+ }
+ function B(ae) {
+ return function (Se, he) {
+ for (var Be = !1, Me, Lt = !1; (Me = Se.next()) != null; ) {
+ if (Me == ae && !Be) {
+ Lt = !0
+ break
+ }
+ Be = !Be && Me == '\\'
+ }
+ return (Lt || !(Be || be)) && (he.tokenize = null), 'string'
+ }
+ }
+ function F(ae, Se) {
+ for (var he = !1, Be; (Be = ae.next()); ) {
+ if (Be == '/' && he) {
+ Se.tokenize = null
+ break
+ }
+ he = Be == '*'
+ }
+ return 'comment'
+ }
+ function Ie(ae, Se) {
+ y.typeFirstDefinitions &&
+ ae.eol() &&
+ V(Se.context) &&
+ (Se.typeAtEndOfLine = $(ae, Se, ae.pos))
+ }
+ return {
+ startState: function (ae) {
+ return {
+ tokenize: null,
+ context: new De((ae || 0) - P, 0, 'top', null, !1),
+ indented: 0,
+ startOfLine: !0,
+ prevToken: null,
+ }
+ },
+ token: function (ae, Se) {
+ var he = Se.context
+ if (
+ (ae.sol() &&
+ (he.align == null && (he.align = !1),
+ (Se.indented = ae.indentation()),
+ (Se.startOfLine = !0)),
+ ae.eatSpace())
+ )
+ return Ie(ae, Se), null
+ ge = Pe = null
+ var Be = (Se.tokenize || T)(ae, Se)
+ if (Be == 'comment' || Be == 'meta') return Be
+ if (
+ (he.align == null && (he.align = !0),
+ ge == ';' || ge == ':' || (ge == ',' && ae.match(/^\s*(?:\/\/.*)?$/, !1)))
+ )
+ for (; Se.context.type == 'statement'; ) K(Se)
+ else if (ge == '{') I(Se, ae.column(), '}')
+ else if (ge == '[') I(Se, ae.column(), ']')
+ else if (ge == '(') I(Se, ae.column(), ')')
+ else if (ge == '}') {
+ for (; he.type == 'statement'; ) he = K(Se)
+ for (he.type == '}' && (he = K(Se)); he.type == 'statement'; ) he = K(Se)
+ } else
+ ge == he.type
+ ? K(Se)
+ : oe &&
+ (((he.type == '}' || he.type == 'top') && ge != ';') ||
+ (he.type == 'statement' && ge == 'newstatement')) &&
+ I(Se, ae.column(), 'statement', ae.current())
+ if (
+ (Be == 'variable' &&
+ (Se.prevToken == 'def' ||
+ (y.typeFirstDefinitions &&
+ $(ae, Se, ae.start) &&
+ V(Se.context) &&
+ ae.match(/^\s*\(/, !1))) &&
+ (Be = 'def'),
+ Le.token)
+ ) {
+ var Me = Le.token(ae, Se, Be)
+ Me !== void 0 && (Be = Me)
+ }
+ return (
+ Be == 'def' && y.styleDefs === !1 && (Be = 'variable'),
+ (Se.startOfLine = !1),
+ (Se.prevToken = Pe ? 'def' : Be || ge),
+ Ie(ae, Se),
+ Be
+ )
+ },
+ indent: function (ae, Se) {
+ if (
+ (ae.tokenize != T && ae.tokenize != null) ||
+ (ae.typeAtEndOfLine && V(ae.context))
+ )
+ return C.Pass
+ var he = ae.context,
+ Be = Se && Se.charAt(0),
+ Me = Be == he.type
+ if ((he.type == 'statement' && Be == '}' && (he = he.prev), y.dontIndentStatements))
+ for (; he.type == 'statement' && y.dontIndentStatements.test(he.info); )
+ he = he.prev
+ if (Le.indent) {
+ var Lt = Le.indent(ae, he, Se, P)
+ if (typeof Lt == 'number') return Lt
+ }
+ var Nt = he.prev && he.prev.info == 'switch'
+ if (y.allmanIndentation && /[{(]/.test(Be)) {
+ for (; he.type != 'top' && he.type != '}'; ) he = he.prev
+ return he.indented
+ }
+ return he.type == 'statement'
+ ? he.indented + (Be == '{' ? 0 : le)
+ : he.align && (!p || he.type != ')')
+ ? he.column + (Me ? 0 : 1)
+ : he.type == ')' && !Me
+ ? he.indented + le
+ : he.indented +
+ (Me ? 0 : P) +
+ (!Me && Nt && !/^(?:case|default)\b/.test(Se) ? P : 0)
+ },
+ electricInput: Ne ? /^\s*(?:case .*?:|default:|\{\}?|\})$/ : /^\s*[{}]$/,
+ blockCommentStart: '/*',
+ blockCommentEnd: '*/',
+ blockCommentContinue: ' * ',
+ lineComment: '//',
+ fold: 'brace',
+ }
+ })
+ function b(m) {
+ for (var y = {}, P = m.split(' '), le = 0; le < P.length; ++le) y[P[le]] = !0
+ return y
+ }
+ function N(m, y) {
+ return typeof m == 'function' ? m(y) : m.propertyIsEnumerable(y)
+ }
+ var _ =
+ 'auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran',
+ ie =
+ 'alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq',
+ O =
+ 'bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available',
+ q =
+ 'FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT',
+ z = b('int long char short double float unsigned signed void bool'),
+ X = b('SEL instancetype id Class Protocol BOOL')
+ function ke(m) {
+ return N(z, m) || /.+_t$/.test(m)
+ }
+ function we(m) {
+ return ke(m) || N(X, m)
+ }
+ var te = 'case do else for if switch while struct enum union',
+ re = 'struct enum union'
+ function ne(m, y) {
+ if (!y.startOfLine) return !1
+ for (var P, le = null; (P = m.peek()); ) {
+ if (P == '\\' && m.match(/^.$/)) {
+ le = ne
+ break
+ } else if (P == '/' && m.match(/^\/[\/\*]/, !1)) break
+ m.next()
+ }
+ return (y.tokenize = le), 'meta'
+ }
+ function se(m, y) {
+ return y.prevToken == 'type' ? 'type' : !1
+ }
+ function Ae(m) {
+ return !m || m.length < 2 || m[0] != '_'
+ ? !1
+ : m[1] == '_' || m[1] !== m[1].toLowerCase()
+ }
+ function ye(m) {
+ return m.eatWhile(/[\w\.']/), 'number'
+ }
+ function de(m, y) {
+ if ((m.backUp(1), m.match(/^(?:R|u8R|uR|UR|LR)/))) {
+ var P = m.match(/^"([^\s\\()]{0,16})\(/)
+ return P ? ((y.cpp11RawStringDelim = P[1]), (y.tokenize = H), H(m, y)) : !1
+ }
+ return m.match(/^(?:u8|u|U|L)/)
+ ? m.match(/^["']/, !1)
+ ? 'string'
+ : !1
+ : (m.next(), !1)
+ }
+ function ze(m) {
+ var y = /(\w+)::~?(\w+)$/.exec(m)
+ return y && y[1] == y[2]
+ }
+ function fe(m, y) {
+ for (var P; (P = m.next()) != null; )
+ if (P == '"' && !m.eat('"')) {
+ y.tokenize = null
+ break
+ }
+ return 'string'
+ }
+ function H(m, y) {
+ var P = y.cpp11RawStringDelim.replace(/[^\w\s]/g, '\\$&'),
+ le = m.match(new RegExp('.*?\\)' + P + '"'))
+ return le ? (y.tokenize = null) : m.skipToEnd(), 'string'
+ }
+ function Ee(m, y) {
+ typeof m == 'string' && (m = [m])
+ var P = []
+ function le(c) {
+ if (c) for (var Y in c) c.hasOwnProperty(Y) && P.push(Y)
+ }
+ le(y.keywords),
+ le(y.types),
+ le(y.builtin),
+ le(y.atoms),
+ P.length && ((y.helperType = m[0]), C.registerHelper('hintWords', m[0], P))
+ for (var p = 0; p < m.length; ++p) C.defineMIME(m[p], y)
+ }
+ Ee(['text/x-csrc', 'text/x-c', 'text/x-chdr'], {
+ name: 'clike',
+ keywords: b(_),
+ types: ke,
+ blockKeywords: b(te),
+ defKeywords: b(re),
+ typeFirstDefinitions: !0,
+ atoms: b('NULL true false'),
+ isReservedIdentifier: Ae,
+ hooks: { '#': ne, '*': se },
+ modeProps: { fold: ['brace', 'include'] },
+ }),
+ Ee(['text/x-c++src', 'text/x-c++hdr'], {
+ name: 'clike',
+ keywords: b(_ + ' ' + ie),
+ types: ke,
+ blockKeywords: b(te + ' class try catch'),
+ defKeywords: b(re + ' class namespace'),
+ typeFirstDefinitions: !0,
+ atoms: b('true false NULL nullptr'),
+ dontIndentStatements: /^template$/,
+ isIdentifierChar: /[\w\$_~\xa1-\uffff]/,
+ isReservedIdentifier: Ae,
+ hooks: {
+ '#': ne,
+ '*': se,
+ u: de,
+ U: de,
+ L: de,
+ R: de,
+ 0: ye,
+ 1: ye,
+ 2: ye,
+ 3: ye,
+ 4: ye,
+ 5: ye,
+ 6: ye,
+ 7: ye,
+ 8: ye,
+ 9: ye,
+ token: function (m, y, P) {
+ if (
+ P == 'variable' &&
+ m.peek() == '(' &&
+ (y.prevToken == ';' || y.prevToken == null || y.prevToken == '}') &&
+ ze(m.current())
+ )
+ return 'def'
+ },
+ },
+ namespaceSeparator: '::',
+ modeProps: { fold: ['brace', 'include'] },
+ }),
+ Ee('text/x-java', {
+ name: 'clike',
+ keywords: b(
+ 'abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface'
+ ),
+ types: b(
+ 'var byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void'
+ ),
+ blockKeywords: b('catch class do else finally for if switch try while'),
+ defKeywords: b('class interface enum @interface'),
+ typeFirstDefinitions: !0,
+ atoms: b('true false null'),
+ number:
+ /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,
+ hooks: {
+ '@': function (m) {
+ return m.match('interface', !1) ? !1 : (m.eatWhile(/[\w\$_]/), 'meta')
+ },
+ '"': function (m, y) {
+ return m.match(/""$/) ? ((y.tokenize = D), y.tokenize(m, y)) : !1
+ },
+ },
+ modeProps: { fold: ['brace', 'import'] },
+ }),
+ Ee('text/x-csharp', {
+ name: 'clike',
+ keywords: b(
+ 'abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in init interface internal is lock namespace new operator out override params private protected public readonly record ref required return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield'
+ ),
+ types: b(
+ 'Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong'
+ ),
+ blockKeywords: b(
+ 'catch class do else finally for foreach if struct switch try while'
+ ),
+ defKeywords: b('class interface namespace record struct var'),
+ typeFirstDefinitions: !0,
+ atoms: b('true false null'),
+ hooks: {
+ '@': function (m, y) {
+ return m.eat('"')
+ ? ((y.tokenize = fe), fe(m, y))
+ : (m.eatWhile(/[\w\$_]/), 'meta')
+ },
+ },
+ })
+ function D(m, y) {
+ for (var P = !1; !m.eol(); ) {
+ if (!P && m.match('"""')) {
+ y.tokenize = null
+ break
+ }
+ P = m.next() == '\\' && !P
+ }
+ return 'string'
+ }
+ function J(m) {
+ return function (y, P) {
+ for (var le; (le = y.next()); )
+ if (le == '*' && y.eat('/'))
+ if (m == 1) {
+ P.tokenize = null
+ break
+ } else return (P.tokenize = J(m - 1)), P.tokenize(y, P)
+ else if (le == '/' && y.eat('*')) return (P.tokenize = J(m + 1)), P.tokenize(y, P)
+ return 'comment'
+ }
+ }
+ Ee('text/x-scala', {
+ name: 'clike',
+ keywords: b(
+ 'abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble'
+ ),
+ types: b(
+ 'AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void'
+ ),
+ multiLineStrings: !0,
+ blockKeywords: b(
+ 'catch class enum do else finally for forSome if match switch try while'
+ ),
+ defKeywords: b('class enum def object package trait type val var'),
+ atoms: b('true false null'),
+ indentStatements: !1,
+ indentSwitch: !1,
+ isOperatorChar: /[+\-*&%=<>!?|\/#:@]/,
+ hooks: {
+ '@': function (m) {
+ return m.eatWhile(/[\w\$_]/), 'meta'
+ },
+ '"': function (m, y) {
+ return m.match('""') ? ((y.tokenize = D), y.tokenize(m, y)) : !1
+ },
+ "'": function (m) {
+ return m.match(/^(\\[^'\s]+|[^\\'])'/)
+ ? 'string-2'
+ : (m.eatWhile(/[\w\$_\xa1-\uffff]/), 'atom')
+ },
+ '=': function (m, y) {
+ var P = y.context
+ return P.type == '}' && P.align && m.eat('>')
+ ? ((y.context = new De(P.indented, P.column, P.type, P.info, null, P.prev)),
+ 'operator')
+ : !1
+ },
+ '/': function (m, y) {
+ return m.eat('*') ? ((y.tokenize = J(1)), y.tokenize(m, y)) : !1
+ },
+ },
+ modeProps: { closeBrackets: { pairs: '()[]{}""', triples: '"' } },
+ })
+ function d(m) {
+ return function (y, P) {
+ for (var le = !1, p, c = !1; !y.eol(); ) {
+ if (!m && !le && y.match('"')) {
+ c = !0
+ break
+ }
+ if (m && y.match('"""')) {
+ c = !0
+ break
+ }
+ ;(p = y.next()),
+ !le && p == '$' && y.match('{') && y.skipTo('}'),
+ (le = !le && p == '\\' && !m)
+ }
+ return (c || !m) && (P.tokenize = null), 'string'
+ }
+ }
+ Ee('text/x-kotlin', {
+ name: 'clike',
+ keywords: b(
+ 'package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam value'
+ ),
+ types: b(
+ 'Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit'
+ ),
+ intendSwitch: !1,
+ indentStatements: !1,
+ multiLineStrings: !0,
+ number:
+ /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,
+ blockKeywords: b('catch class do else finally for if where try while enum'),
+ defKeywords: b('class val var object interface fun'),
+ atoms: b('true false null this'),
+ hooks: {
+ '@': function (m) {
+ return m.eatWhile(/[\w\$_]/), 'meta'
+ },
+ '*': function (m, y) {
+ return y.prevToken == '.' ? 'variable' : 'operator'
+ },
+ '"': function (m, y) {
+ return (y.tokenize = d(m.match('""'))), y.tokenize(m, y)
+ },
+ '/': function (m, y) {
+ return m.eat('*') ? ((y.tokenize = J(1)), y.tokenize(m, y)) : !1
+ },
+ indent: function (m, y, P, le) {
+ var p = P && P.charAt(0)
+ if ((m.prevToken == '}' || m.prevToken == ')') && P == '') return m.indented
+ if (
+ (m.prevToken == 'operator' && P != '}' && m.context.type != '}') ||
+ (m.prevToken == 'variable' && p == '.') ||
+ ((m.prevToken == '}' || m.prevToken == ')') && p == '.')
+ )
+ return le * 2 + y.indented
+ if (y.align && y.type == '}')
+ return y.indented + (m.context.type == (P || '').charAt(0) ? 0 : le)
+ },
+ },
+ modeProps: { closeBrackets: { triples: '"' } },
+ }),
+ Ee(['x-shader/x-vertex', 'x-shader/x-fragment'], {
+ name: 'clike',
+ keywords: b(
+ 'sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout'
+ ),
+ types: b(
+ 'float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4'
+ ),
+ blockKeywords: b('for while do if else struct'),
+ builtin: b(
+ 'radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4'
+ ),
+ atoms: b(
+ 'true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers'
+ ),
+ indentSwitch: !1,
+ hooks: { '#': ne },
+ modeProps: { fold: ['brace', 'include'] },
+ }),
+ Ee('text/x-nesc', {
+ name: 'clike',
+ keywords: b(
+ _ +
+ ' as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends'
+ ),
+ types: ke,
+ blockKeywords: b(te),
+ atoms: b('null true false'),
+ hooks: { '#': ne },
+ modeProps: { fold: ['brace', 'include'] },
+ }),
+ Ee('text/x-objectivec', {
+ name: 'clike',
+ keywords: b(_ + ' ' + O),
+ types: we,
+ builtin: b(q),
+ blockKeywords: b(
+ te + ' @synthesize @try @catch @finally @autoreleasepool @synchronized'
+ ),
+ defKeywords: b(re + ' @interface @implementation @protocol @class'),
+ dontIndentStatements: /^@.*$/,
+ typeFirstDefinitions: !0,
+ atoms: b('YES NO NULL Nil nil true false nullptr'),
+ isReservedIdentifier: Ae,
+ hooks: { '#': ne, '*': se },
+ modeProps: { fold: ['brace', 'include'] },
+ }),
+ Ee('text/x-objectivec++', {
+ name: 'clike',
+ keywords: b(_ + ' ' + O + ' ' + ie),
+ types: we,
+ builtin: b(q),
+ blockKeywords: b(
+ te +
+ ' @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch'
+ ),
+ defKeywords: b(re + ' @interface @implementation @protocol @class class namespace'),
+ dontIndentStatements: /^@.*$|^template$/,
+ typeFirstDefinitions: !0,
+ atoms: b('YES NO NULL Nil nil true false nullptr'),
+ isReservedIdentifier: Ae,
+ hooks: {
+ '#': ne,
+ '*': se,
+ u: de,
+ U: de,
+ L: de,
+ R: de,
+ 0: ye,
+ 1: ye,
+ 2: ye,
+ 3: ye,
+ 4: ye,
+ 5: ye,
+ 6: ye,
+ 7: ye,
+ 8: ye,
+ 9: ye,
+ token: function (m, y, P) {
+ if (
+ P == 'variable' &&
+ m.peek() == '(' &&
+ (y.prevToken == ';' || y.prevToken == null || y.prevToken == '}') &&
+ ze(m.current())
+ )
+ return 'def'
+ },
+ },
+ namespaceSeparator: '::',
+ modeProps: { fold: ['brace', 'include'] },
+ }),
+ Ee('text/x-squirrel', {
+ name: 'clike',
+ keywords: b(
+ 'base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static'
+ ),
+ types: ke,
+ blockKeywords: b('case catch class else for foreach if switch try while'),
+ defKeywords: b('function local class'),
+ typeFirstDefinitions: !0,
+ atoms: b('true false null'),
+ hooks: { '#': ne },
+ modeProps: { fold: ['brace', 'include'] },
+ })
+ var S = null
+ function w(m) {
+ return function (y, P) {
+ for (var le = !1, p, c = !1; !y.eol(); ) {
+ if (!le && y.match('"') && (m == 'single' || y.match('""'))) {
+ c = !0
+ break
+ }
+ if (!le && y.match('``')) {
+ ;(S = w(m)), (c = !0)
+ break
+ }
+ ;(p = y.next()), (le = m == 'single' && !le && p == '\\')
+ }
+ return c && (P.tokenize = null), 'string'
+ }
+ }
+ Ee('text/x-ceylon', {
+ name: 'clike',
+ keywords: b(
+ 'abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while'
+ ),
+ types: function (m) {
+ var y = m.charAt(0)
+ return y === y.toUpperCase() && y !== y.toLowerCase()
+ },
+ blockKeywords: b(
+ 'case catch class dynamic else finally for function if interface module new object switch try while'
+ ),
+ defKeywords: b('class dynamic function interface module object package value'),
+ builtin: b(
+ 'abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable'
+ ),
+ isPunctuationChar: /[\[\]{}\(\),;\:\.`]/,
+ isOperatorChar: /[+\-*&%=<>!?|^~:\/]/,
+ numberStart: /[\d#$]/,
+ number:
+ /^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,
+ multiLineStrings: !0,
+ typeFirstDefinitions: !0,
+ atoms: b('true false null larger smaller equal empty finished'),
+ indentSwitch: !1,
+ styleDefs: !1,
+ hooks: {
+ '@': function (m) {
+ return m.eatWhile(/[\w\$_]/), 'meta'
+ },
+ '"': function (m, y) {
+ return (y.tokenize = w(m.match('""') ? 'triple' : 'single')), y.tokenize(m, y)
+ },
+ '`': function (m, y) {
+ return !S || !m.match('`') ? !1 : ((y.tokenize = S), (S = null), y.tokenize(m, y))
+ },
+ "'": function (m) {
+ return m.eatWhile(/[\w\$_\xa1-\uffff]/), 'atom'
+ },
+ token: function (m, y, P) {
+ if ((P == 'variable' || P == 'type') && y.prevToken == '.') return 'variable-2'
+ },
+ },
+ modeProps: { fold: ['brace', 'import'], closeBrackets: { triples: '"' } },
+ })
+ })
+ })()),
+ Ta.exports
+ )
+}
+ju()
+var Ca = { exports: {} },
+ Da = { exports: {} },
+ Ma
+function Ku() {
+ return (
+ Ma ||
+ ((Ma = 1),
+ (function (Et, zt) {
+ ;(function (C) {
+ C(It())
+ })(function (C) {
+ C.modeInfo = [
+ { name: 'APL', mime: 'text/apl', mode: 'apl', ext: ['dyalog', 'apl'] },
+ {
+ name: 'PGP',
+ mimes: [
+ 'application/pgp',
+ 'application/pgp-encrypted',
+ 'application/pgp-keys',
+ 'application/pgp-signature',
+ ],
+ mode: 'asciiarmor',
+ ext: ['asc', 'pgp', 'sig'],
+ },
+ { name: 'ASN.1', mime: 'text/x-ttcn-asn', mode: 'asn.1', ext: ['asn', 'asn1'] },
+ {
+ name: 'Asterisk',
+ mime: 'text/x-asterisk',
+ mode: 'asterisk',
+ file: /^extensions\.conf$/i,
+ },
+ { name: 'Brainfuck', mime: 'text/x-brainfuck', mode: 'brainfuck', ext: ['b', 'bf'] },
+ { name: 'C', mime: 'text/x-csrc', mode: 'clike', ext: ['c', 'h', 'ino'] },
+ {
+ name: 'C++',
+ mime: 'text/x-c++src',
+ mode: 'clike',
+ ext: ['cpp', 'c++', 'cc', 'cxx', 'hpp', 'h++', 'hh', 'hxx'],
+ alias: ['cpp'],
+ },
+ { name: 'Cobol', mime: 'text/x-cobol', mode: 'cobol', ext: ['cob', 'cpy', 'cbl'] },
+ {
+ name: 'C#',
+ mime: 'text/x-csharp',
+ mode: 'clike',
+ ext: ['cs'],
+ alias: ['csharp', 'cs'],
+ },
+ {
+ name: 'Clojure',
+ mime: 'text/x-clojure',
+ mode: 'clojure',
+ ext: ['clj', 'cljc', 'cljx'],
+ },
+ { name: 'ClojureScript', mime: 'text/x-clojurescript', mode: 'clojure', ext: ['cljs'] },
+ { name: 'Closure Stylesheets (GSS)', mime: 'text/x-gss', mode: 'css', ext: ['gss'] },
+ {
+ name: 'CMake',
+ mime: 'text/x-cmake',
+ mode: 'cmake',
+ ext: ['cmake', 'cmake.in'],
+ file: /^CMakeLists\.txt$/,
+ },
+ {
+ name: 'CoffeeScript',
+ mimes: ['application/vnd.coffeescript', 'text/coffeescript', 'text/x-coffeescript'],
+ mode: 'coffeescript',
+ ext: ['coffee'],
+ alias: ['coffee', 'coffee-script'],
+ },
+ {
+ name: 'Common Lisp',
+ mime: 'text/x-common-lisp',
+ mode: 'commonlisp',
+ ext: ['cl', 'lisp', 'el'],
+ alias: ['lisp'],
+ },
+ {
+ name: 'Cypher',
+ mime: 'application/x-cypher-query',
+ mode: 'cypher',
+ ext: ['cyp', 'cypher'],
+ },
+ { name: 'Cython', mime: 'text/x-cython', mode: 'python', ext: ['pyx', 'pxd', 'pxi'] },
+ { name: 'Crystal', mime: 'text/x-crystal', mode: 'crystal', ext: ['cr'] },
+ { name: 'CSS', mime: 'text/css', mode: 'css', ext: ['css'] },
+ { name: 'CQL', mime: 'text/x-cassandra', mode: 'sql', ext: ['cql'] },
+ { name: 'D', mime: 'text/x-d', mode: 'd', ext: ['d'] },
+ {
+ name: 'Dart',
+ mimes: ['application/dart', 'text/x-dart'],
+ mode: 'dart',
+ ext: ['dart'],
+ },
+ { name: 'diff', mime: 'text/x-diff', mode: 'diff', ext: ['diff', 'patch'] },
+ { name: 'Django', mime: 'text/x-django', mode: 'django' },
+ {
+ name: 'Dockerfile',
+ mime: 'text/x-dockerfile',
+ mode: 'dockerfile',
+ file: /^Dockerfile$/,
+ },
+ { name: 'DTD', mime: 'application/xml-dtd', mode: 'dtd', ext: ['dtd'] },
+ { name: 'Dylan', mime: 'text/x-dylan', mode: 'dylan', ext: ['dylan', 'dyl', 'intr'] },
+ { name: 'EBNF', mime: 'text/x-ebnf', mode: 'ebnf' },
+ { name: 'ECL', mime: 'text/x-ecl', mode: 'ecl', ext: ['ecl'] },
+ { name: 'edn', mime: 'application/edn', mode: 'clojure', ext: ['edn'] },
+ { name: 'Eiffel', mime: 'text/x-eiffel', mode: 'eiffel', ext: ['e'] },
+ { name: 'Elm', mime: 'text/x-elm', mode: 'elm', ext: ['elm'] },
+ {
+ name: 'Embedded JavaScript',
+ mime: 'application/x-ejs',
+ mode: 'htmlembedded',
+ ext: ['ejs'],
+ },
+ {
+ name: 'Embedded Ruby',
+ mime: 'application/x-erb',
+ mode: 'htmlembedded',
+ ext: ['erb'],
+ },
+ { name: 'Erlang', mime: 'text/x-erlang', mode: 'erlang', ext: ['erl'] },
+ { name: 'Esper', mime: 'text/x-esper', mode: 'sql' },
+ { name: 'Factor', mime: 'text/x-factor', mode: 'factor', ext: ['factor'] },
+ { name: 'FCL', mime: 'text/x-fcl', mode: 'fcl' },
+ { name: 'Forth', mime: 'text/x-forth', mode: 'forth', ext: ['forth', 'fth', '4th'] },
+ {
+ name: 'Fortran',
+ mime: 'text/x-fortran',
+ mode: 'fortran',
+ ext: ['f', 'for', 'f77', 'f90', 'f95'],
+ },
+ { name: 'F#', mime: 'text/x-fsharp', mode: 'mllike', ext: ['fs'], alias: ['fsharp'] },
+ { name: 'Gas', mime: 'text/x-gas', mode: 'gas', ext: ['s'] },
+ { name: 'Gherkin', mime: 'text/x-feature', mode: 'gherkin', ext: ['feature'] },
+ {
+ name: 'GitHub Flavored Markdown',
+ mime: 'text/x-gfm',
+ mode: 'gfm',
+ file: /^(readme|contributing|history)\.md$/i,
+ },
+ { name: 'Go', mime: 'text/x-go', mode: 'go', ext: ['go'] },
+ {
+ name: 'Groovy',
+ mime: 'text/x-groovy',
+ mode: 'groovy',
+ ext: ['groovy', 'gradle'],
+ file: /^Jenkinsfile$/,
+ },
+ { name: 'HAML', mime: 'text/x-haml', mode: 'haml', ext: ['haml'] },
+ { name: 'Haskell', mime: 'text/x-haskell', mode: 'haskell', ext: ['hs'] },
+ {
+ name: 'Haskell (Literate)',
+ mime: 'text/x-literate-haskell',
+ mode: 'haskell-literate',
+ ext: ['lhs'],
+ },
+ { name: 'Haxe', mime: 'text/x-haxe', mode: 'haxe', ext: ['hx'] },
+ { name: 'HXML', mime: 'text/x-hxml', mode: 'haxe', ext: ['hxml'] },
+ {
+ name: 'ASP.NET',
+ mime: 'application/x-aspx',
+ mode: 'htmlembedded',
+ ext: ['aspx'],
+ alias: ['asp', 'aspx'],
+ },
+ {
+ name: 'HTML',
+ mime: 'text/html',
+ mode: 'htmlmixed',
+ ext: ['html', 'htm', 'handlebars', 'hbs'],
+ alias: ['xhtml'],
+ },
+ { name: 'HTTP', mime: 'message/http', mode: 'http' },
+ { name: 'IDL', mime: 'text/x-idl', mode: 'idl', ext: ['pro'] },
+ { name: 'Pug', mime: 'text/x-pug', mode: 'pug', ext: ['jade', 'pug'], alias: ['jade'] },
+ { name: 'Java', mime: 'text/x-java', mode: 'clike', ext: ['java'] },
+ {
+ name: 'Java Server Pages',
+ mime: 'application/x-jsp',
+ mode: 'htmlembedded',
+ ext: ['jsp'],
+ alias: ['jsp'],
+ },
+ {
+ name: 'JavaScript',
+ mimes: [
+ 'text/javascript',
+ 'text/ecmascript',
+ 'application/javascript',
+ 'application/x-javascript',
+ 'application/ecmascript',
+ ],
+ mode: 'javascript',
+ ext: ['js'],
+ alias: ['ecmascript', 'js', 'node'],
+ },
+ {
+ name: 'JSON',
+ mimes: ['application/json', 'application/x-json'],
+ mode: 'javascript',
+ ext: ['json', 'map'],
+ alias: ['json5'],
+ },
+ {
+ name: 'JSON-LD',
+ mime: 'application/ld+json',
+ mode: 'javascript',
+ ext: ['jsonld'],
+ alias: ['jsonld'],
+ },
+ { name: 'JSX', mime: 'text/jsx', mode: 'jsx', ext: ['jsx'] },
+ { name: 'Jinja2', mime: 'text/jinja2', mode: 'jinja2', ext: ['j2', 'jinja', 'jinja2'] },
+ { name: 'Julia', mime: 'text/x-julia', mode: 'julia', ext: ['jl'], alias: ['jl'] },
+ { name: 'Kotlin', mime: 'text/x-kotlin', mode: 'clike', ext: ['kt'] },
+ { name: 'LESS', mime: 'text/x-less', mode: 'css', ext: ['less'] },
+ {
+ name: 'LiveScript',
+ mime: 'text/x-livescript',
+ mode: 'livescript',
+ ext: ['ls'],
+ alias: ['ls'],
+ },
+ { name: 'Lua', mime: 'text/x-lua', mode: 'lua', ext: ['lua'] },
+ {
+ name: 'Markdown',
+ mime: 'text/x-markdown',
+ mode: 'markdown',
+ ext: ['markdown', 'md', 'mkd'],
+ },
+ { name: 'mIRC', mime: 'text/mirc', mode: 'mirc' },
+ { name: 'MariaDB SQL', mime: 'text/x-mariadb', mode: 'sql' },
+ {
+ name: 'Mathematica',
+ mime: 'text/x-mathematica',
+ mode: 'mathematica',
+ ext: ['m', 'nb', 'wl', 'wls'],
+ },
+ { name: 'Modelica', mime: 'text/x-modelica', mode: 'modelica', ext: ['mo'] },
+ { name: 'MUMPS', mime: 'text/x-mumps', mode: 'mumps', ext: ['mps'] },
+ { name: 'MS SQL', mime: 'text/x-mssql', mode: 'sql' },
+ { name: 'mbox', mime: 'application/mbox', mode: 'mbox', ext: ['mbox'] },
+ { name: 'MySQL', mime: 'text/x-mysql', mode: 'sql' },
+ { name: 'Nginx', mime: 'text/x-nginx-conf', mode: 'nginx', file: /nginx.*\.conf$/i },
+ { name: 'NSIS', mime: 'text/x-nsis', mode: 'nsis', ext: ['nsh', 'nsi'] },
+ {
+ name: 'NTriples',
+ mimes: ['application/n-triples', 'application/n-quads', 'text/n-triples'],
+ mode: 'ntriples',
+ ext: ['nt', 'nq'],
+ },
+ {
+ name: 'Objective-C',
+ mime: 'text/x-objectivec',
+ mode: 'clike',
+ ext: ['m'],
+ alias: ['objective-c', 'objc'],
+ },
+ {
+ name: 'Objective-C++',
+ mime: 'text/x-objectivec++',
+ mode: 'clike',
+ ext: ['mm'],
+ alias: ['objective-c++', 'objc++'],
+ },
+ {
+ name: 'OCaml',
+ mime: 'text/x-ocaml',
+ mode: 'mllike',
+ ext: ['ml', 'mli', 'mll', 'mly'],
+ },
+ { name: 'Octave', mime: 'text/x-octave', mode: 'octave', ext: ['m'] },
+ { name: 'Oz', mime: 'text/x-oz', mode: 'oz', ext: ['oz'] },
+ { name: 'Pascal', mime: 'text/x-pascal', mode: 'pascal', ext: ['p', 'pas'] },
+ { name: 'PEG.js', mime: 'null', mode: 'pegjs', ext: ['jsonld'] },
+ { name: 'Perl', mime: 'text/x-perl', mode: 'perl', ext: ['pl', 'pm'] },
+ {
+ name: 'PHP',
+ mimes: ['text/x-php', 'application/x-httpd-php', 'application/x-httpd-php-open'],
+ mode: 'php',
+ ext: ['php', 'php3', 'php4', 'php5', 'php7', 'phtml'],
+ },
+ { name: 'Pig', mime: 'text/x-pig', mode: 'pig', ext: ['pig'] },
+ {
+ name: 'Plain Text',
+ mime: 'text/plain',
+ mode: 'null',
+ ext: ['txt', 'text', 'conf', 'def', 'list', 'log'],
+ },
+ { name: 'PLSQL', mime: 'text/x-plsql', mode: 'sql', ext: ['pls'] },
+ { name: 'PostgreSQL', mime: 'text/x-pgsql', mode: 'sql' },
+ {
+ name: 'PowerShell',
+ mime: 'application/x-powershell',
+ mode: 'powershell',
+ ext: ['ps1', 'psd1', 'psm1'],
+ },
+ {
+ name: 'Properties files',
+ mime: 'text/x-properties',
+ mode: 'properties',
+ ext: ['properties', 'ini', 'in'],
+ alias: ['ini', 'properties'],
+ },
+ { name: 'ProtoBuf', mime: 'text/x-protobuf', mode: 'protobuf', ext: ['proto'] },
+ {
+ name: 'Python',
+ mime: 'text/x-python',
+ mode: 'python',
+ ext: ['BUILD', 'bzl', 'py', 'pyw'],
+ file: /^(BUCK|BUILD)$/,
+ },
+ { name: 'Puppet', mime: 'text/x-puppet', mode: 'puppet', ext: ['pp'] },
+ { name: 'Q', mime: 'text/x-q', mode: 'q', ext: ['q'] },
+ { name: 'R', mime: 'text/x-rsrc', mode: 'r', ext: ['r', 'R'], alias: ['rscript'] },
+ {
+ name: 'reStructuredText',
+ mime: 'text/x-rst',
+ mode: 'rst',
+ ext: ['rst'],
+ alias: ['rst'],
+ },
+ { name: 'RPM Changes', mime: 'text/x-rpm-changes', mode: 'rpm' },
+ { name: 'RPM Spec', mime: 'text/x-rpm-spec', mode: 'rpm', ext: ['spec'] },
+ {
+ name: 'Ruby',
+ mime: 'text/x-ruby',
+ mode: 'ruby',
+ ext: ['rb'],
+ alias: ['jruby', 'macruby', 'rake', 'rb', 'rbx'],
+ },
+ { name: 'Rust', mime: 'text/x-rustsrc', mode: 'rust', ext: ['rs'] },
+ { name: 'SAS', mime: 'text/x-sas', mode: 'sas', ext: ['sas'] },
+ { name: 'Sass', mime: 'text/x-sass', mode: 'sass', ext: ['sass'] },
+ { name: 'Scala', mime: 'text/x-scala', mode: 'clike', ext: ['scala'] },
+ { name: 'Scheme', mime: 'text/x-scheme', mode: 'scheme', ext: ['scm', 'ss'] },
+ { name: 'SCSS', mime: 'text/x-scss', mode: 'css', ext: ['scss'] },
+ {
+ name: 'Shell',
+ mimes: ['text/x-sh', 'application/x-sh'],
+ mode: 'shell',
+ ext: ['sh', 'ksh', 'bash'],
+ alias: ['bash', 'sh', 'zsh'],
+ file: /^PKGBUILD$/,
+ },
+ { name: 'Sieve', mime: 'application/sieve', mode: 'sieve', ext: ['siv', 'sieve'] },
+ {
+ name: 'Slim',
+ mimes: ['text/x-slim', 'application/x-slim'],
+ mode: 'slim',
+ ext: ['slim'],
+ },
+ { name: 'Smalltalk', mime: 'text/x-stsrc', mode: 'smalltalk', ext: ['st'] },
+ { name: 'Smarty', mime: 'text/x-smarty', mode: 'smarty', ext: ['tpl'] },
+ { name: 'Solr', mime: 'text/x-solr', mode: 'solr' },
+ {
+ name: 'SML',
+ mime: 'text/x-sml',
+ mode: 'mllike',
+ ext: ['sml', 'sig', 'fun', 'smackspec'],
+ },
+ {
+ name: 'Soy',
+ mime: 'text/x-soy',
+ mode: 'soy',
+ ext: ['soy'],
+ alias: ['closure template'],
+ },
+ {
+ name: 'SPARQL',
+ mime: 'application/sparql-query',
+ mode: 'sparql',
+ ext: ['rq', 'sparql'],
+ alias: ['sparul'],
+ },
+ {
+ name: 'Spreadsheet',
+ mime: 'text/x-spreadsheet',
+ mode: 'spreadsheet',
+ alias: ['excel', 'formula'],
+ },
+ { name: 'SQL', mime: 'text/x-sql', mode: 'sql', ext: ['sql'] },
+ { name: 'SQLite', mime: 'text/x-sqlite', mode: 'sql' },
+ { name: 'Squirrel', mime: 'text/x-squirrel', mode: 'clike', ext: ['nut'] },
+ { name: 'Stylus', mime: 'text/x-styl', mode: 'stylus', ext: ['styl'] },
+ { name: 'Swift', mime: 'text/x-swift', mode: 'swift', ext: ['swift'] },
+ { name: 'sTeX', mime: 'text/x-stex', mode: 'stex' },
+ {
+ name: 'LaTeX',
+ mime: 'text/x-latex',
+ mode: 'stex',
+ ext: ['text', 'ltx', 'tex'],
+ alias: ['tex'],
+ },
+ {
+ name: 'SystemVerilog',
+ mime: 'text/x-systemverilog',
+ mode: 'verilog',
+ ext: ['v', 'sv', 'svh'],
+ },
+ { name: 'Tcl', mime: 'text/x-tcl', mode: 'tcl', ext: ['tcl'] },
+ { name: 'Textile', mime: 'text/x-textile', mode: 'textile', ext: ['textile'] },
+ { name: 'TiddlyWiki', mime: 'text/x-tiddlywiki', mode: 'tiddlywiki' },
+ { name: 'Tiki wiki', mime: 'text/tiki', mode: 'tiki' },
+ { name: 'TOML', mime: 'text/x-toml', mode: 'toml', ext: ['toml'] },
+ { name: 'Tornado', mime: 'text/x-tornado', mode: 'tornado' },
+ {
+ name: 'troff',
+ mime: 'text/troff',
+ mode: 'troff',
+ ext: ['1', '2', '3', '4', '5', '6', '7', '8', '9'],
+ },
+ { name: 'TTCN', mime: 'text/x-ttcn', mode: 'ttcn', ext: ['ttcn', 'ttcn3', 'ttcnpp'] },
+ { name: 'TTCN_CFG', mime: 'text/x-ttcn-cfg', mode: 'ttcn-cfg', ext: ['cfg'] },
+ { name: 'Turtle', mime: 'text/turtle', mode: 'turtle', ext: ['ttl'] },
+ {
+ name: 'TypeScript',
+ mime: 'application/typescript',
+ mode: 'javascript',
+ ext: ['ts'],
+ alias: ['ts'],
+ },
+ {
+ name: 'TypeScript-JSX',
+ mime: 'text/typescript-jsx',
+ mode: 'jsx',
+ ext: ['tsx'],
+ alias: ['tsx'],
+ },
+ { name: 'Twig', mime: 'text/x-twig', mode: 'twig' },
+ { name: 'Web IDL', mime: 'text/x-webidl', mode: 'webidl', ext: ['webidl'] },
+ { name: 'VB.NET', mime: 'text/x-vb', mode: 'vb', ext: ['vb'] },
+ { name: 'VBScript', mime: 'text/vbscript', mode: 'vbscript', ext: ['vbs'] },
+ { name: 'Velocity', mime: 'text/velocity', mode: 'velocity', ext: ['vtl'] },
+ { name: 'Verilog', mime: 'text/x-verilog', mode: 'verilog', ext: ['v'] },
+ { name: 'VHDL', mime: 'text/x-vhdl', mode: 'vhdl', ext: ['vhd', 'vhdl'] },
+ {
+ name: 'Vue.js Component',
+ mimes: ['script/x-vue', 'text/x-vue'],
+ mode: 'vue',
+ ext: ['vue'],
+ },
+ {
+ name: 'XML',
+ mimes: ['application/xml', 'text/xml'],
+ mode: 'xml',
+ ext: ['xml', 'xsl', 'xsd', 'svg'],
+ alias: ['rss', 'wsdl', 'xsd'],
+ },
+ { name: 'XQuery', mime: 'application/xquery', mode: 'xquery', ext: ['xy', 'xquery'] },
+ { name: 'Yacas', mime: 'text/x-yacas', mode: 'yacas', ext: ['ys'] },
+ {
+ name: 'YAML',
+ mimes: ['text/x-yaml', 'text/yaml'],
+ mode: 'yaml',
+ ext: ['yaml', 'yml'],
+ alias: ['yml'],
+ },
+ { name: 'Z80', mime: 'text/x-z80', mode: 'z80', ext: ['z80'] },
+ {
+ name: 'mscgen',
+ mime: 'text/x-mscgen',
+ mode: 'mscgen',
+ ext: ['mscgen', 'mscin', 'msc'],
+ },
+ { name: 'xu', mime: 'text/x-xu', mode: 'mscgen', ext: ['xu'] },
+ { name: 'msgenny', mime: 'text/x-msgenny', mode: 'mscgen', ext: ['msgenny'] },
+ { name: 'WebAssembly', mime: 'text/webassembly', mode: 'wast', ext: ['wat', 'wast'] },
+ ]
+ for (var De = 0; De < C.modeInfo.length; De++) {
+ var I = C.modeInfo[De]
+ I.mimes && (I.mime = I.mimes[0])
+ }
+ ;(C.findModeByMIME = function (K) {
+ K = K.toLowerCase()
+ for (var $ = 0; $ < C.modeInfo.length; $++) {
+ var V = C.modeInfo[$]
+ if (V.mime == K) return V
+ if (V.mimes) {
+ for (var b = 0; b < V.mimes.length; b++) if (V.mimes[b] == K) return V
+ }
+ }
+ if (/\+xml$/.test(K)) return C.findModeByMIME('application/xml')
+ if (/\+json$/.test(K)) return C.findModeByMIME('application/json')
+ }),
+ (C.findModeByExtension = function (K) {
+ K = K.toLowerCase()
+ for (var $ = 0; $ < C.modeInfo.length; $++) {
+ var V = C.modeInfo[$]
+ if (V.ext) {
+ for (var b = 0; b < V.ext.length; b++) if (V.ext[b] == K) return V
+ }
+ }
+ }),
+ (C.findModeByFileName = function (K) {
+ for (var $ = 0; $ < C.modeInfo.length; $++) {
+ var V = C.modeInfo[$]
+ if (V.file && V.file.test(K)) return V
+ }
+ var b = K.lastIndexOf('.'),
+ N = b > -1 && K.substring(b + 1, K.length)
+ if (N) return C.findModeByExtension(N)
+ }),
+ (C.findModeByName = function (K) {
+ K = K.toLowerCase()
+ for (var $ = 0; $ < C.modeInfo.length; $++) {
+ var V = C.modeInfo[$]
+ if (V.name.toLowerCase() == K) return V
+ if (V.alias) {
+ for (var b = 0; b < V.alias.length; b++)
+ if (V.alias[b].toLowerCase() == K) return V
+ }
+ }
+ })
+ })
+ })()),
+ Da.exports
+ )
+}
+var Fa
+function Uu() {
+ return (
+ Fa ||
+ ((Fa = 1),
+ (function (Et, zt) {
+ ;(function (C) {
+ C(It(), Ba(), Ku())
+ })(function (C) {
+ C.defineMode(
+ 'markdown',
+ function (De, I) {
+ var K = C.getMode(De, 'text/html'),
+ $ = K.name == 'null'
+ function V(p) {
+ if (C.findModeByName) {
+ var c = C.findModeByName(p)
+ c && (p = c.mime || c.mimes[0])
+ }
+ var Y = C.getMode(De, p)
+ return Y.name == 'null' ? null : Y
+ }
+ I.highlightFormatting === void 0 && (I.highlightFormatting = !1),
+ I.maxBlockquoteDepth === void 0 && (I.maxBlockquoteDepth = 0),
+ I.taskLists === void 0 && (I.taskLists = !1),
+ I.strikethrough === void 0 && (I.strikethrough = !1),
+ I.emoji === void 0 && (I.emoji = !1),
+ I.fencedCodeBlockHighlighting === void 0 && (I.fencedCodeBlockHighlighting = !0),
+ I.fencedCodeBlockDefaultMode === void 0 &&
+ (I.fencedCodeBlockDefaultMode = 'text/plain'),
+ I.xml === void 0 && (I.xml = !0),
+ I.tokenTypeOverrides === void 0 && (I.tokenTypeOverrides = {})
+ var b = {
+ header: 'header',
+ code: 'comment',
+ quote: 'quote',
+ list1: 'variable-2',
+ list2: 'variable-3',
+ list3: 'keyword',
+ hr: 'hr',
+ image: 'image',
+ imageAltText: 'image-alt-text',
+ imageMarker: 'image-marker',
+ formatting: 'formatting',
+ linkInline: 'link',
+ linkEmail: 'link',
+ linkText: 'link',
+ linkHref: 'string',
+ em: 'em',
+ strong: 'strong',
+ strikethrough: 'strikethrough',
+ emoji: 'builtin',
+ }
+ for (var N in b)
+ b.hasOwnProperty(N) && I.tokenTypeOverrides[N] && (b[N] = I.tokenTypeOverrides[N])
+ var _ = /^([*\-_])(?:\s*\1){2,}\s*$/,
+ ie = /^(?:[*\-+]|^[0-9]+([.)]))\s+/,
+ O = /^\[(x| )\](?=\s)/i,
+ q = I.allowAtxHeaderWithoutSpace ? /^(#+)/ : /^(#+)(?: |$)/,
+ z = /^ {0,3}(?:\={1,}|-{2,})\s*$/,
+ X = /^[^#!\[\]*_\\<>` "'(~:]+/,
+ ke = /^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,
+ we = /^\s*\[[^\]]+?\]:.*$/,
+ te =
+ /[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,
+ re = ' '
+ function ne(p, c, Y) {
+ return (c.f = c.inline = Y), Y(p, c)
+ }
+ function se(p, c, Y) {
+ return (c.f = c.block = Y), Y(p, c)
+ }
+ function Ae(p) {
+ return !p || !/\S/.test(p.string)
+ }
+ function ye(p) {
+ if (
+ ((p.linkTitle = !1),
+ (p.linkHref = !1),
+ (p.linkText = !1),
+ (p.em = !1),
+ (p.strong = !1),
+ (p.strikethrough = !1),
+ (p.quote = 0),
+ (p.indentedCode = !1),
+ p.f == ze)
+ ) {
+ var c = $
+ if (!c) {
+ var Y = C.innerMode(K, p.htmlState)
+ c =
+ Y.mode.name == 'xml' &&
+ Y.state.tagStart === null &&
+ !Y.state.context &&
+ Y.state.tokenize.isInText
+ }
+ c && ((p.f = D), (p.block = de), (p.htmlState = null))
+ }
+ return (
+ (p.trailingSpace = 0),
+ (p.trailingSpaceNewLine = !1),
+ (p.prevLine = p.thisLine),
+ (p.thisLine = { stream: null }),
+ null
+ )
+ }
+ function de(p, c) {
+ var Y = p.column() === c.indentation,
+ xe = Ae(c.prevLine.stream),
+ j = c.indentedCode,
+ ue = c.prevLine.hr,
+ Te = c.list !== !1,
+ Le = (c.listStack[c.listStack.length - 1] || 0) + 3
+ c.indentedCode = !1
+ var be = c.indentation
+ if (c.indentationDiff === null && ((c.indentationDiff = c.indentation), Te)) {
+ for (c.list = null; be < c.listStack[c.listStack.length - 1]; )
+ c.listStack.pop(),
+ c.listStack.length
+ ? (c.indentation = c.listStack[c.listStack.length - 1])
+ : (c.list = !1)
+ c.list !== !1 && (c.indentationDiff = be - c.listStack[c.listStack.length - 1])
+ }
+ var oe =
+ !xe && !ue && !c.prevLine.header && (!Te || !j) && !c.prevLine.fencedCodeEnd,
+ Ne = (c.list === !1 || ue || xe) && c.indentation <= Le && p.match(_),
+ qe = null
+ if (
+ c.indentationDiff >= 4 &&
+ (j || c.prevLine.fencedCodeEnd || c.prevLine.header || xe)
+ )
+ return p.skipToEnd(), (c.indentedCode = !0), b.code
+ if (p.eatSpace()) return null
+ if (Y && c.indentation <= Le && (qe = p.match(q)) && qe[1].length <= 6)
+ return (
+ (c.quote = 0),
+ (c.header = qe[1].length),
+ (c.thisLine.header = !0),
+ I.highlightFormatting && (c.formatting = 'header'),
+ (c.f = c.inline),
+ H(c)
+ )
+ if (c.indentation <= Le && p.eat('>'))
+ return (
+ (c.quote = Y ? 1 : c.quote + 1),
+ I.highlightFormatting && (c.formatting = 'quote'),
+ p.eatSpace(),
+ H(c)
+ )
+ if (!Ne && !c.setext && Y && c.indentation <= Le && (qe = p.match(ie))) {
+ var Ve = qe[1] ? 'ol' : 'ul'
+ return (
+ (c.indentation = be + p.current().length),
+ (c.list = !0),
+ (c.quote = 0),
+ c.listStack.push(c.indentation),
+ (c.em = !1),
+ (c.strong = !1),
+ (c.code = !1),
+ (c.strikethrough = !1),
+ I.taskLists && p.match(O, !1) && (c.taskList = !0),
+ (c.f = c.inline),
+ I.highlightFormatting && (c.formatting = ['list', 'list-' + Ve]),
+ H(c)
+ )
+ } else {
+ if (Y && c.indentation <= Le && (qe = p.match(ke, !0)))
+ return (
+ (c.quote = 0),
+ (c.fencedEndRE = new RegExp(qe[1] + '+ *$')),
+ (c.localMode =
+ I.fencedCodeBlockHighlighting && V(qe[2] || I.fencedCodeBlockDefaultMode)),
+ c.localMode && (c.localState = C.startState(c.localMode)),
+ (c.f = c.block = fe),
+ I.highlightFormatting && (c.formatting = 'code-block'),
+ (c.code = -1),
+ H(c)
+ )
+ if (
+ c.setext ||
+ ((!oe || !Te) &&
+ !c.quote &&
+ c.list === !1 &&
+ !c.code &&
+ !Ne &&
+ !we.test(p.string) &&
+ (qe = p.lookAhead(1)) &&
+ (qe = qe.match(z)))
+ )
+ return (
+ c.setext
+ ? ((c.header = c.setext),
+ (c.setext = 0),
+ p.skipToEnd(),
+ I.highlightFormatting && (c.formatting = 'header'))
+ : ((c.header = qe[0].charAt(0) == '=' ? 1 : 2), (c.setext = c.header)),
+ (c.thisLine.header = !0),
+ (c.f = c.inline),
+ H(c)
+ )
+ if (Ne) return p.skipToEnd(), (c.hr = !0), (c.thisLine.hr = !0), b.hr
+ if (p.peek() === '[') return ne(p, c, m)
+ }
+ return ne(p, c, c.inline)
+ }
+ function ze(p, c) {
+ var Y = K.token(p, c.htmlState)
+ if (!$) {
+ var xe = C.innerMode(K, c.htmlState)
+ ;((xe.mode.name == 'xml' &&
+ xe.state.tagStart === null &&
+ !xe.state.context &&
+ xe.state.tokenize.isInText) ||
+ (c.md_inside && p.current().indexOf('>') > -1)) &&
+ ((c.f = D), (c.block = de), (c.htmlState = null))
+ }
+ return Y
+ }
+ function fe(p, c) {
+ var Y = c.listStack[c.listStack.length - 1] || 0,
+ xe = c.indentation < Y,
+ j = Y + 3
+ if (c.fencedEndRE && c.indentation <= j && (xe || p.match(c.fencedEndRE))) {
+ I.highlightFormatting && (c.formatting = 'code-block')
+ var ue
+ return (
+ xe || (ue = H(c)),
+ (c.localMode = c.localState = null),
+ (c.block = de),
+ (c.f = D),
+ (c.fencedEndRE = null),
+ (c.code = 0),
+ (c.thisLine.fencedCodeEnd = !0),
+ xe ? se(p, c, c.block) : ue
+ )
+ } else
+ return c.localMode ? c.localMode.token(p, c.localState) : (p.skipToEnd(), b.code)
+ }
+ function H(p) {
+ var c = []
+ if (p.formatting) {
+ c.push(b.formatting),
+ typeof p.formatting == 'string' && (p.formatting = [p.formatting])
+ for (var Y = 0; Y < p.formatting.length; Y++)
+ c.push(b.formatting + '-' + p.formatting[Y]),
+ p.formatting[Y] === 'header' &&
+ c.push(b.formatting + '-' + p.formatting[Y] + '-' + p.header),
+ p.formatting[Y] === 'quote' &&
+ (!I.maxBlockquoteDepth || I.maxBlockquoteDepth >= p.quote
+ ? c.push(b.formatting + '-' + p.formatting[Y] + '-' + p.quote)
+ : c.push('error'))
+ }
+ if (p.taskOpen) return c.push('meta'), c.length ? c.join(' ') : null
+ if (p.taskClosed) return c.push('property'), c.length ? c.join(' ') : null
+ if (
+ (p.linkHref
+ ? c.push(b.linkHref, 'url')
+ : (p.strong && c.push(b.strong),
+ p.em && c.push(b.em),
+ p.strikethrough && c.push(b.strikethrough),
+ p.emoji && c.push(b.emoji),
+ p.linkText && c.push(b.linkText),
+ p.code && c.push(b.code),
+ p.image && c.push(b.image),
+ p.imageAltText && c.push(b.imageAltText, 'link'),
+ p.imageMarker && c.push(b.imageMarker)),
+ p.header && c.push(b.header, b.header + '-' + p.header),
+ p.quote &&
+ (c.push(b.quote),
+ !I.maxBlockquoteDepth || I.maxBlockquoteDepth >= p.quote
+ ? c.push(b.quote + '-' + p.quote)
+ : c.push(b.quote + '-' + I.maxBlockquoteDepth)),
+ p.list !== !1)
+ ) {
+ var xe = (p.listStack.length - 1) % 3
+ xe ? (xe === 1 ? c.push(b.list2) : c.push(b.list3)) : c.push(b.list1)
+ }
+ return (
+ p.trailingSpaceNewLine
+ ? c.push('trailing-space-new-line')
+ : p.trailingSpace &&
+ c.push('trailing-space-' + (p.trailingSpace % 2 ? 'a' : 'b')),
+ c.length ? c.join(' ') : null
+ )
+ }
+ function Ee(p, c) {
+ if (p.match(X, !0)) return H(c)
+ }
+ function D(p, c) {
+ var Y = c.text(p, c)
+ if (typeof Y < 'u') return Y
+ if (c.list) return (c.list = null), H(c)
+ if (c.taskList) {
+ var xe = p.match(O, !0)[1] === ' '
+ return (
+ xe ? (c.taskOpen = !0) : (c.taskClosed = !0),
+ I.highlightFormatting && (c.formatting = 'task'),
+ (c.taskList = !1),
+ H(c)
+ )
+ }
+ if (((c.taskOpen = !1), (c.taskClosed = !1), c.header && p.match(/^#+$/, !0)))
+ return I.highlightFormatting && (c.formatting = 'header'), H(c)
+ var j = p.next()
+ if (c.linkTitle) {
+ c.linkTitle = !1
+ var ue = j
+ j === '(' && (ue = ')'),
+ (ue = (ue + '').replace(/([.?*+^\[\]\\(){}|-])/g, '\\$1'))
+ var Te = '^\\s*(?:[^' + ue + '\\\\]+|\\\\\\\\|\\\\.)' + ue
+ if (p.match(new RegExp(Te), !0)) return b.linkHref
+ }
+ if (j === '`') {
+ var Le = c.formatting
+ I.highlightFormatting && (c.formatting = 'code'), p.eatWhile('`')
+ var be = p.current().length
+ if (c.code == 0 && (!c.quote || be == 1)) return (c.code = be), H(c)
+ if (be == c.code) {
+ var oe = H(c)
+ return (c.code = 0), oe
+ } else return (c.formatting = Le), H(c)
+ } else if (c.code) return H(c)
+ if (j === '\\' && (p.next(), I.highlightFormatting)) {
+ var Ne = H(c),
+ qe = b.formatting + '-escape'
+ return Ne ? Ne + ' ' + qe : qe
+ }
+ if (j === '!' && p.match(/\[[^\]]*\] ?(?:\(|\[)/, !1))
+ return (
+ (c.imageMarker = !0),
+ (c.image = !0),
+ I.highlightFormatting && (c.formatting = 'image'),
+ H(c)
+ )
+ if (j === '[' && c.imageMarker && p.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/, !1))
+ return (
+ (c.imageMarker = !1),
+ (c.imageAltText = !0),
+ I.highlightFormatting && (c.formatting = 'image'),
+ H(c)
+ )
+ if (j === ']' && c.imageAltText) {
+ I.highlightFormatting && (c.formatting = 'image')
+ var Ne = H(c)
+ return (c.imageAltText = !1), (c.image = !1), (c.inline = c.f = d), Ne
+ }
+ if (j === '[' && !c.image)
+ return (
+ (c.linkText && p.match(/^.*?\]/)) ||
+ ((c.linkText = !0), I.highlightFormatting && (c.formatting = 'link')),
+ H(c)
+ )
+ if (j === ']' && c.linkText) {
+ I.highlightFormatting && (c.formatting = 'link')
+ var Ne = H(c)
+ return (
+ (c.linkText = !1),
+ (c.inline = c.f = p.match(/\(.*?\)| ?\[.*?\]/, !1) ? d : D),
+ Ne
+ )
+ }
+ if (j === '<' && p.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/, !1)) {
+ ;(c.f = c.inline = J), I.highlightFormatting && (c.formatting = 'link')
+ var Ne = H(c)
+ return Ne ? (Ne += ' ') : (Ne = ''), Ne + b.linkInline
+ }
+ if (j === '<' && p.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/, !1)) {
+ ;(c.f = c.inline = J), I.highlightFormatting && (c.formatting = 'link')
+ var Ne = H(c)
+ return Ne ? (Ne += ' ') : (Ne = ''), Ne + b.linkEmail
+ }
+ if (
+ I.xml &&
+ j === '<' &&
+ p.match(
+ /^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,
+ !1
+ )
+ ) {
+ var Ve = p.string.indexOf('>', p.pos)
+ if (Ve != -1) {
+ var ct = p.string.substring(p.start, Ve)
+ ;/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ct) && (c.md_inside = !0)
+ }
+ return p.backUp(1), (c.htmlState = C.startState(K)), se(p, c, ze)
+ }
+ if (I.xml && j === '<' && p.match(/^\/\w*?>/)) return (c.md_inside = !1), 'tag'
+ if (j === '*' || j === '_') {
+ for (
+ var Oe = 1, Re = p.pos == 1 ? ' ' : p.string.charAt(p.pos - 2);
+ Oe < 3 && p.eat(j);
+
+ )
+ Oe++
+ var Ue = p.peek() || ' ',
+ et = !/\s/.test(Ue) && (!te.test(Ue) || /\s/.test(Re) || te.test(Re)),
+ ge = !/\s/.test(Re) && (!te.test(Re) || /\s/.test(Ue) || te.test(Ue)),
+ Pe = null,
+ T = null
+ if (
+ (Oe % 2 &&
+ (!c.em && et && (j === '*' || !ge || te.test(Re))
+ ? (Pe = !0)
+ : c.em == j && ge && (j === '*' || !et || te.test(Ue)) && (Pe = !1)),
+ Oe > 1 &&
+ (!c.strong && et && (j === '*' || !ge || te.test(Re))
+ ? (T = !0)
+ : c.strong == j && ge && (j === '*' || !et || te.test(Ue)) && (T = !1)),
+ T != null || Pe != null)
+ ) {
+ I.highlightFormatting &&
+ (c.formatting = Pe == null ? 'strong' : T == null ? 'em' : 'strong em'),
+ Pe === !0 && (c.em = j),
+ T === !0 && (c.strong = j)
+ var oe = H(c)
+ return Pe === !1 && (c.em = !1), T === !1 && (c.strong = !1), oe
+ }
+ } else if (j === ' ' && (p.eat('*') || p.eat('_'))) {
+ if (p.peek() === ' ') return H(c)
+ p.backUp(1)
+ }
+ if (I.strikethrough) {
+ if (j === '~' && p.eatWhile(j)) {
+ if (c.strikethrough) {
+ I.highlightFormatting && (c.formatting = 'strikethrough')
+ var oe = H(c)
+ return (c.strikethrough = !1), oe
+ } else if (p.match(/^[^\s]/, !1))
+ return (
+ (c.strikethrough = !0),
+ I.highlightFormatting && (c.formatting = 'strikethrough'),
+ H(c)
+ )
+ } else if (j === ' ' && p.match('~~', !0)) {
+ if (p.peek() === ' ') return H(c)
+ p.backUp(2)
+ }
+ }
+ if (
+ I.emoji &&
+ j === ':' &&
+ p.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)
+ ) {
+ ;(c.emoji = !0), I.highlightFormatting && (c.formatting = 'emoji')
+ var B = H(c)
+ return (c.emoji = !1), B
+ }
+ return (
+ j === ' ' &&
+ (p.match(/^ +$/, !1)
+ ? c.trailingSpace++
+ : c.trailingSpace && (c.trailingSpaceNewLine = !0)),
+ H(c)
+ )
+ }
+ function J(p, c) {
+ var Y = p.next()
+ if (Y === '>') {
+ ;(c.f = c.inline = D), I.highlightFormatting && (c.formatting = 'link')
+ var xe = H(c)
+ return xe ? (xe += ' ') : (xe = ''), xe + b.linkInline
+ }
+ return p.match(/^[^>]+/, !0), b.linkInline
+ }
+ function d(p, c) {
+ if (p.eatSpace()) return null
+ var Y = p.next()
+ return Y === '(' || Y === '['
+ ? ((c.f = c.inline = w(Y === '(' ? ')' : ']')),
+ I.highlightFormatting && (c.formatting = 'link-string'),
+ (c.linkHref = !0),
+ H(c))
+ : 'error'
+ }
+ var S = {
+ ')': /^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,
+ ']': /^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/,
+ }
+ function w(p) {
+ return function (c, Y) {
+ var xe = c.next()
+ if (xe === p) {
+ ;(Y.f = Y.inline = D), I.highlightFormatting && (Y.formatting = 'link-string')
+ var j = H(Y)
+ return (Y.linkHref = !1), j
+ }
+ return c.match(S[p]), (Y.linkHref = !0), H(Y)
+ }
+ }
+ function m(p, c) {
+ return p.match(/^([^\]\\]|\\.)*\]:/, !1)
+ ? ((c.f = y),
+ p.next(),
+ I.highlightFormatting && (c.formatting = 'link'),
+ (c.linkText = !0),
+ H(c))
+ : ne(p, c, D)
+ }
+ function y(p, c) {
+ if (p.match(']:', !0)) {
+ ;(c.f = c.inline = P), I.highlightFormatting && (c.formatting = 'link')
+ var Y = H(c)
+ return (c.linkText = !1), Y
+ }
+ return p.match(/^([^\]\\]|\\.)+/, !0), b.linkText
+ }
+ function P(p, c) {
+ return p.eatSpace()
+ ? null
+ : (p.match(/^[^\s]+/, !0),
+ p.peek() === void 0
+ ? (c.linkTitle = !0)
+ : p.match(
+ /^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,
+ !0
+ ),
+ (c.f = c.inline = D),
+ b.linkHref + ' url')
+ }
+ var le = {
+ startState: function () {
+ return {
+ f: de,
+ prevLine: { stream: null },
+ thisLine: { stream: null },
+ block: de,
+ htmlState: null,
+ indentation: 0,
+ inline: D,
+ text: Ee,
+ formatting: !1,
+ linkText: !1,
+ linkHref: !1,
+ linkTitle: !1,
+ code: 0,
+ em: !1,
+ strong: !1,
+ header: 0,
+ setext: 0,
+ hr: !1,
+ taskList: !1,
+ list: !1,
+ listStack: [],
+ quote: 0,
+ trailingSpace: 0,
+ trailingSpaceNewLine: !1,
+ strikethrough: !1,
+ emoji: !1,
+ fencedEndRE: null,
+ }
+ },
+ copyState: function (p) {
+ return {
+ f: p.f,
+ prevLine: p.prevLine,
+ thisLine: p.thisLine,
+ block: p.block,
+ htmlState: p.htmlState && C.copyState(K, p.htmlState),
+ indentation: p.indentation,
+ localMode: p.localMode,
+ localState: p.localMode ? C.copyState(p.localMode, p.localState) : null,
+ inline: p.inline,
+ text: p.text,
+ formatting: !1,
+ linkText: p.linkText,
+ linkTitle: p.linkTitle,
+ linkHref: p.linkHref,
+ code: p.code,
+ em: p.em,
+ strong: p.strong,
+ strikethrough: p.strikethrough,
+ emoji: p.emoji,
+ header: p.header,
+ setext: p.setext,
+ hr: p.hr,
+ taskList: p.taskList,
+ list: p.list,
+ listStack: p.listStack.slice(0),
+ quote: p.quote,
+ indentedCode: p.indentedCode,
+ trailingSpace: p.trailingSpace,
+ trailingSpaceNewLine: p.trailingSpaceNewLine,
+ md_inside: p.md_inside,
+ fencedEndRE: p.fencedEndRE,
+ }
+ },
+ token: function (p, c) {
+ if (((c.formatting = !1), p != c.thisLine.stream)) {
+ if (((c.header = 0), (c.hr = !1), p.match(/^\s*$/, !0))) return ye(c), null
+ if (
+ ((c.prevLine = c.thisLine),
+ (c.thisLine = { stream: p }),
+ (c.taskList = !1),
+ (c.trailingSpace = 0),
+ (c.trailingSpaceNewLine = !1),
+ !c.localState && ((c.f = c.block), c.f != ze))
+ ) {
+ var Y = p.match(/^\s*/, !0)[0].replace(/\t/g, re).length
+ if (((c.indentation = Y), (c.indentationDiff = null), Y > 0)) return null
+ }
+ }
+ return c.f(p, c)
+ },
+ innerMode: function (p) {
+ return p.block == ze
+ ? { state: p.htmlState, mode: K }
+ : p.localState
+ ? { state: p.localState, mode: p.localMode }
+ : { state: p, mode: le }
+ },
+ indent: function (p, c, Y) {
+ return p.block == ze && K.indent
+ ? K.indent(p.htmlState, c, Y)
+ : p.localState && p.localMode.indent
+ ? p.localMode.indent(p.localState, c, Y)
+ : C.Pass
+ },
+ blankLine: ye,
+ getType: H,
+ blockCommentStart: '',
+ closeBrackets: '()[]{}\'\'""``',
+ fold: 'markdown',
+ }
+ return le
+ },
+ 'xml'
+ ),
+ C.defineMIME('text/markdown', 'markdown'),
+ C.defineMIME('text/x-markdown', 'markdown')
+ })
+ })()),
+ Ca.exports
+ )
+}
+Uu()
+var Aa = { exports: {} },
+ Ea
+function Gu() {
+ return (
+ Ea ||
+ ((Ea = 1),
+ (function (Et, zt) {
+ ;(function (C) {
+ C(It())
+ })(function (C) {
+ C.defineOption('placeholder', '', function (N, _, ie) {
+ var O = ie && ie != C.Init
+ if (_ && !O)
+ N.on('blur', $),
+ N.on('change', V),
+ N.on('swapDoc', V),
+ C.on(
+ N.getInputField(),
+ 'compositionupdate',
+ (N.state.placeholderCompose = function () {
+ K(N)
+ })
+ ),
+ V(N)
+ else if (!_ && O) {
+ N.off('blur', $),
+ N.off('change', V),
+ N.off('swapDoc', V),
+ C.off(N.getInputField(), 'compositionupdate', N.state.placeholderCompose),
+ De(N)
+ var q = N.getWrapperElement()
+ q.className = q.className.replace(' CodeMirror-empty', '')
+ }
+ _ && !N.hasFocus() && $(N)
+ })
+ function De(N) {
+ N.state.placeholder &&
+ (N.state.placeholder.parentNode.removeChild(N.state.placeholder),
+ (N.state.placeholder = null))
+ }
+ function I(N) {
+ De(N)
+ var _ = (N.state.placeholder = document.createElement('pre'))
+ ;(_.style.cssText = 'height: 0; overflow: visible'),
+ (_.style.direction = N.getOption('direction')),
+ (_.className = 'CodeMirror-placeholder CodeMirror-line-like')
+ var ie = N.getOption('placeholder')
+ typeof ie == 'string' && (ie = document.createTextNode(ie)),
+ _.appendChild(ie),
+ N.display.lineSpace.insertBefore(_, N.display.lineSpace.firstChild)
+ }
+ function K(N) {
+ setTimeout(function () {
+ var _ = !1
+ if (N.lineCount() == 1) {
+ var ie = N.getInputField()
+ _ =
+ ie.nodeName == 'TEXTAREA'
+ ? !N.getLine(0).length
+ : !/[^\u200b]/.test(ie.querySelector('.CodeMirror-line').textContent)
+ }
+ _ ? I(N) : De(N)
+ }, 20)
+ }
+ function $(N) {
+ b(N) && I(N)
+ }
+ function V(N) {
+ var _ = N.getWrapperElement(),
+ ie = b(N)
+ ;(_.className =
+ _.className.replace(' CodeMirror-empty', '') + (ie ? ' CodeMirror-empty' : '')),
+ ie ? I(N) : De(N)
+ }
+ function b(N) {
+ return N.lineCount() === 1 && N.getLine(0) === ''
+ }
+ })
+ })()),
+ Aa.exports
+ )
+}
+Gu()
+var Na = { exports: {} },
+ Oa
+function Xu() {
+ return (
+ Oa ||
+ ((Oa = 1),
+ (function (Et, zt) {
+ ;(function (C) {
+ C(It())
+ })(function (C) {
+ ;(C.defineSimpleMode = function (O, q) {
+ C.defineMode(O, function (z) {
+ return C.simpleMode(z, q)
+ })
+ }),
+ (C.simpleMode = function (O, q) {
+ De(q, 'start')
+ var z = {},
+ X = q.meta || {},
+ ke = !1
+ for (var we in q)
+ if (we != X && q.hasOwnProperty(we))
+ for (var te = (z[we] = []), re = q[we], ne = 0; ne < re.length; ne++) {
+ var se = re[ne]
+ te.push(new $(se, q)), (se.indent || se.dedent) && (ke = !0)
+ }
+ var Ae = {
+ startState: function () {
+ return {
+ state: 'start',
+ pending: null,
+ local: null,
+ localState: null,
+ indent: ke ? [] : null,
+ }
+ },
+ copyState: function (de) {
+ var ze = {
+ state: de.state,
+ pending: de.pending,
+ local: de.local,
+ localState: null,
+ indent: de.indent && de.indent.slice(0),
+ }
+ de.localState && (ze.localState = C.copyState(de.local.mode, de.localState)),
+ de.stack && (ze.stack = de.stack.slice(0))
+ for (var fe = de.persistentStates; fe; fe = fe.next)
+ ze.persistentStates = {
+ mode: fe.mode,
+ spec: fe.spec,
+ state:
+ fe.state == de.localState ? ze.localState : C.copyState(fe.mode, fe.state),
+ next: ze.persistentStates,
+ }
+ return ze
+ },
+ token: V(z, O),
+ innerMode: function (de) {
+ return de.local && { mode: de.local.mode, state: de.localState }
+ },
+ indent: ie(z, X),
+ }
+ if (X) for (var ye in X) X.hasOwnProperty(ye) && (Ae[ye] = X[ye])
+ return Ae
+ })
+ function De(O, q) {
+ if (!O.hasOwnProperty(q)) throw new Error('Undefined state ' + q + ' in simple mode')
+ }
+ function I(O, q) {
+ if (!O) return /(?:)/
+ var z = ''
+ return (
+ O instanceof RegExp
+ ? (O.ignoreCase && (z = 'i'), O.unicode && (z += 'u'), (O = O.source))
+ : (O = String(O)),
+ new RegExp((q === !1 ? '' : '^') + '(?:' + O + ')', z)
+ )
+ }
+ function K(O) {
+ if (!O) return null
+ if (O.apply) return O
+ if (typeof O == 'string') return O.replace(/\./g, ' ')
+ for (var q = [], z = 0; z < O.length; z++) q.push(O[z] && O[z].replace(/\./g, ' '))
+ return q
+ }
+ function $(O, q) {
+ ;(O.next || O.push) && De(q, O.next || O.push),
+ (this.regex = I(O.regex)),
+ (this.token = K(O.token)),
+ (this.data = O)
+ }
+ function V(O, q) {
+ return function (z, X) {
+ if (X.pending) {
+ var ke = X.pending.shift()
+ return (
+ X.pending.length == 0 && (X.pending = null), (z.pos += ke.text.length), ke.token
+ )
+ }
+ if (X.local)
+ if (X.local.end && z.match(X.local.end)) {
+ var we = X.local.endToken || null
+ return (X.local = X.localState = null), we
+ } else {
+ var we = X.local.mode.token(z, X.localState),
+ te
+ return (
+ X.local.endScan &&
+ (te = X.local.endScan.exec(z.current())) &&
+ (z.pos = z.start + te.index),
+ we
+ )
+ }
+ for (var re = O[X.state], ne = 0; ne < re.length; ne++) {
+ var se = re[ne],
+ Ae = (!se.data.sol || z.sol()) && z.match(se.regex)
+ if (Ae) {
+ se.data.next
+ ? (X.state = se.data.next)
+ : se.data.push
+ ? ((X.stack || (X.stack = [])).push(X.state), (X.state = se.data.push))
+ : se.data.pop && X.stack && X.stack.length && (X.state = X.stack.pop()),
+ se.data.mode && N(q, X, se.data.mode, se.token),
+ se.data.indent && X.indent.push(z.indentation() + q.indentUnit),
+ se.data.dedent && X.indent.pop()
+ var ye = se.token
+ if (
+ (ye && ye.apply && (ye = ye(Ae)),
+ Ae.length > 2 && se.token && typeof se.token != 'string')
+ ) {
+ for (var de = 2; de < Ae.length; de++)
+ Ae[de] &&
+ (X.pending || (X.pending = [])).push({
+ text: Ae[de],
+ token: se.token[de - 1],
+ })
+ return z.backUp(Ae[0].length - (Ae[1] ? Ae[1].length : 0)), ye[0]
+ } else return ye && ye.join ? ye[0] : ye
+ }
+ }
+ return z.next(), null
+ }
+ }
+ function b(O, q) {
+ if (O === q) return !0
+ if (!O || typeof O != 'object' || !q || typeof q != 'object') return !1
+ var z = 0
+ for (var X in O)
+ if (O.hasOwnProperty(X)) {
+ if (!q.hasOwnProperty(X) || !b(O[X], q[X])) return !1
+ z++
+ }
+ for (var X in q) q.hasOwnProperty(X) && z--
+ return z == 0
+ }
+ function N(O, q, z, X) {
+ var ke
+ if (z.persistent)
+ for (var we = q.persistentStates; we && !ke; we = we.next)
+ (z.spec ? b(z.spec, we.spec) : z.mode == we.mode) && (ke = we)
+ var te = ke ? ke.mode : z.mode || C.getMode(O, z.spec),
+ re = ke ? ke.state : C.startState(te)
+ z.persistent &&
+ !ke &&
+ (q.persistentStates = {
+ mode: te,
+ spec: z.spec,
+ state: re,
+ next: q.persistentStates,
+ }),
+ (q.localState = re),
+ (q.local = {
+ mode: te,
+ end: z.end && I(z.end),
+ endScan: z.end && z.forceEnd !== !1 && I(z.end, !1),
+ endToken: X && X.join ? X[X.length - 1] : X,
+ })
+ }
+ function _(O, q) {
+ for (var z = 0; z < q.length; z++) if (q[z] === O) return !0
+ }
+ function ie(O, q) {
+ return function (z, X, ke) {
+ if (z.local && z.local.mode.indent) return z.local.mode.indent(z.localState, X, ke)
+ if (
+ z.indent == null ||
+ z.local ||
+ (q.dontIndentStates && _(z.state, q.dontIndentStates) > -1)
+ )
+ return C.Pass
+ var we = z.indent.length - 1,
+ te = O[z.state]
+ e: for (;;) {
+ for (var re = 0; re < te.length; re++) {
+ var ne = te[re]
+ if (ne.data.dedent && ne.data.dedentIfLineStart !== !1) {
+ var se = ne.regex.exec(X)
+ if (se && se[0]) {
+ we--,
+ (ne.next || ne.push) && (te = O[ne.next || ne.push]),
+ (X = X.slice(se[0].length))
+ continue e
+ }
+ }
+ }
+ break
+ }
+ return we < 0 ? 0 : z.indent[we]
+ }
+ }
+ })
+ })()),
+ Na.exports
+ )
+}
+Xu()
+var Pa = { exports: {} },
+ Ia
+function Yu() {
+ return (
+ Ia ||
+ ((Ia = 1),
+ (function (Et, zt) {
+ ;(function (C) {
+ C(It())
+ })(function (C) {
+ C.defineMode('yaml', function () {
+ var De = ['true', 'false', 'on', 'off', 'yes', 'no'],
+ I = new RegExp('\\b((' + De.join(')|(') + '))$', 'i')
+ return {
+ token: function (K, $) {
+ var V = K.peek(),
+ b = $.escaped
+ if (
+ (($.escaped = !1),
+ V == '#' && (K.pos == 0 || /\s/.test(K.string.charAt(K.pos - 1))))
+ )
+ return K.skipToEnd(), 'comment'
+ if (K.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/)) return 'string'
+ if ($.literal && K.indentation() > $.keyCol) return K.skipToEnd(), 'string'
+ if (($.literal && ($.literal = !1), K.sol())) {
+ if (
+ (($.keyCol = 0),
+ ($.pair = !1),
+ ($.pairStart = !1),
+ K.match('---') || K.match('...'))
+ )
+ return 'def'
+ if (K.match(/\s*-\s+/)) return 'meta'
+ }
+ if (K.match(/^(\{|\}|\[|\])/))
+ return (
+ V == '{'
+ ? $.inlinePairs++
+ : V == '}'
+ ? $.inlinePairs--
+ : V == '['
+ ? $.inlineList++
+ : $.inlineList--,
+ 'meta'
+ )
+ if ($.inlineList > 0 && !b && V == ',') return K.next(), 'meta'
+ if ($.inlinePairs > 0 && !b && V == ',')
+ return ($.keyCol = 0), ($.pair = !1), ($.pairStart = !1), K.next(), 'meta'
+ if ($.pairStart) {
+ if (K.match(/^\s*(\||\>)\s*/)) return ($.literal = !0), 'meta'
+ if (K.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i)) return 'variable-2'
+ if (
+ ($.inlinePairs == 0 && K.match(/^\s*-?[0-9\.\,]+\s?$/)) ||
+ ($.inlinePairs > 0 && K.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))
+ )
+ return 'number'
+ if (K.match(I)) return 'keyword'
+ }
+ return !$.pair &&
+ K.match(
+ /^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^\s,\[\]{}#&*!|>'"%@`])[^#:]*(?=:($|\s))/
+ )
+ ? (($.pair = !0), ($.keyCol = K.indentation()), 'atom')
+ : $.pair && K.match(/^:\s*/)
+ ? (($.pairStart = !0), 'meta')
+ : (($.pairStart = !1), ($.escaped = V == '\\'), K.next(), null)
+ },
+ startState: function () {
+ return {
+ pair: !1,
+ pairStart: !1,
+ keyCol: 0,
+ inlinePairs: 0,
+ inlineList: 0,
+ literal: !1,
+ escaped: !1,
+ }
+ },
+ lineComment: '#',
+ fold: 'indent',
+ }
+ }),
+ C.defineMIME('text/x-yaml', 'yaml'),
+ C.defineMIME('text/yaml', 'yaml')
+ })
+ })()),
+ Pa.exports
+ )
+}
+Yu()
+export { Ju as default }
diff --git a/test/integration/next/playwright-report/trace/assets/defaultSettingsView-CzQxXsO4.js b/test/integration/next/playwright-report/trace/assets/defaultSettingsView-CzQxXsO4.js
new file mode 100644
index 00000000..988f9a51
--- /dev/null
+++ b/test/integration/next/playwright-report/trace/assets/defaultSettingsView-CzQxXsO4.js
@@ -0,0 +1,28375 @@
+const __vite__mapDeps = (
+ i,
+ m = __vite__mapDeps,
+ d = m.f || (m.f = ['./codeMirrorModule-BKr-mZ2D.js', '../codeMirrorModule.C3UTv-Ge.css'])
+) => i.map((i) => d[i])
+var p0 = Object.defineProperty
+var m0 = (t, e, n) =>
+ e in t ? p0(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : (t[e] = n)
+var Ee = (t, e, n) => m0(t, typeof e != 'symbol' ? e + '' : e, n)
+;(function () {
+ const e = document.createElement('link').relList
+ if (e && e.supports && e.supports('modulepreload')) return
+ for (const o of document.querySelectorAll('link[rel="modulepreload"]')) s(o)
+ new MutationObserver((o) => {
+ for (const l of o)
+ if (l.type === 'childList')
+ for (const c of l.addedNodes) c.tagName === 'LINK' && c.rel === 'modulepreload' && s(c)
+ }).observe(document, { childList: !0, subtree: !0 })
+ function n(o) {
+ const l = {}
+ return (
+ o.integrity && (l.integrity = o.integrity),
+ o.referrerPolicy && (l.referrerPolicy = o.referrerPolicy),
+ o.crossOrigin === 'use-credentials'
+ ? (l.credentials = 'include')
+ : o.crossOrigin === 'anonymous'
+ ? (l.credentials = 'omit')
+ : (l.credentials = 'same-origin'),
+ l
+ )
+ }
+ function s(o) {
+ if (o.ep) return
+ o.ep = !0
+ const l = n(o)
+ fetch(o.href, l)
+ }
+})()
+function g0(t) {
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, 'default') ? t.default : t
+}
+var tu = { exports: {} },
+ _i = {},
+ nu = { exports: {} },
+ me = {}
+/**
+ * @license React
+ * react.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */ var kp
+function y0() {
+ if (kp) return me
+ kp = 1
+ var t = Symbol.for('react.element'),
+ e = Symbol.for('react.portal'),
+ n = Symbol.for('react.fragment'),
+ s = Symbol.for('react.strict_mode'),
+ o = Symbol.for('react.profiler'),
+ l = Symbol.for('react.provider'),
+ c = Symbol.for('react.context'),
+ u = Symbol.for('react.forward_ref'),
+ d = Symbol.for('react.suspense'),
+ p = Symbol.for('react.memo'),
+ g = Symbol.for('react.lazy'),
+ y = Symbol.iterator
+ function v(I) {
+ return I === null || typeof I != 'object'
+ ? null
+ : ((I = (y && I[y]) || I['@@iterator']), typeof I == 'function' ? I : null)
+ }
+ var S = {
+ isMounted: function () {
+ return !1
+ },
+ enqueueForceUpdate: function () {},
+ enqueueReplaceState: function () {},
+ enqueueSetState: function () {},
+ },
+ k = Object.assign,
+ _ = {}
+ function E(I, H, de) {
+ ;(this.props = I), (this.context = H), (this.refs = _), (this.updater = de || S)
+ }
+ ;(E.prototype.isReactComponent = {}),
+ (E.prototype.setState = function (I, H) {
+ if (typeof I != 'object' && typeof I != 'function' && I != null)
+ throw Error(
+ 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.'
+ )
+ this.updater.enqueueSetState(this, I, H, 'setState')
+ }),
+ (E.prototype.forceUpdate = function (I) {
+ this.updater.enqueueForceUpdate(this, I, 'forceUpdate')
+ })
+ function C() {}
+ C.prototype = E.prototype
+ function A(I, H, de) {
+ ;(this.props = I), (this.context = H), (this.refs = _), (this.updater = de || S)
+ }
+ var O = (A.prototype = new C())
+ ;(O.constructor = A), k(O, E.prototype), (O.isPureReactComponent = !0)
+ var D = Array.isArray,
+ F = Object.prototype.hasOwnProperty,
+ z = { current: null },
+ q = { key: !0, ref: !0, __self: !0, __source: !0 }
+ function B(I, H, de) {
+ var fe,
+ pe = {},
+ ye = null,
+ Se = null
+ if (H != null)
+ for (fe in (H.ref !== void 0 && (Se = H.ref), H.key !== void 0 && (ye = '' + H.key), H))
+ F.call(H, fe) && !q.hasOwnProperty(fe) && (pe[fe] = H[fe])
+ var he = arguments.length - 2
+ if (he === 1) pe.children = de
+ else if (1 < he) {
+ for (var _e = Array(he), ct = 0; ct < he; ct++) _e[ct] = arguments[ct + 2]
+ pe.children = _e
+ }
+ if (I && I.defaultProps)
+ for (fe in ((he = I.defaultProps), he)) pe[fe] === void 0 && (pe[fe] = he[fe])
+ return { $$typeof: t, type: I, key: ye, ref: Se, props: pe, _owner: z.current }
+ }
+ function M(I, H) {
+ return { $$typeof: t, type: I.type, key: H, ref: I.ref, props: I.props, _owner: I._owner }
+ }
+ function G(I) {
+ return typeof I == 'object' && I !== null && I.$$typeof === t
+ }
+ function K(I) {
+ var H = { '=': '=0', ':': '=2' }
+ return (
+ '$' +
+ I.replace(/[=:]/g, function (de) {
+ return H[de]
+ })
+ )
+ }
+ var $ = /\/+/g
+ function X(I, H) {
+ return typeof I == 'object' && I !== null && I.key != null ? K('' + I.key) : H.toString(36)
+ }
+ function ce(I, H, de, fe, pe) {
+ var ye = typeof I
+ ;(ye === 'undefined' || ye === 'boolean') && (I = null)
+ var Se = !1
+ if (I === null) Se = !0
+ else
+ switch (ye) {
+ case 'string':
+ case 'number':
+ Se = !0
+ break
+ case 'object':
+ switch (I.$$typeof) {
+ case t:
+ case e:
+ Se = !0
+ }
+ }
+ if (Se)
+ return (
+ (Se = I),
+ (pe = pe(Se)),
+ (I = fe === '' ? '.' + X(Se, 0) : fe),
+ D(pe)
+ ? ((de = ''),
+ I != null && (de = I.replace($, '$&/') + '/'),
+ ce(pe, H, de, '', function (ct) {
+ return ct
+ }))
+ : pe != null &&
+ (G(pe) &&
+ (pe = M(
+ pe,
+ de +
+ (!pe.key || (Se && Se.key === pe.key)
+ ? ''
+ : ('' + pe.key).replace($, '$&/') + '/') +
+ I
+ )),
+ H.push(pe)),
+ 1
+ )
+ if (((Se = 0), (fe = fe === '' ? '.' : fe + ':'), D(I)))
+ for (var he = 0; he < I.length; he++) {
+ ye = I[he]
+ var _e = fe + X(ye, he)
+ Se += ce(ye, H, de, _e, pe)
+ }
+ else if (((_e = v(I)), typeof _e == 'function'))
+ for (I = _e.call(I), he = 0; !(ye = I.next()).done; )
+ (ye = ye.value), (_e = fe + X(ye, he++)), (Se += ce(ye, H, de, _e, pe))
+ else if (ye === 'object')
+ throw (
+ ((H = String(I)),
+ Error(
+ 'Objects are not valid as a React child (found: ' +
+ (H === '[object Object]' ? 'object with keys {' + Object.keys(I).join(', ') + '}' : H) +
+ '). If you meant to render a collection of children, use an array instead.'
+ ))
+ )
+ return Se
+ }
+ function Ae(I, H, de) {
+ if (I == null) return I
+ var fe = [],
+ pe = 0
+ return (
+ ce(I, fe, '', '', function (ye) {
+ return H.call(de, ye, pe++)
+ }),
+ fe
+ )
+ }
+ function be(I) {
+ if (I._status === -1) {
+ var H = I._result
+ ;(H = H()),
+ H.then(
+ function (de) {
+ ;(I._status === 0 || I._status === -1) && ((I._status = 1), (I._result = de))
+ },
+ function (de) {
+ ;(I._status === 0 || I._status === -1) && ((I._status = 2), (I._result = de))
+ }
+ ),
+ I._status === -1 && ((I._status = 0), (I._result = H))
+ }
+ if (I._status === 1) return I._result.default
+ throw I._result
+ }
+ var ge = { current: null },
+ J = { transition: null },
+ se = { ReactCurrentDispatcher: ge, ReactCurrentBatchConfig: J, ReactCurrentOwner: z }
+ function Z() {
+ throw Error('act(...) is not supported in production builds of React.')
+ }
+ return (
+ (me.Children = {
+ map: Ae,
+ forEach: function (I, H, de) {
+ Ae(
+ I,
+ function () {
+ H.apply(this, arguments)
+ },
+ de
+ )
+ },
+ count: function (I) {
+ var H = 0
+ return (
+ Ae(I, function () {
+ H++
+ }),
+ H
+ )
+ },
+ toArray: function (I) {
+ return (
+ Ae(I, function (H) {
+ return H
+ }) || []
+ )
+ },
+ only: function (I) {
+ if (!G(I))
+ throw Error('React.Children.only expected to receive a single React element child.')
+ return I
+ },
+ }),
+ (me.Component = E),
+ (me.Fragment = n),
+ (me.Profiler = o),
+ (me.PureComponent = A),
+ (me.StrictMode = s),
+ (me.Suspense = d),
+ (me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = se),
+ (me.act = Z),
+ (me.cloneElement = function (I, H, de) {
+ if (I == null)
+ throw Error(
+ 'React.cloneElement(...): The argument must be a React element, but you passed ' + I + '.'
+ )
+ var fe = k({}, I.props),
+ pe = I.key,
+ ye = I.ref,
+ Se = I._owner
+ if (H != null) {
+ if (
+ (H.ref !== void 0 && ((ye = H.ref), (Se = z.current)),
+ H.key !== void 0 && (pe = '' + H.key),
+ I.type && I.type.defaultProps)
+ )
+ var he = I.type.defaultProps
+ for (_e in H)
+ F.call(H, _e) &&
+ !q.hasOwnProperty(_e) &&
+ (fe[_e] = H[_e] === void 0 && he !== void 0 ? he[_e] : H[_e])
+ }
+ var _e = arguments.length - 2
+ if (_e === 1) fe.children = de
+ else if (1 < _e) {
+ he = Array(_e)
+ for (var ct = 0; ct < _e; ct++) he[ct] = arguments[ct + 2]
+ fe.children = he
+ }
+ return { $$typeof: t, type: I.type, key: pe, ref: ye, props: fe, _owner: Se }
+ }),
+ (me.createContext = function (I) {
+ return (
+ (I = {
+ $$typeof: c,
+ _currentValue: I,
+ _currentValue2: I,
+ _threadCount: 0,
+ Provider: null,
+ Consumer: null,
+ _defaultValue: null,
+ _globalName: null,
+ }),
+ (I.Provider = { $$typeof: l, _context: I }),
+ (I.Consumer = I)
+ )
+ }),
+ (me.createElement = B),
+ (me.createFactory = function (I) {
+ var H = B.bind(null, I)
+ return (H.type = I), H
+ }),
+ (me.createRef = function () {
+ return { current: null }
+ }),
+ (me.forwardRef = function (I) {
+ return { $$typeof: u, render: I }
+ }),
+ (me.isValidElement = G),
+ (me.lazy = function (I) {
+ return { $$typeof: g, _payload: { _status: -1, _result: I }, _init: be }
+ }),
+ (me.memo = function (I, H) {
+ return { $$typeof: p, type: I, compare: H === void 0 ? null : H }
+ }),
+ (me.startTransition = function (I) {
+ var H = J.transition
+ J.transition = {}
+ try {
+ I()
+ } finally {
+ J.transition = H
+ }
+ }),
+ (me.unstable_act = Z),
+ (me.useCallback = function (I, H) {
+ return ge.current.useCallback(I, H)
+ }),
+ (me.useContext = function (I) {
+ return ge.current.useContext(I)
+ }),
+ (me.useDebugValue = function () {}),
+ (me.useDeferredValue = function (I) {
+ return ge.current.useDeferredValue(I)
+ }),
+ (me.useEffect = function (I, H) {
+ return ge.current.useEffect(I, H)
+ }),
+ (me.useId = function () {
+ return ge.current.useId()
+ }),
+ (me.useImperativeHandle = function (I, H, de) {
+ return ge.current.useImperativeHandle(I, H, de)
+ }),
+ (me.useInsertionEffect = function (I, H) {
+ return ge.current.useInsertionEffect(I, H)
+ }),
+ (me.useLayoutEffect = function (I, H) {
+ return ge.current.useLayoutEffect(I, H)
+ }),
+ (me.useMemo = function (I, H) {
+ return ge.current.useMemo(I, H)
+ }),
+ (me.useReducer = function (I, H, de) {
+ return ge.current.useReducer(I, H, de)
+ }),
+ (me.useRef = function (I) {
+ return ge.current.useRef(I)
+ }),
+ (me.useState = function (I) {
+ return ge.current.useState(I)
+ }),
+ (me.useSyncExternalStore = function (I, H, de) {
+ return ge.current.useSyncExternalStore(I, H, de)
+ }),
+ (me.useTransition = function () {
+ return ge.current.useTransition()
+ }),
+ (me.version = '18.3.1'),
+ me
+ )
+}
+var bp
+function Vu() {
+ return bp || ((bp = 1), (nu.exports = y0())), nu.exports
+}
+/**
+ * @license React
+ * react-jsx-runtime.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */ var Tp
+function v0() {
+ if (Tp) return _i
+ Tp = 1
+ var t = Vu(),
+ e = Symbol.for('react.element'),
+ n = Symbol.for('react.fragment'),
+ s = Object.prototype.hasOwnProperty,
+ o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
+ l = { key: !0, ref: !0, __self: !0, __source: !0 }
+ function c(u, d, p) {
+ var g,
+ y = {},
+ v = null,
+ S = null
+ p !== void 0 && (v = '' + p),
+ d.key !== void 0 && (v = '' + d.key),
+ d.ref !== void 0 && (S = d.ref)
+ for (g in d) s.call(d, g) && !l.hasOwnProperty(g) && (y[g] = d[g])
+ if (u && u.defaultProps) for (g in ((d = u.defaultProps), d)) y[g] === void 0 && (y[g] = d[g])
+ return { $$typeof: e, type: u, key: v, ref: S, props: y, _owner: o.current }
+ }
+ return (_i.Fragment = n), (_i.jsx = c), (_i.jsxs = c), _i
+}
+var Cp
+function w0() {
+ return Cp || ((Cp = 1), (tu.exports = v0())), tu.exports
+}
+var w = w0(),
+ R = Vu()
+const Mt = g0(R)
+function Ml(t, e, n, s) {
+ const [o, l] = Mt.useState(n)
+ return (
+ Mt.useEffect(() => {
+ let c = !1
+ return (
+ t().then((u) => {
+ c || l(u)
+ }),
+ () => {
+ c = !0
+ }
+ )
+ }, e),
+ o
+ )
+}
+function Nr() {
+ const t = Mt.useRef(null),
+ [e, n] = Mt.useState(new DOMRect(0, 0, 10, 10))
+ return (
+ Mt.useLayoutEffect(() => {
+ const s = t.current
+ if (!s) return
+ const o = s.getBoundingClientRect()
+ n(new DOMRect(0, 0, o.width, o.height))
+ const l = new ResizeObserver((c) => {
+ const u = c[c.length - 1]
+ u && u.contentRect && n(u.contentRect)
+ })
+ return l.observe(s), () => l.disconnect()
+ }, [t]),
+ [e, t]
+ )
+}
+function pt(t) {
+ if (t < 0 || !isFinite(t)) return '-'
+ if (t === 0) return '0'
+ if (t < 1e3) return t.toFixed(0) + 'ms'
+ const e = t / 1e3
+ if (e < 60) return e.toFixed(1) + 's'
+ const n = e / 60
+ if (n < 60) return n.toFixed(1) + 'm'
+ const s = n / 60
+ return s < 24 ? s.toFixed(1) + 'h' : (s / 24).toFixed(1) + 'd'
+}
+function S0(t) {
+ if (t < 0 || !isFinite(t)) return '-'
+ if (t === 0) return '0'
+ if (t < 1e3) return t.toFixed(0)
+ const e = t / 1024
+ if (e < 1e3) return e.toFixed(1) + 'K'
+ const n = e / 1024
+ return n < 1e3 ? n.toFixed(1) + 'M' : (n / 1024).toFixed(1) + 'G'
+}
+function Om(t, e, n, s, o) {
+ let l = 0,
+ c = t.length
+ for (; l < c; ) {
+ const u = (l + c) >> 1
+ n(e, t[u]) >= 0 ? (l = u + 1) : (c = u)
+ }
+ return c
+}
+function Np(t) {
+ const e = document.createElement('textarea')
+ ;(e.style.position = 'absolute'),
+ (e.style.zIndex = '-1000'),
+ (e.value = t),
+ document.body.appendChild(e),
+ e.select(),
+ document.execCommand('copy'),
+ e.remove()
+}
+function Es(t, e) {
+ t && (e = Sr.getObject(t, e))
+ const [n, s] = Mt.useState(e),
+ o = Mt.useCallback(
+ (l) => {
+ t ? Sr.setObject(t, l) : s(l)
+ },
+ [t, s]
+ )
+ return (
+ Mt.useEffect(() => {
+ if (t) {
+ const l = () => s(Sr.getObject(t, e))
+ return (
+ Sr.onChangeEmitter.addEventListener(t, l),
+ () => Sr.onChangeEmitter.removeEventListener(t, l)
+ )
+ }
+ }, [e, t]),
+ [n, o]
+ )
+}
+class x0 {
+ constructor() {
+ this.onChangeEmitter = new EventTarget()
+ }
+ getString(e, n) {
+ return localStorage[e] || n
+ }
+ setString(e, n) {
+ var s
+ ;(localStorage[e] = n),
+ this.onChangeEmitter.dispatchEvent(new Event(e)),
+ (s = window.saveSettings) == null || s.call(window)
+ }
+ getObject(e, n) {
+ if (!localStorage[e]) return n
+ try {
+ return JSON.parse(localStorage[e])
+ } catch {
+ return n
+ }
+ }
+ setObject(e, n) {
+ var s
+ ;(localStorage[e] = JSON.stringify(n)),
+ this.onChangeEmitter.dispatchEvent(new Event(e)),
+ (s = window.saveSettings) == null || s.call(window)
+ }
+}
+const Sr = new x0()
+function ze(...t) {
+ return t.filter(Boolean).join(' ')
+}
+function $m(t) {
+ t &&
+ (t != null && t.scrollIntoViewIfNeeded
+ ? t.scrollIntoViewIfNeeded(!1)
+ : t == null || t.scrollIntoView())
+}
+const Ap = '\\u0000-\\u0020\\u007f-\\u009f',
+ Rm = new RegExp(
+ '(?:[a-zA-Z][a-zA-Z0-9+.-]{2,}:\\/\\/|www\\.)[^\\s' +
+ Ap +
+ '"]{2,}[^\\s' +
+ Ap +
+ `"')}\\],:;.!?]`,
+ 'ug'
+ )
+function _0() {
+ const [t, e] = Mt.useState(!1),
+ n = Mt.useCallback(() => {
+ const s = []
+ return (
+ e(
+ (o) => (
+ s.push(setTimeout(() => e(!1), 1e3)), o ? (s.push(setTimeout(() => e(!0), 50)), !1) : !0
+ )
+ ),
+ () => s.forEach(clearTimeout)
+ )
+ }, [e])
+ return [t, n]
+}
+function Tk() {
+ if (document.playwrightThemeInitialized) return
+ ;(document.playwrightThemeInitialized = !0),
+ document.defaultView.addEventListener(
+ 'focus',
+ (s) => {
+ s.target.document.nodeType === Node.DOCUMENT_NODE &&
+ document.body.classList.remove('inactive')
+ },
+ !1
+ ),
+ document.defaultView.addEventListener(
+ 'blur',
+ (s) => {
+ document.body.classList.add('inactive')
+ },
+ !1
+ )
+ const e = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark-mode' : 'light-mode'
+ Sr.getString('theme', e) === 'dark-mode' && document.body.classList.add('dark-mode')
+}
+const Wu = new Set()
+function E0() {
+ const t = Nu(),
+ e = t === 'dark-mode' ? 'light-mode' : 'dark-mode'
+ t && document.body.classList.remove(t), document.body.classList.add(e), Sr.setString('theme', e)
+ for (const n of Wu) n(e)
+}
+function Ck(t) {
+ Wu.add(t)
+}
+function Nk(t) {
+ Wu.delete(t)
+}
+function Nu() {
+ return document.body.classList.contains('dark-mode') ? 'dark-mode' : 'light-mode'
+}
+function k0() {
+ const [t, e] = Mt.useState(Nu() === 'dark-mode')
+ return [
+ t,
+ (n) => {
+ ;(Nu() === 'dark-mode') !== n && E0(), e(n)
+ },
+ ]
+}
+var al = {},
+ ru = { exports: {} },
+ xt = {},
+ su = { exports: {} },
+ iu = {}
+/**
+ * @license React
+ * scheduler.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */ var Ip
+function b0() {
+ return (
+ Ip ||
+ ((Ip = 1),
+ (function (t) {
+ function e(J, se) {
+ var Z = J.length
+ J.push(se)
+ e: for (; 0 < Z; ) {
+ var I = (Z - 1) >>> 1,
+ H = J[I]
+ if (0 < o(H, se)) (J[I] = se), (J[Z] = H), (Z = I)
+ else break e
+ }
+ }
+ function n(J) {
+ return J.length === 0 ? null : J[0]
+ }
+ function s(J) {
+ if (J.length === 0) return null
+ var se = J[0],
+ Z = J.pop()
+ if (Z !== se) {
+ J[0] = Z
+ e: for (var I = 0, H = J.length, de = H >>> 1; I < de; ) {
+ var fe = 2 * (I + 1) - 1,
+ pe = J[fe],
+ ye = fe + 1,
+ Se = J[ye]
+ if (0 > o(pe, Z))
+ ye < H && 0 > o(Se, pe)
+ ? ((J[I] = Se), (J[ye] = Z), (I = ye))
+ : ((J[I] = pe), (J[fe] = Z), (I = fe))
+ else if (ye < H && 0 > o(Se, Z)) (J[I] = Se), (J[ye] = Z), (I = ye)
+ else break e
+ }
+ }
+ return se
+ }
+ function o(J, se) {
+ var Z = J.sortIndex - se.sortIndex
+ return Z !== 0 ? Z : J.id - se.id
+ }
+ if (typeof performance == 'object' && typeof performance.now == 'function') {
+ var l = performance
+ t.unstable_now = function () {
+ return l.now()
+ }
+ } else {
+ var c = Date,
+ u = c.now()
+ t.unstable_now = function () {
+ return c.now() - u
+ }
+ }
+ var d = [],
+ p = [],
+ g = 1,
+ y = null,
+ v = 3,
+ S = !1,
+ k = !1,
+ _ = !1,
+ E = typeof setTimeout == 'function' ? setTimeout : null,
+ C = typeof clearTimeout == 'function' ? clearTimeout : null,
+ A = typeof setImmediate < 'u' ? setImmediate : null
+ typeof navigator < 'u' &&
+ navigator.scheduling !== void 0 &&
+ navigator.scheduling.isInputPending !== void 0 &&
+ navigator.scheduling.isInputPending.bind(navigator.scheduling)
+ function O(J) {
+ for (var se = n(p); se !== null; ) {
+ if (se.callback === null) s(p)
+ else if (se.startTime <= J) s(p), (se.sortIndex = se.expirationTime), e(d, se)
+ else break
+ se = n(p)
+ }
+ }
+ function D(J) {
+ if (((_ = !1), O(J), !k))
+ if (n(d) !== null) (k = !0), be(F)
+ else {
+ var se = n(p)
+ se !== null && ge(D, se.startTime - J)
+ }
+ }
+ function F(J, se) {
+ ;(k = !1), _ && ((_ = !1), C(B), (B = -1)), (S = !0)
+ var Z = v
+ try {
+ for (O(se), y = n(d); y !== null && (!(y.expirationTime > se) || (J && !K())); ) {
+ var I = y.callback
+ if (typeof I == 'function') {
+ ;(y.callback = null), (v = y.priorityLevel)
+ var H = I(y.expirationTime <= se)
+ ;(se = t.unstable_now()),
+ typeof H == 'function' ? (y.callback = H) : y === n(d) && s(d),
+ O(se)
+ } else s(d)
+ y = n(d)
+ }
+ if (y !== null) var de = !0
+ else {
+ var fe = n(p)
+ fe !== null && ge(D, fe.startTime - se), (de = !1)
+ }
+ return de
+ } finally {
+ ;(y = null), (v = Z), (S = !1)
+ }
+ }
+ var z = !1,
+ q = null,
+ B = -1,
+ M = 5,
+ G = -1
+ function K() {
+ return !(t.unstable_now() - G < M)
+ }
+ function $() {
+ if (q !== null) {
+ var J = t.unstable_now()
+ G = J
+ var se = !0
+ try {
+ se = q(!0, J)
+ } finally {
+ se ? X() : ((z = !1), (q = null))
+ }
+ } else z = !1
+ }
+ var X
+ if (typeof A == 'function')
+ X = function () {
+ A($)
+ }
+ else if (typeof MessageChannel < 'u') {
+ var ce = new MessageChannel(),
+ Ae = ce.port2
+ ;(ce.port1.onmessage = $),
+ (X = function () {
+ Ae.postMessage(null)
+ })
+ } else
+ X = function () {
+ E($, 0)
+ }
+ function be(J) {
+ ;(q = J), z || ((z = !0), X())
+ }
+ function ge(J, se) {
+ B = E(function () {
+ J(t.unstable_now())
+ }, se)
+ }
+ ;(t.unstable_IdlePriority = 5),
+ (t.unstable_ImmediatePriority = 1),
+ (t.unstable_LowPriority = 4),
+ (t.unstable_NormalPriority = 3),
+ (t.unstable_Profiling = null),
+ (t.unstable_UserBlockingPriority = 2),
+ (t.unstable_cancelCallback = function (J) {
+ J.callback = null
+ }),
+ (t.unstable_continueExecution = function () {
+ k || S || ((k = !0), be(F))
+ }),
+ (t.unstable_forceFrameRate = function (J) {
+ 0 > J || 125 < J
+ ? console.error(
+ 'forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported'
+ )
+ : (M = 0 < J ? Math.floor(1e3 / J) : 5)
+ }),
+ (t.unstable_getCurrentPriorityLevel = function () {
+ return v
+ }),
+ (t.unstable_getFirstCallbackNode = function () {
+ return n(d)
+ }),
+ (t.unstable_next = function (J) {
+ switch (v) {
+ case 1:
+ case 2:
+ case 3:
+ var se = 3
+ break
+ default:
+ se = v
+ }
+ var Z = v
+ v = se
+ try {
+ return J()
+ } finally {
+ v = Z
+ }
+ }),
+ (t.unstable_pauseExecution = function () {}),
+ (t.unstable_requestPaint = function () {}),
+ (t.unstable_runWithPriority = function (J, se) {
+ switch (J) {
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ break
+ default:
+ J = 3
+ }
+ var Z = v
+ v = J
+ try {
+ return se()
+ } finally {
+ v = Z
+ }
+ }),
+ (t.unstable_scheduleCallback = function (J, se, Z) {
+ var I = t.unstable_now()
+ switch (
+ (typeof Z == 'object' && Z !== null
+ ? ((Z = Z.delay), (Z = typeof Z == 'number' && 0 < Z ? I + Z : I))
+ : (Z = I),
+ J)
+ ) {
+ case 1:
+ var H = -1
+ break
+ case 2:
+ H = 250
+ break
+ case 5:
+ H = 1073741823
+ break
+ case 4:
+ H = 1e4
+ break
+ default:
+ H = 5e3
+ }
+ return (
+ (H = Z + H),
+ (J = {
+ id: g++,
+ callback: se,
+ priorityLevel: J,
+ startTime: Z,
+ expirationTime: H,
+ sortIndex: -1,
+ }),
+ Z > I
+ ? ((J.sortIndex = Z),
+ e(p, J),
+ n(d) === null && J === n(p) && (_ ? (C(B), (B = -1)) : (_ = !0), ge(D, Z - I)))
+ : ((J.sortIndex = H), e(d, J), k || S || ((k = !0), be(F))),
+ J
+ )
+ }),
+ (t.unstable_shouldYield = K),
+ (t.unstable_wrapCallback = function (J) {
+ var se = v
+ return function () {
+ var Z = v
+ v = se
+ try {
+ return J.apply(this, arguments)
+ } finally {
+ v = Z
+ }
+ }
+ })
+ })(iu)),
+ iu
+ )
+}
+var Lp
+function T0() {
+ return Lp || ((Lp = 1), (su.exports = b0())), su.exports
+}
+/**
+ * @license React
+ * react-dom.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */ var Mp
+function C0() {
+ if (Mp) return xt
+ Mp = 1
+ var t = Vu(),
+ e = T0()
+ function n(r) {
+ for (
+ var i = 'https://reactjs.org/docs/error-decoder.html?invariant=' + r, a = 1;
+ a < arguments.length;
+ a++
+ )
+ i += '&args[]=' + encodeURIComponent(arguments[a])
+ return (
+ 'Minified React error #' +
+ r +
+ '; visit ' +
+ i +
+ ' for the full message or use the non-minified dev environment for full errors and additional helpful warnings.'
+ )
+ }
+ var s = new Set(),
+ o = {}
+ function l(r, i) {
+ c(r, i), c(r + 'Capture', i)
+ }
+ function c(r, i) {
+ for (o[r] = i, r = 0; r < i.length; r++) s.add(i[r])
+ }
+ var u = !(
+ typeof window > 'u' ||
+ typeof window.document > 'u' ||
+ typeof window.document.createElement > 'u'
+ ),
+ d = Object.prototype.hasOwnProperty,
+ p =
+ /^[: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]*$/,
+ g = {},
+ y = {}
+ function v(r) {
+ return d.call(y, r) ? !0 : d.call(g, r) ? !1 : p.test(r) ? (y[r] = !0) : ((g[r] = !0), !1)
+ }
+ function S(r, i, a, f) {
+ if (a !== null && a.type === 0) return !1
+ switch (typeof i) {
+ case 'function':
+ case 'symbol':
+ return !0
+ case 'boolean':
+ return f
+ ? !1
+ : a !== null
+ ? !a.acceptsBooleans
+ : ((r = r.toLowerCase().slice(0, 5)), r !== 'data-' && r !== 'aria-')
+ default:
+ return !1
+ }
+ }
+ function k(r, i, a, f) {
+ if (i === null || typeof i > 'u' || S(r, i, a, f)) return !0
+ if (f) return !1
+ if (a !== null)
+ switch (a.type) {
+ case 3:
+ return !i
+ case 4:
+ return i === !1
+ case 5:
+ return isNaN(i)
+ case 6:
+ return isNaN(i) || 1 > i
+ }
+ return !1
+ }
+ function _(r, i, a, f, h, m, x) {
+ ;(this.acceptsBooleans = i === 2 || i === 3 || i === 4),
+ (this.attributeName = f),
+ (this.attributeNamespace = h),
+ (this.mustUseProperty = a),
+ (this.propertyName = r),
+ (this.type = i),
+ (this.sanitizeURL = m),
+ (this.removeEmptyString = x)
+ }
+ var E = {}
+ 'children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style'
+ .split(' ')
+ .forEach(function (r) {
+ E[r] = new _(r, 0, !1, r, null, !1, !1)
+ }),
+ [
+ ['acceptCharset', 'accept-charset'],
+ ['className', 'class'],
+ ['htmlFor', 'for'],
+ ['httpEquiv', 'http-equiv'],
+ ].forEach(function (r) {
+ var i = r[0]
+ E[i] = new _(i, 1, !1, r[1], null, !1, !1)
+ }),
+ ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (r) {
+ E[r] = new _(r, 2, !1, r.toLowerCase(), null, !1, !1)
+ }),
+ ['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (
+ r
+ ) {
+ E[r] = new _(r, 2, !1, r, null, !1, !1)
+ }),
+ 'allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope'
+ .split(' ')
+ .forEach(function (r) {
+ E[r] = new _(r, 3, !1, r.toLowerCase(), null, !1, !1)
+ }),
+ ['checked', 'multiple', 'muted', 'selected'].forEach(function (r) {
+ E[r] = new _(r, 3, !0, r, null, !1, !1)
+ }),
+ ['capture', 'download'].forEach(function (r) {
+ E[r] = new _(r, 4, !1, r, null, !1, !1)
+ }),
+ ['cols', 'rows', 'size', 'span'].forEach(function (r) {
+ E[r] = new _(r, 6, !1, r, null, !1, !1)
+ }),
+ ['rowSpan', 'start'].forEach(function (r) {
+ E[r] = new _(r, 5, !1, r.toLowerCase(), null, !1, !1)
+ })
+ var C = /[\-:]([a-z])/g
+ function A(r) {
+ return r[1].toUpperCase()
+ }
+ 'accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height'
+ .split(' ')
+ .forEach(function (r) {
+ var i = r.replace(C, A)
+ E[i] = new _(i, 1, !1, r, null, !1, !1)
+ }),
+ 'xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type'
+ .split(' ')
+ .forEach(function (r) {
+ var i = r.replace(C, A)
+ E[i] = new _(i, 1, !1, r, 'http://www.w3.org/1999/xlink', !1, !1)
+ }),
+ ['xml:base', 'xml:lang', 'xml:space'].forEach(function (r) {
+ var i = r.replace(C, A)
+ E[i] = new _(i, 1, !1, r, 'http://www.w3.org/XML/1998/namespace', !1, !1)
+ }),
+ ['tabIndex', 'crossOrigin'].forEach(function (r) {
+ E[r] = new _(r, 1, !1, r.toLowerCase(), null, !1, !1)
+ }),
+ (E.xlinkHref = new _('xlinkHref', 1, !1, 'xlink:href', 'http://www.w3.org/1999/xlink', !0, !1)),
+ ['src', 'href', 'action', 'formAction'].forEach(function (r) {
+ E[r] = new _(r, 1, !1, r.toLowerCase(), null, !0, !0)
+ })
+ function O(r, i, a, f) {
+ var h = E.hasOwnProperty(i) ? E[i] : null
+ ;(h !== null
+ ? h.type !== 0
+ : f || !(2 < i.length) || (i[0] !== 'o' && i[0] !== 'O') || (i[1] !== 'n' && i[1] !== 'N')) &&
+ (k(i, a, h, f) && (a = null),
+ f || h === null
+ ? v(i) && (a === null ? r.removeAttribute(i) : r.setAttribute(i, '' + a))
+ : h.mustUseProperty
+ ? (r[h.propertyName] = a === null ? (h.type === 3 ? !1 : '') : a)
+ : ((i = h.attributeName),
+ (f = h.attributeNamespace),
+ a === null
+ ? r.removeAttribute(i)
+ : ((h = h.type),
+ (a = h === 3 || (h === 4 && a === !0) ? '' : '' + a),
+ f ? r.setAttributeNS(f, i, a) : r.setAttribute(i, a))))
+ }
+ var D = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
+ F = Symbol.for('react.element'),
+ z = Symbol.for('react.portal'),
+ q = Symbol.for('react.fragment'),
+ B = Symbol.for('react.strict_mode'),
+ M = Symbol.for('react.profiler'),
+ G = Symbol.for('react.provider'),
+ K = Symbol.for('react.context'),
+ $ = Symbol.for('react.forward_ref'),
+ X = Symbol.for('react.suspense'),
+ ce = Symbol.for('react.suspense_list'),
+ Ae = Symbol.for('react.memo'),
+ be = Symbol.for('react.lazy'),
+ ge = Symbol.for('react.offscreen'),
+ J = Symbol.iterator
+ function se(r) {
+ return r === null || typeof r != 'object'
+ ? null
+ : ((r = (J && r[J]) || r['@@iterator']), typeof r == 'function' ? r : null)
+ }
+ var Z = Object.assign,
+ I
+ function H(r) {
+ if (I === void 0)
+ try {
+ throw Error()
+ } catch (a) {
+ var i = a.stack.trim().match(/\n( *(at )?)/)
+ I = (i && i[1]) || ''
+ }
+ return (
+ `
+` +
+ I +
+ r
+ )
+ }
+ var de = !1
+ function fe(r, i) {
+ if (!r || de) return ''
+ de = !0
+ var a = Error.prepareStackTrace
+ Error.prepareStackTrace = void 0
+ try {
+ if (i)
+ if (
+ ((i = function () {
+ throw Error()
+ }),
+ Object.defineProperty(i.prototype, 'props', {
+ set: function () {
+ throw Error()
+ },
+ }),
+ typeof Reflect == 'object' && Reflect.construct)
+ ) {
+ try {
+ Reflect.construct(i, [])
+ } catch (P) {
+ var f = P
+ }
+ Reflect.construct(r, [], i)
+ } else {
+ try {
+ i.call()
+ } catch (P) {
+ f = P
+ }
+ r.call(i.prototype)
+ }
+ else {
+ try {
+ throw Error()
+ } catch (P) {
+ f = P
+ }
+ r()
+ }
+ } catch (P) {
+ if (P && f && typeof P.stack == 'string') {
+ for (
+ var h = P.stack.split(`
+`),
+ m = f.stack.split(`
+`),
+ x = h.length - 1,
+ b = m.length - 1;
+ 1 <= x && 0 <= b && h[x] !== m[b];
+
+ )
+ b--
+ for (; 1 <= x && 0 <= b; x--, b--)
+ if (h[x] !== m[b]) {
+ if (x !== 1 || b !== 1)
+ do
+ if ((x--, b--, 0 > b || h[x] !== m[b])) {
+ var T =
+ `
+` + h[x].replace(' at new ', ' at ')
+ return (
+ r.displayName &&
+ T.includes('') &&
+ (T = T.replace('', r.displayName)),
+ T
+ )
+ }
+ while (1 <= x && 0 <= b)
+ break
+ }
+ }
+ } finally {
+ ;(de = !1), (Error.prepareStackTrace = a)
+ }
+ return (r = r ? r.displayName || r.name : '') ? H(r) : ''
+ }
+ function pe(r) {
+ switch (r.tag) {
+ case 5:
+ return H(r.type)
+ case 16:
+ return H('Lazy')
+ case 13:
+ return H('Suspense')
+ case 19:
+ return H('SuspenseList')
+ case 0:
+ case 2:
+ case 15:
+ return (r = fe(r.type, !1)), r
+ case 11:
+ return (r = fe(r.type.render, !1)), r
+ case 1:
+ return (r = fe(r.type, !0)), r
+ default:
+ return ''
+ }
+ }
+ function ye(r) {
+ if (r == null) return null
+ if (typeof r == 'function') return r.displayName || r.name || null
+ if (typeof r == 'string') return r
+ switch (r) {
+ case q:
+ return 'Fragment'
+ case z:
+ return 'Portal'
+ case M:
+ return 'Profiler'
+ case B:
+ return 'StrictMode'
+ case X:
+ return 'Suspense'
+ case ce:
+ return 'SuspenseList'
+ }
+ if (typeof r == 'object')
+ switch (r.$$typeof) {
+ case K:
+ return (r.displayName || 'Context') + '.Consumer'
+ case G:
+ return (r._context.displayName || 'Context') + '.Provider'
+ case $:
+ var i = r.render
+ return (
+ (r = r.displayName),
+ r ||
+ ((r = i.displayName || i.name || ''),
+ (r = r !== '' ? 'ForwardRef(' + r + ')' : 'ForwardRef')),
+ r
+ )
+ case Ae:
+ return (i = r.displayName || null), i !== null ? i : ye(r.type) || 'Memo'
+ case be:
+ ;(i = r._payload), (r = r._init)
+ try {
+ return ye(r(i))
+ } catch {}
+ }
+ return null
+ }
+ function Se(r) {
+ var i = r.type
+ switch (r.tag) {
+ case 24:
+ return 'Cache'
+ case 9:
+ return (i.displayName || 'Context') + '.Consumer'
+ case 10:
+ return (i._context.displayName || 'Context') + '.Provider'
+ case 18:
+ return 'DehydratedFragment'
+ case 11:
+ return (
+ (r = i.render),
+ (r = r.displayName || r.name || ''),
+ i.displayName || (r !== '' ? 'ForwardRef(' + r + ')' : 'ForwardRef')
+ )
+ case 7:
+ return 'Fragment'
+ case 5:
+ return i
+ case 4:
+ return 'Portal'
+ case 3:
+ return 'Root'
+ case 6:
+ return 'Text'
+ case 16:
+ return ye(i)
+ case 8:
+ return i === B ? 'StrictMode' : 'Mode'
+ case 22:
+ return 'Offscreen'
+ case 12:
+ return 'Profiler'
+ case 21:
+ return 'Scope'
+ case 13:
+ return 'Suspense'
+ case 19:
+ return 'SuspenseList'
+ case 25:
+ return 'TracingMarker'
+ case 1:
+ case 0:
+ case 17:
+ case 2:
+ case 14:
+ case 15:
+ if (typeof i == 'function') return i.displayName || i.name || null
+ if (typeof i == 'string') return i
+ }
+ return null
+ }
+ function he(r) {
+ switch (typeof r) {
+ case 'boolean':
+ case 'number':
+ case 'string':
+ case 'undefined':
+ return r
+ case 'object':
+ return r
+ default:
+ return ''
+ }
+ }
+ function _e(r) {
+ var i = r.type
+ return (r = r.nodeName) && r.toLowerCase() === 'input' && (i === 'checkbox' || i === 'radio')
+ }
+ function ct(r) {
+ var i = _e(r) ? 'checked' : 'value',
+ a = Object.getOwnPropertyDescriptor(r.constructor.prototype, i),
+ f = '' + r[i]
+ if (
+ !r.hasOwnProperty(i) &&
+ typeof a < 'u' &&
+ typeof a.get == 'function' &&
+ typeof a.set == 'function'
+ ) {
+ var h = a.get,
+ m = a.set
+ return (
+ Object.defineProperty(r, i, {
+ configurable: !0,
+ get: function () {
+ return h.call(this)
+ },
+ set: function (x) {
+ ;(f = '' + x), m.call(this, x)
+ },
+ }),
+ Object.defineProperty(r, i, { enumerable: a.enumerable }),
+ {
+ getValue: function () {
+ return f
+ },
+ setValue: function (x) {
+ f = '' + x
+ },
+ stopTracking: function () {
+ ;(r._valueTracker = null), delete r[i]
+ },
+ }
+ )
+ }
+ }
+ function Mr(r) {
+ r._valueTracker || (r._valueTracker = ct(r))
+ }
+ function jr(r) {
+ if (!r) return !1
+ var i = r._valueTracker
+ if (!i) return !0
+ var a = i.getValue(),
+ f = ''
+ return (
+ r && (f = _e(r) ? (r.checked ? 'true' : 'false') : r.value),
+ (r = f),
+ r !== a ? (i.setValue(r), !0) : !1
+ )
+ }
+ function ir(r) {
+ if (((r = r || (typeof document < 'u' ? document : void 0)), typeof r > 'u')) return null
+ try {
+ return r.activeElement || r.body
+ } catch {
+ return r.body
+ }
+ }
+ function Pr(r, i) {
+ var a = i.checked
+ return Z({}, i, {
+ defaultChecked: void 0,
+ defaultValue: void 0,
+ value: void 0,
+ checked: a ?? r._wrapperState.initialChecked,
+ })
+ }
+ function hn(r, i) {
+ var a = i.defaultValue == null ? '' : i.defaultValue,
+ f = i.checked != null ? i.checked : i.defaultChecked
+ ;(a = he(i.value != null ? i.value : a)),
+ (r._wrapperState = {
+ initialChecked: f,
+ initialValue: a,
+ controlled:
+ i.type === 'checkbox' || i.type === 'radio' ? i.checked != null : i.value != null,
+ })
+ }
+ function Qi(r, i) {
+ ;(i = i.checked), i != null && O(r, 'checked', i, !1)
+ }
+ function Rs(r, i) {
+ Qi(r, i)
+ var a = he(i.value),
+ f = i.type
+ if (a != null)
+ f === 'number'
+ ? ((a === 0 && r.value === '') || r.value != a) && (r.value = '' + a)
+ : r.value !== '' + a && (r.value = '' + a)
+ else if (f === 'submit' || f === 'reset') {
+ r.removeAttribute('value')
+ return
+ }
+ i.hasOwnProperty('value')
+ ? Ds(r, i.type, a)
+ : i.hasOwnProperty('defaultValue') && Ds(r, i.type, he(i.defaultValue)),
+ i.checked == null && i.defaultChecked != null && (r.defaultChecked = !!i.defaultChecked)
+ }
+ function Ji(r, i, a) {
+ if (i.hasOwnProperty('value') || i.hasOwnProperty('defaultValue')) {
+ var f = i.type
+ if (!((f !== 'submit' && f !== 'reset') || (i.value !== void 0 && i.value !== null))) return
+ ;(i = '' + r._wrapperState.initialValue),
+ a || i === r.value || (r.value = i),
+ (r.defaultValue = i)
+ }
+ ;(a = r.name),
+ a !== '' && (r.name = ''),
+ (r.defaultChecked = !!r._wrapperState.initialChecked),
+ a !== '' && (r.name = a)
+ }
+ function Ds(r, i, a) {
+ ;(i !== 'number' || ir(r.ownerDocument) !== r) &&
+ (a == null
+ ? (r.defaultValue = '' + r._wrapperState.initialValue)
+ : r.defaultValue !== '' + a && (r.defaultValue = '' + a))
+ }
+ var An = Array.isArray
+ function nn(r, i, a, f) {
+ if (((r = r.options), i)) {
+ i = {}
+ for (var h = 0; h < a.length; h++) i['$' + a[h]] = !0
+ for (a = 0; a < r.length; a++)
+ (h = i.hasOwnProperty('$' + r[a].value)),
+ r[a].selected !== h && (r[a].selected = h),
+ h && f && (r[a].defaultSelected = !0)
+ } else {
+ for (a = '' + he(a), i = null, h = 0; h < r.length; h++) {
+ if (r[h].value === a) {
+ ;(r[h].selected = !0), f && (r[h].defaultSelected = !0)
+ return
+ }
+ i !== null || r[h].disabled || (i = r[h])
+ }
+ i !== null && (i.selected = !0)
+ }
+ }
+ function Fs(r, i) {
+ if (i.dangerouslySetInnerHTML != null) throw Error(n(91))
+ return Z({}, i, {
+ value: void 0,
+ defaultValue: void 0,
+ children: '' + r._wrapperState.initialValue,
+ })
+ }
+ function Xi(r, i) {
+ var a = i.value
+ if (a == null) {
+ if (((a = i.children), (i = i.defaultValue), a != null)) {
+ if (i != null) throw Error(n(92))
+ if (An(a)) {
+ if (1 < a.length) throw Error(n(93))
+ a = a[0]
+ }
+ i = a
+ }
+ i == null && (i = ''), (a = i)
+ }
+ r._wrapperState = { initialValue: he(a) }
+ }
+ function Yi(r, i) {
+ var a = he(i.value),
+ f = he(i.defaultValue)
+ a != null &&
+ ((a = '' + a),
+ a !== r.value && (r.value = a),
+ i.defaultValue == null && r.defaultValue !== a && (r.defaultValue = a)),
+ f != null && (r.defaultValue = '' + f)
+ }
+ function In(r) {
+ var i = r.textContent
+ i === r._wrapperState.initialValue && i !== '' && i !== null && (r.value = i)
+ }
+ function Or(r) {
+ switch (r) {
+ case 'svg':
+ return 'http://www.w3.org/2000/svg'
+ case 'math':
+ return 'http://www.w3.org/1998/Math/MathML'
+ default:
+ return 'http://www.w3.org/1999/xhtml'
+ }
+ }
+ function Ln(r, i) {
+ return r == null || r === 'http://www.w3.org/1999/xhtml'
+ ? Or(i)
+ : r === 'http://www.w3.org/2000/svg' && i === 'foreignObject'
+ ? 'http://www.w3.org/1999/xhtml'
+ : r
+ }
+ var $r,
+ Zi = (function (r) {
+ return typeof MSApp < 'u' && MSApp.execUnsafeLocalFunction
+ ? function (i, a, f, h) {
+ MSApp.execUnsafeLocalFunction(function () {
+ return r(i, a, f, h)
+ })
+ }
+ : r
+ })(function (r, i) {
+ if (r.namespaceURI !== 'http://www.w3.org/2000/svg' || 'innerHTML' in r) r.innerHTML = i
+ else {
+ for (
+ $r = $r || document.createElement('div'),
+ $r.innerHTML = '',
+ i = $r.firstChild;
+ r.firstChild;
+
+ )
+ r.removeChild(r.firstChild)
+ for (; i.firstChild; ) r.appendChild(i.firstChild)
+ }
+ })
+ function Mn(r, i) {
+ if (i) {
+ var a = r.firstChild
+ if (a && a === r.lastChild && a.nodeType === 3) {
+ a.nodeValue = i
+ return
+ }
+ }
+ r.textContent = i
+ }
+ var le = {
+ animationIterationCount: !0,
+ aspectRatio: !0,
+ borderImageOutset: !0,
+ borderImageSlice: !0,
+ borderImageWidth: !0,
+ boxFlex: !0,
+ boxFlexGroup: !0,
+ boxOrdinalGroup: !0,
+ columnCount: !0,
+ columns: !0,
+ flex: !0,
+ flexGrow: !0,
+ flexPositive: !0,
+ flexShrink: !0,
+ flexNegative: !0,
+ flexOrder: !0,
+ gridArea: !0,
+ gridRow: !0,
+ gridRowEnd: !0,
+ gridRowSpan: !0,
+ gridRowStart: !0,
+ gridColumn: !0,
+ gridColumnEnd: !0,
+ gridColumnSpan: !0,
+ gridColumnStart: !0,
+ fontWeight: !0,
+ lineClamp: !0,
+ lineHeight: !0,
+ opacity: !0,
+ order: !0,
+ orphans: !0,
+ tabSize: !0,
+ widows: !0,
+ zIndex: !0,
+ zoom: !0,
+ fillOpacity: !0,
+ floodOpacity: !0,
+ stopOpacity: !0,
+ strokeDasharray: !0,
+ strokeDashoffset: !0,
+ strokeMiterlimit: !0,
+ strokeOpacity: !0,
+ strokeWidth: !0,
+ },
+ rn = ['Webkit', 'ms', 'Moz', 'O']
+ Object.keys(le).forEach(function (r) {
+ rn.forEach(function (i) {
+ ;(i = i + r.charAt(0).toUpperCase() + r.substring(1)), (le[i] = le[r])
+ })
+ })
+ function jt(r, i, a) {
+ return i == null || typeof i == 'boolean' || i === ''
+ ? ''
+ : a || typeof i != 'number' || i === 0 || (le.hasOwnProperty(r) && le[r])
+ ? ('' + i).trim()
+ : i + 'px'
+ }
+ function Bf(r, i) {
+ r = r.style
+ for (var a in i)
+ if (i.hasOwnProperty(a)) {
+ var f = a.indexOf('--') === 0,
+ h = jt(a, i[a], f)
+ a === 'float' && (a = 'cssFloat'), f ? r.setProperty(a, h) : (r[a] = h)
+ }
+ }
+ var wv = Z(
+ { menuitem: !0 },
+ {
+ area: !0,
+ base: !0,
+ br: !0,
+ col: !0,
+ embed: !0,
+ hr: !0,
+ img: !0,
+ input: !0,
+ keygen: !0,
+ link: !0,
+ meta: !0,
+ param: !0,
+ source: !0,
+ track: !0,
+ wbr: !0,
+ }
+ )
+ function ha(r, i) {
+ if (i) {
+ if (wv[r] && (i.children != null || i.dangerouslySetInnerHTML != null)) throw Error(n(137, r))
+ if (i.dangerouslySetInnerHTML != null) {
+ if (i.children != null) throw Error(n(60))
+ if (
+ typeof i.dangerouslySetInnerHTML != 'object' ||
+ !('__html' in i.dangerouslySetInnerHTML)
+ )
+ throw Error(n(61))
+ }
+ if (i.style != null && typeof i.style != 'object') throw Error(n(62))
+ }
+ }
+ function pa(r, i) {
+ if (r.indexOf('-') === -1) return typeof i.is == 'string'
+ switch (r) {
+ 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 ma = null
+ function ga(r) {
+ return (
+ (r = r.target || r.srcElement || window),
+ r.correspondingUseElement && (r = r.correspondingUseElement),
+ r.nodeType === 3 ? r.parentNode : r
+ )
+ }
+ var ya = null,
+ Rr = null,
+ Dr = null
+ function zf(r) {
+ if ((r = li(r))) {
+ if (typeof ya != 'function') throw Error(n(280))
+ var i = r.stateNode
+ i && ((i = Eo(i)), ya(r.stateNode, r.type, i))
+ }
+ }
+ function Hf(r) {
+ Rr ? (Dr ? Dr.push(r) : (Dr = [r])) : (Rr = r)
+ }
+ function Uf() {
+ if (Rr) {
+ var r = Rr,
+ i = Dr
+ if (((Dr = Rr = null), zf(r), i)) for (r = 0; r < i.length; r++) zf(i[r])
+ }
+ }
+ function qf(r, i) {
+ return r(i)
+ }
+ function Vf() {}
+ var va = !1
+ function Wf(r, i, a) {
+ if (va) return r(i, a)
+ va = !0
+ try {
+ return qf(r, i, a)
+ } finally {
+ ;(va = !1), (Rr !== null || Dr !== null) && (Vf(), Uf())
+ }
+ }
+ function Bs(r, i) {
+ var a = r.stateNode
+ if (a === null) return null
+ var f = Eo(a)
+ if (f === null) return null
+ a = f[i]
+ e: switch (i) {
+ case 'onClick':
+ case 'onClickCapture':
+ case 'onDoubleClick':
+ case 'onDoubleClickCapture':
+ case 'onMouseDown':
+ case 'onMouseDownCapture':
+ case 'onMouseMove':
+ case 'onMouseMoveCapture':
+ case 'onMouseUp':
+ case 'onMouseUpCapture':
+ case 'onMouseEnter':
+ ;(f = !f.disabled) ||
+ ((r = r.type),
+ (f = !(r === 'button' || r === 'input' || r === 'select' || r === 'textarea'))),
+ (r = !f)
+ break e
+ default:
+ r = !1
+ }
+ if (r) return null
+ if (a && typeof a != 'function') throw Error(n(231, i, typeof a))
+ return a
+ }
+ var wa = !1
+ if (u)
+ try {
+ var zs = {}
+ Object.defineProperty(zs, 'passive', {
+ get: function () {
+ wa = !0
+ },
+ }),
+ window.addEventListener('test', zs, zs),
+ window.removeEventListener('test', zs, zs)
+ } catch {
+ wa = !1
+ }
+ function Sv(r, i, a, f, h, m, x, b, T) {
+ var P = Array.prototype.slice.call(arguments, 3)
+ try {
+ i.apply(a, P)
+ } catch (V) {
+ this.onError(V)
+ }
+ }
+ var Hs = !1,
+ eo = null,
+ to = !1,
+ Sa = null,
+ xv = {
+ onError: function (r) {
+ ;(Hs = !0), (eo = r)
+ },
+ }
+ function _v(r, i, a, f, h, m, x, b, T) {
+ ;(Hs = !1), (eo = null), Sv.apply(xv, arguments)
+ }
+ function Ev(r, i, a, f, h, m, x, b, T) {
+ if ((_v.apply(this, arguments), Hs)) {
+ if (Hs) {
+ var P = eo
+ ;(Hs = !1), (eo = null)
+ } else throw Error(n(198))
+ to || ((to = !0), (Sa = P))
+ }
+ }
+ function or(r) {
+ var i = r,
+ a = r
+ if (r.alternate) for (; i.return; ) i = i.return
+ else {
+ r = i
+ do (i = r), (i.flags & 4098) !== 0 && (a = i.return), (r = i.return)
+ while (r)
+ }
+ return i.tag === 3 ? a : null
+ }
+ function Kf(r) {
+ if (r.tag === 13) {
+ var i = r.memoizedState
+ if ((i === null && ((r = r.alternate), r !== null && (i = r.memoizedState)), i !== null))
+ return i.dehydrated
+ }
+ return null
+ }
+ function Gf(r) {
+ if (or(r) !== r) throw Error(n(188))
+ }
+ function kv(r) {
+ var i = r.alternate
+ if (!i) {
+ if (((i = or(r)), i === null)) throw Error(n(188))
+ return i !== r ? null : r
+ }
+ for (var a = r, f = i; ; ) {
+ var h = a.return
+ if (h === null) break
+ var m = h.alternate
+ if (m === null) {
+ if (((f = h.return), f !== null)) {
+ a = f
+ continue
+ }
+ break
+ }
+ if (h.child === m.child) {
+ for (m = h.child; m; ) {
+ if (m === a) return Gf(h), r
+ if (m === f) return Gf(h), i
+ m = m.sibling
+ }
+ throw Error(n(188))
+ }
+ if (a.return !== f.return) (a = h), (f = m)
+ else {
+ for (var x = !1, b = h.child; b; ) {
+ if (b === a) {
+ ;(x = !0), (a = h), (f = m)
+ break
+ }
+ if (b === f) {
+ ;(x = !0), (f = h), (a = m)
+ break
+ }
+ b = b.sibling
+ }
+ if (!x) {
+ for (b = m.child; b; ) {
+ if (b === a) {
+ ;(x = !0), (a = m), (f = h)
+ break
+ }
+ if (b === f) {
+ ;(x = !0), (f = m), (a = h)
+ break
+ }
+ b = b.sibling
+ }
+ if (!x) throw Error(n(189))
+ }
+ }
+ if (a.alternate !== f) throw Error(n(190))
+ }
+ if (a.tag !== 3) throw Error(n(188))
+ return a.stateNode.current === a ? r : i
+ }
+ function Qf(r) {
+ return (r = kv(r)), r !== null ? Jf(r) : null
+ }
+ function Jf(r) {
+ if (r.tag === 5 || r.tag === 6) return r
+ for (r = r.child; r !== null; ) {
+ var i = Jf(r)
+ if (i !== null) return i
+ r = r.sibling
+ }
+ return null
+ }
+ var Xf = e.unstable_scheduleCallback,
+ Yf = e.unstable_cancelCallback,
+ bv = e.unstable_shouldYield,
+ Tv = e.unstable_requestPaint,
+ Fe = e.unstable_now,
+ Cv = e.unstable_getCurrentPriorityLevel,
+ xa = e.unstable_ImmediatePriority,
+ Zf = e.unstable_UserBlockingPriority,
+ no = e.unstable_NormalPriority,
+ Nv = e.unstable_LowPriority,
+ ed = e.unstable_IdlePriority,
+ ro = null,
+ sn = null
+ function Av(r) {
+ if (sn && typeof sn.onCommitFiberRoot == 'function')
+ try {
+ sn.onCommitFiberRoot(ro, r, void 0, (r.current.flags & 128) === 128)
+ } catch {}
+ }
+ var Wt = Math.clz32 ? Math.clz32 : Mv,
+ Iv = Math.log,
+ Lv = Math.LN2
+ function Mv(r) {
+ return (r >>>= 0), r === 0 ? 32 : (31 - ((Iv(r) / Lv) | 0)) | 0
+ }
+ var so = 64,
+ io = 4194304
+ function Us(r) {
+ switch (r & -r) {
+ 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:
+ 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 r & 4194240
+ case 4194304:
+ case 8388608:
+ case 16777216:
+ case 33554432:
+ case 67108864:
+ return r & 130023424
+ case 134217728:
+ return 134217728
+ case 268435456:
+ return 268435456
+ case 536870912:
+ return 536870912
+ case 1073741824:
+ return 1073741824
+ default:
+ return r
+ }
+ }
+ function oo(r, i) {
+ var a = r.pendingLanes
+ if (a === 0) return 0
+ var f = 0,
+ h = r.suspendedLanes,
+ m = r.pingedLanes,
+ x = a & 268435455
+ if (x !== 0) {
+ var b = x & ~h
+ b !== 0 ? (f = Us(b)) : ((m &= x), m !== 0 && (f = Us(m)))
+ } else (x = a & ~h), x !== 0 ? (f = Us(x)) : m !== 0 && (f = Us(m))
+ if (f === 0) return 0
+ if (
+ i !== 0 &&
+ i !== f &&
+ (i & h) === 0 &&
+ ((h = f & -f), (m = i & -i), h >= m || (h === 16 && (m & 4194240) !== 0))
+ )
+ return i
+ if (((f & 4) !== 0 && (f |= a & 16), (i = r.entangledLanes), i !== 0))
+ for (r = r.entanglements, i &= f; 0 < i; )
+ (a = 31 - Wt(i)), (h = 1 << a), (f |= r[a]), (i &= ~h)
+ return f
+ }
+ function jv(r, i) {
+ switch (r) {
+ case 1:
+ case 2:
+ case 4:
+ return i + 250
+ case 8:
+ case 16:
+ case 32:
+ case 64:
+ 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 i + 5e3
+ case 4194304:
+ case 8388608:
+ case 16777216:
+ case 33554432:
+ case 67108864:
+ return -1
+ case 134217728:
+ case 268435456:
+ case 536870912:
+ case 1073741824:
+ return -1
+ default:
+ return -1
+ }
+ }
+ function Pv(r, i) {
+ for (
+ var a = r.suspendedLanes, f = r.pingedLanes, h = r.expirationTimes, m = r.pendingLanes;
+ 0 < m;
+
+ ) {
+ var x = 31 - Wt(m),
+ b = 1 << x,
+ T = h[x]
+ T === -1
+ ? ((b & a) === 0 || (b & f) !== 0) && (h[x] = jv(b, i))
+ : T <= i && (r.expiredLanes |= b),
+ (m &= ~b)
+ }
+ }
+ function _a(r) {
+ return (r = r.pendingLanes & -1073741825), r !== 0 ? r : r & 1073741824 ? 1073741824 : 0
+ }
+ function td() {
+ var r = so
+ return (so <<= 1), (so & 4194240) === 0 && (so = 64), r
+ }
+ function Ea(r) {
+ for (var i = [], a = 0; 31 > a; a++) i.push(r)
+ return i
+ }
+ function qs(r, i, a) {
+ ;(r.pendingLanes |= i),
+ i !== 536870912 && ((r.suspendedLanes = 0), (r.pingedLanes = 0)),
+ (r = r.eventTimes),
+ (i = 31 - Wt(i)),
+ (r[i] = a)
+ }
+ function Ov(r, i) {
+ var a = r.pendingLanes & ~i
+ ;(r.pendingLanes = i),
+ (r.suspendedLanes = 0),
+ (r.pingedLanes = 0),
+ (r.expiredLanes &= i),
+ (r.mutableReadLanes &= i),
+ (r.entangledLanes &= i),
+ (i = r.entanglements)
+ var f = r.eventTimes
+ for (r = r.expirationTimes; 0 < a; ) {
+ var h = 31 - Wt(a),
+ m = 1 << h
+ ;(i[h] = 0), (f[h] = -1), (r[h] = -1), (a &= ~m)
+ }
+ }
+ function ka(r, i) {
+ var a = (r.entangledLanes |= i)
+ for (r = r.entanglements; a; ) {
+ var f = 31 - Wt(a),
+ h = 1 << f
+ ;(h & i) | (r[f] & i) && (r[f] |= i), (a &= ~h)
+ }
+ }
+ var xe = 0
+ function nd(r) {
+ return (r &= -r), 1 < r ? (4 < r ? ((r & 268435455) !== 0 ? 16 : 536870912) : 4) : 1
+ }
+ var rd,
+ ba,
+ sd,
+ id,
+ od,
+ Ta = !1,
+ lo = [],
+ jn = null,
+ Pn = null,
+ On = null,
+ Vs = new Map(),
+ Ws = new Map(),
+ $n = [],
+ $v =
+ '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 submit'.split(
+ ' '
+ )
+ function ld(r, i) {
+ switch (r) {
+ case 'focusin':
+ case 'focusout':
+ jn = null
+ break
+ case 'dragenter':
+ case 'dragleave':
+ Pn = null
+ break
+ case 'mouseover':
+ case 'mouseout':
+ On = null
+ break
+ case 'pointerover':
+ case 'pointerout':
+ Vs.delete(i.pointerId)
+ break
+ case 'gotpointercapture':
+ case 'lostpointercapture':
+ Ws.delete(i.pointerId)
+ }
+ }
+ function Ks(r, i, a, f, h, m) {
+ return r === null || r.nativeEvent !== m
+ ? ((r = {
+ blockedOn: i,
+ domEventName: a,
+ eventSystemFlags: f,
+ nativeEvent: m,
+ targetContainers: [h],
+ }),
+ i !== null && ((i = li(i)), i !== null && ba(i)),
+ r)
+ : ((r.eventSystemFlags |= f),
+ (i = r.targetContainers),
+ h !== null && i.indexOf(h) === -1 && i.push(h),
+ r)
+ }
+ function Rv(r, i, a, f, h) {
+ switch (i) {
+ case 'focusin':
+ return (jn = Ks(jn, r, i, a, f, h)), !0
+ case 'dragenter':
+ return (Pn = Ks(Pn, r, i, a, f, h)), !0
+ case 'mouseover':
+ return (On = Ks(On, r, i, a, f, h)), !0
+ case 'pointerover':
+ var m = h.pointerId
+ return Vs.set(m, Ks(Vs.get(m) || null, r, i, a, f, h)), !0
+ case 'gotpointercapture':
+ return (m = h.pointerId), Ws.set(m, Ks(Ws.get(m) || null, r, i, a, f, h)), !0
+ }
+ return !1
+ }
+ function ad(r) {
+ var i = lr(r.target)
+ if (i !== null) {
+ var a = or(i)
+ if (a !== null) {
+ if (((i = a.tag), i === 13)) {
+ if (((i = Kf(a)), i !== null)) {
+ ;(r.blockedOn = i),
+ od(r.priority, function () {
+ sd(a)
+ })
+ return
+ }
+ } else if (i === 3 && a.stateNode.current.memoizedState.isDehydrated) {
+ r.blockedOn = a.tag === 3 ? a.stateNode.containerInfo : null
+ return
+ }
+ }
+ }
+ r.blockedOn = null
+ }
+ function ao(r) {
+ if (r.blockedOn !== null) return !1
+ for (var i = r.targetContainers; 0 < i.length; ) {
+ var a = Na(r.domEventName, r.eventSystemFlags, i[0], r.nativeEvent)
+ if (a === null) {
+ a = r.nativeEvent
+ var f = new a.constructor(a.type, a)
+ ;(ma = f), a.target.dispatchEvent(f), (ma = null)
+ } else return (i = li(a)), i !== null && ba(i), (r.blockedOn = a), !1
+ i.shift()
+ }
+ return !0
+ }
+ function cd(r, i, a) {
+ ao(r) && a.delete(i)
+ }
+ function Dv() {
+ ;(Ta = !1),
+ jn !== null && ao(jn) && (jn = null),
+ Pn !== null && ao(Pn) && (Pn = null),
+ On !== null && ao(On) && (On = null),
+ Vs.forEach(cd),
+ Ws.forEach(cd)
+ }
+ function Gs(r, i) {
+ r.blockedOn === i &&
+ ((r.blockedOn = null),
+ Ta || ((Ta = !0), e.unstable_scheduleCallback(e.unstable_NormalPriority, Dv)))
+ }
+ function Qs(r) {
+ function i(h) {
+ return Gs(h, r)
+ }
+ if (0 < lo.length) {
+ Gs(lo[0], r)
+ for (var a = 1; a < lo.length; a++) {
+ var f = lo[a]
+ f.blockedOn === r && (f.blockedOn = null)
+ }
+ }
+ for (
+ jn !== null && Gs(jn, r),
+ Pn !== null && Gs(Pn, r),
+ On !== null && Gs(On, r),
+ Vs.forEach(i),
+ Ws.forEach(i),
+ a = 0;
+ a < $n.length;
+ a++
+ )
+ (f = $n[a]), f.blockedOn === r && (f.blockedOn = null)
+ for (; 0 < $n.length && ((a = $n[0]), a.blockedOn === null); )
+ ad(a), a.blockedOn === null && $n.shift()
+ }
+ var Fr = D.ReactCurrentBatchConfig,
+ co = !0
+ function Fv(r, i, a, f) {
+ var h = xe,
+ m = Fr.transition
+ Fr.transition = null
+ try {
+ ;(xe = 1), Ca(r, i, a, f)
+ } finally {
+ ;(xe = h), (Fr.transition = m)
+ }
+ }
+ function Bv(r, i, a, f) {
+ var h = xe,
+ m = Fr.transition
+ Fr.transition = null
+ try {
+ ;(xe = 4), Ca(r, i, a, f)
+ } finally {
+ ;(xe = h), (Fr.transition = m)
+ }
+ }
+ function Ca(r, i, a, f) {
+ if (co) {
+ var h = Na(r, i, a, f)
+ if (h === null) Va(r, i, f, uo, a), ld(r, f)
+ else if (Rv(h, r, i, a, f)) f.stopPropagation()
+ else if ((ld(r, f), i & 4 && -1 < $v.indexOf(r))) {
+ for (; h !== null; ) {
+ var m = li(h)
+ if (
+ (m !== null && rd(m), (m = Na(r, i, a, f)), m === null && Va(r, i, f, uo, a), m === h)
+ )
+ break
+ h = m
+ }
+ h !== null && f.stopPropagation()
+ } else Va(r, i, f, null, a)
+ }
+ }
+ var uo = null
+ function Na(r, i, a, f) {
+ if (((uo = null), (r = ga(f)), (r = lr(r)), r !== null))
+ if (((i = or(r)), i === null)) r = null
+ else if (((a = i.tag), a === 13)) {
+ if (((r = Kf(i)), r !== null)) return r
+ r = null
+ } else if (a === 3) {
+ if (i.stateNode.current.memoizedState.isDehydrated)
+ return i.tag === 3 ? i.stateNode.containerInfo : null
+ r = null
+ } else i !== r && (r = null)
+ return (uo = r), null
+ }
+ function ud(r) {
+ switch (r) {
+ 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 'resize':
+ case 'seeked':
+ case 'submit':
+ 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 'focus':
+ case 'hashchange':
+ case 'popstate':
+ case 'select':
+ case 'selectstart':
+ return 1
+ case 'drag':
+ case 'dragenter':
+ case 'dragexit':
+ case 'dragleave':
+ case 'dragover':
+ case 'mousemove':
+ case 'mouseout':
+ case 'mouseover':
+ case 'pointermove':
+ case 'pointerout':
+ case 'pointerover':
+ case 'scroll':
+ case 'toggle':
+ case 'touchmove':
+ case 'wheel':
+ case 'mouseenter':
+ case 'mouseleave':
+ case 'pointerenter':
+ case 'pointerleave':
+ return 4
+ case 'message':
+ switch (Cv()) {
+ case xa:
+ return 1
+ case Zf:
+ return 4
+ case no:
+ case Nv:
+ return 16
+ case ed:
+ return 536870912
+ default:
+ return 16
+ }
+ default:
+ return 16
+ }
+ }
+ var Rn = null,
+ Aa = null,
+ fo = null
+ function fd() {
+ if (fo) return fo
+ var r,
+ i = Aa,
+ a = i.length,
+ f,
+ h = 'value' in Rn ? Rn.value : Rn.textContent,
+ m = h.length
+ for (r = 0; r < a && i[r] === h[r]; r++);
+ var x = a - r
+ for (f = 1; f <= x && i[a - f] === h[m - f]; f++);
+ return (fo = h.slice(r, 1 < f ? 1 - f : void 0))
+ }
+ function ho(r) {
+ var i = r.keyCode
+ return (
+ 'charCode' in r ? ((r = r.charCode), r === 0 && i === 13 && (r = 13)) : (r = i),
+ r === 10 && (r = 13),
+ 32 <= r || r === 13 ? r : 0
+ )
+ }
+ function po() {
+ return !0
+ }
+ function dd() {
+ return !1
+ }
+ function Ct(r) {
+ function i(a, f, h, m, x) {
+ ;(this._reactName = a),
+ (this._targetInst = h),
+ (this.type = f),
+ (this.nativeEvent = m),
+ (this.target = x),
+ (this.currentTarget = null)
+ for (var b in r) r.hasOwnProperty(b) && ((a = r[b]), (this[b] = a ? a(m) : m[b]))
+ return (
+ (this.isDefaultPrevented = (
+ m.defaultPrevented != null ? m.defaultPrevented : m.returnValue === !1
+ )
+ ? po
+ : dd),
+ (this.isPropagationStopped = dd),
+ this
+ )
+ }
+ return (
+ Z(i.prototype, {
+ preventDefault: function () {
+ this.defaultPrevented = !0
+ var a = this.nativeEvent
+ a &&
+ (a.preventDefault
+ ? a.preventDefault()
+ : typeof a.returnValue != 'unknown' && (a.returnValue = !1),
+ (this.isDefaultPrevented = po))
+ },
+ stopPropagation: function () {
+ var a = this.nativeEvent
+ a &&
+ (a.stopPropagation
+ ? a.stopPropagation()
+ : typeof a.cancelBubble != 'unknown' && (a.cancelBubble = !0),
+ (this.isPropagationStopped = po))
+ },
+ persist: function () {},
+ isPersistent: po,
+ }),
+ i
+ )
+ }
+ var Br = {
+ eventPhase: 0,
+ bubbles: 0,
+ cancelable: 0,
+ timeStamp: function (r) {
+ return r.timeStamp || Date.now()
+ },
+ defaultPrevented: 0,
+ isTrusted: 0,
+ },
+ Ia = Ct(Br),
+ Js = Z({}, Br, { view: 0, detail: 0 }),
+ zv = Ct(Js),
+ La,
+ Ma,
+ Xs,
+ mo = Z({}, Js, {
+ screenX: 0,
+ screenY: 0,
+ clientX: 0,
+ clientY: 0,
+ pageX: 0,
+ pageY: 0,
+ ctrlKey: 0,
+ shiftKey: 0,
+ altKey: 0,
+ metaKey: 0,
+ getModifierState: Pa,
+ button: 0,
+ buttons: 0,
+ relatedTarget: function (r) {
+ return r.relatedTarget === void 0
+ ? r.fromElement === r.srcElement
+ ? r.toElement
+ : r.fromElement
+ : r.relatedTarget
+ },
+ movementX: function (r) {
+ return 'movementX' in r
+ ? r.movementX
+ : (r !== Xs &&
+ (Xs && r.type === 'mousemove'
+ ? ((La = r.screenX - Xs.screenX), (Ma = r.screenY - Xs.screenY))
+ : (Ma = La = 0),
+ (Xs = r)),
+ La)
+ },
+ movementY: function (r) {
+ return 'movementY' in r ? r.movementY : Ma
+ },
+ }),
+ hd = Ct(mo),
+ Hv = Z({}, mo, { dataTransfer: 0 }),
+ Uv = Ct(Hv),
+ qv = Z({}, Js, { relatedTarget: 0 }),
+ ja = Ct(qv),
+ Vv = Z({}, Br, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }),
+ Wv = Ct(Vv),
+ Kv = Z({}, Br, {
+ clipboardData: function (r) {
+ return 'clipboardData' in r ? r.clipboardData : window.clipboardData
+ },
+ }),
+ Gv = Ct(Kv),
+ Qv = Z({}, Br, { data: 0 }),
+ pd = Ct(Qv),
+ Jv = {
+ Esc: 'Escape',
+ Spacebar: ' ',
+ Left: 'ArrowLeft',
+ Up: 'ArrowUp',
+ Right: 'ArrowRight',
+ Down: 'ArrowDown',
+ Del: 'Delete',
+ Win: 'OS',
+ Menu: 'ContextMenu',
+ Apps: 'ContextMenu',
+ Scroll: 'ScrollLock',
+ MozPrintableKey: 'Unidentified',
+ },
+ Xv = {
+ 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',
+ },
+ Yv = { Alt: 'altKey', Control: 'ctrlKey', Meta: 'metaKey', Shift: 'shiftKey' }
+ function Zv(r) {
+ var i = this.nativeEvent
+ return i.getModifierState ? i.getModifierState(r) : (r = Yv[r]) ? !!i[r] : !1
+ }
+ function Pa() {
+ return Zv
+ }
+ var ew = Z({}, Js, {
+ key: function (r) {
+ if (r.key) {
+ var i = Jv[r.key] || r.key
+ if (i !== 'Unidentified') return i
+ }
+ return r.type === 'keypress'
+ ? ((r = ho(r)), r === 13 ? 'Enter' : String.fromCharCode(r))
+ : r.type === 'keydown' || r.type === 'keyup'
+ ? Xv[r.keyCode] || 'Unidentified'
+ : ''
+ },
+ code: 0,
+ location: 0,
+ ctrlKey: 0,
+ shiftKey: 0,
+ altKey: 0,
+ metaKey: 0,
+ repeat: 0,
+ locale: 0,
+ getModifierState: Pa,
+ charCode: function (r) {
+ return r.type === 'keypress' ? ho(r) : 0
+ },
+ keyCode: function (r) {
+ return r.type === 'keydown' || r.type === 'keyup' ? r.keyCode : 0
+ },
+ which: function (r) {
+ return r.type === 'keypress'
+ ? ho(r)
+ : r.type === 'keydown' || r.type === 'keyup'
+ ? r.keyCode
+ : 0
+ },
+ }),
+ tw = Ct(ew),
+ nw = Z({}, mo, {
+ pointerId: 0,
+ width: 0,
+ height: 0,
+ pressure: 0,
+ tangentialPressure: 0,
+ tiltX: 0,
+ tiltY: 0,
+ twist: 0,
+ pointerType: 0,
+ isPrimary: 0,
+ }),
+ md = Ct(nw),
+ rw = Z({}, Js, {
+ touches: 0,
+ targetTouches: 0,
+ changedTouches: 0,
+ altKey: 0,
+ metaKey: 0,
+ ctrlKey: 0,
+ shiftKey: 0,
+ getModifierState: Pa,
+ }),
+ sw = Ct(rw),
+ iw = Z({}, Br, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }),
+ ow = Ct(iw),
+ lw = Z({}, mo, {
+ deltaX: function (r) {
+ return 'deltaX' in r ? r.deltaX : 'wheelDeltaX' in r ? -r.wheelDeltaX : 0
+ },
+ deltaY: function (r) {
+ return 'deltaY' in r
+ ? r.deltaY
+ : 'wheelDeltaY' in r
+ ? -r.wheelDeltaY
+ : 'wheelDelta' in r
+ ? -r.wheelDelta
+ : 0
+ },
+ deltaZ: 0,
+ deltaMode: 0,
+ }),
+ aw = Ct(lw),
+ cw = [9, 13, 27, 32],
+ Oa = u && 'CompositionEvent' in window,
+ Ys = null
+ u && 'documentMode' in document && (Ys = document.documentMode)
+ var uw = u && 'TextEvent' in window && !Ys,
+ gd = u && (!Oa || (Ys && 8 < Ys && 11 >= Ys)),
+ yd = ' ',
+ vd = !1
+ function wd(r, i) {
+ switch (r) {
+ case 'keyup':
+ return cw.indexOf(i.keyCode) !== -1
+ case 'keydown':
+ return i.keyCode !== 229
+ case 'keypress':
+ case 'mousedown':
+ case 'focusout':
+ return !0
+ default:
+ return !1
+ }
+ }
+ function Sd(r) {
+ return (r = r.detail), typeof r == 'object' && 'data' in r ? r.data : null
+ }
+ var zr = !1
+ function fw(r, i) {
+ switch (r) {
+ case 'compositionend':
+ return Sd(i)
+ case 'keypress':
+ return i.which !== 32 ? null : ((vd = !0), yd)
+ case 'textInput':
+ return (r = i.data), r === yd && vd ? null : r
+ default:
+ return null
+ }
+ }
+ function dw(r, i) {
+ if (zr)
+ return r === 'compositionend' || (!Oa && wd(r, i))
+ ? ((r = fd()), (fo = Aa = Rn = null), (zr = !1), r)
+ : null
+ switch (r) {
+ case 'paste':
+ return null
+ case 'keypress':
+ if (!(i.ctrlKey || i.altKey || i.metaKey) || (i.ctrlKey && i.altKey)) {
+ if (i.char && 1 < i.char.length) return i.char
+ if (i.which) return String.fromCharCode(i.which)
+ }
+ return null
+ case 'compositionend':
+ return gd && i.locale !== 'ko' ? null : i.data
+ default:
+ return null
+ }
+ }
+ var hw = {
+ 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 xd(r) {
+ var i = r && r.nodeName && r.nodeName.toLowerCase()
+ return i === 'input' ? !!hw[r.type] : i === 'textarea'
+ }
+ function _d(r, i, a, f) {
+ Hf(f),
+ (i = So(i, 'onChange')),
+ 0 < i.length &&
+ ((a = new Ia('onChange', 'change', null, a, f)), r.push({ event: a, listeners: i }))
+ }
+ var Zs = null,
+ ei = null
+ function pw(r) {
+ Bd(r, 0)
+ }
+ function go(r) {
+ var i = Wr(r)
+ if (jr(i)) return r
+ }
+ function mw(r, i) {
+ if (r === 'change') return i
+ }
+ var Ed = !1
+ if (u) {
+ var $a
+ if (u) {
+ var Ra = 'oninput' in document
+ if (!Ra) {
+ var kd = document.createElement('div')
+ kd.setAttribute('oninput', 'return;'), (Ra = typeof kd.oninput == 'function')
+ }
+ $a = Ra
+ } else $a = !1
+ Ed = $a && (!document.documentMode || 9 < document.documentMode)
+ }
+ function bd() {
+ Zs && (Zs.detachEvent('onpropertychange', Td), (ei = Zs = null))
+ }
+ function Td(r) {
+ if (r.propertyName === 'value' && go(ei)) {
+ var i = []
+ _d(i, ei, r, ga(r)), Wf(pw, i)
+ }
+ }
+ function gw(r, i, a) {
+ r === 'focusin'
+ ? (bd(), (Zs = i), (ei = a), Zs.attachEvent('onpropertychange', Td))
+ : r === 'focusout' && bd()
+ }
+ function yw(r) {
+ if (r === 'selectionchange' || r === 'keyup' || r === 'keydown') return go(ei)
+ }
+ function vw(r, i) {
+ if (r === 'click') return go(i)
+ }
+ function ww(r, i) {
+ if (r === 'input' || r === 'change') return go(i)
+ }
+ function Sw(r, i) {
+ return (r === i && (r !== 0 || 1 / r === 1 / i)) || (r !== r && i !== i)
+ }
+ var Kt = typeof Object.is == 'function' ? Object.is : Sw
+ function ti(r, i) {
+ if (Kt(r, i)) return !0
+ if (typeof r != 'object' || r === null || typeof i != 'object' || i === null) return !1
+ var a = Object.keys(r),
+ f = Object.keys(i)
+ if (a.length !== f.length) return !1
+ for (f = 0; f < a.length; f++) {
+ var h = a[f]
+ if (!d.call(i, h) || !Kt(r[h], i[h])) return !1
+ }
+ return !0
+ }
+ function Cd(r) {
+ for (; r && r.firstChild; ) r = r.firstChild
+ return r
+ }
+ function Nd(r, i) {
+ var a = Cd(r)
+ r = 0
+ for (var f; a; ) {
+ if (a.nodeType === 3) {
+ if (((f = r + a.textContent.length), r <= i && f >= i)) return { node: a, offset: i - r }
+ r = f
+ }
+ e: {
+ for (; a; ) {
+ if (a.nextSibling) {
+ a = a.nextSibling
+ break e
+ }
+ a = a.parentNode
+ }
+ a = void 0
+ }
+ a = Cd(a)
+ }
+ }
+ function Ad(r, i) {
+ return r && i
+ ? r === i
+ ? !0
+ : r && r.nodeType === 3
+ ? !1
+ : i && i.nodeType === 3
+ ? Ad(r, i.parentNode)
+ : 'contains' in r
+ ? r.contains(i)
+ : r.compareDocumentPosition
+ ? !!(r.compareDocumentPosition(i) & 16)
+ : !1
+ : !1
+ }
+ function Id() {
+ for (var r = window, i = ir(); i instanceof r.HTMLIFrameElement; ) {
+ try {
+ var a = typeof i.contentWindow.location.href == 'string'
+ } catch {
+ a = !1
+ }
+ if (a) r = i.contentWindow
+ else break
+ i = ir(r.document)
+ }
+ return i
+ }
+ function Da(r) {
+ var i = r && r.nodeName && r.nodeName.toLowerCase()
+ return (
+ i &&
+ ((i === 'input' &&
+ (r.type === 'text' ||
+ r.type === 'search' ||
+ r.type === 'tel' ||
+ r.type === 'url' ||
+ r.type === 'password')) ||
+ i === 'textarea' ||
+ r.contentEditable === 'true')
+ )
+ }
+ function xw(r) {
+ var i = Id(),
+ a = r.focusedElem,
+ f = r.selectionRange
+ if (i !== a && a && a.ownerDocument && Ad(a.ownerDocument.documentElement, a)) {
+ if (f !== null && Da(a)) {
+ if (((i = f.start), (r = f.end), r === void 0 && (r = i), 'selectionStart' in a))
+ (a.selectionStart = i), (a.selectionEnd = Math.min(r, a.value.length))
+ else if (
+ ((r = ((i = a.ownerDocument || document) && i.defaultView) || window), r.getSelection)
+ ) {
+ r = r.getSelection()
+ var h = a.textContent.length,
+ m = Math.min(f.start, h)
+ ;(f = f.end === void 0 ? m : Math.min(f.end, h)),
+ !r.extend && m > f && ((h = f), (f = m), (m = h)),
+ (h = Nd(a, m))
+ var x = Nd(a, f)
+ h &&
+ x &&
+ (r.rangeCount !== 1 ||
+ r.anchorNode !== h.node ||
+ r.anchorOffset !== h.offset ||
+ r.focusNode !== x.node ||
+ r.focusOffset !== x.offset) &&
+ ((i = i.createRange()),
+ i.setStart(h.node, h.offset),
+ r.removeAllRanges(),
+ m > f
+ ? (r.addRange(i), r.extend(x.node, x.offset))
+ : (i.setEnd(x.node, x.offset), r.addRange(i)))
+ }
+ }
+ for (i = [], r = a; (r = r.parentNode); )
+ r.nodeType === 1 && i.push({ element: r, left: r.scrollLeft, top: r.scrollTop })
+ for (typeof a.focus == 'function' && a.focus(), a = 0; a < i.length; a++)
+ (r = i[a]), (r.element.scrollLeft = r.left), (r.element.scrollTop = r.top)
+ }
+ }
+ var _w = u && 'documentMode' in document && 11 >= document.documentMode,
+ Hr = null,
+ Fa = null,
+ ni = null,
+ Ba = !1
+ function Ld(r, i, a) {
+ var f = a.window === a ? a.document : a.nodeType === 9 ? a : a.ownerDocument
+ Ba ||
+ Hr == null ||
+ Hr !== ir(f) ||
+ ((f = Hr),
+ 'selectionStart' in f && Da(f)
+ ? (f = { start: f.selectionStart, end: f.selectionEnd })
+ : ((f = ((f.ownerDocument && f.ownerDocument.defaultView) || window).getSelection()),
+ (f = {
+ anchorNode: f.anchorNode,
+ anchorOffset: f.anchorOffset,
+ focusNode: f.focusNode,
+ focusOffset: f.focusOffset,
+ })),
+ (ni && ti(ni, f)) ||
+ ((ni = f),
+ (f = So(Fa, 'onSelect')),
+ 0 < f.length &&
+ ((i = new Ia('onSelect', 'select', null, i, a)),
+ r.push({ event: i, listeners: f }),
+ (i.target = Hr))))
+ }
+ function yo(r, i) {
+ var a = {}
+ return (
+ (a[r.toLowerCase()] = i.toLowerCase()),
+ (a['Webkit' + r] = 'webkit' + i),
+ (a['Moz' + r] = 'moz' + i),
+ a
+ )
+ }
+ var Ur = {
+ animationend: yo('Animation', 'AnimationEnd'),
+ animationiteration: yo('Animation', 'AnimationIteration'),
+ animationstart: yo('Animation', 'AnimationStart'),
+ transitionend: yo('Transition', 'TransitionEnd'),
+ },
+ za = {},
+ Md = {}
+ u &&
+ ((Md = document.createElement('div').style),
+ 'AnimationEvent' in window ||
+ (delete Ur.animationend.animation,
+ delete Ur.animationiteration.animation,
+ delete Ur.animationstart.animation),
+ 'TransitionEvent' in window || delete Ur.transitionend.transition)
+ function vo(r) {
+ if (za[r]) return za[r]
+ if (!Ur[r]) return r
+ var i = Ur[r],
+ a
+ for (a in i) if (i.hasOwnProperty(a) && a in Md) return (za[r] = i[a])
+ return r
+ }
+ var jd = vo('animationend'),
+ Pd = vo('animationiteration'),
+ Od = vo('animationstart'),
+ $d = vo('transitionend'),
+ Rd = new Map(),
+ Dd =
+ 'abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error 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(
+ ' '
+ )
+ function Dn(r, i) {
+ Rd.set(r, i), l(i, [r])
+ }
+ for (var Ha = 0; Ha < Dd.length; Ha++) {
+ var Ua = Dd[Ha],
+ Ew = Ua.toLowerCase(),
+ kw = Ua[0].toUpperCase() + Ua.slice(1)
+ Dn(Ew, 'on' + kw)
+ }
+ Dn(jd, 'onAnimationEnd'),
+ Dn(Pd, 'onAnimationIteration'),
+ Dn(Od, 'onAnimationStart'),
+ Dn('dblclick', 'onDoubleClick'),
+ Dn('focusin', 'onFocus'),
+ Dn('focusout', 'onBlur'),
+ Dn($d, 'onTransitionEnd'),
+ c('onMouseEnter', ['mouseout', 'mouseover']),
+ c('onMouseLeave', ['mouseout', 'mouseover']),
+ c('onPointerEnter', ['pointerout', 'pointerover']),
+ c('onPointerLeave', ['pointerout', 'pointerover']),
+ l('onChange', 'change click focusin focusout input keydown keyup selectionchange'.split(' ')),
+ l(
+ 'onSelect',
+ 'focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange'.split(
+ ' '
+ )
+ ),
+ l('onBeforeInput', ['compositionend', 'keypress', 'textInput', 'paste']),
+ l('onCompositionEnd', 'compositionend focusout keydown keypress keyup mousedown'.split(' ')),
+ l(
+ 'onCompositionStart',
+ 'compositionstart focusout keydown keypress keyup mousedown'.split(' ')
+ ),
+ l(
+ 'onCompositionUpdate',
+ 'compositionupdate focusout keydown keypress keyup mousedown'.split(' ')
+ )
+ var ri =
+ '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(
+ ' '
+ ),
+ bw = new Set('cancel close invalid load scroll toggle'.split(' ').concat(ri))
+ function Fd(r, i, a) {
+ var f = r.type || 'unknown-event'
+ ;(r.currentTarget = a), Ev(f, i, void 0, r), (r.currentTarget = null)
+ }
+ function Bd(r, i) {
+ i = (i & 4) !== 0
+ for (var a = 0; a < r.length; a++) {
+ var f = r[a],
+ h = f.event
+ f = f.listeners
+ e: {
+ var m = void 0
+ if (i)
+ for (var x = f.length - 1; 0 <= x; x--) {
+ var b = f[x],
+ T = b.instance,
+ P = b.currentTarget
+ if (((b = b.listener), T !== m && h.isPropagationStopped())) break e
+ Fd(h, b, P), (m = T)
+ }
+ else
+ for (x = 0; x < f.length; x++) {
+ if (
+ ((b = f[x]),
+ (T = b.instance),
+ (P = b.currentTarget),
+ (b = b.listener),
+ T !== m && h.isPropagationStopped())
+ )
+ break e
+ Fd(h, b, P), (m = T)
+ }
+ }
+ }
+ if (to) throw ((r = Sa), (to = !1), (Sa = null), r)
+ }
+ function Ce(r, i) {
+ var a = i[Xa]
+ a === void 0 && (a = i[Xa] = new Set())
+ var f = r + '__bubble'
+ a.has(f) || (zd(i, r, 2, !1), a.add(f))
+ }
+ function qa(r, i, a) {
+ var f = 0
+ i && (f |= 4), zd(a, r, f, i)
+ }
+ var wo = '_reactListening' + Math.random().toString(36).slice(2)
+ function si(r) {
+ if (!r[wo]) {
+ ;(r[wo] = !0),
+ s.forEach(function (a) {
+ a !== 'selectionchange' && (bw.has(a) || qa(a, !1, r), qa(a, !0, r))
+ })
+ var i = r.nodeType === 9 ? r : r.ownerDocument
+ i === null || i[wo] || ((i[wo] = !0), qa('selectionchange', !1, i))
+ }
+ }
+ function zd(r, i, a, f) {
+ switch (ud(i)) {
+ case 1:
+ var h = Fv
+ break
+ case 4:
+ h = Bv
+ break
+ default:
+ h = Ca
+ }
+ ;(a = h.bind(null, i, a, r)),
+ (h = void 0),
+ !wa || (i !== 'touchstart' && i !== 'touchmove' && i !== 'wheel') || (h = !0),
+ f
+ ? h !== void 0
+ ? r.addEventListener(i, a, { capture: !0, passive: h })
+ : r.addEventListener(i, a, !0)
+ : h !== void 0
+ ? r.addEventListener(i, a, { passive: h })
+ : r.addEventListener(i, a, !1)
+ }
+ function Va(r, i, a, f, h) {
+ var m = f
+ if ((i & 1) === 0 && (i & 2) === 0 && f !== null)
+ e: for (;;) {
+ if (f === null) return
+ var x = f.tag
+ if (x === 3 || x === 4) {
+ var b = f.stateNode.containerInfo
+ if (b === h || (b.nodeType === 8 && b.parentNode === h)) break
+ if (x === 4)
+ for (x = f.return; x !== null; ) {
+ var T = x.tag
+ if (
+ (T === 3 || T === 4) &&
+ ((T = x.stateNode.containerInfo),
+ T === h || (T.nodeType === 8 && T.parentNode === h))
+ )
+ return
+ x = x.return
+ }
+ for (; b !== null; ) {
+ if (((x = lr(b)), x === null)) return
+ if (((T = x.tag), T === 5 || T === 6)) {
+ f = m = x
+ continue e
+ }
+ b = b.parentNode
+ }
+ }
+ f = f.return
+ }
+ Wf(function () {
+ var P = m,
+ V = ga(a),
+ W = []
+ e: {
+ var U = Rd.get(r)
+ if (U !== void 0) {
+ var Y = Ia,
+ te = r
+ switch (r) {
+ case 'keypress':
+ if (ho(a) === 0) break e
+ case 'keydown':
+ case 'keyup':
+ Y = tw
+ break
+ case 'focusin':
+ ;(te = 'focus'), (Y = ja)
+ break
+ case 'focusout':
+ ;(te = 'blur'), (Y = ja)
+ break
+ case 'beforeblur':
+ case 'afterblur':
+ Y = ja
+ break
+ case 'click':
+ if (a.button === 2) break e
+ case 'auxclick':
+ case 'dblclick':
+ case 'mousedown':
+ case 'mousemove':
+ case 'mouseup':
+ case 'mouseout':
+ case 'mouseover':
+ case 'contextmenu':
+ Y = hd
+ break
+ case 'drag':
+ case 'dragend':
+ case 'dragenter':
+ case 'dragexit':
+ case 'dragleave':
+ case 'dragover':
+ case 'dragstart':
+ case 'drop':
+ Y = Uv
+ break
+ case 'touchcancel':
+ case 'touchend':
+ case 'touchmove':
+ case 'touchstart':
+ Y = sw
+ break
+ case jd:
+ case Pd:
+ case Od:
+ Y = Wv
+ break
+ case $d:
+ Y = ow
+ break
+ case 'scroll':
+ Y = zv
+ break
+ case 'wheel':
+ Y = aw
+ break
+ case 'copy':
+ case 'cut':
+ case 'paste':
+ Y = Gv
+ break
+ case 'gotpointercapture':
+ case 'lostpointercapture':
+ case 'pointercancel':
+ case 'pointerdown':
+ case 'pointermove':
+ case 'pointerout':
+ case 'pointerover':
+ case 'pointerup':
+ Y = md
+ }
+ var ne = (i & 4) !== 0,
+ Be = !ne && r === 'scroll',
+ L = ne ? (U !== null ? U + 'Capture' : null) : U
+ ne = []
+ for (var N = P, j; N !== null; ) {
+ j = N
+ var Q = j.stateNode
+ if (
+ (j.tag === 5 &&
+ Q !== null &&
+ ((j = Q), L !== null && ((Q = Bs(N, L)), Q != null && ne.push(ii(N, Q, j)))),
+ Be)
+ )
+ break
+ N = N.return
+ }
+ 0 < ne.length && ((U = new Y(U, te, null, a, V)), W.push({ event: U, listeners: ne }))
+ }
+ }
+ if ((i & 7) === 0) {
+ e: {
+ if (
+ ((U = r === 'mouseover' || r === 'pointerover'),
+ (Y = r === 'mouseout' || r === 'pointerout'),
+ U && a !== ma && (te = a.relatedTarget || a.fromElement) && (lr(te) || te[pn]))
+ )
+ break e
+ if (
+ (Y || U) &&
+ ((U =
+ V.window === V
+ ? V
+ : (U = V.ownerDocument)
+ ? U.defaultView || U.parentWindow
+ : window),
+ Y
+ ? ((te = a.relatedTarget || a.toElement),
+ (Y = P),
+ (te = te ? lr(te) : null),
+ te !== null &&
+ ((Be = or(te)), te !== Be || (te.tag !== 5 && te.tag !== 6)) &&
+ (te = null))
+ : ((Y = null), (te = P)),
+ Y !== te)
+ ) {
+ if (
+ ((ne = hd),
+ (Q = 'onMouseLeave'),
+ (L = 'onMouseEnter'),
+ (N = 'mouse'),
+ (r === 'pointerout' || r === 'pointerover') &&
+ ((ne = md), (Q = 'onPointerLeave'), (L = 'onPointerEnter'), (N = 'pointer')),
+ (Be = Y == null ? U : Wr(Y)),
+ (j = te == null ? U : Wr(te)),
+ (U = new ne(Q, N + 'leave', Y, a, V)),
+ (U.target = Be),
+ (U.relatedTarget = j),
+ (Q = null),
+ lr(V) === P &&
+ ((ne = new ne(L, N + 'enter', te, a, V)),
+ (ne.target = j),
+ (ne.relatedTarget = Be),
+ (Q = ne)),
+ (Be = Q),
+ Y && te)
+ )
+ t: {
+ for (ne = Y, L = te, N = 0, j = ne; j; j = qr(j)) N++
+ for (j = 0, Q = L; Q; Q = qr(Q)) j++
+ for (; 0 < N - j; ) (ne = qr(ne)), N--
+ for (; 0 < j - N; ) (L = qr(L)), j--
+ for (; N--; ) {
+ if (ne === L || (L !== null && ne === L.alternate)) break t
+ ;(ne = qr(ne)), (L = qr(L))
+ }
+ ne = null
+ }
+ else ne = null
+ Y !== null && Hd(W, U, Y, ne, !1), te !== null && Be !== null && Hd(W, Be, te, ne, !0)
+ }
+ }
+ e: {
+ if (
+ ((U = P ? Wr(P) : window),
+ (Y = U.nodeName && U.nodeName.toLowerCase()),
+ Y === 'select' || (Y === 'input' && U.type === 'file'))
+ )
+ var re = mw
+ else if (xd(U))
+ if (Ed) re = ww
+ else {
+ re = yw
+ var ie = gw
+ }
+ else
+ (Y = U.nodeName) &&
+ Y.toLowerCase() === 'input' &&
+ (U.type === 'checkbox' || U.type === 'radio') &&
+ (re = vw)
+ if (re && (re = re(r, P))) {
+ _d(W, re, a, V)
+ break e
+ }
+ ie && ie(r, U, P),
+ r === 'focusout' &&
+ (ie = U._wrapperState) &&
+ ie.controlled &&
+ U.type === 'number' &&
+ Ds(U, 'number', U.value)
+ }
+ switch (((ie = P ? Wr(P) : window), r)) {
+ case 'focusin':
+ ;(xd(ie) || ie.contentEditable === 'true') && ((Hr = ie), (Fa = P), (ni = null))
+ break
+ case 'focusout':
+ ni = Fa = Hr = null
+ break
+ case 'mousedown':
+ Ba = !0
+ break
+ case 'contextmenu':
+ case 'mouseup':
+ case 'dragend':
+ ;(Ba = !1), Ld(W, a, V)
+ break
+ case 'selectionchange':
+ if (_w) break
+ case 'keydown':
+ case 'keyup':
+ Ld(W, a, V)
+ }
+ var oe
+ if (Oa)
+ e: {
+ switch (r) {
+ case 'compositionstart':
+ var ae = 'onCompositionStart'
+ break e
+ case 'compositionend':
+ ae = 'onCompositionEnd'
+ break e
+ case 'compositionupdate':
+ ae = 'onCompositionUpdate'
+ break e
+ }
+ ae = void 0
+ }
+ else
+ zr
+ ? wd(r, a) && (ae = 'onCompositionEnd')
+ : r === 'keydown' && a.keyCode === 229 && (ae = 'onCompositionStart')
+ ae &&
+ (gd &&
+ a.locale !== 'ko' &&
+ (zr || ae !== 'onCompositionStart'
+ ? ae === 'onCompositionEnd' && zr && (oe = fd())
+ : ((Rn = V), (Aa = 'value' in Rn ? Rn.value : Rn.textContent), (zr = !0))),
+ (ie = So(P, ae)),
+ 0 < ie.length &&
+ ((ae = new pd(ae, r, null, a, V)),
+ W.push({ event: ae, listeners: ie }),
+ oe ? (ae.data = oe) : ((oe = Sd(a)), oe !== null && (ae.data = oe)))),
+ (oe = uw ? fw(r, a) : dw(r, a)) &&
+ ((P = So(P, 'onBeforeInput')),
+ 0 < P.length &&
+ ((V = new pd('onBeforeInput', 'beforeinput', null, a, V)),
+ W.push({ event: V, listeners: P }),
+ (V.data = oe)))
+ }
+ Bd(W, i)
+ })
+ }
+ function ii(r, i, a) {
+ return { instance: r, listener: i, currentTarget: a }
+ }
+ function So(r, i) {
+ for (var a = i + 'Capture', f = []; r !== null; ) {
+ var h = r,
+ m = h.stateNode
+ h.tag === 5 &&
+ m !== null &&
+ ((h = m),
+ (m = Bs(r, a)),
+ m != null && f.unshift(ii(r, m, h)),
+ (m = Bs(r, i)),
+ m != null && f.push(ii(r, m, h))),
+ (r = r.return)
+ }
+ return f
+ }
+ function qr(r) {
+ if (r === null) return null
+ do r = r.return
+ while (r && r.tag !== 5)
+ return r || null
+ }
+ function Hd(r, i, a, f, h) {
+ for (var m = i._reactName, x = []; a !== null && a !== f; ) {
+ var b = a,
+ T = b.alternate,
+ P = b.stateNode
+ if (T !== null && T === f) break
+ b.tag === 5 &&
+ P !== null &&
+ ((b = P),
+ h
+ ? ((T = Bs(a, m)), T != null && x.unshift(ii(a, T, b)))
+ : h || ((T = Bs(a, m)), T != null && x.push(ii(a, T, b)))),
+ (a = a.return)
+ }
+ x.length !== 0 && r.push({ event: i, listeners: x })
+ }
+ var Tw = /\r\n?/g,
+ Cw = /\u0000|\uFFFD/g
+ function Ud(r) {
+ return (typeof r == 'string' ? r : '' + r)
+ .replace(
+ Tw,
+ `
+`
+ )
+ .replace(Cw, '')
+ }
+ function xo(r, i, a) {
+ if (((i = Ud(i)), Ud(r) !== i && a)) throw Error(n(425))
+ }
+ function _o() {}
+ var Wa = null,
+ Ka = null
+ function Ga(r, i) {
+ return (
+ r === 'textarea' ||
+ r === 'noscript' ||
+ typeof i.children == 'string' ||
+ typeof i.children == 'number' ||
+ (typeof i.dangerouslySetInnerHTML == 'object' &&
+ i.dangerouslySetInnerHTML !== null &&
+ i.dangerouslySetInnerHTML.__html != null)
+ )
+ }
+ var Qa = typeof setTimeout == 'function' ? setTimeout : void 0,
+ Nw = typeof clearTimeout == 'function' ? clearTimeout : void 0,
+ qd = typeof Promise == 'function' ? Promise : void 0,
+ Aw =
+ typeof queueMicrotask == 'function'
+ ? queueMicrotask
+ : typeof qd < 'u'
+ ? function (r) {
+ return qd.resolve(null).then(r).catch(Iw)
+ }
+ : Qa
+ function Iw(r) {
+ setTimeout(function () {
+ throw r
+ })
+ }
+ function Ja(r, i) {
+ var a = i,
+ f = 0
+ do {
+ var h = a.nextSibling
+ if ((r.removeChild(a), h && h.nodeType === 8))
+ if (((a = h.data), a === '/$')) {
+ if (f === 0) {
+ r.removeChild(h), Qs(i)
+ return
+ }
+ f--
+ } else (a !== '$' && a !== '$?' && a !== '$!') || f++
+ a = h
+ } while (a)
+ Qs(i)
+ }
+ function Fn(r) {
+ for (; r != null; r = r.nextSibling) {
+ var i = r.nodeType
+ if (i === 1 || i === 3) break
+ if (i === 8) {
+ if (((i = r.data), i === '$' || i === '$!' || i === '$?')) break
+ if (i === '/$') return null
+ }
+ }
+ return r
+ }
+ function Vd(r) {
+ r = r.previousSibling
+ for (var i = 0; r; ) {
+ if (r.nodeType === 8) {
+ var a = r.data
+ if (a === '$' || a === '$!' || a === '$?') {
+ if (i === 0) return r
+ i--
+ } else a === '/$' && i++
+ }
+ r = r.previousSibling
+ }
+ return null
+ }
+ var Vr = Math.random().toString(36).slice(2),
+ on = '__reactFiber$' + Vr,
+ oi = '__reactProps$' + Vr,
+ pn = '__reactContainer$' + Vr,
+ Xa = '__reactEvents$' + Vr,
+ Lw = '__reactListeners$' + Vr,
+ Mw = '__reactHandles$' + Vr
+ function lr(r) {
+ var i = r[on]
+ if (i) return i
+ for (var a = r.parentNode; a; ) {
+ if ((i = a[pn] || a[on])) {
+ if (((a = i.alternate), i.child !== null || (a !== null && a.child !== null)))
+ for (r = Vd(r); r !== null; ) {
+ if ((a = r[on])) return a
+ r = Vd(r)
+ }
+ return i
+ }
+ ;(r = a), (a = r.parentNode)
+ }
+ return null
+ }
+ function li(r) {
+ return (
+ (r = r[on] || r[pn]),
+ !r || (r.tag !== 5 && r.tag !== 6 && r.tag !== 13 && r.tag !== 3) ? null : r
+ )
+ }
+ function Wr(r) {
+ if (r.tag === 5 || r.tag === 6) return r.stateNode
+ throw Error(n(33))
+ }
+ function Eo(r) {
+ return r[oi] || null
+ }
+ var Ya = [],
+ Kr = -1
+ function Bn(r) {
+ return { current: r }
+ }
+ function Ne(r) {
+ 0 > Kr || ((r.current = Ya[Kr]), (Ya[Kr] = null), Kr--)
+ }
+ function Te(r, i) {
+ Kr++, (Ya[Kr] = r.current), (r.current = i)
+ }
+ var zn = {},
+ nt = Bn(zn),
+ gt = Bn(!1),
+ ar = zn
+ function Gr(r, i) {
+ var a = r.type.contextTypes
+ if (!a) return zn
+ var f = r.stateNode
+ if (f && f.__reactInternalMemoizedUnmaskedChildContext === i)
+ return f.__reactInternalMemoizedMaskedChildContext
+ var h = {},
+ m
+ for (m in a) h[m] = i[m]
+ return (
+ f &&
+ ((r = r.stateNode),
+ (r.__reactInternalMemoizedUnmaskedChildContext = i),
+ (r.__reactInternalMemoizedMaskedChildContext = h)),
+ h
+ )
+ }
+ function yt(r) {
+ return (r = r.childContextTypes), r != null
+ }
+ function ko() {
+ Ne(gt), Ne(nt)
+ }
+ function Wd(r, i, a) {
+ if (nt.current !== zn) throw Error(n(168))
+ Te(nt, i), Te(gt, a)
+ }
+ function Kd(r, i, a) {
+ var f = r.stateNode
+ if (((i = i.childContextTypes), typeof f.getChildContext != 'function')) return a
+ f = f.getChildContext()
+ for (var h in f) if (!(h in i)) throw Error(n(108, Se(r) || 'Unknown', h))
+ return Z({}, a, f)
+ }
+ function bo(r) {
+ return (
+ (r = ((r = r.stateNode) && r.__reactInternalMemoizedMergedChildContext) || zn),
+ (ar = nt.current),
+ Te(nt, r),
+ Te(gt, gt.current),
+ !0
+ )
+ }
+ function Gd(r, i, a) {
+ var f = r.stateNode
+ if (!f) throw Error(n(169))
+ a
+ ? ((r = Kd(r, i, ar)),
+ (f.__reactInternalMemoizedMergedChildContext = r),
+ Ne(gt),
+ Ne(nt),
+ Te(nt, r))
+ : Ne(gt),
+ Te(gt, a)
+ }
+ var mn = null,
+ To = !1,
+ Za = !1
+ function Qd(r) {
+ mn === null ? (mn = [r]) : mn.push(r)
+ }
+ function jw(r) {
+ ;(To = !0), Qd(r)
+ }
+ function Hn() {
+ if (!Za && mn !== null) {
+ Za = !0
+ var r = 0,
+ i = xe
+ try {
+ var a = mn
+ for (xe = 1; r < a.length; r++) {
+ var f = a[r]
+ do f = f(!0)
+ while (f !== null)
+ }
+ ;(mn = null), (To = !1)
+ } catch (h) {
+ throw (mn !== null && (mn = mn.slice(r + 1)), Xf(xa, Hn), h)
+ } finally {
+ ;(xe = i), (Za = !1)
+ }
+ }
+ return null
+ }
+ var Qr = [],
+ Jr = 0,
+ Co = null,
+ No = 0,
+ Pt = [],
+ Ot = 0,
+ cr = null,
+ gn = 1,
+ yn = ''
+ function ur(r, i) {
+ ;(Qr[Jr++] = No), (Qr[Jr++] = Co), (Co = r), (No = i)
+ }
+ function Jd(r, i, a) {
+ ;(Pt[Ot++] = gn), (Pt[Ot++] = yn), (Pt[Ot++] = cr), (cr = r)
+ var f = gn
+ r = yn
+ var h = 32 - Wt(f) - 1
+ ;(f &= ~(1 << h)), (a += 1)
+ var m = 32 - Wt(i) + h
+ if (30 < m) {
+ var x = h - (h % 5)
+ ;(m = (f & ((1 << x) - 1)).toString(32)),
+ (f >>= x),
+ (h -= x),
+ (gn = (1 << (32 - Wt(i) + h)) | (a << h) | f),
+ (yn = m + r)
+ } else (gn = (1 << m) | (a << h) | f), (yn = r)
+ }
+ function ec(r) {
+ r.return !== null && (ur(r, 1), Jd(r, 1, 0))
+ }
+ function tc(r) {
+ for (; r === Co; ) (Co = Qr[--Jr]), (Qr[Jr] = null), (No = Qr[--Jr]), (Qr[Jr] = null)
+ for (; r === cr; )
+ (cr = Pt[--Ot]),
+ (Pt[Ot] = null),
+ (yn = Pt[--Ot]),
+ (Pt[Ot] = null),
+ (gn = Pt[--Ot]),
+ (Pt[Ot] = null)
+ }
+ var Nt = null,
+ At = null,
+ Ie = !1,
+ Gt = null
+ function Xd(r, i) {
+ var a = Ft(5, null, null, 0)
+ ;(a.elementType = 'DELETED'),
+ (a.stateNode = i),
+ (a.return = r),
+ (i = r.deletions),
+ i === null ? ((r.deletions = [a]), (r.flags |= 16)) : i.push(a)
+ }
+ function Yd(r, i) {
+ switch (r.tag) {
+ case 5:
+ var a = r.type
+ return (
+ (i = i.nodeType !== 1 || a.toLowerCase() !== i.nodeName.toLowerCase() ? null : i),
+ i !== null ? ((r.stateNode = i), (Nt = r), (At = Fn(i.firstChild)), !0) : !1
+ )
+ case 6:
+ return (
+ (i = r.pendingProps === '' || i.nodeType !== 3 ? null : i),
+ i !== null ? ((r.stateNode = i), (Nt = r), (At = null), !0) : !1
+ )
+ case 13:
+ return (
+ (i = i.nodeType !== 8 ? null : i),
+ i !== null
+ ? ((a = cr !== null ? { id: gn, overflow: yn } : null),
+ (r.memoizedState = { dehydrated: i, treeContext: a, retryLane: 1073741824 }),
+ (a = Ft(18, null, null, 0)),
+ (a.stateNode = i),
+ (a.return = r),
+ (r.child = a),
+ (Nt = r),
+ (At = null),
+ !0)
+ : !1
+ )
+ default:
+ return !1
+ }
+ }
+ function nc(r) {
+ return (r.mode & 1) !== 0 && (r.flags & 128) === 0
+ }
+ function rc(r) {
+ if (Ie) {
+ var i = At
+ if (i) {
+ var a = i
+ if (!Yd(r, i)) {
+ if (nc(r)) throw Error(n(418))
+ i = Fn(a.nextSibling)
+ var f = Nt
+ i && Yd(r, i) ? Xd(f, a) : ((r.flags = (r.flags & -4097) | 2), (Ie = !1), (Nt = r))
+ }
+ } else {
+ if (nc(r)) throw Error(n(418))
+ ;(r.flags = (r.flags & -4097) | 2), (Ie = !1), (Nt = r)
+ }
+ }
+ }
+ function Zd(r) {
+ for (r = r.return; r !== null && r.tag !== 5 && r.tag !== 3 && r.tag !== 13; ) r = r.return
+ Nt = r
+ }
+ function Ao(r) {
+ if (r !== Nt) return !1
+ if (!Ie) return Zd(r), (Ie = !0), !1
+ var i
+ if (
+ ((i = r.tag !== 3) &&
+ !(i = r.tag !== 5) &&
+ ((i = r.type), (i = i !== 'head' && i !== 'body' && !Ga(r.type, r.memoizedProps))),
+ i && (i = At))
+ ) {
+ if (nc(r)) throw (eh(), Error(n(418)))
+ for (; i; ) Xd(r, i), (i = Fn(i.nextSibling))
+ }
+ if ((Zd(r), r.tag === 13)) {
+ if (((r = r.memoizedState), (r = r !== null ? r.dehydrated : null), !r)) throw Error(n(317))
+ e: {
+ for (r = r.nextSibling, i = 0; r; ) {
+ if (r.nodeType === 8) {
+ var a = r.data
+ if (a === '/$') {
+ if (i === 0) {
+ At = Fn(r.nextSibling)
+ break e
+ }
+ i--
+ } else (a !== '$' && a !== '$!' && a !== '$?') || i++
+ }
+ r = r.nextSibling
+ }
+ At = null
+ }
+ } else At = Nt ? Fn(r.stateNode.nextSibling) : null
+ return !0
+ }
+ function eh() {
+ for (var r = At; r; ) r = Fn(r.nextSibling)
+ }
+ function Xr() {
+ ;(At = Nt = null), (Ie = !1)
+ }
+ function sc(r) {
+ Gt === null ? (Gt = [r]) : Gt.push(r)
+ }
+ var Pw = D.ReactCurrentBatchConfig
+ function ai(r, i, a) {
+ if (((r = a.ref), r !== null && typeof r != 'function' && typeof r != 'object')) {
+ if (a._owner) {
+ if (((a = a._owner), a)) {
+ if (a.tag !== 1) throw Error(n(309))
+ var f = a.stateNode
+ }
+ if (!f) throw Error(n(147, r))
+ var h = f,
+ m = '' + r
+ return i !== null && i.ref !== null && typeof i.ref == 'function' && i.ref._stringRef === m
+ ? i.ref
+ : ((i = function (x) {
+ var b = h.refs
+ x === null ? delete b[m] : (b[m] = x)
+ }),
+ (i._stringRef = m),
+ i)
+ }
+ if (typeof r != 'string') throw Error(n(284))
+ if (!a._owner) throw Error(n(290, r))
+ }
+ return r
+ }
+ function Io(r, i) {
+ throw (
+ ((r = Object.prototype.toString.call(i)),
+ Error(
+ n(31, r === '[object Object]' ? 'object with keys {' + Object.keys(i).join(', ') + '}' : r)
+ ))
+ )
+ }
+ function th(r) {
+ var i = r._init
+ return i(r._payload)
+ }
+ function nh(r) {
+ function i(L, N) {
+ if (r) {
+ var j = L.deletions
+ j === null ? ((L.deletions = [N]), (L.flags |= 16)) : j.push(N)
+ }
+ }
+ function a(L, N) {
+ if (!r) return null
+ for (; N !== null; ) i(L, N), (N = N.sibling)
+ return null
+ }
+ function f(L, N) {
+ for (L = new Map(); N !== null; )
+ N.key !== null ? L.set(N.key, N) : L.set(N.index, N), (N = N.sibling)
+ return L
+ }
+ function h(L, N) {
+ return (L = Jn(L, N)), (L.index = 0), (L.sibling = null), L
+ }
+ function m(L, N, j) {
+ return (
+ (L.index = j),
+ r
+ ? ((j = L.alternate),
+ j !== null ? ((j = j.index), j < N ? ((L.flags |= 2), N) : j) : ((L.flags |= 2), N))
+ : ((L.flags |= 1048576), N)
+ )
+ }
+ function x(L) {
+ return r && L.alternate === null && (L.flags |= 2), L
+ }
+ function b(L, N, j, Q) {
+ return N === null || N.tag !== 6
+ ? ((N = Qc(j, L.mode, Q)), (N.return = L), N)
+ : ((N = h(N, j)), (N.return = L), N)
+ }
+ function T(L, N, j, Q) {
+ var re = j.type
+ return re === q
+ ? V(L, N, j.props.children, Q, j.key)
+ : N !== null &&
+ (N.elementType === re ||
+ (typeof re == 'object' && re !== null && re.$$typeof === be && th(re) === N.type))
+ ? ((Q = h(N, j.props)), (Q.ref = ai(L, N, j)), (Q.return = L), Q)
+ : ((Q = el(j.type, j.key, j.props, null, L.mode, Q)),
+ (Q.ref = ai(L, N, j)),
+ (Q.return = L),
+ Q)
+ }
+ function P(L, N, j, Q) {
+ return N === null ||
+ N.tag !== 4 ||
+ N.stateNode.containerInfo !== j.containerInfo ||
+ N.stateNode.implementation !== j.implementation
+ ? ((N = Jc(j, L.mode, Q)), (N.return = L), N)
+ : ((N = h(N, j.children || [])), (N.return = L), N)
+ }
+ function V(L, N, j, Q, re) {
+ return N === null || N.tag !== 7
+ ? ((N = vr(j, L.mode, Q, re)), (N.return = L), N)
+ : ((N = h(N, j)), (N.return = L), N)
+ }
+ function W(L, N, j) {
+ if ((typeof N == 'string' && N !== '') || typeof N == 'number')
+ return (N = Qc('' + N, L.mode, j)), (N.return = L), N
+ if (typeof N == 'object' && N !== null) {
+ switch (N.$$typeof) {
+ case F:
+ return (
+ (j = el(N.type, N.key, N.props, null, L.mode, j)),
+ (j.ref = ai(L, null, N)),
+ (j.return = L),
+ j
+ )
+ case z:
+ return (N = Jc(N, L.mode, j)), (N.return = L), N
+ case be:
+ var Q = N._init
+ return W(L, Q(N._payload), j)
+ }
+ if (An(N) || se(N)) return (N = vr(N, L.mode, j, null)), (N.return = L), N
+ Io(L, N)
+ }
+ return null
+ }
+ function U(L, N, j, Q) {
+ var re = N !== null ? N.key : null
+ if ((typeof j == 'string' && j !== '') || typeof j == 'number')
+ return re !== null ? null : b(L, N, '' + j, Q)
+ if (typeof j == 'object' && j !== null) {
+ switch (j.$$typeof) {
+ case F:
+ return j.key === re ? T(L, N, j, Q) : null
+ case z:
+ return j.key === re ? P(L, N, j, Q) : null
+ case be:
+ return (re = j._init), U(L, N, re(j._payload), Q)
+ }
+ if (An(j) || se(j)) return re !== null ? null : V(L, N, j, Q, null)
+ Io(L, j)
+ }
+ return null
+ }
+ function Y(L, N, j, Q, re) {
+ if ((typeof Q == 'string' && Q !== '') || typeof Q == 'number')
+ return (L = L.get(j) || null), b(N, L, '' + Q, re)
+ if (typeof Q == 'object' && Q !== null) {
+ switch (Q.$$typeof) {
+ case F:
+ return (L = L.get(Q.key === null ? j : Q.key) || null), T(N, L, Q, re)
+ case z:
+ return (L = L.get(Q.key === null ? j : Q.key) || null), P(N, L, Q, re)
+ case be:
+ var ie = Q._init
+ return Y(L, N, j, ie(Q._payload), re)
+ }
+ if (An(Q) || se(Q)) return (L = L.get(j) || null), V(N, L, Q, re, null)
+ Io(N, Q)
+ }
+ return null
+ }
+ function te(L, N, j, Q) {
+ for (
+ var re = null, ie = null, oe = N, ae = (N = 0), Je = null;
+ oe !== null && ae < j.length;
+ ae++
+ ) {
+ oe.index > ae ? ((Je = oe), (oe = null)) : (Je = oe.sibling)
+ var we = U(L, oe, j[ae], Q)
+ if (we === null) {
+ oe === null && (oe = Je)
+ break
+ }
+ r && oe && we.alternate === null && i(L, oe),
+ (N = m(we, N, ae)),
+ ie === null ? (re = we) : (ie.sibling = we),
+ (ie = we),
+ (oe = Je)
+ }
+ if (ae === j.length) return a(L, oe), Ie && ur(L, ae), re
+ if (oe === null) {
+ for (; ae < j.length; ae++)
+ (oe = W(L, j[ae], Q)),
+ oe !== null &&
+ ((N = m(oe, N, ae)), ie === null ? (re = oe) : (ie.sibling = oe), (ie = oe))
+ return Ie && ur(L, ae), re
+ }
+ for (oe = f(L, oe); ae < j.length; ae++)
+ (Je = Y(oe, L, ae, j[ae], Q)),
+ Je !== null &&
+ (r && Je.alternate !== null && oe.delete(Je.key === null ? ae : Je.key),
+ (N = m(Je, N, ae)),
+ ie === null ? (re = Je) : (ie.sibling = Je),
+ (ie = Je))
+ return (
+ r &&
+ oe.forEach(function (Xn) {
+ return i(L, Xn)
+ }),
+ Ie && ur(L, ae),
+ re
+ )
+ }
+ function ne(L, N, j, Q) {
+ var re = se(j)
+ if (typeof re != 'function') throw Error(n(150))
+ if (((j = re.call(j)), j == null)) throw Error(n(151))
+ for (
+ var ie = (re = null), oe = N, ae = (N = 0), Je = null, we = j.next();
+ oe !== null && !we.done;
+ ae++, we = j.next()
+ ) {
+ oe.index > ae ? ((Je = oe), (oe = null)) : (Je = oe.sibling)
+ var Xn = U(L, oe, we.value, Q)
+ if (Xn === null) {
+ oe === null && (oe = Je)
+ break
+ }
+ r && oe && Xn.alternate === null && i(L, oe),
+ (N = m(Xn, N, ae)),
+ ie === null ? (re = Xn) : (ie.sibling = Xn),
+ (ie = Xn),
+ (oe = Je)
+ }
+ if (we.done) return a(L, oe), Ie && ur(L, ae), re
+ if (oe === null) {
+ for (; !we.done; ae++, we = j.next())
+ (we = W(L, we.value, Q)),
+ we !== null &&
+ ((N = m(we, N, ae)), ie === null ? (re = we) : (ie.sibling = we), (ie = we))
+ return Ie && ur(L, ae), re
+ }
+ for (oe = f(L, oe); !we.done; ae++, we = j.next())
+ (we = Y(oe, L, ae, we.value, Q)),
+ we !== null &&
+ (r && we.alternate !== null && oe.delete(we.key === null ? ae : we.key),
+ (N = m(we, N, ae)),
+ ie === null ? (re = we) : (ie.sibling = we),
+ (ie = we))
+ return (
+ r &&
+ oe.forEach(function (h0) {
+ return i(L, h0)
+ }),
+ Ie && ur(L, ae),
+ re
+ )
+ }
+ function Be(L, N, j, Q) {
+ if (
+ (typeof j == 'object' &&
+ j !== null &&
+ j.type === q &&
+ j.key === null &&
+ (j = j.props.children),
+ typeof j == 'object' && j !== null)
+ ) {
+ switch (j.$$typeof) {
+ case F:
+ e: {
+ for (var re = j.key, ie = N; ie !== null; ) {
+ if (ie.key === re) {
+ if (((re = j.type), re === q)) {
+ if (ie.tag === 7) {
+ a(L, ie.sibling), (N = h(ie, j.props.children)), (N.return = L), (L = N)
+ break e
+ }
+ } else if (
+ ie.elementType === re ||
+ (typeof re == 'object' &&
+ re !== null &&
+ re.$$typeof === be &&
+ th(re) === ie.type)
+ ) {
+ a(L, ie.sibling),
+ (N = h(ie, j.props)),
+ (N.ref = ai(L, ie, j)),
+ (N.return = L),
+ (L = N)
+ break e
+ }
+ a(L, ie)
+ break
+ } else i(L, ie)
+ ie = ie.sibling
+ }
+ j.type === q
+ ? ((N = vr(j.props.children, L.mode, Q, j.key)), (N.return = L), (L = N))
+ : ((Q = el(j.type, j.key, j.props, null, L.mode, Q)),
+ (Q.ref = ai(L, N, j)),
+ (Q.return = L),
+ (L = Q))
+ }
+ return x(L)
+ case z:
+ e: {
+ for (ie = j.key; N !== null; ) {
+ if (N.key === ie)
+ if (
+ N.tag === 4 &&
+ N.stateNode.containerInfo === j.containerInfo &&
+ N.stateNode.implementation === j.implementation
+ ) {
+ a(L, N.sibling), (N = h(N, j.children || [])), (N.return = L), (L = N)
+ break e
+ } else {
+ a(L, N)
+ break
+ }
+ else i(L, N)
+ N = N.sibling
+ }
+ ;(N = Jc(j, L.mode, Q)), (N.return = L), (L = N)
+ }
+ return x(L)
+ case be:
+ return (ie = j._init), Be(L, N, ie(j._payload), Q)
+ }
+ if (An(j)) return te(L, N, j, Q)
+ if (se(j)) return ne(L, N, j, Q)
+ Io(L, j)
+ }
+ return (typeof j == 'string' && j !== '') || typeof j == 'number'
+ ? ((j = '' + j),
+ N !== null && N.tag === 6
+ ? (a(L, N.sibling), (N = h(N, j)), (N.return = L), (L = N))
+ : (a(L, N), (N = Qc(j, L.mode, Q)), (N.return = L), (L = N)),
+ x(L))
+ : a(L, N)
+ }
+ return Be
+ }
+ var Yr = nh(!0),
+ rh = nh(!1),
+ Lo = Bn(null),
+ Mo = null,
+ Zr = null,
+ ic = null
+ function oc() {
+ ic = Zr = Mo = null
+ }
+ function lc(r) {
+ var i = Lo.current
+ Ne(Lo), (r._currentValue = i)
+ }
+ function ac(r, i, a) {
+ for (; r !== null; ) {
+ var f = r.alternate
+ if (
+ ((r.childLanes & i) !== i
+ ? ((r.childLanes |= i), f !== null && (f.childLanes |= i))
+ : f !== null && (f.childLanes & i) !== i && (f.childLanes |= i),
+ r === a)
+ )
+ break
+ r = r.return
+ }
+ }
+ function es(r, i) {
+ ;(Mo = r),
+ (ic = Zr = null),
+ (r = r.dependencies),
+ r !== null &&
+ r.firstContext !== null &&
+ ((r.lanes & i) !== 0 && (vt = !0), (r.firstContext = null))
+ }
+ function $t(r) {
+ var i = r._currentValue
+ if (ic !== r)
+ if (((r = { context: r, memoizedValue: i, next: null }), Zr === null)) {
+ if (Mo === null) throw Error(n(308))
+ ;(Zr = r), (Mo.dependencies = { lanes: 0, firstContext: r })
+ } else Zr = Zr.next = r
+ return i
+ }
+ var fr = null
+ function cc(r) {
+ fr === null ? (fr = [r]) : fr.push(r)
+ }
+ function sh(r, i, a, f) {
+ var h = i.interleaved
+ return (
+ h === null ? ((a.next = a), cc(i)) : ((a.next = h.next), (h.next = a)),
+ (i.interleaved = a),
+ vn(r, f)
+ )
+ }
+ function vn(r, i) {
+ r.lanes |= i
+ var a = r.alternate
+ for (a !== null && (a.lanes |= i), a = r, r = r.return; r !== null; )
+ (r.childLanes |= i),
+ (a = r.alternate),
+ a !== null && (a.childLanes |= i),
+ (a = r),
+ (r = r.return)
+ return a.tag === 3 ? a.stateNode : null
+ }
+ var Un = !1
+ function uc(r) {
+ r.updateQueue = {
+ baseState: r.memoizedState,
+ firstBaseUpdate: null,
+ lastBaseUpdate: null,
+ shared: { pending: null, interleaved: null, lanes: 0 },
+ effects: null,
+ }
+ }
+ function ih(r, i) {
+ ;(r = r.updateQueue),
+ i.updateQueue === r &&
+ (i.updateQueue = {
+ baseState: r.baseState,
+ firstBaseUpdate: r.firstBaseUpdate,
+ lastBaseUpdate: r.lastBaseUpdate,
+ shared: r.shared,
+ effects: r.effects,
+ })
+ }
+ function wn(r, i) {
+ return { eventTime: r, lane: i, tag: 0, payload: null, callback: null, next: null }
+ }
+ function qn(r, i, a) {
+ var f = r.updateQueue
+ if (f === null) return null
+ if (((f = f.shared), (ve & 2) !== 0)) {
+ var h = f.pending
+ return (
+ h === null ? (i.next = i) : ((i.next = h.next), (h.next = i)), (f.pending = i), vn(r, a)
+ )
+ }
+ return (
+ (h = f.interleaved),
+ h === null ? ((i.next = i), cc(f)) : ((i.next = h.next), (h.next = i)),
+ (f.interleaved = i),
+ vn(r, a)
+ )
+ }
+ function jo(r, i, a) {
+ if (((i = i.updateQueue), i !== null && ((i = i.shared), (a & 4194240) !== 0))) {
+ var f = i.lanes
+ ;(f &= r.pendingLanes), (a |= f), (i.lanes = a), ka(r, a)
+ }
+ }
+ function oh(r, i) {
+ var a = r.updateQueue,
+ f = r.alternate
+ if (f !== null && ((f = f.updateQueue), a === f)) {
+ var h = null,
+ m = null
+ if (((a = a.firstBaseUpdate), a !== null)) {
+ do {
+ var x = {
+ eventTime: a.eventTime,
+ lane: a.lane,
+ tag: a.tag,
+ payload: a.payload,
+ callback: a.callback,
+ next: null,
+ }
+ m === null ? (h = m = x) : (m = m.next = x), (a = a.next)
+ } while (a !== null)
+ m === null ? (h = m = i) : (m = m.next = i)
+ } else h = m = i
+ ;(a = {
+ baseState: f.baseState,
+ firstBaseUpdate: h,
+ lastBaseUpdate: m,
+ shared: f.shared,
+ effects: f.effects,
+ }),
+ (r.updateQueue = a)
+ return
+ }
+ ;(r = a.lastBaseUpdate),
+ r === null ? (a.firstBaseUpdate = i) : (r.next = i),
+ (a.lastBaseUpdate = i)
+ }
+ function Po(r, i, a, f) {
+ var h = r.updateQueue
+ Un = !1
+ var m = h.firstBaseUpdate,
+ x = h.lastBaseUpdate,
+ b = h.shared.pending
+ if (b !== null) {
+ h.shared.pending = null
+ var T = b,
+ P = T.next
+ ;(T.next = null), x === null ? (m = P) : (x.next = P), (x = T)
+ var V = r.alternate
+ V !== null &&
+ ((V = V.updateQueue),
+ (b = V.lastBaseUpdate),
+ b !== x && (b === null ? (V.firstBaseUpdate = P) : (b.next = P), (V.lastBaseUpdate = T)))
+ }
+ if (m !== null) {
+ var W = h.baseState
+ ;(x = 0), (V = P = T = null), (b = m)
+ do {
+ var U = b.lane,
+ Y = b.eventTime
+ if ((f & U) === U) {
+ V !== null &&
+ (V = V.next =
+ {
+ eventTime: Y,
+ lane: 0,
+ tag: b.tag,
+ payload: b.payload,
+ callback: b.callback,
+ next: null,
+ })
+ e: {
+ var te = r,
+ ne = b
+ switch (((U = i), (Y = a), ne.tag)) {
+ case 1:
+ if (((te = ne.payload), typeof te == 'function')) {
+ W = te.call(Y, W, U)
+ break e
+ }
+ W = te
+ break e
+ case 3:
+ te.flags = (te.flags & -65537) | 128
+ case 0:
+ if (
+ ((te = ne.payload),
+ (U = typeof te == 'function' ? te.call(Y, W, U) : te),
+ U == null)
+ )
+ break e
+ W = Z({}, W, U)
+ break e
+ case 2:
+ Un = !0
+ }
+ }
+ b.callback !== null &&
+ b.lane !== 0 &&
+ ((r.flags |= 64), (U = h.effects), U === null ? (h.effects = [b]) : U.push(b))
+ } else
+ (Y = {
+ eventTime: Y,
+ lane: U,
+ tag: b.tag,
+ payload: b.payload,
+ callback: b.callback,
+ next: null,
+ }),
+ V === null ? ((P = V = Y), (T = W)) : (V = V.next = Y),
+ (x |= U)
+ if (((b = b.next), b === null)) {
+ if (((b = h.shared.pending), b === null)) break
+ ;(U = b), (b = U.next), (U.next = null), (h.lastBaseUpdate = U), (h.shared.pending = null)
+ }
+ } while (!0)
+ if (
+ (V === null && (T = W),
+ (h.baseState = T),
+ (h.firstBaseUpdate = P),
+ (h.lastBaseUpdate = V),
+ (i = h.shared.interleaved),
+ i !== null)
+ ) {
+ h = i
+ do (x |= h.lane), (h = h.next)
+ while (h !== i)
+ } else m === null && (h.shared.lanes = 0)
+ ;(pr |= x), (r.lanes = x), (r.memoizedState = W)
+ }
+ }
+ function lh(r, i, a) {
+ if (((r = i.effects), (i.effects = null), r !== null))
+ for (i = 0; i < r.length; i++) {
+ var f = r[i],
+ h = f.callback
+ if (h !== null) {
+ if (((f.callback = null), (f = a), typeof h != 'function')) throw Error(n(191, h))
+ h.call(f)
+ }
+ }
+ }
+ var ci = {},
+ ln = Bn(ci),
+ ui = Bn(ci),
+ fi = Bn(ci)
+ function dr(r) {
+ if (r === ci) throw Error(n(174))
+ return r
+ }
+ function fc(r, i) {
+ switch ((Te(fi, i), Te(ui, r), Te(ln, ci), (r = i.nodeType), r)) {
+ case 9:
+ case 11:
+ i = (i = i.documentElement) ? i.namespaceURI : Ln(null, '')
+ break
+ default:
+ ;(r = r === 8 ? i.parentNode : i),
+ (i = r.namespaceURI || null),
+ (r = r.tagName),
+ (i = Ln(i, r))
+ }
+ Ne(ln), Te(ln, i)
+ }
+ function ts() {
+ Ne(ln), Ne(ui), Ne(fi)
+ }
+ function ah(r) {
+ dr(fi.current)
+ var i = dr(ln.current),
+ a = Ln(i, r.type)
+ i !== a && (Te(ui, r), Te(ln, a))
+ }
+ function dc(r) {
+ ui.current === r && (Ne(ln), Ne(ui))
+ }
+ var je = Bn(0)
+ function Oo(r) {
+ for (var i = r; i !== null; ) {
+ if (i.tag === 13) {
+ var a = i.memoizedState
+ if (a !== null && ((a = a.dehydrated), a === null || a.data === '$?' || a.data === '$!'))
+ return i
+ } else if (i.tag === 19 && i.memoizedProps.revealOrder !== void 0) {
+ if ((i.flags & 128) !== 0) return i
+ } else if (i.child !== null) {
+ ;(i.child.return = i), (i = i.child)
+ continue
+ }
+ if (i === r) break
+ for (; i.sibling === null; ) {
+ if (i.return === null || i.return === r) return null
+ i = i.return
+ }
+ ;(i.sibling.return = i.return), (i = i.sibling)
+ }
+ return null
+ }
+ var hc = []
+ function pc() {
+ for (var r = 0; r < hc.length; r++) hc[r]._workInProgressVersionPrimary = null
+ hc.length = 0
+ }
+ var $o = D.ReactCurrentDispatcher,
+ mc = D.ReactCurrentBatchConfig,
+ hr = 0,
+ Pe = null,
+ Ve = null,
+ Ge = null,
+ Ro = !1,
+ di = !1,
+ hi = 0,
+ Ow = 0
+ function rt() {
+ throw Error(n(321))
+ }
+ function gc(r, i) {
+ if (i === null) return !1
+ for (var a = 0; a < i.length && a < r.length; a++) if (!Kt(r[a], i[a])) return !1
+ return !0
+ }
+ function yc(r, i, a, f, h, m) {
+ if (
+ ((hr = m),
+ (Pe = i),
+ (i.memoizedState = null),
+ (i.updateQueue = null),
+ (i.lanes = 0),
+ ($o.current = r === null || r.memoizedState === null ? Fw : Bw),
+ (r = a(f, h)),
+ di)
+ ) {
+ m = 0
+ do {
+ if (((di = !1), (hi = 0), 25 <= m)) throw Error(n(301))
+ ;(m += 1), (Ge = Ve = null), (i.updateQueue = null), ($o.current = zw), (r = a(f, h))
+ } while (di)
+ }
+ if (
+ (($o.current = Bo),
+ (i = Ve !== null && Ve.next !== null),
+ (hr = 0),
+ (Ge = Ve = Pe = null),
+ (Ro = !1),
+ i)
+ )
+ throw Error(n(300))
+ return r
+ }
+ function vc() {
+ var r = hi !== 0
+ return (hi = 0), r
+ }
+ function an() {
+ var r = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }
+ return Ge === null ? (Pe.memoizedState = Ge = r) : (Ge = Ge.next = r), Ge
+ }
+ function Rt() {
+ if (Ve === null) {
+ var r = Pe.alternate
+ r = r !== null ? r.memoizedState : null
+ } else r = Ve.next
+ var i = Ge === null ? Pe.memoizedState : Ge.next
+ if (i !== null) (Ge = i), (Ve = r)
+ else {
+ if (r === null) throw Error(n(310))
+ ;(Ve = r),
+ (r = {
+ memoizedState: Ve.memoizedState,
+ baseState: Ve.baseState,
+ baseQueue: Ve.baseQueue,
+ queue: Ve.queue,
+ next: null,
+ }),
+ Ge === null ? (Pe.memoizedState = Ge = r) : (Ge = Ge.next = r)
+ }
+ return Ge
+ }
+ function pi(r, i) {
+ return typeof i == 'function' ? i(r) : i
+ }
+ function wc(r) {
+ var i = Rt(),
+ a = i.queue
+ if (a === null) throw Error(n(311))
+ a.lastRenderedReducer = r
+ var f = Ve,
+ h = f.baseQueue,
+ m = a.pending
+ if (m !== null) {
+ if (h !== null) {
+ var x = h.next
+ ;(h.next = m.next), (m.next = x)
+ }
+ ;(f.baseQueue = h = m), (a.pending = null)
+ }
+ if (h !== null) {
+ ;(m = h.next), (f = f.baseState)
+ var b = (x = null),
+ T = null,
+ P = m
+ do {
+ var V = P.lane
+ if ((hr & V) === V)
+ T !== null &&
+ (T = T.next =
+ {
+ lane: 0,
+ action: P.action,
+ hasEagerState: P.hasEagerState,
+ eagerState: P.eagerState,
+ next: null,
+ }),
+ (f = P.hasEagerState ? P.eagerState : r(f, P.action))
+ else {
+ var W = {
+ lane: V,
+ action: P.action,
+ hasEagerState: P.hasEagerState,
+ eagerState: P.eagerState,
+ next: null,
+ }
+ T === null ? ((b = T = W), (x = f)) : (T = T.next = W), (Pe.lanes |= V), (pr |= V)
+ }
+ P = P.next
+ } while (P !== null && P !== m)
+ T === null ? (x = f) : (T.next = b),
+ Kt(f, i.memoizedState) || (vt = !0),
+ (i.memoizedState = f),
+ (i.baseState = x),
+ (i.baseQueue = T),
+ (a.lastRenderedState = f)
+ }
+ if (((r = a.interleaved), r !== null)) {
+ h = r
+ do (m = h.lane), (Pe.lanes |= m), (pr |= m), (h = h.next)
+ while (h !== r)
+ } else h === null && (a.lanes = 0)
+ return [i.memoizedState, a.dispatch]
+ }
+ function Sc(r) {
+ var i = Rt(),
+ a = i.queue
+ if (a === null) throw Error(n(311))
+ a.lastRenderedReducer = r
+ var f = a.dispatch,
+ h = a.pending,
+ m = i.memoizedState
+ if (h !== null) {
+ a.pending = null
+ var x = (h = h.next)
+ do (m = r(m, x.action)), (x = x.next)
+ while (x !== h)
+ Kt(m, i.memoizedState) || (vt = !0),
+ (i.memoizedState = m),
+ i.baseQueue === null && (i.baseState = m),
+ (a.lastRenderedState = m)
+ }
+ return [m, f]
+ }
+ function ch() {}
+ function uh(r, i) {
+ var a = Pe,
+ f = Rt(),
+ h = i(),
+ m = !Kt(f.memoizedState, h)
+ if (
+ (m && ((f.memoizedState = h), (vt = !0)),
+ (f = f.queue),
+ xc(hh.bind(null, a, f, r), [r]),
+ f.getSnapshot !== i || m || (Ge !== null && Ge.memoizedState.tag & 1))
+ ) {
+ if (((a.flags |= 2048), mi(9, dh.bind(null, a, f, h, i), void 0, null), Qe === null))
+ throw Error(n(349))
+ ;(hr & 30) !== 0 || fh(a, i, h)
+ }
+ return h
+ }
+ function fh(r, i, a) {
+ ;(r.flags |= 16384),
+ (r = { getSnapshot: i, value: a }),
+ (i = Pe.updateQueue),
+ i === null
+ ? ((i = { lastEffect: null, stores: null }), (Pe.updateQueue = i), (i.stores = [r]))
+ : ((a = i.stores), a === null ? (i.stores = [r]) : a.push(r))
+ }
+ function dh(r, i, a, f) {
+ ;(i.value = a), (i.getSnapshot = f), ph(i) && mh(r)
+ }
+ function hh(r, i, a) {
+ return a(function () {
+ ph(i) && mh(r)
+ })
+ }
+ function ph(r) {
+ var i = r.getSnapshot
+ r = r.value
+ try {
+ var a = i()
+ return !Kt(r, a)
+ } catch {
+ return !0
+ }
+ }
+ function mh(r) {
+ var i = vn(r, 1)
+ i !== null && Yt(i, r, 1, -1)
+ }
+ function gh(r) {
+ var i = an()
+ return (
+ typeof r == 'function' && (r = r()),
+ (i.memoizedState = i.baseState = r),
+ (r = {
+ pending: null,
+ interleaved: null,
+ lanes: 0,
+ dispatch: null,
+ lastRenderedReducer: pi,
+ lastRenderedState: r,
+ }),
+ (i.queue = r),
+ (r = r.dispatch = Dw.bind(null, Pe, r)),
+ [i.memoizedState, r]
+ )
+ }
+ function mi(r, i, a, f) {
+ return (
+ (r = { tag: r, create: i, destroy: a, deps: f, next: null }),
+ (i = Pe.updateQueue),
+ i === null
+ ? ((i = { lastEffect: null, stores: null }),
+ (Pe.updateQueue = i),
+ (i.lastEffect = r.next = r))
+ : ((a = i.lastEffect),
+ a === null
+ ? (i.lastEffect = r.next = r)
+ : ((f = a.next), (a.next = r), (r.next = f), (i.lastEffect = r))),
+ r
+ )
+ }
+ function yh() {
+ return Rt().memoizedState
+ }
+ function Do(r, i, a, f) {
+ var h = an()
+ ;(Pe.flags |= r), (h.memoizedState = mi(1 | i, a, void 0, f === void 0 ? null : f))
+ }
+ function Fo(r, i, a, f) {
+ var h = Rt()
+ f = f === void 0 ? null : f
+ var m = void 0
+ if (Ve !== null) {
+ var x = Ve.memoizedState
+ if (((m = x.destroy), f !== null && gc(f, x.deps))) {
+ h.memoizedState = mi(i, a, m, f)
+ return
+ }
+ }
+ ;(Pe.flags |= r), (h.memoizedState = mi(1 | i, a, m, f))
+ }
+ function vh(r, i) {
+ return Do(8390656, 8, r, i)
+ }
+ function xc(r, i) {
+ return Fo(2048, 8, r, i)
+ }
+ function wh(r, i) {
+ return Fo(4, 2, r, i)
+ }
+ function Sh(r, i) {
+ return Fo(4, 4, r, i)
+ }
+ function xh(r, i) {
+ if (typeof i == 'function')
+ return (
+ (r = r()),
+ i(r),
+ function () {
+ i(null)
+ }
+ )
+ if (i != null)
+ return (
+ (r = r()),
+ (i.current = r),
+ function () {
+ i.current = null
+ }
+ )
+ }
+ function _h(r, i, a) {
+ return (a = a != null ? a.concat([r]) : null), Fo(4, 4, xh.bind(null, i, r), a)
+ }
+ function _c() {}
+ function Eh(r, i) {
+ var a = Rt()
+ i = i === void 0 ? null : i
+ var f = a.memoizedState
+ return f !== null && i !== null && gc(i, f[1]) ? f[0] : ((a.memoizedState = [r, i]), r)
+ }
+ function kh(r, i) {
+ var a = Rt()
+ i = i === void 0 ? null : i
+ var f = a.memoizedState
+ return f !== null && i !== null && gc(i, f[1])
+ ? f[0]
+ : ((r = r()), (a.memoizedState = [r, i]), r)
+ }
+ function bh(r, i, a) {
+ return (hr & 21) === 0
+ ? (r.baseState && ((r.baseState = !1), (vt = !0)), (r.memoizedState = a))
+ : (Kt(a, i) || ((a = td()), (Pe.lanes |= a), (pr |= a), (r.baseState = !0)), i)
+ }
+ function $w(r, i) {
+ var a = xe
+ ;(xe = a !== 0 && 4 > a ? a : 4), r(!0)
+ var f = mc.transition
+ mc.transition = {}
+ try {
+ r(!1), i()
+ } finally {
+ ;(xe = a), (mc.transition = f)
+ }
+ }
+ function Th() {
+ return Rt().memoizedState
+ }
+ function Rw(r, i, a) {
+ var f = Gn(r)
+ if (((a = { lane: f, action: a, hasEagerState: !1, eagerState: null, next: null }), Ch(r)))
+ Nh(i, a)
+ else if (((a = sh(r, i, a, f)), a !== null)) {
+ var h = ft()
+ Yt(a, r, f, h), Ah(a, i, f)
+ }
+ }
+ function Dw(r, i, a) {
+ var f = Gn(r),
+ h = { lane: f, action: a, hasEagerState: !1, eagerState: null, next: null }
+ if (Ch(r)) Nh(i, h)
+ else {
+ var m = r.alternate
+ if (
+ r.lanes === 0 &&
+ (m === null || m.lanes === 0) &&
+ ((m = i.lastRenderedReducer), m !== null)
+ )
+ try {
+ var x = i.lastRenderedState,
+ b = m(x, a)
+ if (((h.hasEagerState = !0), (h.eagerState = b), Kt(b, x))) {
+ var T = i.interleaved
+ T === null ? ((h.next = h), cc(i)) : ((h.next = T.next), (T.next = h)),
+ (i.interleaved = h)
+ return
+ }
+ } catch {
+ } finally {
+ }
+ ;(a = sh(r, i, h, f)), a !== null && ((h = ft()), Yt(a, r, f, h), Ah(a, i, f))
+ }
+ }
+ function Ch(r) {
+ var i = r.alternate
+ return r === Pe || (i !== null && i === Pe)
+ }
+ function Nh(r, i) {
+ di = Ro = !0
+ var a = r.pending
+ a === null ? (i.next = i) : ((i.next = a.next), (a.next = i)), (r.pending = i)
+ }
+ function Ah(r, i, a) {
+ if ((a & 4194240) !== 0) {
+ var f = i.lanes
+ ;(f &= r.pendingLanes), (a |= f), (i.lanes = a), ka(r, a)
+ }
+ }
+ var Bo = {
+ readContext: $t,
+ useCallback: rt,
+ useContext: rt,
+ useEffect: rt,
+ useImperativeHandle: rt,
+ useInsertionEffect: rt,
+ useLayoutEffect: rt,
+ useMemo: rt,
+ useReducer: rt,
+ useRef: rt,
+ useState: rt,
+ useDebugValue: rt,
+ useDeferredValue: rt,
+ useTransition: rt,
+ useMutableSource: rt,
+ useSyncExternalStore: rt,
+ useId: rt,
+ unstable_isNewReconciler: !1,
+ },
+ Fw = {
+ readContext: $t,
+ useCallback: function (r, i) {
+ return (an().memoizedState = [r, i === void 0 ? null : i]), r
+ },
+ useContext: $t,
+ useEffect: vh,
+ useImperativeHandle: function (r, i, a) {
+ return (a = a != null ? a.concat([r]) : null), Do(4194308, 4, xh.bind(null, i, r), a)
+ },
+ useLayoutEffect: function (r, i) {
+ return Do(4194308, 4, r, i)
+ },
+ useInsertionEffect: function (r, i) {
+ return Do(4, 2, r, i)
+ },
+ useMemo: function (r, i) {
+ var a = an()
+ return (i = i === void 0 ? null : i), (r = r()), (a.memoizedState = [r, i]), r
+ },
+ useReducer: function (r, i, a) {
+ var f = an()
+ return (
+ (i = a !== void 0 ? a(i) : i),
+ (f.memoizedState = f.baseState = i),
+ (r = {
+ pending: null,
+ interleaved: null,
+ lanes: 0,
+ dispatch: null,
+ lastRenderedReducer: r,
+ lastRenderedState: i,
+ }),
+ (f.queue = r),
+ (r = r.dispatch = Rw.bind(null, Pe, r)),
+ [f.memoizedState, r]
+ )
+ },
+ useRef: function (r) {
+ var i = an()
+ return (r = { current: r }), (i.memoizedState = r)
+ },
+ useState: gh,
+ useDebugValue: _c,
+ useDeferredValue: function (r) {
+ return (an().memoizedState = r)
+ },
+ useTransition: function () {
+ var r = gh(!1),
+ i = r[0]
+ return (r = $w.bind(null, r[1])), (an().memoizedState = r), [i, r]
+ },
+ useMutableSource: function () {},
+ useSyncExternalStore: function (r, i, a) {
+ var f = Pe,
+ h = an()
+ if (Ie) {
+ if (a === void 0) throw Error(n(407))
+ a = a()
+ } else {
+ if (((a = i()), Qe === null)) throw Error(n(349))
+ ;(hr & 30) !== 0 || fh(f, i, a)
+ }
+ h.memoizedState = a
+ var m = { value: a, getSnapshot: i }
+ return (
+ (h.queue = m),
+ vh(hh.bind(null, f, m, r), [r]),
+ (f.flags |= 2048),
+ mi(9, dh.bind(null, f, m, a, i), void 0, null),
+ a
+ )
+ },
+ useId: function () {
+ var r = an(),
+ i = Qe.identifierPrefix
+ if (Ie) {
+ var a = yn,
+ f = gn
+ ;(a = (f & ~(1 << (32 - Wt(f) - 1))).toString(32) + a),
+ (i = ':' + i + 'R' + a),
+ (a = hi++),
+ 0 < a && (i += 'H' + a.toString(32)),
+ (i += ':')
+ } else (a = Ow++), (i = ':' + i + 'r' + a.toString(32) + ':')
+ return (r.memoizedState = i)
+ },
+ unstable_isNewReconciler: !1,
+ },
+ Bw = {
+ readContext: $t,
+ useCallback: Eh,
+ useContext: $t,
+ useEffect: xc,
+ useImperativeHandle: _h,
+ useInsertionEffect: wh,
+ useLayoutEffect: Sh,
+ useMemo: kh,
+ useReducer: wc,
+ useRef: yh,
+ useState: function () {
+ return wc(pi)
+ },
+ useDebugValue: _c,
+ useDeferredValue: function (r) {
+ var i = Rt()
+ return bh(i, Ve.memoizedState, r)
+ },
+ useTransition: function () {
+ var r = wc(pi)[0],
+ i = Rt().memoizedState
+ return [r, i]
+ },
+ useMutableSource: ch,
+ useSyncExternalStore: uh,
+ useId: Th,
+ unstable_isNewReconciler: !1,
+ },
+ zw = {
+ readContext: $t,
+ useCallback: Eh,
+ useContext: $t,
+ useEffect: xc,
+ useImperativeHandle: _h,
+ useInsertionEffect: wh,
+ useLayoutEffect: Sh,
+ useMemo: kh,
+ useReducer: Sc,
+ useRef: yh,
+ useState: function () {
+ return Sc(pi)
+ },
+ useDebugValue: _c,
+ useDeferredValue: function (r) {
+ var i = Rt()
+ return Ve === null ? (i.memoizedState = r) : bh(i, Ve.memoizedState, r)
+ },
+ useTransition: function () {
+ var r = Sc(pi)[0],
+ i = Rt().memoizedState
+ return [r, i]
+ },
+ useMutableSource: ch,
+ useSyncExternalStore: uh,
+ useId: Th,
+ unstable_isNewReconciler: !1,
+ }
+ function Qt(r, i) {
+ if (r && r.defaultProps) {
+ ;(i = Z({}, i)), (r = r.defaultProps)
+ for (var a in r) i[a] === void 0 && (i[a] = r[a])
+ return i
+ }
+ return i
+ }
+ function Ec(r, i, a, f) {
+ ;(i = r.memoizedState),
+ (a = a(f, i)),
+ (a = a == null ? i : Z({}, i, a)),
+ (r.memoizedState = a),
+ r.lanes === 0 && (r.updateQueue.baseState = a)
+ }
+ var zo = {
+ isMounted: function (r) {
+ return (r = r._reactInternals) ? or(r) === r : !1
+ },
+ enqueueSetState: function (r, i, a) {
+ r = r._reactInternals
+ var f = ft(),
+ h = Gn(r),
+ m = wn(f, h)
+ ;(m.payload = i),
+ a != null && (m.callback = a),
+ (i = qn(r, m, h)),
+ i !== null && (Yt(i, r, h, f), jo(i, r, h))
+ },
+ enqueueReplaceState: function (r, i, a) {
+ r = r._reactInternals
+ var f = ft(),
+ h = Gn(r),
+ m = wn(f, h)
+ ;(m.tag = 1),
+ (m.payload = i),
+ a != null && (m.callback = a),
+ (i = qn(r, m, h)),
+ i !== null && (Yt(i, r, h, f), jo(i, r, h))
+ },
+ enqueueForceUpdate: function (r, i) {
+ r = r._reactInternals
+ var a = ft(),
+ f = Gn(r),
+ h = wn(a, f)
+ ;(h.tag = 2),
+ i != null && (h.callback = i),
+ (i = qn(r, h, f)),
+ i !== null && (Yt(i, r, f, a), jo(i, r, f))
+ },
+ }
+ function Ih(r, i, a, f, h, m, x) {
+ return (
+ (r = r.stateNode),
+ typeof r.shouldComponentUpdate == 'function'
+ ? r.shouldComponentUpdate(f, m, x)
+ : i.prototype && i.prototype.isPureReactComponent
+ ? !ti(a, f) || !ti(h, m)
+ : !0
+ )
+ }
+ function Lh(r, i, a) {
+ var f = !1,
+ h = zn,
+ m = i.contextType
+ return (
+ typeof m == 'object' && m !== null
+ ? (m = $t(m))
+ : ((h = yt(i) ? ar : nt.current),
+ (f = i.contextTypes),
+ (m = (f = f != null) ? Gr(r, h) : zn)),
+ (i = new i(a, m)),
+ (r.memoizedState = i.state !== null && i.state !== void 0 ? i.state : null),
+ (i.updater = zo),
+ (r.stateNode = i),
+ (i._reactInternals = r),
+ f &&
+ ((r = r.stateNode),
+ (r.__reactInternalMemoizedUnmaskedChildContext = h),
+ (r.__reactInternalMemoizedMaskedChildContext = m)),
+ i
+ )
+ }
+ function Mh(r, i, a, f) {
+ ;(r = i.state),
+ typeof i.componentWillReceiveProps == 'function' && i.componentWillReceiveProps(a, f),
+ typeof i.UNSAFE_componentWillReceiveProps == 'function' &&
+ i.UNSAFE_componentWillReceiveProps(a, f),
+ i.state !== r && zo.enqueueReplaceState(i, i.state, null)
+ }
+ function kc(r, i, a, f) {
+ var h = r.stateNode
+ ;(h.props = a), (h.state = r.memoizedState), (h.refs = {}), uc(r)
+ var m = i.contextType
+ typeof m == 'object' && m !== null
+ ? (h.context = $t(m))
+ : ((m = yt(i) ? ar : nt.current), (h.context = Gr(r, m))),
+ (h.state = r.memoizedState),
+ (m = i.getDerivedStateFromProps),
+ typeof m == 'function' && (Ec(r, i, m, a), (h.state = r.memoizedState)),
+ typeof i.getDerivedStateFromProps == 'function' ||
+ typeof h.getSnapshotBeforeUpdate == 'function' ||
+ (typeof h.UNSAFE_componentWillMount != 'function' &&
+ typeof h.componentWillMount != 'function') ||
+ ((i = h.state),
+ typeof h.componentWillMount == 'function' && h.componentWillMount(),
+ typeof h.UNSAFE_componentWillMount == 'function' && h.UNSAFE_componentWillMount(),
+ i !== h.state && zo.enqueueReplaceState(h, h.state, null),
+ Po(r, a, h, f),
+ (h.state = r.memoizedState)),
+ typeof h.componentDidMount == 'function' && (r.flags |= 4194308)
+ }
+ function ns(r, i) {
+ try {
+ var a = '',
+ f = i
+ do (a += pe(f)), (f = f.return)
+ while (f)
+ var h = a
+ } catch (m) {
+ h =
+ `
+Error generating stack: ` +
+ m.message +
+ `
+` +
+ m.stack
+ }
+ return { value: r, source: i, stack: h, digest: null }
+ }
+ function bc(r, i, a) {
+ return { value: r, source: null, stack: a ?? null, digest: i ?? null }
+ }
+ function Tc(r, i) {
+ try {
+ console.error(i.value)
+ } catch (a) {
+ setTimeout(function () {
+ throw a
+ })
+ }
+ }
+ var Hw = typeof WeakMap == 'function' ? WeakMap : Map
+ function jh(r, i, a) {
+ ;(a = wn(-1, a)), (a.tag = 3), (a.payload = { element: null })
+ var f = i.value
+ return (
+ (a.callback = function () {
+ Go || ((Go = !0), (zc = f)), Tc(r, i)
+ }),
+ a
+ )
+ }
+ function Ph(r, i, a) {
+ ;(a = wn(-1, a)), (a.tag = 3)
+ var f = r.type.getDerivedStateFromError
+ if (typeof f == 'function') {
+ var h = i.value
+ ;(a.payload = function () {
+ return f(h)
+ }),
+ (a.callback = function () {
+ Tc(r, i)
+ })
+ }
+ var m = r.stateNode
+ return (
+ m !== null &&
+ typeof m.componentDidCatch == 'function' &&
+ (a.callback = function () {
+ Tc(r, i), typeof f != 'function' && (Wn === null ? (Wn = new Set([this])) : Wn.add(this))
+ var x = i.stack
+ this.componentDidCatch(i.value, { componentStack: x !== null ? x : '' })
+ }),
+ a
+ )
+ }
+ function Oh(r, i, a) {
+ var f = r.pingCache
+ if (f === null) {
+ f = r.pingCache = new Hw()
+ var h = new Set()
+ f.set(i, h)
+ } else (h = f.get(i)), h === void 0 && ((h = new Set()), f.set(i, h))
+ h.has(a) || (h.add(a), (r = n0.bind(null, r, i, a)), i.then(r, r))
+ }
+ function $h(r) {
+ do {
+ var i
+ if (
+ ((i = r.tag === 13) &&
+ ((i = r.memoizedState), (i = i !== null ? i.dehydrated !== null : !0)),
+ i)
+ )
+ return r
+ r = r.return
+ } while (r !== null)
+ return null
+ }
+ function Rh(r, i, a, f, h) {
+ return (r.mode & 1) === 0
+ ? (r === i
+ ? (r.flags |= 65536)
+ : ((r.flags |= 128),
+ (a.flags |= 131072),
+ (a.flags &= -52805),
+ a.tag === 1 &&
+ (a.alternate === null ? (a.tag = 17) : ((i = wn(-1, 1)), (i.tag = 2), qn(a, i, 1))),
+ (a.lanes |= 1)),
+ r)
+ : ((r.flags |= 65536), (r.lanes = h), r)
+ }
+ var Uw = D.ReactCurrentOwner,
+ vt = !1
+ function ut(r, i, a, f) {
+ i.child = r === null ? rh(i, null, a, f) : Yr(i, r.child, a, f)
+ }
+ function Dh(r, i, a, f, h) {
+ a = a.render
+ var m = i.ref
+ return (
+ es(i, h),
+ (f = yc(r, i, a, f, m, h)),
+ (a = vc()),
+ r !== null && !vt
+ ? ((i.updateQueue = r.updateQueue), (i.flags &= -2053), (r.lanes &= ~h), Sn(r, i, h))
+ : (Ie && a && ec(i), (i.flags |= 1), ut(r, i, f, h), i.child)
+ )
+ }
+ function Fh(r, i, a, f, h) {
+ if (r === null) {
+ var m = a.type
+ return typeof m == 'function' &&
+ !Gc(m) &&
+ m.defaultProps === void 0 &&
+ a.compare === null &&
+ a.defaultProps === void 0
+ ? ((i.tag = 15), (i.type = m), Bh(r, i, m, f, h))
+ : ((r = el(a.type, null, f, i, i.mode, h)), (r.ref = i.ref), (r.return = i), (i.child = r))
+ }
+ if (((m = r.child), (r.lanes & h) === 0)) {
+ var x = m.memoizedProps
+ if (((a = a.compare), (a = a !== null ? a : ti), a(x, f) && r.ref === i.ref))
+ return Sn(r, i, h)
+ }
+ return (i.flags |= 1), (r = Jn(m, f)), (r.ref = i.ref), (r.return = i), (i.child = r)
+ }
+ function Bh(r, i, a, f, h) {
+ if (r !== null) {
+ var m = r.memoizedProps
+ if (ti(m, f) && r.ref === i.ref)
+ if (((vt = !1), (i.pendingProps = f = m), (r.lanes & h) !== 0))
+ (r.flags & 131072) !== 0 && (vt = !0)
+ else return (i.lanes = r.lanes), Sn(r, i, h)
+ }
+ return Cc(r, i, a, f, h)
+ }
+ function zh(r, i, a) {
+ var f = i.pendingProps,
+ h = f.children,
+ m = r !== null ? r.memoizedState : null
+ if (f.mode === 'hidden')
+ if ((i.mode & 1) === 0)
+ (i.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }),
+ Te(ss, It),
+ (It |= a)
+ else {
+ if ((a & 1073741824) === 0)
+ return (
+ (r = m !== null ? m.baseLanes | a : a),
+ (i.lanes = i.childLanes = 1073741824),
+ (i.memoizedState = { baseLanes: r, cachePool: null, transitions: null }),
+ (i.updateQueue = null),
+ Te(ss, It),
+ (It |= r),
+ null
+ )
+ ;(i.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }),
+ (f = m !== null ? m.baseLanes : a),
+ Te(ss, It),
+ (It |= f)
+ }
+ else
+ m !== null ? ((f = m.baseLanes | a), (i.memoizedState = null)) : (f = a),
+ Te(ss, It),
+ (It |= f)
+ return ut(r, i, h, a), i.child
+ }
+ function Hh(r, i) {
+ var a = i.ref
+ ;((r === null && a !== null) || (r !== null && r.ref !== a)) &&
+ ((i.flags |= 512), (i.flags |= 2097152))
+ }
+ function Cc(r, i, a, f, h) {
+ var m = yt(a) ? ar : nt.current
+ return (
+ (m = Gr(i, m)),
+ es(i, h),
+ (a = yc(r, i, a, f, m, h)),
+ (f = vc()),
+ r !== null && !vt
+ ? ((i.updateQueue = r.updateQueue), (i.flags &= -2053), (r.lanes &= ~h), Sn(r, i, h))
+ : (Ie && f && ec(i), (i.flags |= 1), ut(r, i, a, h), i.child)
+ )
+ }
+ function Uh(r, i, a, f, h) {
+ if (yt(a)) {
+ var m = !0
+ bo(i)
+ } else m = !1
+ if ((es(i, h), i.stateNode === null)) Uo(r, i), Lh(i, a, f), kc(i, a, f, h), (f = !0)
+ else if (r === null) {
+ var x = i.stateNode,
+ b = i.memoizedProps
+ x.props = b
+ var T = x.context,
+ P = a.contextType
+ typeof P == 'object' && P !== null
+ ? (P = $t(P))
+ : ((P = yt(a) ? ar : nt.current), (P = Gr(i, P)))
+ var V = a.getDerivedStateFromProps,
+ W = typeof V == 'function' || typeof x.getSnapshotBeforeUpdate == 'function'
+ W ||
+ (typeof x.UNSAFE_componentWillReceiveProps != 'function' &&
+ typeof x.componentWillReceiveProps != 'function') ||
+ ((b !== f || T !== P) && Mh(i, x, f, P)),
+ (Un = !1)
+ var U = i.memoizedState
+ ;(x.state = U),
+ Po(i, f, x, h),
+ (T = i.memoizedState),
+ b !== f || U !== T || gt.current || Un
+ ? (typeof V == 'function' && (Ec(i, a, V, f), (T = i.memoizedState)),
+ (b = Un || Ih(i, a, b, f, U, T, P))
+ ? (W ||
+ (typeof x.UNSAFE_componentWillMount != 'function' &&
+ typeof x.componentWillMount != 'function') ||
+ (typeof x.componentWillMount == 'function' && x.componentWillMount(),
+ typeof x.UNSAFE_componentWillMount == 'function' &&
+ x.UNSAFE_componentWillMount()),
+ typeof x.componentDidMount == 'function' && (i.flags |= 4194308))
+ : (typeof x.componentDidMount == 'function' && (i.flags |= 4194308),
+ (i.memoizedProps = f),
+ (i.memoizedState = T)),
+ (x.props = f),
+ (x.state = T),
+ (x.context = P),
+ (f = b))
+ : (typeof x.componentDidMount == 'function' && (i.flags |= 4194308), (f = !1))
+ } else {
+ ;(x = i.stateNode),
+ ih(r, i),
+ (b = i.memoizedProps),
+ (P = i.type === i.elementType ? b : Qt(i.type, b)),
+ (x.props = P),
+ (W = i.pendingProps),
+ (U = x.context),
+ (T = a.contextType),
+ typeof T == 'object' && T !== null
+ ? (T = $t(T))
+ : ((T = yt(a) ? ar : nt.current), (T = Gr(i, T)))
+ var Y = a.getDerivedStateFromProps
+ ;(V = typeof Y == 'function' || typeof x.getSnapshotBeforeUpdate == 'function') ||
+ (typeof x.UNSAFE_componentWillReceiveProps != 'function' &&
+ typeof x.componentWillReceiveProps != 'function') ||
+ ((b !== W || U !== T) && Mh(i, x, f, T)),
+ (Un = !1),
+ (U = i.memoizedState),
+ (x.state = U),
+ Po(i, f, x, h)
+ var te = i.memoizedState
+ b !== W || U !== te || gt.current || Un
+ ? (typeof Y == 'function' && (Ec(i, a, Y, f), (te = i.memoizedState)),
+ (P = Un || Ih(i, a, P, f, U, te, T) || !1)
+ ? (V ||
+ (typeof x.UNSAFE_componentWillUpdate != 'function' &&
+ typeof x.componentWillUpdate != 'function') ||
+ (typeof x.componentWillUpdate == 'function' && x.componentWillUpdate(f, te, T),
+ typeof x.UNSAFE_componentWillUpdate == 'function' &&
+ x.UNSAFE_componentWillUpdate(f, te, T)),
+ typeof x.componentDidUpdate == 'function' && (i.flags |= 4),
+ typeof x.getSnapshotBeforeUpdate == 'function' && (i.flags |= 1024))
+ : (typeof x.componentDidUpdate != 'function' ||
+ (b === r.memoizedProps && U === r.memoizedState) ||
+ (i.flags |= 4),
+ typeof x.getSnapshotBeforeUpdate != 'function' ||
+ (b === r.memoizedProps && U === r.memoizedState) ||
+ (i.flags |= 1024),
+ (i.memoizedProps = f),
+ (i.memoizedState = te)),
+ (x.props = f),
+ (x.state = te),
+ (x.context = T),
+ (f = P))
+ : (typeof x.componentDidUpdate != 'function' ||
+ (b === r.memoizedProps && U === r.memoizedState) ||
+ (i.flags |= 4),
+ typeof x.getSnapshotBeforeUpdate != 'function' ||
+ (b === r.memoizedProps && U === r.memoizedState) ||
+ (i.flags |= 1024),
+ (f = !1))
+ }
+ return Nc(r, i, a, f, m, h)
+ }
+ function Nc(r, i, a, f, h, m) {
+ Hh(r, i)
+ var x = (i.flags & 128) !== 0
+ if (!f && !x) return h && Gd(i, a, !1), Sn(r, i, m)
+ ;(f = i.stateNode), (Uw.current = i)
+ var b = x && typeof a.getDerivedStateFromError != 'function' ? null : f.render()
+ return (
+ (i.flags |= 1),
+ r !== null && x
+ ? ((i.child = Yr(i, r.child, null, m)), (i.child = Yr(i, null, b, m)))
+ : ut(r, i, b, m),
+ (i.memoizedState = f.state),
+ h && Gd(i, a, !0),
+ i.child
+ )
+ }
+ function qh(r) {
+ var i = r.stateNode
+ i.pendingContext
+ ? Wd(r, i.pendingContext, i.pendingContext !== i.context)
+ : i.context && Wd(r, i.context, !1),
+ fc(r, i.containerInfo)
+ }
+ function Vh(r, i, a, f, h) {
+ return Xr(), sc(h), (i.flags |= 256), ut(r, i, a, f), i.child
+ }
+ var Ac = { dehydrated: null, treeContext: null, retryLane: 0 }
+ function Ic(r) {
+ return { baseLanes: r, cachePool: null, transitions: null }
+ }
+ function Wh(r, i, a) {
+ var f = i.pendingProps,
+ h = je.current,
+ m = !1,
+ x = (i.flags & 128) !== 0,
+ b
+ if (
+ ((b = x) || (b = r !== null && r.memoizedState === null ? !1 : (h & 2) !== 0),
+ b ? ((m = !0), (i.flags &= -129)) : (r === null || r.memoizedState !== null) && (h |= 1),
+ Te(je, h & 1),
+ r === null)
+ )
+ return (
+ rc(i),
+ (r = i.memoizedState),
+ r !== null && ((r = r.dehydrated), r !== null)
+ ? ((i.mode & 1) === 0
+ ? (i.lanes = 1)
+ : r.data === '$!'
+ ? (i.lanes = 8)
+ : (i.lanes = 1073741824),
+ null)
+ : ((x = f.children),
+ (r = f.fallback),
+ m
+ ? ((f = i.mode),
+ (m = i.child),
+ (x = { mode: 'hidden', children: x }),
+ (f & 1) === 0 && m !== null
+ ? ((m.childLanes = 0), (m.pendingProps = x))
+ : (m = tl(x, f, 0, null)),
+ (r = vr(r, f, a, null)),
+ (m.return = i),
+ (r.return = i),
+ (m.sibling = r),
+ (i.child = m),
+ (i.child.memoizedState = Ic(a)),
+ (i.memoizedState = Ac),
+ r)
+ : Lc(i, x))
+ )
+ if (((h = r.memoizedState), h !== null && ((b = h.dehydrated), b !== null)))
+ return qw(r, i, x, f, b, h, a)
+ if (m) {
+ ;(m = f.fallback), (x = i.mode), (h = r.child), (b = h.sibling)
+ var T = { mode: 'hidden', children: f.children }
+ return (
+ (x & 1) === 0 && i.child !== h
+ ? ((f = i.child), (f.childLanes = 0), (f.pendingProps = T), (i.deletions = null))
+ : ((f = Jn(h, T)), (f.subtreeFlags = h.subtreeFlags & 14680064)),
+ b !== null ? (m = Jn(b, m)) : ((m = vr(m, x, a, null)), (m.flags |= 2)),
+ (m.return = i),
+ (f.return = i),
+ (f.sibling = m),
+ (i.child = f),
+ (f = m),
+ (m = i.child),
+ (x = r.child.memoizedState),
+ (x =
+ x === null
+ ? Ic(a)
+ : { baseLanes: x.baseLanes | a, cachePool: null, transitions: x.transitions }),
+ (m.memoizedState = x),
+ (m.childLanes = r.childLanes & ~a),
+ (i.memoizedState = Ac),
+ f
+ )
+ }
+ return (
+ (m = r.child),
+ (r = m.sibling),
+ (f = Jn(m, { mode: 'visible', children: f.children })),
+ (i.mode & 1) === 0 && (f.lanes = a),
+ (f.return = i),
+ (f.sibling = null),
+ r !== null &&
+ ((a = i.deletions), a === null ? ((i.deletions = [r]), (i.flags |= 16)) : a.push(r)),
+ (i.child = f),
+ (i.memoizedState = null),
+ f
+ )
+ }
+ function Lc(r, i) {
+ return (
+ (i = tl({ mode: 'visible', children: i }, r.mode, 0, null)), (i.return = r), (r.child = i)
+ )
+ }
+ function Ho(r, i, a, f) {
+ return (
+ f !== null && sc(f),
+ Yr(i, r.child, null, a),
+ (r = Lc(i, i.pendingProps.children)),
+ (r.flags |= 2),
+ (i.memoizedState = null),
+ r
+ )
+ }
+ function qw(r, i, a, f, h, m, x) {
+ if (a)
+ return i.flags & 256
+ ? ((i.flags &= -257), (f = bc(Error(n(422)))), Ho(r, i, x, f))
+ : i.memoizedState !== null
+ ? ((i.child = r.child), (i.flags |= 128), null)
+ : ((m = f.fallback),
+ (h = i.mode),
+ (f = tl({ mode: 'visible', children: f.children }, h, 0, null)),
+ (m = vr(m, h, x, null)),
+ (m.flags |= 2),
+ (f.return = i),
+ (m.return = i),
+ (f.sibling = m),
+ (i.child = f),
+ (i.mode & 1) !== 0 && Yr(i, r.child, null, x),
+ (i.child.memoizedState = Ic(x)),
+ (i.memoizedState = Ac),
+ m)
+ if ((i.mode & 1) === 0) return Ho(r, i, x, null)
+ if (h.data === '$!') {
+ if (((f = h.nextSibling && h.nextSibling.dataset), f)) var b = f.dgst
+ return (f = b), (m = Error(n(419))), (f = bc(m, f, void 0)), Ho(r, i, x, f)
+ }
+ if (((b = (x & r.childLanes) !== 0), vt || b)) {
+ if (((f = Qe), f !== null)) {
+ switch (x & -x) {
+ case 4:
+ h = 2
+ break
+ case 16:
+ h = 8
+ break
+ case 64:
+ 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:
+ case 4194304:
+ case 8388608:
+ case 16777216:
+ case 33554432:
+ case 67108864:
+ h = 32
+ break
+ case 536870912:
+ h = 268435456
+ break
+ default:
+ h = 0
+ }
+ ;(h = (h & (f.suspendedLanes | x)) !== 0 ? 0 : h),
+ h !== 0 && h !== m.retryLane && ((m.retryLane = h), vn(r, h), Yt(f, r, h, -1))
+ }
+ return Kc(), (f = bc(Error(n(421)))), Ho(r, i, x, f)
+ }
+ return h.data === '$?'
+ ? ((i.flags |= 128), (i.child = r.child), (i = r0.bind(null, r)), (h._reactRetry = i), null)
+ : ((r = m.treeContext),
+ (At = Fn(h.nextSibling)),
+ (Nt = i),
+ (Ie = !0),
+ (Gt = null),
+ r !== null &&
+ ((Pt[Ot++] = gn),
+ (Pt[Ot++] = yn),
+ (Pt[Ot++] = cr),
+ (gn = r.id),
+ (yn = r.overflow),
+ (cr = i)),
+ (i = Lc(i, f.children)),
+ (i.flags |= 4096),
+ i)
+ }
+ function Kh(r, i, a) {
+ r.lanes |= i
+ var f = r.alternate
+ f !== null && (f.lanes |= i), ac(r.return, i, a)
+ }
+ function Mc(r, i, a, f, h) {
+ var m = r.memoizedState
+ m === null
+ ? (r.memoizedState = {
+ isBackwards: i,
+ rendering: null,
+ renderingStartTime: 0,
+ last: f,
+ tail: a,
+ tailMode: h,
+ })
+ : ((m.isBackwards = i),
+ (m.rendering = null),
+ (m.renderingStartTime = 0),
+ (m.last = f),
+ (m.tail = a),
+ (m.tailMode = h))
+ }
+ function Gh(r, i, a) {
+ var f = i.pendingProps,
+ h = f.revealOrder,
+ m = f.tail
+ if ((ut(r, i, f.children, a), (f = je.current), (f & 2) !== 0))
+ (f = (f & 1) | 2), (i.flags |= 128)
+ else {
+ if (r !== null && (r.flags & 128) !== 0)
+ e: for (r = i.child; r !== null; ) {
+ if (r.tag === 13) r.memoizedState !== null && Kh(r, a, i)
+ else if (r.tag === 19) Kh(r, a, i)
+ else if (r.child !== null) {
+ ;(r.child.return = r), (r = r.child)
+ continue
+ }
+ if (r === i) break e
+ for (; r.sibling === null; ) {
+ if (r.return === null || r.return === i) break e
+ r = r.return
+ }
+ ;(r.sibling.return = r.return), (r = r.sibling)
+ }
+ f &= 1
+ }
+ if ((Te(je, f), (i.mode & 1) === 0)) i.memoizedState = null
+ else
+ switch (h) {
+ case 'forwards':
+ for (a = i.child, h = null; a !== null; )
+ (r = a.alternate), r !== null && Oo(r) === null && (h = a), (a = a.sibling)
+ ;(a = h),
+ a === null ? ((h = i.child), (i.child = null)) : ((h = a.sibling), (a.sibling = null)),
+ Mc(i, !1, h, a, m)
+ break
+ case 'backwards':
+ for (a = null, h = i.child, i.child = null; h !== null; ) {
+ if (((r = h.alternate), r !== null && Oo(r) === null)) {
+ i.child = h
+ break
+ }
+ ;(r = h.sibling), (h.sibling = a), (a = h), (h = r)
+ }
+ Mc(i, !0, a, null, m)
+ break
+ case 'together':
+ Mc(i, !1, null, null, void 0)
+ break
+ default:
+ i.memoizedState = null
+ }
+ return i.child
+ }
+ function Uo(r, i) {
+ ;(i.mode & 1) === 0 &&
+ r !== null &&
+ ((r.alternate = null), (i.alternate = null), (i.flags |= 2))
+ }
+ function Sn(r, i, a) {
+ if (
+ (r !== null && (i.dependencies = r.dependencies), (pr |= i.lanes), (a & i.childLanes) === 0)
+ )
+ return null
+ if (r !== null && i.child !== r.child) throw Error(n(153))
+ if (i.child !== null) {
+ for (r = i.child, a = Jn(r, r.pendingProps), i.child = a, a.return = i; r.sibling !== null; )
+ (r = r.sibling), (a = a.sibling = Jn(r, r.pendingProps)), (a.return = i)
+ a.sibling = null
+ }
+ return i.child
+ }
+ function Vw(r, i, a) {
+ switch (i.tag) {
+ case 3:
+ qh(i), Xr()
+ break
+ case 5:
+ ah(i)
+ break
+ case 1:
+ yt(i.type) && bo(i)
+ break
+ case 4:
+ fc(i, i.stateNode.containerInfo)
+ break
+ case 10:
+ var f = i.type._context,
+ h = i.memoizedProps.value
+ Te(Lo, f._currentValue), (f._currentValue = h)
+ break
+ case 13:
+ if (((f = i.memoizedState), f !== null))
+ return f.dehydrated !== null
+ ? (Te(je, je.current & 1), (i.flags |= 128), null)
+ : (a & i.child.childLanes) !== 0
+ ? Wh(r, i, a)
+ : (Te(je, je.current & 1), (r = Sn(r, i, a)), r !== null ? r.sibling : null)
+ Te(je, je.current & 1)
+ break
+ case 19:
+ if (((f = (a & i.childLanes) !== 0), (r.flags & 128) !== 0)) {
+ if (f) return Gh(r, i, a)
+ i.flags |= 128
+ }
+ if (
+ ((h = i.memoizedState),
+ h !== null && ((h.rendering = null), (h.tail = null), (h.lastEffect = null)),
+ Te(je, je.current),
+ f)
+ )
+ break
+ return null
+ case 22:
+ case 23:
+ return (i.lanes = 0), zh(r, i, a)
+ }
+ return Sn(r, i, a)
+ }
+ var Qh, jc, Jh, Xh
+ ;(Qh = function (r, i) {
+ for (var a = i.child; a !== null; ) {
+ if (a.tag === 5 || a.tag === 6) r.appendChild(a.stateNode)
+ else if (a.tag !== 4 && a.child !== null) {
+ ;(a.child.return = a), (a = a.child)
+ continue
+ }
+ if (a === i) break
+ for (; a.sibling === null; ) {
+ if (a.return === null || a.return === i) return
+ a = a.return
+ }
+ ;(a.sibling.return = a.return), (a = a.sibling)
+ }
+ }),
+ (jc = function () {}),
+ (Jh = function (r, i, a, f) {
+ var h = r.memoizedProps
+ if (h !== f) {
+ ;(r = i.stateNode), dr(ln.current)
+ var m = null
+ switch (a) {
+ case 'input':
+ ;(h = Pr(r, h)), (f = Pr(r, f)), (m = [])
+ break
+ case 'select':
+ ;(h = Z({}, h, { value: void 0 })), (f = Z({}, f, { value: void 0 })), (m = [])
+ break
+ case 'textarea':
+ ;(h = Fs(r, h)), (f = Fs(r, f)), (m = [])
+ break
+ default:
+ typeof h.onClick != 'function' && typeof f.onClick == 'function' && (r.onclick = _o)
+ }
+ ha(a, f)
+ var x
+ a = null
+ for (P in h)
+ if (!f.hasOwnProperty(P) && h.hasOwnProperty(P) && h[P] != null)
+ if (P === 'style') {
+ var b = h[P]
+ for (x in b) b.hasOwnProperty(x) && (a || (a = {}), (a[x] = ''))
+ } else
+ P !== 'dangerouslySetInnerHTML' &&
+ P !== 'children' &&
+ P !== 'suppressContentEditableWarning' &&
+ P !== 'suppressHydrationWarning' &&
+ P !== 'autoFocus' &&
+ (o.hasOwnProperty(P) ? m || (m = []) : (m = m || []).push(P, null))
+ for (P in f) {
+ var T = f[P]
+ if (
+ ((b = h != null ? h[P] : void 0),
+ f.hasOwnProperty(P) && T !== b && (T != null || b != null))
+ )
+ if (P === 'style')
+ if (b) {
+ for (x in b)
+ !b.hasOwnProperty(x) || (T && T.hasOwnProperty(x)) || (a || (a = {}), (a[x] = ''))
+ for (x in T) T.hasOwnProperty(x) && b[x] !== T[x] && (a || (a = {}), (a[x] = T[x]))
+ } else a || (m || (m = []), m.push(P, a)), (a = T)
+ else
+ P === 'dangerouslySetInnerHTML'
+ ? ((T = T ? T.__html : void 0),
+ (b = b ? b.__html : void 0),
+ T != null && b !== T && (m = m || []).push(P, T))
+ : P === 'children'
+ ? (typeof T != 'string' && typeof T != 'number') || (m = m || []).push(P, '' + T)
+ : P !== 'suppressContentEditableWarning' &&
+ P !== 'suppressHydrationWarning' &&
+ (o.hasOwnProperty(P)
+ ? (T != null && P === 'onScroll' && Ce('scroll', r), m || b === T || (m = []))
+ : (m = m || []).push(P, T))
+ }
+ a && (m = m || []).push('style', a)
+ var P = m
+ ;(i.updateQueue = P) && (i.flags |= 4)
+ }
+ }),
+ (Xh = function (r, i, a, f) {
+ a !== f && (i.flags |= 4)
+ })
+ function gi(r, i) {
+ if (!Ie)
+ switch (r.tailMode) {
+ case 'hidden':
+ i = r.tail
+ for (var a = null; i !== null; ) i.alternate !== null && (a = i), (i = i.sibling)
+ a === null ? (r.tail = null) : (a.sibling = null)
+ break
+ case 'collapsed':
+ a = r.tail
+ for (var f = null; a !== null; ) a.alternate !== null && (f = a), (a = a.sibling)
+ f === null
+ ? i || r.tail === null
+ ? (r.tail = null)
+ : (r.tail.sibling = null)
+ : (f.sibling = null)
+ }
+ }
+ function st(r) {
+ var i = r.alternate !== null && r.alternate.child === r.child,
+ a = 0,
+ f = 0
+ if (i)
+ for (var h = r.child; h !== null; )
+ (a |= h.lanes | h.childLanes),
+ (f |= h.subtreeFlags & 14680064),
+ (f |= h.flags & 14680064),
+ (h.return = r),
+ (h = h.sibling)
+ else
+ for (h = r.child; h !== null; )
+ (a |= h.lanes | h.childLanes),
+ (f |= h.subtreeFlags),
+ (f |= h.flags),
+ (h.return = r),
+ (h = h.sibling)
+ return (r.subtreeFlags |= f), (r.childLanes = a), i
+ }
+ function Ww(r, i, a) {
+ var f = i.pendingProps
+ switch ((tc(i), i.tag)) {
+ case 2:
+ case 16:
+ case 15:
+ case 0:
+ case 11:
+ case 7:
+ case 8:
+ case 12:
+ case 9:
+ case 14:
+ return st(i), null
+ case 1:
+ return yt(i.type) && ko(), st(i), null
+ case 3:
+ return (
+ (f = i.stateNode),
+ ts(),
+ Ne(gt),
+ Ne(nt),
+ pc(),
+ f.pendingContext && ((f.context = f.pendingContext), (f.pendingContext = null)),
+ (r === null || r.child === null) &&
+ (Ao(i)
+ ? (i.flags |= 4)
+ : r === null ||
+ (r.memoizedState.isDehydrated && (i.flags & 256) === 0) ||
+ ((i.flags |= 1024), Gt !== null && (qc(Gt), (Gt = null)))),
+ jc(r, i),
+ st(i),
+ null
+ )
+ case 5:
+ dc(i)
+ var h = dr(fi.current)
+ if (((a = i.type), r !== null && i.stateNode != null))
+ Jh(r, i, a, f, h), r.ref !== i.ref && ((i.flags |= 512), (i.flags |= 2097152))
+ else {
+ if (!f) {
+ if (i.stateNode === null) throw Error(n(166))
+ return st(i), null
+ }
+ if (((r = dr(ln.current)), Ao(i))) {
+ ;(f = i.stateNode), (a = i.type)
+ var m = i.memoizedProps
+ switch (((f[on] = i), (f[oi] = m), (r = (i.mode & 1) !== 0), a)) {
+ case 'dialog':
+ Ce('cancel', f), Ce('close', f)
+ break
+ case 'iframe':
+ case 'object':
+ case 'embed':
+ Ce('load', f)
+ break
+ case 'video':
+ case 'audio':
+ for (h = 0; h < ri.length; h++) Ce(ri[h], f)
+ break
+ case 'source':
+ Ce('error', f)
+ break
+ case 'img':
+ case 'image':
+ case 'link':
+ Ce('error', f), Ce('load', f)
+ break
+ case 'details':
+ Ce('toggle', f)
+ break
+ case 'input':
+ hn(f, m), Ce('invalid', f)
+ break
+ case 'select':
+ ;(f._wrapperState = { wasMultiple: !!m.multiple }), Ce('invalid', f)
+ break
+ case 'textarea':
+ Xi(f, m), Ce('invalid', f)
+ }
+ ha(a, m), (h = null)
+ for (var x in m)
+ if (m.hasOwnProperty(x)) {
+ var b = m[x]
+ x === 'children'
+ ? typeof b == 'string'
+ ? f.textContent !== b &&
+ (m.suppressHydrationWarning !== !0 && xo(f.textContent, b, r),
+ (h = ['children', b]))
+ : typeof b == 'number' &&
+ f.textContent !== '' + b &&
+ (m.suppressHydrationWarning !== !0 && xo(f.textContent, b, r),
+ (h = ['children', '' + b]))
+ : o.hasOwnProperty(x) && b != null && x === 'onScroll' && Ce('scroll', f)
+ }
+ switch (a) {
+ case 'input':
+ Mr(f), Ji(f, m, !0)
+ break
+ case 'textarea':
+ Mr(f), In(f)
+ break
+ case 'select':
+ case 'option':
+ break
+ default:
+ typeof m.onClick == 'function' && (f.onclick = _o)
+ }
+ ;(f = h), (i.updateQueue = f), f !== null && (i.flags |= 4)
+ } else {
+ ;(x = h.nodeType === 9 ? h : h.ownerDocument),
+ r === 'http://www.w3.org/1999/xhtml' && (r = Or(a)),
+ r === 'http://www.w3.org/1999/xhtml'
+ ? a === 'script'
+ ? ((r = x.createElement('div')),
+ (r.innerHTML = ''),
+ (r = r.removeChild(r.firstChild)))
+ : typeof f.is == 'string'
+ ? (r = x.createElement(a, { is: f.is }))
+ : ((r = x.createElement(a)),
+ a === 'select' &&
+ ((x = r), f.multiple ? (x.multiple = !0) : f.size && (x.size = f.size)))
+ : (r = x.createElementNS(r, a)),
+ (r[on] = i),
+ (r[oi] = f),
+ Qh(r, i, !1, !1),
+ (i.stateNode = r)
+ e: {
+ switch (((x = pa(a, f)), a)) {
+ case 'dialog':
+ Ce('cancel', r), Ce('close', r), (h = f)
+ break
+ case 'iframe':
+ case 'object':
+ case 'embed':
+ Ce('load', r), (h = f)
+ break
+ case 'video':
+ case 'audio':
+ for (h = 0; h < ri.length; h++) Ce(ri[h], r)
+ h = f
+ break
+ case 'source':
+ Ce('error', r), (h = f)
+ break
+ case 'img':
+ case 'image':
+ case 'link':
+ Ce('error', r), Ce('load', r), (h = f)
+ break
+ case 'details':
+ Ce('toggle', r), (h = f)
+ break
+ case 'input':
+ hn(r, f), (h = Pr(r, f)), Ce('invalid', r)
+ break
+ case 'option':
+ h = f
+ break
+ case 'select':
+ ;(r._wrapperState = { wasMultiple: !!f.multiple }),
+ (h = Z({}, f, { value: void 0 })),
+ Ce('invalid', r)
+ break
+ case 'textarea':
+ Xi(r, f), (h = Fs(r, f)), Ce('invalid', r)
+ break
+ default:
+ h = f
+ }
+ ha(a, h), (b = h)
+ for (m in b)
+ if (b.hasOwnProperty(m)) {
+ var T = b[m]
+ m === 'style'
+ ? Bf(r, T)
+ : m === 'dangerouslySetInnerHTML'
+ ? ((T = T ? T.__html : void 0), T != null && Zi(r, T))
+ : m === 'children'
+ ? typeof T == 'string'
+ ? (a !== 'textarea' || T !== '') && Mn(r, T)
+ : typeof T == 'number' && Mn(r, '' + T)
+ : m !== 'suppressContentEditableWarning' &&
+ m !== 'suppressHydrationWarning' &&
+ m !== 'autoFocus' &&
+ (o.hasOwnProperty(m)
+ ? T != null && m === 'onScroll' && Ce('scroll', r)
+ : T != null && O(r, m, T, x))
+ }
+ switch (a) {
+ case 'input':
+ Mr(r), Ji(r, f, !1)
+ break
+ case 'textarea':
+ Mr(r), In(r)
+ break
+ case 'option':
+ f.value != null && r.setAttribute('value', '' + he(f.value))
+ break
+ case 'select':
+ ;(r.multiple = !!f.multiple),
+ (m = f.value),
+ m != null
+ ? nn(r, !!f.multiple, m, !1)
+ : f.defaultValue != null && nn(r, !!f.multiple, f.defaultValue, !0)
+ break
+ default:
+ typeof h.onClick == 'function' && (r.onclick = _o)
+ }
+ switch (a) {
+ case 'button':
+ case 'input':
+ case 'select':
+ case 'textarea':
+ f = !!f.autoFocus
+ break e
+ case 'img':
+ f = !0
+ break e
+ default:
+ f = !1
+ }
+ }
+ f && (i.flags |= 4)
+ }
+ i.ref !== null && ((i.flags |= 512), (i.flags |= 2097152))
+ }
+ return st(i), null
+ case 6:
+ if (r && i.stateNode != null) Xh(r, i, r.memoizedProps, f)
+ else {
+ if (typeof f != 'string' && i.stateNode === null) throw Error(n(166))
+ if (((a = dr(fi.current)), dr(ln.current), Ao(i))) {
+ if (
+ ((f = i.stateNode),
+ (a = i.memoizedProps),
+ (f[on] = i),
+ (m = f.nodeValue !== a) && ((r = Nt), r !== null))
+ )
+ switch (r.tag) {
+ case 3:
+ xo(f.nodeValue, a, (r.mode & 1) !== 0)
+ break
+ case 5:
+ r.memoizedProps.suppressHydrationWarning !== !0 &&
+ xo(f.nodeValue, a, (r.mode & 1) !== 0)
+ }
+ m && (i.flags |= 4)
+ } else
+ (f = (a.nodeType === 9 ? a : a.ownerDocument).createTextNode(f)),
+ (f[on] = i),
+ (i.stateNode = f)
+ }
+ return st(i), null
+ case 13:
+ if (
+ (Ne(je),
+ (f = i.memoizedState),
+ r === null || (r.memoizedState !== null && r.memoizedState.dehydrated !== null))
+ ) {
+ if (Ie && At !== null && (i.mode & 1) !== 0 && (i.flags & 128) === 0)
+ eh(), Xr(), (i.flags |= 98560), (m = !1)
+ else if (((m = Ao(i)), f !== null && f.dehydrated !== null)) {
+ if (r === null) {
+ if (!m) throw Error(n(318))
+ if (((m = i.memoizedState), (m = m !== null ? m.dehydrated : null), !m))
+ throw Error(n(317))
+ m[on] = i
+ } else Xr(), (i.flags & 128) === 0 && (i.memoizedState = null), (i.flags |= 4)
+ st(i), (m = !1)
+ } else Gt !== null && (qc(Gt), (Gt = null)), (m = !0)
+ if (!m) return i.flags & 65536 ? i : null
+ }
+ return (i.flags & 128) !== 0
+ ? ((i.lanes = a), i)
+ : ((f = f !== null),
+ f !== (r !== null && r.memoizedState !== null) &&
+ f &&
+ ((i.child.flags |= 8192),
+ (i.mode & 1) !== 0 &&
+ (r === null || (je.current & 1) !== 0 ? We === 0 && (We = 3) : Kc())),
+ i.updateQueue !== null && (i.flags |= 4),
+ st(i),
+ null)
+ case 4:
+ return ts(), jc(r, i), r === null && si(i.stateNode.containerInfo), st(i), null
+ case 10:
+ return lc(i.type._context), st(i), null
+ case 17:
+ return yt(i.type) && ko(), st(i), null
+ case 19:
+ if ((Ne(je), (m = i.memoizedState), m === null)) return st(i), null
+ if (((f = (i.flags & 128) !== 0), (x = m.rendering), x === null))
+ if (f) gi(m, !1)
+ else {
+ if (We !== 0 || (r !== null && (r.flags & 128) !== 0))
+ for (r = i.child; r !== null; ) {
+ if (((x = Oo(r)), x !== null)) {
+ for (
+ i.flags |= 128,
+ gi(m, !1),
+ f = x.updateQueue,
+ f !== null && ((i.updateQueue = f), (i.flags |= 4)),
+ i.subtreeFlags = 0,
+ f = a,
+ a = i.child;
+ a !== null;
+
+ )
+ (m = a),
+ (r = f),
+ (m.flags &= 14680066),
+ (x = m.alternate),
+ x === null
+ ? ((m.childLanes = 0),
+ (m.lanes = r),
+ (m.child = null),
+ (m.subtreeFlags = 0),
+ (m.memoizedProps = null),
+ (m.memoizedState = null),
+ (m.updateQueue = null),
+ (m.dependencies = null),
+ (m.stateNode = null))
+ : ((m.childLanes = x.childLanes),
+ (m.lanes = x.lanes),
+ (m.child = x.child),
+ (m.subtreeFlags = 0),
+ (m.deletions = null),
+ (m.memoizedProps = x.memoizedProps),
+ (m.memoizedState = x.memoizedState),
+ (m.updateQueue = x.updateQueue),
+ (m.type = x.type),
+ (r = x.dependencies),
+ (m.dependencies =
+ r === null ? null : { lanes: r.lanes, firstContext: r.firstContext })),
+ (a = a.sibling)
+ return Te(je, (je.current & 1) | 2), i.child
+ }
+ r = r.sibling
+ }
+ m.tail !== null &&
+ Fe() > is &&
+ ((i.flags |= 128), (f = !0), gi(m, !1), (i.lanes = 4194304))
+ }
+ else {
+ if (!f)
+ if (((r = Oo(x)), r !== null)) {
+ if (
+ ((i.flags |= 128),
+ (f = !0),
+ (a = r.updateQueue),
+ a !== null && ((i.updateQueue = a), (i.flags |= 4)),
+ gi(m, !0),
+ m.tail === null && m.tailMode === 'hidden' && !x.alternate && !Ie)
+ )
+ return st(i), null
+ } else
+ 2 * Fe() - m.renderingStartTime > is &&
+ a !== 1073741824 &&
+ ((i.flags |= 128), (f = !0), gi(m, !1), (i.lanes = 4194304))
+ m.isBackwards
+ ? ((x.sibling = i.child), (i.child = x))
+ : ((a = m.last), a !== null ? (a.sibling = x) : (i.child = x), (m.last = x))
+ }
+ return m.tail !== null
+ ? ((i = m.tail),
+ (m.rendering = i),
+ (m.tail = i.sibling),
+ (m.renderingStartTime = Fe()),
+ (i.sibling = null),
+ (a = je.current),
+ Te(je, f ? (a & 1) | 2 : a & 1),
+ i)
+ : (st(i), null)
+ case 22:
+ case 23:
+ return (
+ Wc(),
+ (f = i.memoizedState !== null),
+ r !== null && (r.memoizedState !== null) !== f && (i.flags |= 8192),
+ f && (i.mode & 1) !== 0
+ ? (It & 1073741824) !== 0 && (st(i), i.subtreeFlags & 6 && (i.flags |= 8192))
+ : st(i),
+ null
+ )
+ case 24:
+ return null
+ case 25:
+ return null
+ }
+ throw Error(n(156, i.tag))
+ }
+ function Kw(r, i) {
+ switch ((tc(i), i.tag)) {
+ case 1:
+ return (
+ yt(i.type) && ko(), (r = i.flags), r & 65536 ? ((i.flags = (r & -65537) | 128), i) : null
+ )
+ case 3:
+ return (
+ ts(),
+ Ne(gt),
+ Ne(nt),
+ pc(),
+ (r = i.flags),
+ (r & 65536) !== 0 && (r & 128) === 0 ? ((i.flags = (r & -65537) | 128), i) : null
+ )
+ case 5:
+ return dc(i), null
+ case 13:
+ if ((Ne(je), (r = i.memoizedState), r !== null && r.dehydrated !== null)) {
+ if (i.alternate === null) throw Error(n(340))
+ Xr()
+ }
+ return (r = i.flags), r & 65536 ? ((i.flags = (r & -65537) | 128), i) : null
+ case 19:
+ return Ne(je), null
+ case 4:
+ return ts(), null
+ case 10:
+ return lc(i.type._context), null
+ case 22:
+ case 23:
+ return Wc(), null
+ case 24:
+ return null
+ default:
+ return null
+ }
+ }
+ var qo = !1,
+ it = !1,
+ Gw = typeof WeakSet == 'function' ? WeakSet : Set,
+ ee = null
+ function rs(r, i) {
+ var a = r.ref
+ if (a !== null)
+ if (typeof a == 'function')
+ try {
+ a(null)
+ } catch (f) {
+ De(r, i, f)
+ }
+ else a.current = null
+ }
+ function Pc(r, i, a) {
+ try {
+ a()
+ } catch (f) {
+ De(r, i, f)
+ }
+ }
+ var Yh = !1
+ function Qw(r, i) {
+ if (((Wa = co), (r = Id()), Da(r))) {
+ if ('selectionStart' in r) var a = { start: r.selectionStart, end: r.selectionEnd }
+ else
+ e: {
+ a = ((a = r.ownerDocument) && a.defaultView) || window
+ var f = a.getSelection && a.getSelection()
+ if (f && f.rangeCount !== 0) {
+ a = f.anchorNode
+ var h = f.anchorOffset,
+ m = f.focusNode
+ f = f.focusOffset
+ try {
+ a.nodeType, m.nodeType
+ } catch {
+ a = null
+ break e
+ }
+ var x = 0,
+ b = -1,
+ T = -1,
+ P = 0,
+ V = 0,
+ W = r,
+ U = null
+ t: for (;;) {
+ for (
+ var Y;
+ W !== a || (h !== 0 && W.nodeType !== 3) || (b = x + h),
+ W !== m || (f !== 0 && W.nodeType !== 3) || (T = x + f),
+ W.nodeType === 3 && (x += W.nodeValue.length),
+ (Y = W.firstChild) !== null;
+
+ )
+ (U = W), (W = Y)
+ for (;;) {
+ if (W === r) break t
+ if (
+ (U === a && ++P === h && (b = x),
+ U === m && ++V === f && (T = x),
+ (Y = W.nextSibling) !== null)
+ )
+ break
+ ;(W = U), (U = W.parentNode)
+ }
+ W = Y
+ }
+ a = b === -1 || T === -1 ? null : { start: b, end: T }
+ } else a = null
+ }
+ a = a || { start: 0, end: 0 }
+ } else a = null
+ for (Ka = { focusedElem: r, selectionRange: a }, co = !1, ee = i; ee !== null; )
+ if (((i = ee), (r = i.child), (i.subtreeFlags & 1028) !== 0 && r !== null))
+ (r.return = i), (ee = r)
+ else
+ for (; ee !== null; ) {
+ i = ee
+ try {
+ var te = i.alternate
+ if ((i.flags & 1024) !== 0)
+ switch (i.tag) {
+ case 0:
+ case 11:
+ case 15:
+ break
+ case 1:
+ if (te !== null) {
+ var ne = te.memoizedProps,
+ Be = te.memoizedState,
+ L = i.stateNode,
+ N = L.getSnapshotBeforeUpdate(
+ i.elementType === i.type ? ne : Qt(i.type, ne),
+ Be
+ )
+ L.__reactInternalSnapshotBeforeUpdate = N
+ }
+ break
+ case 3:
+ var j = i.stateNode.containerInfo
+ j.nodeType === 1
+ ? (j.textContent = '')
+ : j.nodeType === 9 && j.documentElement && j.removeChild(j.documentElement)
+ break
+ case 5:
+ case 6:
+ case 4:
+ case 17:
+ break
+ default:
+ throw Error(n(163))
+ }
+ } catch (Q) {
+ De(i, i.return, Q)
+ }
+ if (((r = i.sibling), r !== null)) {
+ ;(r.return = i.return), (ee = r)
+ break
+ }
+ ee = i.return
+ }
+ return (te = Yh), (Yh = !1), te
+ }
+ function yi(r, i, a) {
+ var f = i.updateQueue
+ if (((f = f !== null ? f.lastEffect : null), f !== null)) {
+ var h = (f = f.next)
+ do {
+ if ((h.tag & r) === r) {
+ var m = h.destroy
+ ;(h.destroy = void 0), m !== void 0 && Pc(i, a, m)
+ }
+ h = h.next
+ } while (h !== f)
+ }
+ }
+ function Vo(r, i) {
+ if (((i = i.updateQueue), (i = i !== null ? i.lastEffect : null), i !== null)) {
+ var a = (i = i.next)
+ do {
+ if ((a.tag & r) === r) {
+ var f = a.create
+ a.destroy = f()
+ }
+ a = a.next
+ } while (a !== i)
+ }
+ }
+ function Oc(r) {
+ var i = r.ref
+ if (i !== null) {
+ var a = r.stateNode
+ switch (r.tag) {
+ case 5:
+ r = a
+ break
+ default:
+ r = a
+ }
+ typeof i == 'function' ? i(r) : (i.current = r)
+ }
+ }
+ function Zh(r) {
+ var i = r.alternate
+ i !== null && ((r.alternate = null), Zh(i)),
+ (r.child = null),
+ (r.deletions = null),
+ (r.sibling = null),
+ r.tag === 5 &&
+ ((i = r.stateNode),
+ i !== null && (delete i[on], delete i[oi], delete i[Xa], delete i[Lw], delete i[Mw])),
+ (r.stateNode = null),
+ (r.return = null),
+ (r.dependencies = null),
+ (r.memoizedProps = null),
+ (r.memoizedState = null),
+ (r.pendingProps = null),
+ (r.stateNode = null),
+ (r.updateQueue = null)
+ }
+ function ep(r) {
+ return r.tag === 5 || r.tag === 3 || r.tag === 4
+ }
+ function tp(r) {
+ e: for (;;) {
+ for (; r.sibling === null; ) {
+ if (r.return === null || ep(r.return)) return null
+ r = r.return
+ }
+ for (
+ r.sibling.return = r.return, r = r.sibling;
+ r.tag !== 5 && r.tag !== 6 && r.tag !== 18;
+
+ ) {
+ if (r.flags & 2 || r.child === null || r.tag === 4) continue e
+ ;(r.child.return = r), (r = r.child)
+ }
+ if (!(r.flags & 2)) return r.stateNode
+ }
+ }
+ function $c(r, i, a) {
+ var f = r.tag
+ if (f === 5 || f === 6)
+ (r = r.stateNode),
+ i
+ ? a.nodeType === 8
+ ? a.parentNode.insertBefore(r, i)
+ : a.insertBefore(r, i)
+ : (a.nodeType === 8
+ ? ((i = a.parentNode), i.insertBefore(r, a))
+ : ((i = a), i.appendChild(r)),
+ (a = a._reactRootContainer),
+ a != null || i.onclick !== null || (i.onclick = _o))
+ else if (f !== 4 && ((r = r.child), r !== null))
+ for ($c(r, i, a), r = r.sibling; r !== null; ) $c(r, i, a), (r = r.sibling)
+ }
+ function Rc(r, i, a) {
+ var f = r.tag
+ if (f === 5 || f === 6) (r = r.stateNode), i ? a.insertBefore(r, i) : a.appendChild(r)
+ else if (f !== 4 && ((r = r.child), r !== null))
+ for (Rc(r, i, a), r = r.sibling; r !== null; ) Rc(r, i, a), (r = r.sibling)
+ }
+ var Xe = null,
+ Jt = !1
+ function Vn(r, i, a) {
+ for (a = a.child; a !== null; ) np(r, i, a), (a = a.sibling)
+ }
+ function np(r, i, a) {
+ if (sn && typeof sn.onCommitFiberUnmount == 'function')
+ try {
+ sn.onCommitFiberUnmount(ro, a)
+ } catch {}
+ switch (a.tag) {
+ case 5:
+ it || rs(a, i)
+ case 6:
+ var f = Xe,
+ h = Jt
+ ;(Xe = null),
+ Vn(r, i, a),
+ (Xe = f),
+ (Jt = h),
+ Xe !== null &&
+ (Jt
+ ? ((r = Xe),
+ (a = a.stateNode),
+ r.nodeType === 8 ? r.parentNode.removeChild(a) : r.removeChild(a))
+ : Xe.removeChild(a.stateNode))
+ break
+ case 18:
+ Xe !== null &&
+ (Jt
+ ? ((r = Xe),
+ (a = a.stateNode),
+ r.nodeType === 8 ? Ja(r.parentNode, a) : r.nodeType === 1 && Ja(r, a),
+ Qs(r))
+ : Ja(Xe, a.stateNode))
+ break
+ case 4:
+ ;(f = Xe),
+ (h = Jt),
+ (Xe = a.stateNode.containerInfo),
+ (Jt = !0),
+ Vn(r, i, a),
+ (Xe = f),
+ (Jt = h)
+ break
+ case 0:
+ case 11:
+ case 14:
+ case 15:
+ if (!it && ((f = a.updateQueue), f !== null && ((f = f.lastEffect), f !== null))) {
+ h = f = f.next
+ do {
+ var m = h,
+ x = m.destroy
+ ;(m = m.tag),
+ x !== void 0 && ((m & 2) !== 0 || (m & 4) !== 0) && Pc(a, i, x),
+ (h = h.next)
+ } while (h !== f)
+ }
+ Vn(r, i, a)
+ break
+ case 1:
+ if (!it && (rs(a, i), (f = a.stateNode), typeof f.componentWillUnmount == 'function'))
+ try {
+ ;(f.props = a.memoizedProps), (f.state = a.memoizedState), f.componentWillUnmount()
+ } catch (b) {
+ De(a, i, b)
+ }
+ Vn(r, i, a)
+ break
+ case 21:
+ Vn(r, i, a)
+ break
+ case 22:
+ a.mode & 1
+ ? ((it = (f = it) || a.memoizedState !== null), Vn(r, i, a), (it = f))
+ : Vn(r, i, a)
+ break
+ default:
+ Vn(r, i, a)
+ }
+ }
+ function rp(r) {
+ var i = r.updateQueue
+ if (i !== null) {
+ r.updateQueue = null
+ var a = r.stateNode
+ a === null && (a = r.stateNode = new Gw()),
+ i.forEach(function (f) {
+ var h = s0.bind(null, r, f)
+ a.has(f) || (a.add(f), f.then(h, h))
+ })
+ }
+ }
+ function Xt(r, i) {
+ var a = i.deletions
+ if (a !== null)
+ for (var f = 0; f < a.length; f++) {
+ var h = a[f]
+ try {
+ var m = r,
+ x = i,
+ b = x
+ e: for (; b !== null; ) {
+ switch (b.tag) {
+ case 5:
+ ;(Xe = b.stateNode), (Jt = !1)
+ break e
+ case 3:
+ ;(Xe = b.stateNode.containerInfo), (Jt = !0)
+ break e
+ case 4:
+ ;(Xe = b.stateNode.containerInfo), (Jt = !0)
+ break e
+ }
+ b = b.return
+ }
+ if (Xe === null) throw Error(n(160))
+ np(m, x, h), (Xe = null), (Jt = !1)
+ var T = h.alternate
+ T !== null && (T.return = null), (h.return = null)
+ } catch (P) {
+ De(h, i, P)
+ }
+ }
+ if (i.subtreeFlags & 12854) for (i = i.child; i !== null; ) sp(i, r), (i = i.sibling)
+ }
+ function sp(r, i) {
+ var a = r.alternate,
+ f = r.flags
+ switch (r.tag) {
+ case 0:
+ case 11:
+ case 14:
+ case 15:
+ if ((Xt(i, r), cn(r), f & 4)) {
+ try {
+ yi(3, r, r.return), Vo(3, r)
+ } catch (ne) {
+ De(r, r.return, ne)
+ }
+ try {
+ yi(5, r, r.return)
+ } catch (ne) {
+ De(r, r.return, ne)
+ }
+ }
+ break
+ case 1:
+ Xt(i, r), cn(r), f & 512 && a !== null && rs(a, a.return)
+ break
+ case 5:
+ if ((Xt(i, r), cn(r), f & 512 && a !== null && rs(a, a.return), r.flags & 32)) {
+ var h = r.stateNode
+ try {
+ Mn(h, '')
+ } catch (ne) {
+ De(r, r.return, ne)
+ }
+ }
+ if (f & 4 && ((h = r.stateNode), h != null)) {
+ var m = r.memoizedProps,
+ x = a !== null ? a.memoizedProps : m,
+ b = r.type,
+ T = r.updateQueue
+ if (((r.updateQueue = null), T !== null))
+ try {
+ b === 'input' && m.type === 'radio' && m.name != null && Qi(h, m), pa(b, x)
+ var P = pa(b, m)
+ for (x = 0; x < T.length; x += 2) {
+ var V = T[x],
+ W = T[x + 1]
+ V === 'style'
+ ? Bf(h, W)
+ : V === 'dangerouslySetInnerHTML'
+ ? Zi(h, W)
+ : V === 'children'
+ ? Mn(h, W)
+ : O(h, V, W, P)
+ }
+ switch (b) {
+ case 'input':
+ Rs(h, m)
+ break
+ case 'textarea':
+ Yi(h, m)
+ break
+ case 'select':
+ var U = h._wrapperState.wasMultiple
+ h._wrapperState.wasMultiple = !!m.multiple
+ var Y = m.value
+ Y != null
+ ? nn(h, !!m.multiple, Y, !1)
+ : U !== !!m.multiple &&
+ (m.defaultValue != null
+ ? nn(h, !!m.multiple, m.defaultValue, !0)
+ : nn(h, !!m.multiple, m.multiple ? [] : '', !1))
+ }
+ h[oi] = m
+ } catch (ne) {
+ De(r, r.return, ne)
+ }
+ }
+ break
+ case 6:
+ if ((Xt(i, r), cn(r), f & 4)) {
+ if (r.stateNode === null) throw Error(n(162))
+ ;(h = r.stateNode), (m = r.memoizedProps)
+ try {
+ h.nodeValue = m
+ } catch (ne) {
+ De(r, r.return, ne)
+ }
+ }
+ break
+ case 3:
+ if ((Xt(i, r), cn(r), f & 4 && a !== null && a.memoizedState.isDehydrated))
+ try {
+ Qs(i.containerInfo)
+ } catch (ne) {
+ De(r, r.return, ne)
+ }
+ break
+ case 4:
+ Xt(i, r), cn(r)
+ break
+ case 13:
+ Xt(i, r),
+ cn(r),
+ (h = r.child),
+ h.flags & 8192 &&
+ ((m = h.memoizedState !== null),
+ (h.stateNode.isHidden = m),
+ !m || (h.alternate !== null && h.alternate.memoizedState !== null) || (Bc = Fe())),
+ f & 4 && rp(r)
+ break
+ case 22:
+ if (
+ ((V = a !== null && a.memoizedState !== null),
+ r.mode & 1 ? ((it = (P = it) || V), Xt(i, r), (it = P)) : Xt(i, r),
+ cn(r),
+ f & 8192)
+ ) {
+ if (
+ ((P = r.memoizedState !== null), (r.stateNode.isHidden = P) && !V && (r.mode & 1) !== 0)
+ )
+ for (ee = r, V = r.child; V !== null; ) {
+ for (W = ee = V; ee !== null; ) {
+ switch (((U = ee), (Y = U.child), U.tag)) {
+ case 0:
+ case 11:
+ case 14:
+ case 15:
+ yi(4, U, U.return)
+ break
+ case 1:
+ rs(U, U.return)
+ var te = U.stateNode
+ if (typeof te.componentWillUnmount == 'function') {
+ ;(f = U), (a = U.return)
+ try {
+ ;(i = f),
+ (te.props = i.memoizedProps),
+ (te.state = i.memoizedState),
+ te.componentWillUnmount()
+ } catch (ne) {
+ De(f, a, ne)
+ }
+ }
+ break
+ case 5:
+ rs(U, U.return)
+ break
+ case 22:
+ if (U.memoizedState !== null) {
+ lp(W)
+ continue
+ }
+ }
+ Y !== null ? ((Y.return = U), (ee = Y)) : lp(W)
+ }
+ V = V.sibling
+ }
+ e: for (V = null, W = r; ; ) {
+ if (W.tag === 5) {
+ if (V === null) {
+ V = W
+ try {
+ ;(h = W.stateNode),
+ P
+ ? ((m = h.style),
+ typeof m.setProperty == 'function'
+ ? m.setProperty('display', 'none', 'important')
+ : (m.display = 'none'))
+ : ((b = W.stateNode),
+ (T = W.memoizedProps.style),
+ (x = T != null && T.hasOwnProperty('display') ? T.display : null),
+ (b.style.display = jt('display', x)))
+ } catch (ne) {
+ De(r, r.return, ne)
+ }
+ }
+ } else if (W.tag === 6) {
+ if (V === null)
+ try {
+ W.stateNode.nodeValue = P ? '' : W.memoizedProps
+ } catch (ne) {
+ De(r, r.return, ne)
+ }
+ } else if (
+ ((W.tag !== 22 && W.tag !== 23) || W.memoizedState === null || W === r) &&
+ W.child !== null
+ ) {
+ ;(W.child.return = W), (W = W.child)
+ continue
+ }
+ if (W === r) break e
+ for (; W.sibling === null; ) {
+ if (W.return === null || W.return === r) break e
+ V === W && (V = null), (W = W.return)
+ }
+ V === W && (V = null), (W.sibling.return = W.return), (W = W.sibling)
+ }
+ }
+ break
+ case 19:
+ Xt(i, r), cn(r), f & 4 && rp(r)
+ break
+ case 21:
+ break
+ default:
+ Xt(i, r), cn(r)
+ }
+ }
+ function cn(r) {
+ var i = r.flags
+ if (i & 2) {
+ try {
+ e: {
+ for (var a = r.return; a !== null; ) {
+ if (ep(a)) {
+ var f = a
+ break e
+ }
+ a = a.return
+ }
+ throw Error(n(160))
+ }
+ switch (f.tag) {
+ case 5:
+ var h = f.stateNode
+ f.flags & 32 && (Mn(h, ''), (f.flags &= -33))
+ var m = tp(r)
+ Rc(r, m, h)
+ break
+ case 3:
+ case 4:
+ var x = f.stateNode.containerInfo,
+ b = tp(r)
+ $c(r, b, x)
+ break
+ default:
+ throw Error(n(161))
+ }
+ } catch (T) {
+ De(r, r.return, T)
+ }
+ r.flags &= -3
+ }
+ i & 4096 && (r.flags &= -4097)
+ }
+ function Jw(r, i, a) {
+ ;(ee = r), ip(r)
+ }
+ function ip(r, i, a) {
+ for (var f = (r.mode & 1) !== 0; ee !== null; ) {
+ var h = ee,
+ m = h.child
+ if (h.tag === 22 && f) {
+ var x = h.memoizedState !== null || qo
+ if (!x) {
+ var b = h.alternate,
+ T = (b !== null && b.memoizedState !== null) || it
+ b = qo
+ var P = it
+ if (((qo = x), (it = T) && !P))
+ for (ee = h; ee !== null; )
+ (x = ee),
+ (T = x.child),
+ x.tag === 22 && x.memoizedState !== null
+ ? ap(h)
+ : T !== null
+ ? ((T.return = x), (ee = T))
+ : ap(h)
+ for (; m !== null; ) (ee = m), ip(m), (m = m.sibling)
+ ;(ee = h), (qo = b), (it = P)
+ }
+ op(r)
+ } else (h.subtreeFlags & 8772) !== 0 && m !== null ? ((m.return = h), (ee = m)) : op(r)
+ }
+ }
+ function op(r) {
+ for (; ee !== null; ) {
+ var i = ee
+ if ((i.flags & 8772) !== 0) {
+ var a = i.alternate
+ try {
+ if ((i.flags & 8772) !== 0)
+ switch (i.tag) {
+ case 0:
+ case 11:
+ case 15:
+ it || Vo(5, i)
+ break
+ case 1:
+ var f = i.stateNode
+ if (i.flags & 4 && !it)
+ if (a === null) f.componentDidMount()
+ else {
+ var h = i.elementType === i.type ? a.memoizedProps : Qt(i.type, a.memoizedProps)
+ f.componentDidUpdate(h, a.memoizedState, f.__reactInternalSnapshotBeforeUpdate)
+ }
+ var m = i.updateQueue
+ m !== null && lh(i, m, f)
+ break
+ case 3:
+ var x = i.updateQueue
+ if (x !== null) {
+ if (((a = null), i.child !== null))
+ switch (i.child.tag) {
+ case 5:
+ a = i.child.stateNode
+ break
+ case 1:
+ a = i.child.stateNode
+ }
+ lh(i, x, a)
+ }
+ break
+ case 5:
+ var b = i.stateNode
+ if (a === null && i.flags & 4) {
+ a = b
+ var T = i.memoizedProps
+ switch (i.type) {
+ case 'button':
+ case 'input':
+ case 'select':
+ case 'textarea':
+ T.autoFocus && a.focus()
+ break
+ case 'img':
+ T.src && (a.src = T.src)
+ }
+ }
+ break
+ case 6:
+ break
+ case 4:
+ break
+ case 12:
+ break
+ case 13:
+ if (i.memoizedState === null) {
+ var P = i.alternate
+ if (P !== null) {
+ var V = P.memoizedState
+ if (V !== null) {
+ var W = V.dehydrated
+ W !== null && Qs(W)
+ }
+ }
+ }
+ break
+ case 19:
+ case 17:
+ case 21:
+ case 22:
+ case 23:
+ case 25:
+ break
+ default:
+ throw Error(n(163))
+ }
+ it || (i.flags & 512 && Oc(i))
+ } catch (U) {
+ De(i, i.return, U)
+ }
+ }
+ if (i === r) {
+ ee = null
+ break
+ }
+ if (((a = i.sibling), a !== null)) {
+ ;(a.return = i.return), (ee = a)
+ break
+ }
+ ee = i.return
+ }
+ }
+ function lp(r) {
+ for (; ee !== null; ) {
+ var i = ee
+ if (i === r) {
+ ee = null
+ break
+ }
+ var a = i.sibling
+ if (a !== null) {
+ ;(a.return = i.return), (ee = a)
+ break
+ }
+ ee = i.return
+ }
+ }
+ function ap(r) {
+ for (; ee !== null; ) {
+ var i = ee
+ try {
+ switch (i.tag) {
+ case 0:
+ case 11:
+ case 15:
+ var a = i.return
+ try {
+ Vo(4, i)
+ } catch (T) {
+ De(i, a, T)
+ }
+ break
+ case 1:
+ var f = i.stateNode
+ if (typeof f.componentDidMount == 'function') {
+ var h = i.return
+ try {
+ f.componentDidMount()
+ } catch (T) {
+ De(i, h, T)
+ }
+ }
+ var m = i.return
+ try {
+ Oc(i)
+ } catch (T) {
+ De(i, m, T)
+ }
+ break
+ case 5:
+ var x = i.return
+ try {
+ Oc(i)
+ } catch (T) {
+ De(i, x, T)
+ }
+ }
+ } catch (T) {
+ De(i, i.return, T)
+ }
+ if (i === r) {
+ ee = null
+ break
+ }
+ var b = i.sibling
+ if (b !== null) {
+ ;(b.return = i.return), (ee = b)
+ break
+ }
+ ee = i.return
+ }
+ }
+ var Xw = Math.ceil,
+ Wo = D.ReactCurrentDispatcher,
+ Dc = D.ReactCurrentOwner,
+ Dt = D.ReactCurrentBatchConfig,
+ ve = 0,
+ Qe = null,
+ Ue = null,
+ Ye = 0,
+ It = 0,
+ ss = Bn(0),
+ We = 0,
+ vi = null,
+ pr = 0,
+ Ko = 0,
+ Fc = 0,
+ wi = null,
+ wt = null,
+ Bc = 0,
+ is = 1 / 0,
+ xn = null,
+ Go = !1,
+ zc = null,
+ Wn = null,
+ Qo = !1,
+ Kn = null,
+ Jo = 0,
+ Si = 0,
+ Hc = null,
+ Xo = -1,
+ Yo = 0
+ function ft() {
+ return (ve & 6) !== 0 ? Fe() : Xo !== -1 ? Xo : (Xo = Fe())
+ }
+ function Gn(r) {
+ return (r.mode & 1) === 0
+ ? 1
+ : (ve & 2) !== 0 && Ye !== 0
+ ? Ye & -Ye
+ : Pw.transition !== null
+ ? (Yo === 0 && (Yo = td()), Yo)
+ : ((r = xe), r !== 0 || ((r = window.event), (r = r === void 0 ? 16 : ud(r.type))), r)
+ }
+ function Yt(r, i, a, f) {
+ if (50 < Si) throw ((Si = 0), (Hc = null), Error(n(185)))
+ qs(r, a, f),
+ ((ve & 2) === 0 || r !== Qe) &&
+ (r === Qe && ((ve & 2) === 0 && (Ko |= a), We === 4 && Qn(r, Ye)),
+ St(r, f),
+ a === 1 && ve === 0 && (i.mode & 1) === 0 && ((is = Fe() + 500), To && Hn()))
+ }
+ function St(r, i) {
+ var a = r.callbackNode
+ Pv(r, i)
+ var f = oo(r, r === Qe ? Ye : 0)
+ if (f === 0) a !== null && Yf(a), (r.callbackNode = null), (r.callbackPriority = 0)
+ else if (((i = f & -f), r.callbackPriority !== i)) {
+ if ((a != null && Yf(a), i === 1))
+ r.tag === 0 ? jw(up.bind(null, r)) : Qd(up.bind(null, r)),
+ Aw(function () {
+ ;(ve & 6) === 0 && Hn()
+ }),
+ (a = null)
+ else {
+ switch (nd(f)) {
+ case 1:
+ a = xa
+ break
+ case 4:
+ a = Zf
+ break
+ case 16:
+ a = no
+ break
+ case 536870912:
+ a = ed
+ break
+ default:
+ a = no
+ }
+ a = vp(a, cp.bind(null, r))
+ }
+ ;(r.callbackPriority = i), (r.callbackNode = a)
+ }
+ }
+ function cp(r, i) {
+ if (((Xo = -1), (Yo = 0), (ve & 6) !== 0)) throw Error(n(327))
+ var a = r.callbackNode
+ if (os() && r.callbackNode !== a) return null
+ var f = oo(r, r === Qe ? Ye : 0)
+ if (f === 0) return null
+ if ((f & 30) !== 0 || (f & r.expiredLanes) !== 0 || i) i = Zo(r, f)
+ else {
+ i = f
+ var h = ve
+ ve |= 2
+ var m = dp()
+ ;(Qe !== r || Ye !== i) && ((xn = null), (is = Fe() + 500), gr(r, i))
+ do
+ try {
+ e0()
+ break
+ } catch (b) {
+ fp(r, b)
+ }
+ while (!0)
+ oc(), (Wo.current = m), (ve = h), Ue !== null ? (i = 0) : ((Qe = null), (Ye = 0), (i = We))
+ }
+ if (i !== 0) {
+ if ((i === 2 && ((h = _a(r)), h !== 0 && ((f = h), (i = Uc(r, h)))), i === 1))
+ throw ((a = vi), gr(r, 0), Qn(r, f), St(r, Fe()), a)
+ if (i === 6) Qn(r, f)
+ else {
+ if (
+ ((h = r.current.alternate),
+ (f & 30) === 0 &&
+ !Yw(h) &&
+ ((i = Zo(r, f)),
+ i === 2 && ((m = _a(r)), m !== 0 && ((f = m), (i = Uc(r, m)))),
+ i === 1))
+ )
+ throw ((a = vi), gr(r, 0), Qn(r, f), St(r, Fe()), a)
+ switch (((r.finishedWork = h), (r.finishedLanes = f), i)) {
+ case 0:
+ case 1:
+ throw Error(n(345))
+ case 2:
+ yr(r, wt, xn)
+ break
+ case 3:
+ if ((Qn(r, f), (f & 130023424) === f && ((i = Bc + 500 - Fe()), 10 < i))) {
+ if (oo(r, 0) !== 0) break
+ if (((h = r.suspendedLanes), (h & f) !== f)) {
+ ft(), (r.pingedLanes |= r.suspendedLanes & h)
+ break
+ }
+ r.timeoutHandle = Qa(yr.bind(null, r, wt, xn), i)
+ break
+ }
+ yr(r, wt, xn)
+ break
+ case 4:
+ if ((Qn(r, f), (f & 4194240) === f)) break
+ for (i = r.eventTimes, h = -1; 0 < f; ) {
+ var x = 31 - Wt(f)
+ ;(m = 1 << x), (x = i[x]), x > h && (h = x), (f &= ~m)
+ }
+ if (
+ ((f = h),
+ (f = Fe() - f),
+ (f =
+ (120 > f
+ ? 120
+ : 480 > f
+ ? 480
+ : 1080 > f
+ ? 1080
+ : 1920 > f
+ ? 1920
+ : 3e3 > f
+ ? 3e3
+ : 4320 > f
+ ? 4320
+ : 1960 * Xw(f / 1960)) - f),
+ 10 < f)
+ ) {
+ r.timeoutHandle = Qa(yr.bind(null, r, wt, xn), f)
+ break
+ }
+ yr(r, wt, xn)
+ break
+ case 5:
+ yr(r, wt, xn)
+ break
+ default:
+ throw Error(n(329))
+ }
+ }
+ }
+ return St(r, Fe()), r.callbackNode === a ? cp.bind(null, r) : null
+ }
+ function Uc(r, i) {
+ var a = wi
+ return (
+ r.current.memoizedState.isDehydrated && (gr(r, i).flags |= 256),
+ (r = Zo(r, i)),
+ r !== 2 && ((i = wt), (wt = a), i !== null && qc(i)),
+ r
+ )
+ }
+ function qc(r) {
+ wt === null ? (wt = r) : wt.push.apply(wt, r)
+ }
+ function Yw(r) {
+ for (var i = r; ; ) {
+ if (i.flags & 16384) {
+ var a = i.updateQueue
+ if (a !== null && ((a = a.stores), a !== null))
+ for (var f = 0; f < a.length; f++) {
+ var h = a[f],
+ m = h.getSnapshot
+ h = h.value
+ try {
+ if (!Kt(m(), h)) return !1
+ } catch {
+ return !1
+ }
+ }
+ }
+ if (((a = i.child), i.subtreeFlags & 16384 && a !== null)) (a.return = i), (i = a)
+ else {
+ if (i === r) break
+ for (; i.sibling === null; ) {
+ if (i.return === null || i.return === r) return !0
+ i = i.return
+ }
+ ;(i.sibling.return = i.return), (i = i.sibling)
+ }
+ }
+ return !0
+ }
+ function Qn(r, i) {
+ for (
+ i &= ~Fc, i &= ~Ko, r.suspendedLanes |= i, r.pingedLanes &= ~i, r = r.expirationTimes;
+ 0 < i;
+
+ ) {
+ var a = 31 - Wt(i),
+ f = 1 << a
+ ;(r[a] = -1), (i &= ~f)
+ }
+ }
+ function up(r) {
+ if ((ve & 6) !== 0) throw Error(n(327))
+ os()
+ var i = oo(r, 0)
+ if ((i & 1) === 0) return St(r, Fe()), null
+ var a = Zo(r, i)
+ if (r.tag !== 0 && a === 2) {
+ var f = _a(r)
+ f !== 0 && ((i = f), (a = Uc(r, f)))
+ }
+ if (a === 1) throw ((a = vi), gr(r, 0), Qn(r, i), St(r, Fe()), a)
+ if (a === 6) throw Error(n(345))
+ return (
+ (r.finishedWork = r.current.alternate),
+ (r.finishedLanes = i),
+ yr(r, wt, xn),
+ St(r, Fe()),
+ null
+ )
+ }
+ function Vc(r, i) {
+ var a = ve
+ ve |= 1
+ try {
+ return r(i)
+ } finally {
+ ;(ve = a), ve === 0 && ((is = Fe() + 500), To && Hn())
+ }
+ }
+ function mr(r) {
+ Kn !== null && Kn.tag === 0 && (ve & 6) === 0 && os()
+ var i = ve
+ ve |= 1
+ var a = Dt.transition,
+ f = xe
+ try {
+ if (((Dt.transition = null), (xe = 1), r)) return r()
+ } finally {
+ ;(xe = f), (Dt.transition = a), (ve = i), (ve & 6) === 0 && Hn()
+ }
+ }
+ function Wc() {
+ ;(It = ss.current), Ne(ss)
+ }
+ function gr(r, i) {
+ ;(r.finishedWork = null), (r.finishedLanes = 0)
+ var a = r.timeoutHandle
+ if ((a !== -1 && ((r.timeoutHandle = -1), Nw(a)), Ue !== null))
+ for (a = Ue.return; a !== null; ) {
+ var f = a
+ switch ((tc(f), f.tag)) {
+ case 1:
+ ;(f = f.type.childContextTypes), f != null && ko()
+ break
+ case 3:
+ ts(), Ne(gt), Ne(nt), pc()
+ break
+ case 5:
+ dc(f)
+ break
+ case 4:
+ ts()
+ break
+ case 13:
+ Ne(je)
+ break
+ case 19:
+ Ne(je)
+ break
+ case 10:
+ lc(f.type._context)
+ break
+ case 22:
+ case 23:
+ Wc()
+ }
+ a = a.return
+ }
+ if (
+ ((Qe = r),
+ (Ue = r = Jn(r.current, null)),
+ (Ye = It = i),
+ (We = 0),
+ (vi = null),
+ (Fc = Ko = pr = 0),
+ (wt = wi = null),
+ fr !== null)
+ ) {
+ for (i = 0; i < fr.length; i++)
+ if (((a = fr[i]), (f = a.interleaved), f !== null)) {
+ a.interleaved = null
+ var h = f.next,
+ m = a.pending
+ if (m !== null) {
+ var x = m.next
+ ;(m.next = h), (f.next = x)
+ }
+ a.pending = f
+ }
+ fr = null
+ }
+ return r
+ }
+ function fp(r, i) {
+ do {
+ var a = Ue
+ try {
+ if ((oc(), ($o.current = Bo), Ro)) {
+ for (var f = Pe.memoizedState; f !== null; ) {
+ var h = f.queue
+ h !== null && (h.pending = null), (f = f.next)
+ }
+ Ro = !1
+ }
+ if (
+ ((hr = 0),
+ (Ge = Ve = Pe = null),
+ (di = !1),
+ (hi = 0),
+ (Dc.current = null),
+ a === null || a.return === null)
+ ) {
+ ;(We = 1), (vi = i), (Ue = null)
+ break
+ }
+ e: {
+ var m = r,
+ x = a.return,
+ b = a,
+ T = i
+ if (
+ ((i = Ye),
+ (b.flags |= 32768),
+ T !== null && typeof T == 'object' && typeof T.then == 'function')
+ ) {
+ var P = T,
+ V = b,
+ W = V.tag
+ if ((V.mode & 1) === 0 && (W === 0 || W === 11 || W === 15)) {
+ var U = V.alternate
+ U
+ ? ((V.updateQueue = U.updateQueue),
+ (V.memoizedState = U.memoizedState),
+ (V.lanes = U.lanes))
+ : ((V.updateQueue = null), (V.memoizedState = null))
+ }
+ var Y = $h(x)
+ if (Y !== null) {
+ ;(Y.flags &= -257), Rh(Y, x, b, m, i), Y.mode & 1 && Oh(m, P, i), (i = Y), (T = P)
+ var te = i.updateQueue
+ if (te === null) {
+ var ne = new Set()
+ ne.add(T), (i.updateQueue = ne)
+ } else te.add(T)
+ break e
+ } else {
+ if ((i & 1) === 0) {
+ Oh(m, P, i), Kc()
+ break e
+ }
+ T = Error(n(426))
+ }
+ } else if (Ie && b.mode & 1) {
+ var Be = $h(x)
+ if (Be !== null) {
+ ;(Be.flags & 65536) === 0 && (Be.flags |= 256), Rh(Be, x, b, m, i), sc(ns(T, b))
+ break e
+ }
+ }
+ ;(m = T = ns(T, b)), We !== 4 && (We = 2), wi === null ? (wi = [m]) : wi.push(m), (m = x)
+ do {
+ switch (m.tag) {
+ case 3:
+ ;(m.flags |= 65536), (i &= -i), (m.lanes |= i)
+ var L = jh(m, T, i)
+ oh(m, L)
+ break e
+ case 1:
+ b = T
+ var N = m.type,
+ j = m.stateNode
+ if (
+ (m.flags & 128) === 0 &&
+ (typeof N.getDerivedStateFromError == 'function' ||
+ (j !== null &&
+ typeof j.componentDidCatch == 'function' &&
+ (Wn === null || !Wn.has(j))))
+ ) {
+ ;(m.flags |= 65536), (i &= -i), (m.lanes |= i)
+ var Q = Ph(m, b, i)
+ oh(m, Q)
+ break e
+ }
+ }
+ m = m.return
+ } while (m !== null)
+ }
+ pp(a)
+ } catch (re) {
+ ;(i = re), Ue === a && a !== null && (Ue = a = a.return)
+ continue
+ }
+ break
+ } while (!0)
+ }
+ function dp() {
+ var r = Wo.current
+ return (Wo.current = Bo), r === null ? Bo : r
+ }
+ function Kc() {
+ ;(We === 0 || We === 3 || We === 2) && (We = 4),
+ Qe === null || ((pr & 268435455) === 0 && (Ko & 268435455) === 0) || Qn(Qe, Ye)
+ }
+ function Zo(r, i) {
+ var a = ve
+ ve |= 2
+ var f = dp()
+ ;(Qe !== r || Ye !== i) && ((xn = null), gr(r, i))
+ do
+ try {
+ Zw()
+ break
+ } catch (h) {
+ fp(r, h)
+ }
+ while (!0)
+ if ((oc(), (ve = a), (Wo.current = f), Ue !== null)) throw Error(n(261))
+ return (Qe = null), (Ye = 0), We
+ }
+ function Zw() {
+ for (; Ue !== null; ) hp(Ue)
+ }
+ function e0() {
+ for (; Ue !== null && !bv(); ) hp(Ue)
+ }
+ function hp(r) {
+ var i = yp(r.alternate, r, It)
+ ;(r.memoizedProps = r.pendingProps), i === null ? pp(r) : (Ue = i), (Dc.current = null)
+ }
+ function pp(r) {
+ var i = r
+ do {
+ var a = i.alternate
+ if (((r = i.return), (i.flags & 32768) === 0)) {
+ if (((a = Ww(a, i, It)), a !== null)) {
+ Ue = a
+ return
+ }
+ } else {
+ if (((a = Kw(a, i)), a !== null)) {
+ ;(a.flags &= 32767), (Ue = a)
+ return
+ }
+ if (r !== null) (r.flags |= 32768), (r.subtreeFlags = 0), (r.deletions = null)
+ else {
+ ;(We = 6), (Ue = null)
+ return
+ }
+ }
+ if (((i = i.sibling), i !== null)) {
+ Ue = i
+ return
+ }
+ Ue = i = r
+ } while (i !== null)
+ We === 0 && (We = 5)
+ }
+ function yr(r, i, a) {
+ var f = xe,
+ h = Dt.transition
+ try {
+ ;(Dt.transition = null), (xe = 1), t0(r, i, a, f)
+ } finally {
+ ;(Dt.transition = h), (xe = f)
+ }
+ return null
+ }
+ function t0(r, i, a, f) {
+ do os()
+ while (Kn !== null)
+ if ((ve & 6) !== 0) throw Error(n(327))
+ a = r.finishedWork
+ var h = r.finishedLanes
+ if (a === null) return null
+ if (((r.finishedWork = null), (r.finishedLanes = 0), a === r.current)) throw Error(n(177))
+ ;(r.callbackNode = null), (r.callbackPriority = 0)
+ var m = a.lanes | a.childLanes
+ if (
+ (Ov(r, m),
+ r === Qe && ((Ue = Qe = null), (Ye = 0)),
+ ((a.subtreeFlags & 2064) === 0 && (a.flags & 2064) === 0) ||
+ Qo ||
+ ((Qo = !0),
+ vp(no, function () {
+ return os(), null
+ })),
+ (m = (a.flags & 15990) !== 0),
+ (a.subtreeFlags & 15990) !== 0 || m)
+ ) {
+ ;(m = Dt.transition), (Dt.transition = null)
+ var x = xe
+ xe = 1
+ var b = ve
+ ;(ve |= 4),
+ (Dc.current = null),
+ Qw(r, a),
+ sp(a, r),
+ xw(Ka),
+ (co = !!Wa),
+ (Ka = Wa = null),
+ (r.current = a),
+ Jw(a),
+ Tv(),
+ (ve = b),
+ (xe = x),
+ (Dt.transition = m)
+ } else r.current = a
+ if (
+ (Qo && ((Qo = !1), (Kn = r), (Jo = h)),
+ (m = r.pendingLanes),
+ m === 0 && (Wn = null),
+ Av(a.stateNode),
+ St(r, Fe()),
+ i !== null)
+ )
+ for (f = r.onRecoverableError, a = 0; a < i.length; a++)
+ (h = i[a]), f(h.value, { componentStack: h.stack, digest: h.digest })
+ if (Go) throw ((Go = !1), (r = zc), (zc = null), r)
+ return (
+ (Jo & 1) !== 0 && r.tag !== 0 && os(),
+ (m = r.pendingLanes),
+ (m & 1) !== 0 ? (r === Hc ? Si++ : ((Si = 0), (Hc = r))) : (Si = 0),
+ Hn(),
+ null
+ )
+ }
+ function os() {
+ if (Kn !== null) {
+ var r = nd(Jo),
+ i = Dt.transition,
+ a = xe
+ try {
+ if (((Dt.transition = null), (xe = 16 > r ? 16 : r), Kn === null)) var f = !1
+ else {
+ if (((r = Kn), (Kn = null), (Jo = 0), (ve & 6) !== 0)) throw Error(n(331))
+ var h = ve
+ for (ve |= 4, ee = r.current; ee !== null; ) {
+ var m = ee,
+ x = m.child
+ if ((ee.flags & 16) !== 0) {
+ var b = m.deletions
+ if (b !== null) {
+ for (var T = 0; T < b.length; T++) {
+ var P = b[T]
+ for (ee = P; ee !== null; ) {
+ var V = ee
+ switch (V.tag) {
+ case 0:
+ case 11:
+ case 15:
+ yi(8, V, m)
+ }
+ var W = V.child
+ if (W !== null) (W.return = V), (ee = W)
+ else
+ for (; ee !== null; ) {
+ V = ee
+ var U = V.sibling,
+ Y = V.return
+ if ((Zh(V), V === P)) {
+ ee = null
+ break
+ }
+ if (U !== null) {
+ ;(U.return = Y), (ee = U)
+ break
+ }
+ ee = Y
+ }
+ }
+ }
+ var te = m.alternate
+ if (te !== null) {
+ var ne = te.child
+ if (ne !== null) {
+ te.child = null
+ do {
+ var Be = ne.sibling
+ ;(ne.sibling = null), (ne = Be)
+ } while (ne !== null)
+ }
+ }
+ ee = m
+ }
+ }
+ if ((m.subtreeFlags & 2064) !== 0 && x !== null) (x.return = m), (ee = x)
+ else
+ e: for (; ee !== null; ) {
+ if (((m = ee), (m.flags & 2048) !== 0))
+ switch (m.tag) {
+ case 0:
+ case 11:
+ case 15:
+ yi(9, m, m.return)
+ }
+ var L = m.sibling
+ if (L !== null) {
+ ;(L.return = m.return), (ee = L)
+ break e
+ }
+ ee = m.return
+ }
+ }
+ var N = r.current
+ for (ee = N; ee !== null; ) {
+ x = ee
+ var j = x.child
+ if ((x.subtreeFlags & 2064) !== 0 && j !== null) (j.return = x), (ee = j)
+ else
+ e: for (x = N; ee !== null; ) {
+ if (((b = ee), (b.flags & 2048) !== 0))
+ try {
+ switch (b.tag) {
+ case 0:
+ case 11:
+ case 15:
+ Vo(9, b)
+ }
+ } catch (re) {
+ De(b, b.return, re)
+ }
+ if (b === x) {
+ ee = null
+ break e
+ }
+ var Q = b.sibling
+ if (Q !== null) {
+ ;(Q.return = b.return), (ee = Q)
+ break e
+ }
+ ee = b.return
+ }
+ }
+ if (((ve = h), Hn(), sn && typeof sn.onPostCommitFiberRoot == 'function'))
+ try {
+ sn.onPostCommitFiberRoot(ro, r)
+ } catch {}
+ f = !0
+ }
+ return f
+ } finally {
+ ;(xe = a), (Dt.transition = i)
+ }
+ }
+ return !1
+ }
+ function mp(r, i, a) {
+ ;(i = ns(a, i)),
+ (i = jh(r, i, 1)),
+ (r = qn(r, i, 1)),
+ (i = ft()),
+ r !== null && (qs(r, 1, i), St(r, i))
+ }
+ function De(r, i, a) {
+ if (r.tag === 3) mp(r, r, a)
+ else
+ for (; i !== null; ) {
+ if (i.tag === 3) {
+ mp(i, r, a)
+ break
+ } else if (i.tag === 1) {
+ var f = i.stateNode
+ if (
+ typeof i.type.getDerivedStateFromError == 'function' ||
+ (typeof f.componentDidCatch == 'function' && (Wn === null || !Wn.has(f)))
+ ) {
+ ;(r = ns(a, r)),
+ (r = Ph(i, r, 1)),
+ (i = qn(i, r, 1)),
+ (r = ft()),
+ i !== null && (qs(i, 1, r), St(i, r))
+ break
+ }
+ }
+ i = i.return
+ }
+ }
+ function n0(r, i, a) {
+ var f = r.pingCache
+ f !== null && f.delete(i),
+ (i = ft()),
+ (r.pingedLanes |= r.suspendedLanes & a),
+ Qe === r &&
+ (Ye & a) === a &&
+ (We === 4 || (We === 3 && (Ye & 130023424) === Ye && 500 > Fe() - Bc)
+ ? gr(r, 0)
+ : (Fc |= a)),
+ St(r, i)
+ }
+ function gp(r, i) {
+ i === 0 &&
+ ((r.mode & 1) === 0
+ ? (i = 1)
+ : ((i = io), (io <<= 1), (io & 130023424) === 0 && (io = 4194304)))
+ var a = ft()
+ ;(r = vn(r, i)), r !== null && (qs(r, i, a), St(r, a))
+ }
+ function r0(r) {
+ var i = r.memoizedState,
+ a = 0
+ i !== null && (a = i.retryLane), gp(r, a)
+ }
+ function s0(r, i) {
+ var a = 0
+ switch (r.tag) {
+ case 13:
+ var f = r.stateNode,
+ h = r.memoizedState
+ h !== null && (a = h.retryLane)
+ break
+ case 19:
+ f = r.stateNode
+ break
+ default:
+ throw Error(n(314))
+ }
+ f !== null && f.delete(i), gp(r, a)
+ }
+ var yp
+ yp = function (r, i, a) {
+ if (r !== null)
+ if (r.memoizedProps !== i.pendingProps || gt.current) vt = !0
+ else {
+ if ((r.lanes & a) === 0 && (i.flags & 128) === 0) return (vt = !1), Vw(r, i, a)
+ vt = (r.flags & 131072) !== 0
+ }
+ else (vt = !1), Ie && (i.flags & 1048576) !== 0 && Jd(i, No, i.index)
+ switch (((i.lanes = 0), i.tag)) {
+ case 2:
+ var f = i.type
+ Uo(r, i), (r = i.pendingProps)
+ var h = Gr(i, nt.current)
+ es(i, a), (h = yc(null, i, f, r, h, a))
+ var m = vc()
+ return (
+ (i.flags |= 1),
+ typeof h == 'object' &&
+ h !== null &&
+ typeof h.render == 'function' &&
+ h.$$typeof === void 0
+ ? ((i.tag = 1),
+ (i.memoizedState = null),
+ (i.updateQueue = null),
+ yt(f) ? ((m = !0), bo(i)) : (m = !1),
+ (i.memoizedState = h.state !== null && h.state !== void 0 ? h.state : null),
+ uc(i),
+ (h.updater = zo),
+ (i.stateNode = h),
+ (h._reactInternals = i),
+ kc(i, f, r, a),
+ (i = Nc(null, i, f, !0, m, a)))
+ : ((i.tag = 0), Ie && m && ec(i), ut(null, i, h, a), (i = i.child)),
+ i
+ )
+ case 16:
+ f = i.elementType
+ e: {
+ switch (
+ (Uo(r, i),
+ (r = i.pendingProps),
+ (h = f._init),
+ (f = h(f._payload)),
+ (i.type = f),
+ (h = i.tag = o0(f)),
+ (r = Qt(f, r)),
+ h)
+ ) {
+ case 0:
+ i = Cc(null, i, f, r, a)
+ break e
+ case 1:
+ i = Uh(null, i, f, r, a)
+ break e
+ case 11:
+ i = Dh(null, i, f, r, a)
+ break e
+ case 14:
+ i = Fh(null, i, f, Qt(f.type, r), a)
+ break e
+ }
+ throw Error(n(306, f, ''))
+ }
+ return i
+ case 0:
+ return (
+ (f = i.type),
+ (h = i.pendingProps),
+ (h = i.elementType === f ? h : Qt(f, h)),
+ Cc(r, i, f, h, a)
+ )
+ case 1:
+ return (
+ (f = i.type),
+ (h = i.pendingProps),
+ (h = i.elementType === f ? h : Qt(f, h)),
+ Uh(r, i, f, h, a)
+ )
+ case 3:
+ e: {
+ if ((qh(i), r === null)) throw Error(n(387))
+ ;(f = i.pendingProps), (m = i.memoizedState), (h = m.element), ih(r, i), Po(i, f, null, a)
+ var x = i.memoizedState
+ if (((f = x.element), m.isDehydrated))
+ if (
+ ((m = {
+ element: f,
+ isDehydrated: !1,
+ cache: x.cache,
+ pendingSuspenseBoundaries: x.pendingSuspenseBoundaries,
+ transitions: x.transitions,
+ }),
+ (i.updateQueue.baseState = m),
+ (i.memoizedState = m),
+ i.flags & 256)
+ ) {
+ ;(h = ns(Error(n(423)), i)), (i = Vh(r, i, f, a, h))
+ break e
+ } else if (f !== h) {
+ ;(h = ns(Error(n(424)), i)), (i = Vh(r, i, f, a, h))
+ break e
+ } else
+ for (
+ At = Fn(i.stateNode.containerInfo.firstChild),
+ Nt = i,
+ Ie = !0,
+ Gt = null,
+ a = rh(i, null, f, a),
+ i.child = a;
+ a;
+
+ )
+ (a.flags = (a.flags & -3) | 4096), (a = a.sibling)
+ else {
+ if ((Xr(), f === h)) {
+ i = Sn(r, i, a)
+ break e
+ }
+ ut(r, i, f, a)
+ }
+ i = i.child
+ }
+ return i
+ case 5:
+ return (
+ ah(i),
+ r === null && rc(i),
+ (f = i.type),
+ (h = i.pendingProps),
+ (m = r !== null ? r.memoizedProps : null),
+ (x = h.children),
+ Ga(f, h) ? (x = null) : m !== null && Ga(f, m) && (i.flags |= 32),
+ Hh(r, i),
+ ut(r, i, x, a),
+ i.child
+ )
+ case 6:
+ return r === null && rc(i), null
+ case 13:
+ return Wh(r, i, a)
+ case 4:
+ return (
+ fc(i, i.stateNode.containerInfo),
+ (f = i.pendingProps),
+ r === null ? (i.child = Yr(i, null, f, a)) : ut(r, i, f, a),
+ i.child
+ )
+ case 11:
+ return (
+ (f = i.type),
+ (h = i.pendingProps),
+ (h = i.elementType === f ? h : Qt(f, h)),
+ Dh(r, i, f, h, a)
+ )
+ case 7:
+ return ut(r, i, i.pendingProps, a), i.child
+ case 8:
+ return ut(r, i, i.pendingProps.children, a), i.child
+ case 12:
+ return ut(r, i, i.pendingProps.children, a), i.child
+ case 10:
+ e: {
+ if (
+ ((f = i.type._context),
+ (h = i.pendingProps),
+ (m = i.memoizedProps),
+ (x = h.value),
+ Te(Lo, f._currentValue),
+ (f._currentValue = x),
+ m !== null)
+ )
+ if (Kt(m.value, x)) {
+ if (m.children === h.children && !gt.current) {
+ i = Sn(r, i, a)
+ break e
+ }
+ } else
+ for (m = i.child, m !== null && (m.return = i); m !== null; ) {
+ var b = m.dependencies
+ if (b !== null) {
+ x = m.child
+ for (var T = b.firstContext; T !== null; ) {
+ if (T.context === f) {
+ if (m.tag === 1) {
+ ;(T = wn(-1, a & -a)), (T.tag = 2)
+ var P = m.updateQueue
+ if (P !== null) {
+ P = P.shared
+ var V = P.pending
+ V === null ? (T.next = T) : ((T.next = V.next), (V.next = T)),
+ (P.pending = T)
+ }
+ }
+ ;(m.lanes |= a),
+ (T = m.alternate),
+ T !== null && (T.lanes |= a),
+ ac(m.return, a, i),
+ (b.lanes |= a)
+ break
+ }
+ T = T.next
+ }
+ } else if (m.tag === 10) x = m.type === i.type ? null : m.child
+ else if (m.tag === 18) {
+ if (((x = m.return), x === null)) throw Error(n(341))
+ ;(x.lanes |= a),
+ (b = x.alternate),
+ b !== null && (b.lanes |= a),
+ ac(x, a, i),
+ (x = m.sibling)
+ } else x = m.child
+ if (x !== null) x.return = m
+ else
+ for (x = m; x !== null; ) {
+ if (x === i) {
+ x = null
+ break
+ }
+ if (((m = x.sibling), m !== null)) {
+ ;(m.return = x.return), (x = m)
+ break
+ }
+ x = x.return
+ }
+ m = x
+ }
+ ut(r, i, h.children, a), (i = i.child)
+ }
+ return i
+ case 9:
+ return (
+ (h = i.type),
+ (f = i.pendingProps.children),
+ es(i, a),
+ (h = $t(h)),
+ (f = f(h)),
+ (i.flags |= 1),
+ ut(r, i, f, a),
+ i.child
+ )
+ case 14:
+ return (f = i.type), (h = Qt(f, i.pendingProps)), (h = Qt(f.type, h)), Fh(r, i, f, h, a)
+ case 15:
+ return Bh(r, i, i.type, i.pendingProps, a)
+ case 17:
+ return (
+ (f = i.type),
+ (h = i.pendingProps),
+ (h = i.elementType === f ? h : Qt(f, h)),
+ Uo(r, i),
+ (i.tag = 1),
+ yt(f) ? ((r = !0), bo(i)) : (r = !1),
+ es(i, a),
+ Lh(i, f, h),
+ kc(i, f, h, a),
+ Nc(null, i, f, !0, r, a)
+ )
+ case 19:
+ return Gh(r, i, a)
+ case 22:
+ return zh(r, i, a)
+ }
+ throw Error(n(156, i.tag))
+ }
+ function vp(r, i) {
+ return Xf(r, i)
+ }
+ function i0(r, i, a, f) {
+ ;(this.tag = r),
+ (this.key = a),
+ (this.sibling =
+ this.child =
+ this.return =
+ this.stateNode =
+ this.type =
+ this.elementType =
+ null),
+ (this.index = 0),
+ (this.ref = null),
+ (this.pendingProps = i),
+ (this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null),
+ (this.mode = f),
+ (this.subtreeFlags = this.flags = 0),
+ (this.deletions = null),
+ (this.childLanes = this.lanes = 0),
+ (this.alternate = null)
+ }
+ function Ft(r, i, a, f) {
+ return new i0(r, i, a, f)
+ }
+ function Gc(r) {
+ return (r = r.prototype), !(!r || !r.isReactComponent)
+ }
+ function o0(r) {
+ if (typeof r == 'function') return Gc(r) ? 1 : 0
+ if (r != null) {
+ if (((r = r.$$typeof), r === $)) return 11
+ if (r === Ae) return 14
+ }
+ return 2
+ }
+ function Jn(r, i) {
+ var a = r.alternate
+ return (
+ a === null
+ ? ((a = Ft(r.tag, i, r.key, r.mode)),
+ (a.elementType = r.elementType),
+ (a.type = r.type),
+ (a.stateNode = r.stateNode),
+ (a.alternate = r),
+ (r.alternate = a))
+ : ((a.pendingProps = i),
+ (a.type = r.type),
+ (a.flags = 0),
+ (a.subtreeFlags = 0),
+ (a.deletions = null)),
+ (a.flags = r.flags & 14680064),
+ (a.childLanes = r.childLanes),
+ (a.lanes = r.lanes),
+ (a.child = r.child),
+ (a.memoizedProps = r.memoizedProps),
+ (a.memoizedState = r.memoizedState),
+ (a.updateQueue = r.updateQueue),
+ (i = r.dependencies),
+ (a.dependencies = i === null ? null : { lanes: i.lanes, firstContext: i.firstContext }),
+ (a.sibling = r.sibling),
+ (a.index = r.index),
+ (a.ref = r.ref),
+ a
+ )
+ }
+ function el(r, i, a, f, h, m) {
+ var x = 2
+ if (((f = r), typeof r == 'function')) Gc(r) && (x = 1)
+ else if (typeof r == 'string') x = 5
+ else
+ e: switch (r) {
+ case q:
+ return vr(a.children, h, m, i)
+ case B:
+ ;(x = 8), (h |= 8)
+ break
+ case M:
+ return (r = Ft(12, a, i, h | 2)), (r.elementType = M), (r.lanes = m), r
+ case X:
+ return (r = Ft(13, a, i, h)), (r.elementType = X), (r.lanes = m), r
+ case ce:
+ return (r = Ft(19, a, i, h)), (r.elementType = ce), (r.lanes = m), r
+ case ge:
+ return tl(a, h, m, i)
+ default:
+ if (typeof r == 'object' && r !== null)
+ switch (r.$$typeof) {
+ case G:
+ x = 10
+ break e
+ case K:
+ x = 9
+ break e
+ case $:
+ x = 11
+ break e
+ case Ae:
+ x = 14
+ break e
+ case be:
+ ;(x = 16), (f = null)
+ break e
+ }
+ throw Error(n(130, r == null ? r : typeof r, ''))
+ }
+ return (i = Ft(x, a, i, h)), (i.elementType = r), (i.type = f), (i.lanes = m), i
+ }
+ function vr(r, i, a, f) {
+ return (r = Ft(7, r, f, i)), (r.lanes = a), r
+ }
+ function tl(r, i, a, f) {
+ return (
+ (r = Ft(22, r, f, i)),
+ (r.elementType = ge),
+ (r.lanes = a),
+ (r.stateNode = { isHidden: !1 }),
+ r
+ )
+ }
+ function Qc(r, i, a) {
+ return (r = Ft(6, r, null, i)), (r.lanes = a), r
+ }
+ function Jc(r, i, a) {
+ return (
+ (i = Ft(4, r.children !== null ? r.children : [], r.key, i)),
+ (i.lanes = a),
+ (i.stateNode = {
+ containerInfo: r.containerInfo,
+ pendingChildren: null,
+ implementation: r.implementation,
+ }),
+ i
+ )
+ }
+ function l0(r, i, a, f, h) {
+ ;(this.tag = i),
+ (this.containerInfo = r),
+ (this.finishedWork = this.pingCache = this.current = this.pendingChildren = null),
+ (this.timeoutHandle = -1),
+ (this.callbackNode = this.pendingContext = this.context = null),
+ (this.callbackPriority = 0),
+ (this.eventTimes = Ea(0)),
+ (this.expirationTimes = Ea(-1)),
+ (this.entangledLanes =
+ this.finishedLanes =
+ this.mutableReadLanes =
+ this.expiredLanes =
+ this.pingedLanes =
+ this.suspendedLanes =
+ this.pendingLanes =
+ 0),
+ (this.entanglements = Ea(0)),
+ (this.identifierPrefix = f),
+ (this.onRecoverableError = h),
+ (this.mutableSourceEagerHydrationData = null)
+ }
+ function Xc(r, i, a, f, h, m, x, b, T) {
+ return (
+ (r = new l0(r, i, a, b, T)),
+ i === 1 ? ((i = 1), m === !0 && (i |= 8)) : (i = 0),
+ (m = Ft(3, null, null, i)),
+ (r.current = m),
+ (m.stateNode = r),
+ (m.memoizedState = {
+ element: f,
+ isDehydrated: a,
+ cache: null,
+ transitions: null,
+ pendingSuspenseBoundaries: null,
+ }),
+ uc(m),
+ r
+ )
+ }
+ function a0(r, i, a) {
+ var f = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null
+ return {
+ $$typeof: z,
+ key: f == null ? null : '' + f,
+ children: r,
+ containerInfo: i,
+ implementation: a,
+ }
+ }
+ function wp(r) {
+ if (!r) return zn
+ r = r._reactInternals
+ e: {
+ if (or(r) !== r || r.tag !== 1) throw Error(n(170))
+ var i = r
+ do {
+ switch (i.tag) {
+ case 3:
+ i = i.stateNode.context
+ break e
+ case 1:
+ if (yt(i.type)) {
+ i = i.stateNode.__reactInternalMemoizedMergedChildContext
+ break e
+ }
+ }
+ i = i.return
+ } while (i !== null)
+ throw Error(n(171))
+ }
+ if (r.tag === 1) {
+ var a = r.type
+ if (yt(a)) return Kd(r, a, i)
+ }
+ return i
+ }
+ function Sp(r, i, a, f, h, m, x, b, T) {
+ return (
+ (r = Xc(a, f, !0, r, h, m, x, b, T)),
+ (r.context = wp(null)),
+ (a = r.current),
+ (f = ft()),
+ (h = Gn(a)),
+ (m = wn(f, h)),
+ (m.callback = i ?? null),
+ qn(a, m, h),
+ (r.current.lanes = h),
+ qs(r, h, f),
+ St(r, f),
+ r
+ )
+ }
+ function nl(r, i, a, f) {
+ var h = i.current,
+ m = ft(),
+ x = Gn(h)
+ return (
+ (a = wp(a)),
+ i.context === null ? (i.context = a) : (i.pendingContext = a),
+ (i = wn(m, x)),
+ (i.payload = { element: r }),
+ (f = f === void 0 ? null : f),
+ f !== null && (i.callback = f),
+ (r = qn(h, i, x)),
+ r !== null && (Yt(r, h, x, m), jo(r, h, x)),
+ x
+ )
+ }
+ function rl(r) {
+ if (((r = r.current), !r.child)) return null
+ switch (r.child.tag) {
+ case 5:
+ return r.child.stateNode
+ default:
+ return r.child.stateNode
+ }
+ }
+ function xp(r, i) {
+ if (((r = r.memoizedState), r !== null && r.dehydrated !== null)) {
+ var a = r.retryLane
+ r.retryLane = a !== 0 && a < i ? a : i
+ }
+ }
+ function Yc(r, i) {
+ xp(r, i), (r = r.alternate) && xp(r, i)
+ }
+ function c0() {
+ return null
+ }
+ var _p =
+ typeof reportError == 'function'
+ ? reportError
+ : function (r) {
+ console.error(r)
+ }
+ function Zc(r) {
+ this._internalRoot = r
+ }
+ ;(sl.prototype.render = Zc.prototype.render =
+ function (r) {
+ var i = this._internalRoot
+ if (i === null) throw Error(n(409))
+ nl(r, i, null, null)
+ }),
+ (sl.prototype.unmount = Zc.prototype.unmount =
+ function () {
+ var r = this._internalRoot
+ if (r !== null) {
+ this._internalRoot = null
+ var i = r.containerInfo
+ mr(function () {
+ nl(null, r, null, null)
+ }),
+ (i[pn] = null)
+ }
+ })
+ function sl(r) {
+ this._internalRoot = r
+ }
+ sl.prototype.unstable_scheduleHydration = function (r) {
+ if (r) {
+ var i = id()
+ r = { blockedOn: null, target: r, priority: i }
+ for (var a = 0; a < $n.length && i !== 0 && i < $n[a].priority; a++);
+ $n.splice(a, 0, r), a === 0 && ad(r)
+ }
+ }
+ function eu(r) {
+ return !(!r || (r.nodeType !== 1 && r.nodeType !== 9 && r.nodeType !== 11))
+ }
+ function il(r) {
+ return !(
+ !r ||
+ (r.nodeType !== 1 &&
+ r.nodeType !== 9 &&
+ r.nodeType !== 11 &&
+ (r.nodeType !== 8 || r.nodeValue !== ' react-mount-point-unstable '))
+ )
+ }
+ function Ep() {}
+ function u0(r, i, a, f, h) {
+ if (h) {
+ if (typeof f == 'function') {
+ var m = f
+ f = function () {
+ var P = rl(x)
+ m.call(P)
+ }
+ }
+ var x = Sp(i, f, r, 0, null, !1, !1, '', Ep)
+ return (
+ (r._reactRootContainer = x),
+ (r[pn] = x.current),
+ si(r.nodeType === 8 ? r.parentNode : r),
+ mr(),
+ x
+ )
+ }
+ for (; (h = r.lastChild); ) r.removeChild(h)
+ if (typeof f == 'function') {
+ var b = f
+ f = function () {
+ var P = rl(T)
+ b.call(P)
+ }
+ }
+ var T = Xc(r, 0, !1, null, null, !1, !1, '', Ep)
+ return (
+ (r._reactRootContainer = T),
+ (r[pn] = T.current),
+ si(r.nodeType === 8 ? r.parentNode : r),
+ mr(function () {
+ nl(i, T, a, f)
+ }),
+ T
+ )
+ }
+ function ol(r, i, a, f, h) {
+ var m = a._reactRootContainer
+ if (m) {
+ var x = m
+ if (typeof h == 'function') {
+ var b = h
+ h = function () {
+ var T = rl(x)
+ b.call(T)
+ }
+ }
+ nl(i, x, r, h)
+ } else x = u0(a, i, r, h, f)
+ return rl(x)
+ }
+ ;(rd = function (r) {
+ switch (r.tag) {
+ case 3:
+ var i = r.stateNode
+ if (i.current.memoizedState.isDehydrated) {
+ var a = Us(i.pendingLanes)
+ a !== 0 && (ka(i, a | 1), St(i, Fe()), (ve & 6) === 0 && ((is = Fe() + 500), Hn()))
+ }
+ break
+ case 13:
+ mr(function () {
+ var f = vn(r, 1)
+ if (f !== null) {
+ var h = ft()
+ Yt(f, r, 1, h)
+ }
+ }),
+ Yc(r, 1)
+ }
+ }),
+ (ba = function (r) {
+ if (r.tag === 13) {
+ var i = vn(r, 134217728)
+ if (i !== null) {
+ var a = ft()
+ Yt(i, r, 134217728, a)
+ }
+ Yc(r, 134217728)
+ }
+ }),
+ (sd = function (r) {
+ if (r.tag === 13) {
+ var i = Gn(r),
+ a = vn(r, i)
+ if (a !== null) {
+ var f = ft()
+ Yt(a, r, i, f)
+ }
+ Yc(r, i)
+ }
+ }),
+ (id = function () {
+ return xe
+ }),
+ (od = function (r, i) {
+ var a = xe
+ try {
+ return (xe = r), i()
+ } finally {
+ xe = a
+ }
+ }),
+ (ya = function (r, i, a) {
+ switch (i) {
+ case 'input':
+ if ((Rs(r, a), (i = a.name), a.type === 'radio' && i != null)) {
+ for (a = r; a.parentNode; ) a = a.parentNode
+ for (
+ a = a.querySelectorAll('input[name=' + JSON.stringify('' + i) + '][type="radio"]'),
+ i = 0;
+ i < a.length;
+ i++
+ ) {
+ var f = a[i]
+ if (f !== r && f.form === r.form) {
+ var h = Eo(f)
+ if (!h) throw Error(n(90))
+ jr(f), Rs(f, h)
+ }
+ }
+ }
+ break
+ case 'textarea':
+ Yi(r, a)
+ break
+ case 'select':
+ ;(i = a.value), i != null && nn(r, !!a.multiple, i, !1)
+ }
+ }),
+ (qf = Vc),
+ (Vf = mr)
+ var f0 = { usingClientEntryPoint: !1, Events: [li, Wr, Eo, Hf, Uf, Vc] },
+ xi = {
+ findFiberByHostInstance: lr,
+ bundleType: 0,
+ version: '18.3.1',
+ rendererPackageName: 'react-dom',
+ },
+ d0 = {
+ bundleType: xi.bundleType,
+ version: xi.version,
+ rendererPackageName: xi.rendererPackageName,
+ rendererConfig: xi.rendererConfig,
+ overrideHookState: null,
+ overrideHookStateDeletePath: null,
+ overrideHookStateRenamePath: null,
+ overrideProps: null,
+ overridePropsDeletePath: null,
+ overridePropsRenamePath: null,
+ setErrorHandler: null,
+ setSuspenseHandler: null,
+ scheduleUpdate: null,
+ currentDispatcherRef: D.ReactCurrentDispatcher,
+ findHostInstanceByFiber: function (r) {
+ return (r = Qf(r)), r === null ? null : r.stateNode
+ },
+ findFiberByHostInstance: xi.findFiberByHostInstance || c0,
+ findHostInstancesForRefresh: null,
+ scheduleRefresh: null,
+ scheduleRoot: null,
+ setRefreshHandler: null,
+ getCurrentFiber: null,
+ reconcilerVersion: '18.3.1-next-f1338f8080-20240426',
+ }
+ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < 'u') {
+ var ll = __REACT_DEVTOOLS_GLOBAL_HOOK__
+ if (!ll.isDisabled && ll.supportsFiber)
+ try {
+ ;(ro = ll.inject(d0)), (sn = ll)
+ } catch {}
+ }
+ return (
+ (xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = f0),
+ (xt.createPortal = function (r, i) {
+ var a = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null
+ if (!eu(i)) throw Error(n(200))
+ return a0(r, i, null, a)
+ }),
+ (xt.createRoot = function (r, i) {
+ if (!eu(r)) throw Error(n(299))
+ var a = !1,
+ f = '',
+ h = _p
+ return (
+ i != null &&
+ (i.unstable_strictMode === !0 && (a = !0),
+ i.identifierPrefix !== void 0 && (f = i.identifierPrefix),
+ i.onRecoverableError !== void 0 && (h = i.onRecoverableError)),
+ (i = Xc(r, 1, !1, null, null, a, !1, f, h)),
+ (r[pn] = i.current),
+ si(r.nodeType === 8 ? r.parentNode : r),
+ new Zc(i)
+ )
+ }),
+ (xt.findDOMNode = function (r) {
+ if (r == null) return null
+ if (r.nodeType === 1) return r
+ var i = r._reactInternals
+ if (i === void 0)
+ throw typeof r.render == 'function'
+ ? Error(n(188))
+ : ((r = Object.keys(r).join(',')), Error(n(268, r)))
+ return (r = Qf(i)), (r = r === null ? null : r.stateNode), r
+ }),
+ (xt.flushSync = function (r) {
+ return mr(r)
+ }),
+ (xt.hydrate = function (r, i, a) {
+ if (!il(i)) throw Error(n(200))
+ return ol(null, r, i, !0, a)
+ }),
+ (xt.hydrateRoot = function (r, i, a) {
+ if (!eu(r)) throw Error(n(405))
+ var f = (a != null && a.hydratedSources) || null,
+ h = !1,
+ m = '',
+ x = _p
+ if (
+ (a != null &&
+ (a.unstable_strictMode === !0 && (h = !0),
+ a.identifierPrefix !== void 0 && (m = a.identifierPrefix),
+ a.onRecoverableError !== void 0 && (x = a.onRecoverableError)),
+ (i = Sp(i, null, r, 1, a ?? null, h, !1, m, x)),
+ (r[pn] = i.current),
+ si(r),
+ f)
+ )
+ for (r = 0; r < f.length; r++)
+ (a = f[r]),
+ (h = a._getVersion),
+ (h = h(a._source)),
+ i.mutableSourceEagerHydrationData == null
+ ? (i.mutableSourceEagerHydrationData = [a, h])
+ : i.mutableSourceEagerHydrationData.push(a, h)
+ return new sl(i)
+ }),
+ (xt.render = function (r, i, a) {
+ if (!il(i)) throw Error(n(200))
+ return ol(null, r, i, !1, a)
+ }),
+ (xt.unmountComponentAtNode = function (r) {
+ if (!il(r)) throw Error(n(40))
+ return r._reactRootContainer
+ ? (mr(function () {
+ ol(null, null, r, !1, function () {
+ ;(r._reactRootContainer = null), (r[pn] = null)
+ })
+ }),
+ !0)
+ : !1
+ }),
+ (xt.unstable_batchedUpdates = Vc),
+ (xt.unstable_renderSubtreeIntoContainer = function (r, i, a, f) {
+ if (!il(a)) throw Error(n(200))
+ if (r == null || r._reactInternals === void 0) throw Error(n(38))
+ return ol(r, i, a, !1, f)
+ }),
+ (xt.version = '18.3.1-next-f1338f8080-20240426'),
+ xt
+ )
+}
+var jp
+function N0() {
+ if (jp) return ru.exports
+ jp = 1
+ function t() {
+ if (
+ !(
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > 'u' ||
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != 'function'
+ )
+ )
+ try {
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)
+ } catch (e) {
+ console.error(e)
+ }
+ }
+ return t(), (ru.exports = C0()), ru.exports
+}
+var Pp
+function A0() {
+ if (Pp) return al
+ Pp = 1
+ var t = N0()
+ return (al.createRoot = t.createRoot), (al.hydrateRoot = t.hydrateRoot), al
+}
+var Ak = A0()
+const Ii = Symbol('context'),
+ Dm = Symbol('nextInContext'),
+ Fm = Symbol('prevByEndTime'),
+ Bm = Symbol('nextByStartTime'),
+ Op = Symbol('events')
+class Ik {
+ constructor(e) {
+ Ee(this, 'startTime')
+ Ee(this, 'endTime')
+ Ee(this, 'browserName')
+ Ee(this, 'channel')
+ Ee(this, 'platform')
+ Ee(this, 'wallTime')
+ Ee(this, 'title')
+ Ee(this, 'options')
+ Ee(this, 'pages')
+ Ee(this, 'actions')
+ Ee(this, 'attachments')
+ Ee(this, 'visibleAttachments')
+ Ee(this, 'events')
+ Ee(this, 'stdio')
+ Ee(this, 'errors')
+ Ee(this, 'errorDescriptors')
+ Ee(this, 'hasSource')
+ Ee(this, 'hasStepData')
+ Ee(this, 'sdkLanguage')
+ Ee(this, 'testIdAttributeName')
+ Ee(this, 'sources')
+ Ee(this, 'resources')
+ e.forEach((s) => I0(s))
+ const n = e.find((s) => s.origin === 'library')
+ ;(this.browserName = (n == null ? void 0 : n.browserName) || ''),
+ (this.sdkLanguage = n == null ? void 0 : n.sdkLanguage),
+ (this.channel = n == null ? void 0 : n.channel),
+ (this.testIdAttributeName = n == null ? void 0 : n.testIdAttributeName),
+ (this.platform = (n == null ? void 0 : n.platform) || ''),
+ (this.title = (n == null ? void 0 : n.title) || ''),
+ (this.options = (n == null ? void 0 : n.options) || {}),
+ (this.actions = L0(e)),
+ (this.pages = [].concat(...e.map((s) => s.pages))),
+ (this.wallTime = e
+ .map((s) => s.wallTime)
+ .reduce((s, o) => Math.min(s || Number.MAX_VALUE, o), Number.MAX_VALUE)),
+ (this.startTime = e
+ .map((s) => s.startTime)
+ .reduce((s, o) => Math.min(s, o), Number.MAX_VALUE)),
+ (this.endTime = e.map((s) => s.endTime).reduce((s, o) => Math.max(s, o), Number.MIN_VALUE)),
+ (this.events = [].concat(...e.map((s) => s.events))),
+ (this.stdio = [].concat(...e.map((s) => s.stdio))),
+ (this.errors = [].concat(...e.map((s) => s.errors))),
+ (this.hasSource = e.some((s) => s.hasSource)),
+ (this.hasStepData = e.some((s) => s.origin === 'testRunner')),
+ (this.resources = [...e.map((s) => s.resources)].flat()),
+ (this.attachments = this.actions.flatMap((s) => {
+ var o
+ return (
+ ((o = s.attachments) == null
+ ? void 0
+ : o.map((l) => ({ ...l, traceUrl: s.context.traceUrl }))) ?? []
+ )
+ })),
+ (this.visibleAttachments = this.attachments.filter((s) => !s.name.startsWith('_'))),
+ this.events.sort((s, o) => s.time - o.time),
+ this.resources.sort((s, o) => s._monotonicTime - o._monotonicTime),
+ (this.errorDescriptors = this.hasStepData
+ ? this._errorDescriptorsFromTestRunner()
+ : this._errorDescriptorsFromActions()),
+ (this.sources = B0(this.actions, this.errorDescriptors))
+ }
+ failedAction() {
+ return this.actions.findLast((e) => e.error)
+ }
+ _errorDescriptorsFromActions() {
+ var n
+ const e = []
+ for (const s of this.actions || [])
+ (n = s.error) != null &&
+ n.message &&
+ e.push({ action: s, stack: s.stack, message: s.error.message })
+ return e
+ }
+ _errorDescriptorsFromTestRunner() {
+ return this.errors
+ .filter((e) => !!e.message)
+ .map((e, n) => ({ stack: e.stack, message: e.message }))
+ }
+}
+function I0(t) {
+ for (const n of t.pages) n[Ii] = t
+ for (let n = 0; n < t.actions.length; ++n) {
+ const s = t.actions[n]
+ s[Ii] = t
+ }
+ let e
+ for (let n = t.actions.length - 1; n >= 0; n--) {
+ const s = t.actions[n]
+ ;(s[Dm] = e), s.class !== 'Route' && (e = s)
+ }
+ for (const n of t.events) n[Ii] = t
+ for (const n of t.resources) n[Ii] = t
+}
+function L0(t) {
+ const e = new Map()
+ for (const o of t) {
+ const l = o.traceUrl
+ let c = e.get(l)
+ c || ((c = []), e.set(l, c)), c.push(o)
+ }
+ const n = []
+ let s = 0
+ for (const [, o] of e) {
+ e.size > 1 && M0(o, ++s)
+ const l = j0(o)
+ n.push(...l)
+ }
+ n.sort((o, l) =>
+ l.parentId === o.callId ? 1 : o.parentId === l.callId ? -1 : o.endTime - l.endTime
+ )
+ for (let o = 1; o < n.length; ++o) n[o][Fm] = n[o - 1]
+ n.sort((o, l) =>
+ l.parentId === o.callId ? -1 : o.parentId === l.callId ? 1 : o.startTime - l.startTime
+ )
+ for (let o = 0; o + 1 < n.length; ++o) n[o][Bm] = n[o + 1]
+ return n
+}
+function M0(t, e) {
+ for (const n of t)
+ for (const s of n.actions)
+ s.callId && (s.callId = `${e}:${s.callId}`), s.parentId && (s.parentId = `${e}:${s.parentId}`)
+}
+let $p = 0
+function j0(t) {
+ const e = new Map(),
+ n = t.filter((c) => c.origin === 'library'),
+ s = t.filter((c) => c.origin === 'testRunner')
+ if (!s.length || !n.length)
+ return t.map((c) => c.actions.map((u) => ({ ...u, context: c }))).flat()
+ for (const c of n)
+ for (const u of c.actions) e.set(u.stepId || `tmp-step@${++$p}`, { ...u, context: c })
+ const o = O0(s, e)
+ o && P0(n, o)
+ const l = new Map()
+ for (const c of s)
+ for (const u of c.actions) {
+ const d = u.stepId && e.get(u.stepId)
+ if (d) {
+ l.set(u.callId, d.callId),
+ u.error && (d.error = u.error),
+ u.attachments && (d.attachments = u.attachments),
+ u.annotations && (d.annotations = u.annotations),
+ u.parentId && (d.parentId = l.get(u.parentId) ?? u.parentId),
+ (d.startTime = u.startTime),
+ (d.endTime = u.endTime)
+ continue
+ }
+ u.parentId && (u.parentId = l.get(u.parentId) ?? u.parentId),
+ e.set(u.stepId || `tmp-step@${++$p}`, { ...u, context: c })
+ }
+ return [...e.values()]
+}
+function P0(t, e) {
+ for (const n of t) {
+ ;(n.startTime += e), (n.endTime += e)
+ for (const s of n.actions) s.startTime && (s.startTime += e), s.endTime && (s.endTime += e)
+ for (const s of n.events) s.time += e
+ for (const s of n.stdio) s.timestamp += e
+ for (const s of n.pages) for (const o of s.screencastFrames) o.timestamp += e
+ for (const s of n.resources) s._monotonicTime && (s._monotonicTime += e)
+ }
+}
+function O0(t, e) {
+ for (const n of t)
+ for (const s of n.actions) {
+ if (!s.startTime) continue
+ const o = s.stepId ? e.get(s.stepId) : void 0
+ if (o) return s.startTime - o.startTime
+ }
+ return 0
+}
+function $0(t) {
+ const e = new Map()
+ for (const s of t) e.set(s.callId, { id: s.callId, parent: void 0, children: [], action: s })
+ const n = { id: '', parent: void 0, children: [] }
+ for (const s of e.values()) {
+ const o = (s.action.parentId && e.get(s.action.parentId)) || n
+ o.children.push(s), (s.parent = o)
+ }
+ return { rootItem: n, itemMap: e }
+}
+function jl(t) {
+ return t[Ii]
+}
+function R0(t) {
+ return t[Dm]
+}
+function Rp(t) {
+ return t[Fm]
+}
+function Dp(t) {
+ return t[Bm]
+}
+function D0(t) {
+ let e = 0,
+ n = 0
+ for (const s of F0(t)) {
+ if (s.type === 'console') {
+ const o = s.messageType
+ o === 'warning' ? ++n : o === 'error' && ++e
+ }
+ s.type === 'event' && s.method === 'pageError' && ++e
+ }
+ return { errors: e, warnings: n }
+}
+function F0(t) {
+ let e = t[Op]
+ if (e) return e
+ const n = R0(t)
+ return (
+ (e = jl(t).events.filter((s) => s.time >= t.startTime && (!n || s.time < n.startTime))),
+ (t[Op] = e),
+ e
+ )
+}
+function B0(t, e) {
+ var s
+ const n = new Map()
+ for (const o of t)
+ for (const l of o.stack || []) {
+ let c = n.get(l.file)
+ c || ((c = { errors: [], content: void 0 }), n.set(l.file, c))
+ }
+ for (const o of e) {
+ const { action: l, stack: c, message: u } = o
+ !l ||
+ !c ||
+ (s = n.get(c[0].file)) == null ||
+ s.errors.push({ line: c[0].line || 0, message: u })
+ }
+ return n
+}
+const ou = new Set([
+ 'page.route',
+ 'page.routefromhar',
+ 'page.unroute',
+ 'page.unrouteall',
+ 'browsercontext.route',
+ 'browsercontext.routefromhar',
+ 'browsercontext.unroute',
+ 'browsercontext.unrouteall',
+])
+{
+ for (const t of [...ou]) ou.add(t + 'async')
+ for (const t of [
+ 'page.route_from_har',
+ 'page.unroute_all',
+ 'context.route_from_har',
+ 'context.unroute_all',
+ ])
+ ou.add(t)
+}
+const z0 = 50,
+ Pl = ({
+ sidebarSize: t,
+ sidebarHidden: e = !1,
+ sidebarIsFirst: n = !1,
+ orientation: s = 'vertical',
+ minSidebarSize: o = z0,
+ settingName: l,
+ sidebar: c,
+ main: u,
+ }) => {
+ const d = Math.max(o, t) * window.devicePixelRatio,
+ [p, g] = Es(l ? l + '.' + s + ':size' : void 0, d),
+ [y, v] = Es(l ? l + '.' + s + ':size' : void 0, d),
+ [S, k] = R.useState(null),
+ [_, E] = Nr()
+ let C
+ s === 'vertical'
+ ? ((C = y / window.devicePixelRatio), _ && _.height < C && (C = _.height - 10))
+ : ((C = p / window.devicePixelRatio), _ && _.width < C && (C = _.width - 10)),
+ (document.body.style.userSelect = S ? 'none' : 'inherit')
+ let A = {}
+ return (
+ s === 'vertical'
+ ? n
+ ? (A = { top: S ? 0 : C - 4, bottom: S ? 0 : void 0, height: S ? 'initial' : 8 })
+ : (A = { bottom: S ? 0 : C - 4, top: S ? 0 : void 0, height: S ? 'initial' : 8 })
+ : n
+ ? (A = { left: S ? 0 : C - 4, right: S ? 0 : void 0, width: S ? 'initial' : 8 })
+ : (A = { right: S ? 0 : C - 4, left: S ? 0 : void 0, width: S ? 'initial' : 8 }),
+ w.jsxs('div', {
+ className: ze('split-view', s, n && 'sidebar-first'),
+ ref: E,
+ children: [
+ w.jsx('div', { className: 'split-view-main', children: u }),
+ !e &&
+ w.jsx('div', { style: { flexBasis: C }, className: 'split-view-sidebar', children: c }),
+ !e &&
+ w.jsx('div', {
+ style: A,
+ className: 'split-view-resizer',
+ onMouseDown: (O) => k({ offset: s === 'vertical' ? O.clientY : O.clientX, size: C }),
+ onMouseUp: () => k(null),
+ onMouseMove: (O) => {
+ if (!O.buttons) k(null)
+ else if (S) {
+ const F = (s === 'vertical' ? O.clientY : O.clientX) - S.offset,
+ z = n ? S.size + F : S.size - F,
+ B = O.target.parentElement.getBoundingClientRect(),
+ M = Math.min(Math.max(o, z), (s === 'vertical' ? B.height : B.width) - o)
+ s === 'vertical' ? v(M * window.devicePixelRatio) : g(M * window.devicePixelRatio)
+ }
+ },
+ }),
+ ],
+ })
+ )
+ },
+ qe = function (t, e, n) {
+ return t >= e && t <= n
+ }
+function _t(t) {
+ return qe(t, 48, 57)
+}
+function Fp(t) {
+ return _t(t) || qe(t, 65, 70) || qe(t, 97, 102)
+}
+function H0(t) {
+ return qe(t, 65, 90)
+}
+function U0(t) {
+ return qe(t, 97, 122)
+}
+function q0(t) {
+ return H0(t) || U0(t)
+}
+function V0(t) {
+ return t >= 128
+}
+function Sl(t) {
+ return q0(t) || V0(t) || t === 95
+}
+function Bp(t) {
+ return Sl(t) || _t(t) || t === 45
+}
+function W0(t) {
+ return qe(t, 0, 8) || t === 11 || qe(t, 14, 31) || t === 127
+}
+function xl(t) {
+ return t === 10
+}
+function _n(t) {
+ return xl(t) || t === 9 || t === 32
+}
+const K0 = 1114111
+class Ku extends Error {
+ constructor(e) {
+ super(e), (this.name = 'InvalidCharacterError')
+ }
+}
+function G0(t) {
+ const e = []
+ for (let n = 0; n < t.length; n++) {
+ let s = t.charCodeAt(n)
+ if (
+ (s === 13 && t.charCodeAt(n + 1) === 10 && ((s = 10), n++),
+ (s === 13 || s === 12) && (s = 10),
+ s === 0 && (s = 65533),
+ qe(s, 55296, 56319) && qe(t.charCodeAt(n + 1), 56320, 57343))
+ ) {
+ const o = s - 55296,
+ l = t.charCodeAt(n + 1) - 56320
+ ;(s = Math.pow(2, 16) + o * Math.pow(2, 10) + l), n++
+ }
+ e.push(s)
+ }
+ return e
+}
+function Ke(t) {
+ if (t <= 65535) return String.fromCharCode(t)
+ t -= Math.pow(2, 16)
+ const e = Math.floor(t / Math.pow(2, 10)) + 55296,
+ n = (t % Math.pow(2, 10)) + 56320
+ return String.fromCharCode(e) + String.fromCharCode(n)
+}
+function zm(t) {
+ const e = G0(t)
+ let n = -1
+ const s = []
+ let o
+ const l = function ($) {
+ return $ >= e.length ? -1 : e[$]
+ },
+ c = function ($) {
+ if (($ === void 0 && ($ = 1), $ > 3))
+ throw 'Spec Error: no more than three codepoints of lookahead.'
+ return l(n + $)
+ },
+ u = function ($) {
+ return $ === void 0 && ($ = 1), (n += $), (o = l(n)), !0
+ },
+ d = function () {
+ return (n -= 1), !0
+ },
+ p = function ($) {
+ return $ === void 0 && ($ = o), $ === -1
+ },
+ g = function () {
+ if ((y(), u(), _n(o))) {
+ for (; _n(c()); ) u()
+ return new Ol()
+ } else {
+ if (o === 34) return k()
+ if (o === 35)
+ if (Bp(c()) || C(c(1), c(2))) {
+ const $ = new eg('')
+ return O(c(1), c(2), c(3)) && ($.type = 'id'), ($.value = q()), $
+ } else return new Ze(o)
+ else
+ return o === 36
+ ? c() === 61
+ ? (u(), new Y0())
+ : new Ze(o)
+ : o === 39
+ ? k()
+ : o === 40
+ ? new Xm()
+ : o === 41
+ ? new Gu()
+ : o === 42
+ ? c() === 61
+ ? (u(), new Z0())
+ : new Ze(o)
+ : o === 43
+ ? z()
+ ? (d(), v())
+ : new Ze(o)
+ : o === 44
+ ? new Km()
+ : o === 45
+ ? z()
+ ? (d(), v())
+ : c(1) === 45 && c(2) === 62
+ ? (u(2), new qm())
+ : D()
+ ? (d(), S())
+ : new Ze(o)
+ : o === 46
+ ? z()
+ ? (d(), v())
+ : new Ze(o)
+ : o === 58
+ ? new Vm()
+ : o === 59
+ ? new Wm()
+ : o === 60
+ ? c(1) === 33 && c(2) === 45 && c(3) === 45
+ ? (u(3), new Um())
+ : new Ze(o)
+ : o === 64
+ ? O(c(1), c(2), c(3))
+ ? new Zm(q())
+ : new Ze(o)
+ : o === 91
+ ? new Jm()
+ : o === 92
+ ? A()
+ ? (d(), S())
+ : new Ze(o)
+ : o === 93
+ ? new Au()
+ : o === 94
+ ? c() === 61
+ ? (u(), new X0())
+ : new Ze(o)
+ : o === 123
+ ? new Gm()
+ : o === 124
+ ? c() === 61
+ ? (u(), new J0())
+ : c() === 124
+ ? (u(), new Ym())
+ : new Ze(o)
+ : o === 125
+ ? new Qm()
+ : o === 126
+ ? c() === 61
+ ? (u(), new Q0())
+ : new Ze(o)
+ : _t(o)
+ ? (d(), v())
+ : Sl(o)
+ ? (d(), S())
+ : p()
+ ? new El()
+ : new Ze(o)
+ }
+ },
+ y = function () {
+ for (; c(1) === 47 && c(2) === 42; )
+ for (u(2); ; )
+ if ((u(), o === 42 && c() === 47)) {
+ u()
+ break
+ } else if (p()) return
+ },
+ v = function () {
+ const $ = B()
+ if (O(c(1), c(2), c(3))) {
+ const X = new e1()
+ return (X.value = $.value), (X.repr = $.repr), (X.type = $.type), (X.unit = q()), X
+ } else if (c() === 37) {
+ u()
+ const X = new rg()
+ return (X.value = $.value), (X.repr = $.repr), X
+ } else {
+ const X = new ng()
+ return (X.value = $.value), (X.repr = $.repr), (X.type = $.type), X
+ }
+ },
+ S = function () {
+ const $ = q()
+ if ($.toLowerCase() === 'url' && c() === 40) {
+ for (u(); _n(c(1)) && _n(c(2)); ) u()
+ return c() === 34 || c() === 39
+ ? new Oi($)
+ : _n(c()) && (c(2) === 34 || c(2) === 39)
+ ? new Oi($)
+ : _()
+ } else return c() === 40 ? (u(), new Oi($)) : new Qu($)
+ },
+ k = function ($) {
+ $ === void 0 && ($ = o)
+ let X = ''
+ for (; u(); ) {
+ if (o === $ || p()) return new Ju(X)
+ if (xl(o)) return d(), new Hm()
+ o === 92 ? p(c()) || (xl(c()) ? u() : (X += Ke(E()))) : (X += Ke(o))
+ }
+ throw new Error('Internal error')
+ },
+ _ = function () {
+ const $ = new tg('')
+ for (; _n(c()); ) u()
+ if (p(c())) return $
+ for (; u(); ) {
+ if (o === 41 || p()) return $
+ if (_n(o)) {
+ for (; _n(c()); ) u()
+ return c() === 41 || p(c()) ? (u(), $) : (G(), new _l())
+ } else {
+ if (o === 34 || o === 39 || o === 40 || W0(o)) return G(), new _l()
+ if (o === 92)
+ if (A()) $.value += Ke(E())
+ else return G(), new _l()
+ else $.value += Ke(o)
+ }
+ }
+ throw new Error('Internal error')
+ },
+ E = function () {
+ if ((u(), Fp(o))) {
+ const $ = [o]
+ for (let ce = 0; ce < 5 && Fp(c()); ce++) u(), $.push(o)
+ _n(c()) && u()
+ let X = parseInt(
+ $.map(function (ce) {
+ return String.fromCharCode(ce)
+ }).join(''),
+ 16
+ )
+ return X > K0 && (X = 65533), X
+ } else return p() ? 65533 : o
+ },
+ C = function ($, X) {
+ return !($ !== 92 || xl(X))
+ },
+ A = function () {
+ return C(o, c())
+ },
+ O = function ($, X, ce) {
+ return $ === 45 ? Sl(X) || X === 45 || C(X, ce) : Sl($) ? !0 : $ === 92 ? C($, X) : !1
+ },
+ D = function () {
+ return O(o, c(1), c(2))
+ },
+ F = function ($, X, ce) {
+ return $ === 43 || $ === 45 ? !!(_t(X) || (X === 46 && _t(ce))) : $ === 46 ? !!_t(X) : !!_t($)
+ },
+ z = function () {
+ return F(o, c(1), c(2))
+ },
+ q = function () {
+ let $ = ''
+ for (; u(); )
+ if (Bp(o)) $ += Ke(o)
+ else if (A()) $ += Ke(E())
+ else return d(), $
+ throw new Error('Internal parse error')
+ },
+ B = function () {
+ let $ = '',
+ X = 'integer'
+ for ((c() === 43 || c() === 45) && (u(), ($ += Ke(o))); _t(c()); ) u(), ($ += Ke(o))
+ if (c(1) === 46 && _t(c(2)))
+ for (u(), $ += Ke(o), u(), $ += Ke(o), X = 'number'; _t(c()); ) u(), ($ += Ke(o))
+ const ce = c(1),
+ Ae = c(2),
+ be = c(3)
+ if ((ce === 69 || ce === 101) && _t(Ae))
+ for (u(), $ += Ke(o), u(), $ += Ke(o), X = 'number'; _t(c()); ) u(), ($ += Ke(o))
+ else if ((ce === 69 || ce === 101) && (Ae === 43 || Ae === 45) && _t(be))
+ for (u(), $ += Ke(o), u(), $ += Ke(o), u(), $ += Ke(o), X = 'number'; _t(c()); )
+ u(), ($ += Ke(o))
+ const ge = M($)
+ return { type: X, value: ge, repr: $ }
+ },
+ M = function ($) {
+ return +$
+ },
+ G = function () {
+ for (; u(); ) {
+ if (o === 41 || p()) return
+ A() && E()
+ }
+ }
+ let K = 0
+ for (; !p(c()); )
+ if ((s.push(g()), K++, K > e.length * 2)) throw new Error("I'm infinite-looping!")
+ return s
+}
+class He {
+ constructor() {
+ this.tokenType = ''
+ }
+ toJSON() {
+ return { token: this.tokenType }
+ }
+ toString() {
+ return this.tokenType
+ }
+ toSource() {
+ return '' + this
+ }
+}
+class Hm extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = 'BADSTRING')
+ }
+}
+class _l extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = 'BADURL')
+ }
+}
+class Ol extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = 'WHITESPACE')
+ }
+ toString() {
+ return 'WS'
+ }
+ toSource() {
+ return ' '
+ }
+}
+class Um extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = 'CDO')
+ }
+ toSource() {
+ return ''
+ }
+}
+class Vm extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = ':')
+ }
+}
+class Wm extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = ';')
+ }
+}
+class Km extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = ',')
+ }
+}
+class Cs extends He {
+ constructor() {
+ super(...arguments), (this.value = ''), (this.mirror = '')
+ }
+}
+class Gm extends Cs {
+ constructor() {
+ super(), (this.tokenType = '{'), (this.value = '{'), (this.mirror = '}')
+ }
+}
+class Qm extends Cs {
+ constructor() {
+ super(), (this.tokenType = '}'), (this.value = '}'), (this.mirror = '{')
+ }
+}
+class Jm extends Cs {
+ constructor() {
+ super(), (this.tokenType = '['), (this.value = '['), (this.mirror = ']')
+ }
+}
+class Au extends Cs {
+ constructor() {
+ super(), (this.tokenType = ']'), (this.value = ']'), (this.mirror = '[')
+ }
+}
+class Xm extends Cs {
+ constructor() {
+ super(), (this.tokenType = '('), (this.value = '('), (this.mirror = ')')
+ }
+}
+class Gu extends Cs {
+ constructor() {
+ super(), (this.tokenType = ')'), (this.value = ')'), (this.mirror = '(')
+ }
+}
+class Q0 extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = '~=')
+ }
+}
+class J0 extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = '|=')
+ }
+}
+class X0 extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = '^=')
+ }
+}
+class Y0 extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = '$=')
+ }
+}
+class Z0 extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = '*=')
+ }
+}
+class Ym extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = '||')
+ }
+}
+class El extends He {
+ constructor() {
+ super(...arguments), (this.tokenType = 'EOF')
+ }
+ toSource() {
+ return ''
+ }
+}
+class Ze extends He {
+ constructor(e) {
+ super(), (this.tokenType = 'DELIM'), (this.value = ''), (this.value = Ke(e))
+ }
+ toString() {
+ return 'DELIM(' + this.value + ')'
+ }
+ toJSON() {
+ const e = this.constructor.prototype.constructor.prototype.toJSON.call(this)
+ return (e.value = this.value), e
+ }
+ toSource() {
+ return this.value === '\\'
+ ? `\\
+`
+ : this.value
+ }
+}
+class Ns extends He {
+ constructor() {
+ super(...arguments), (this.value = '')
+ }
+ ASCIIMatch(e) {
+ return this.value.toLowerCase() === e.toLowerCase()
+ }
+ toJSON() {
+ const e = this.constructor.prototype.constructor.prototype.toJSON.call(this)
+ return (e.value = this.value), e
+ }
+}
+class Qu extends Ns {
+ constructor(e) {
+ super(), (this.tokenType = 'IDENT'), (this.value = e)
+ }
+ toString() {
+ return 'IDENT(' + this.value + ')'
+ }
+ toSource() {
+ return qi(this.value)
+ }
+}
+class Oi extends Ns {
+ constructor(e) {
+ super(), (this.tokenType = 'FUNCTION'), (this.value = e), (this.mirror = ')')
+ }
+ toString() {
+ return 'FUNCTION(' + this.value + ')'
+ }
+ toSource() {
+ return qi(this.value) + '('
+ }
+}
+class Zm extends Ns {
+ constructor(e) {
+ super(), (this.tokenType = 'AT-KEYWORD'), (this.value = e)
+ }
+ toString() {
+ return 'AT(' + this.value + ')'
+ }
+ toSource() {
+ return '@' + qi(this.value)
+ }
+}
+class eg extends Ns {
+ constructor(e) {
+ super(), (this.tokenType = 'HASH'), (this.value = e), (this.type = 'unrestricted')
+ }
+ toString() {
+ return 'HASH(' + this.value + ')'
+ }
+ toJSON() {
+ const e = this.constructor.prototype.constructor.prototype.toJSON.call(this)
+ return (e.value = this.value), (e.type = this.type), e
+ }
+ toSource() {
+ return this.type === 'id' ? '#' + qi(this.value) : '#' + t1(this.value)
+ }
+}
+class Ju extends Ns {
+ constructor(e) {
+ super(), (this.tokenType = 'STRING'), (this.value = e)
+ }
+ toString() {
+ return '"' + sg(this.value) + '"'
+ }
+}
+class tg extends Ns {
+ constructor(e) {
+ super(), (this.tokenType = 'URL'), (this.value = e)
+ }
+ toString() {
+ return 'URL(' + this.value + ')'
+ }
+ toSource() {
+ return 'url("' + sg(this.value) + '")'
+ }
+}
+class ng extends He {
+ constructor() {
+ super(), (this.tokenType = 'NUMBER'), (this.type = 'integer'), (this.repr = '')
+ }
+ toString() {
+ return this.type === 'integer' ? 'INT(' + this.value + ')' : 'NUMBER(' + this.value + ')'
+ }
+ toJSON() {
+ const e = super.toJSON()
+ return (e.value = this.value), (e.type = this.type), (e.repr = this.repr), e
+ }
+ toSource() {
+ return this.repr
+ }
+}
+class rg extends He {
+ constructor() {
+ super(), (this.tokenType = 'PERCENTAGE'), (this.repr = '')
+ }
+ toString() {
+ return 'PERCENTAGE(' + this.value + ')'
+ }
+ toJSON() {
+ const e = this.constructor.prototype.constructor.prototype.toJSON.call(this)
+ return (e.value = this.value), (e.repr = this.repr), e
+ }
+ toSource() {
+ return this.repr + '%'
+ }
+}
+class e1 extends He {
+ constructor() {
+ super(),
+ (this.tokenType = 'DIMENSION'),
+ (this.type = 'integer'),
+ (this.repr = ''),
+ (this.unit = '')
+ }
+ toString() {
+ return 'DIM(' + this.value + ',' + this.unit + ')'
+ }
+ toJSON() {
+ const e = this.constructor.prototype.constructor.prototype.toJSON.call(this)
+ return (
+ (e.value = this.value), (e.type = this.type), (e.repr = this.repr), (e.unit = this.unit), e
+ )
+ }
+ toSource() {
+ const e = this.repr
+ let n = qi(this.unit)
+ return (
+ n[0].toLowerCase() === 'e' &&
+ (n[1] === '-' || qe(n.charCodeAt(1), 48, 57)) &&
+ (n = '\\65 ' + n.slice(1, n.length)),
+ e + n
+ )
+ }
+}
+function qi(t) {
+ t = '' + t
+ let e = ''
+ const n = t.charCodeAt(0)
+ for (let s = 0; s < t.length; s++) {
+ const o = t.charCodeAt(s)
+ if (o === 0) throw new Ku('Invalid character: the input contains U+0000.')
+ qe(o, 1, 31) ||
+ o === 127 ||
+ (s === 0 && qe(o, 48, 57)) ||
+ (s === 1 && qe(o, 48, 57) && n === 45)
+ ? (e += '\\' + o.toString(16) + ' ')
+ : o >= 128 || o === 45 || o === 95 || qe(o, 48, 57) || qe(o, 65, 90) || qe(o, 97, 122)
+ ? (e += t[s])
+ : (e += '\\' + t[s])
+ }
+ return e
+}
+function t1(t) {
+ t = '' + t
+ let e = ''
+ for (let n = 0; n < t.length; n++) {
+ const s = t.charCodeAt(n)
+ if (s === 0) throw new Ku('Invalid character: the input contains U+0000.')
+ s >= 128 || s === 45 || s === 95 || qe(s, 48, 57) || qe(s, 65, 90) || qe(s, 97, 122)
+ ? (e += t[n])
+ : (e += '\\' + s.toString(16) + ' ')
+ }
+ return e
+}
+function sg(t) {
+ t = '' + t
+ let e = ''
+ for (let n = 0; n < t.length; n++) {
+ const s = t.charCodeAt(n)
+ if (s === 0) throw new Ku('Invalid character: the input contains U+0000.')
+ qe(s, 1, 31) || s === 127
+ ? (e += '\\' + s.toString(16) + ' ')
+ : s === 34 || s === 92
+ ? (e += '\\' + t[n])
+ : (e += t[n])
+ }
+ return e
+}
+class Et extends Error {}
+function n1(t, e) {
+ let n
+ try {
+ ;(n = zm(t)), n[n.length - 1] instanceof El || n.push(new El())
+ } catch (M) {
+ const G = M.message + ` while parsing css selector "${t}". Did you mean to CSS.escape it?`,
+ K = (M.stack || '').indexOf(M.message)
+ throw (
+ (K !== -1 &&
+ (M.stack = M.stack.substring(0, K) + G + M.stack.substring(K + M.message.length)),
+ (M.message = G),
+ M)
+ )
+ }
+ const s = n.find(
+ (M) =>
+ M instanceof Zm ||
+ M instanceof Hm ||
+ M instanceof _l ||
+ M instanceof Ym ||
+ M instanceof Um ||
+ M instanceof qm ||
+ M instanceof Wm ||
+ M instanceof Gm ||
+ M instanceof Qm ||
+ M instanceof tg ||
+ M instanceof rg
+ )
+ if (s)
+ throw new Et(
+ `Unsupported token "${s.toSource()}" while parsing css selector "${t}". Did you mean to CSS.escape it?`
+ )
+ let o = 0
+ const l = new Set()
+ function c() {
+ return new Et(
+ `Unexpected token "${n[
+ o
+ ].toSource()}" while parsing css selector "${t}". Did you mean to CSS.escape it?`
+ )
+ }
+ function u() {
+ for (; n[o] instanceof Ol; ) o++
+ }
+ function d(M = o) {
+ return n[M] instanceof Qu
+ }
+ function p(M = o) {
+ return n[M] instanceof Ju
+ }
+ function g(M = o) {
+ return n[M] instanceof ng
+ }
+ function y(M = o) {
+ return n[M] instanceof Km
+ }
+ function v(M = o) {
+ return n[M] instanceof Xm
+ }
+ function S(M = o) {
+ return n[M] instanceof Gu
+ }
+ function k(M = o) {
+ return n[M] instanceof Oi
+ }
+ function _(M = o) {
+ return n[M] instanceof Ze && n[M].value === '*'
+ }
+ function E(M = o) {
+ return n[M] instanceof El
+ }
+ function C(M = o) {
+ return n[M] instanceof Ze && ['>', '+', '~'].includes(n[M].value)
+ }
+ function A(M = o) {
+ return y(M) || S(M) || E(M) || C(M) || n[M] instanceof Ol
+ }
+ function O() {
+ const M = [D()]
+ for (; u(), !!y(); ) o++, M.push(D())
+ return M
+ }
+ function D() {
+ return u(), g() || p() ? n[o++].value : F()
+ }
+ function F() {
+ const M = { simples: [] }
+ for (
+ u(),
+ C()
+ ? M.simples.push({
+ selector: { functions: [{ name: 'scope', args: [] }] },
+ combinator: '',
+ })
+ : M.simples.push({ selector: z(), combinator: '' });
+ ;
+
+ ) {
+ if ((u(), C())) (M.simples[M.simples.length - 1].combinator = n[o++].value), u()
+ else if (A()) break
+ M.simples.push({ combinator: '', selector: z() })
+ }
+ return M
+ }
+ function z() {
+ let M = ''
+ const G = []
+ for (; !A(); )
+ if (d() || _()) M += n[o++].toSource()
+ else if (n[o] instanceof eg) M += n[o++].toSource()
+ else if (n[o] instanceof Ze && n[o].value === '.')
+ if ((o++, d())) M += '.' + n[o++].toSource()
+ else throw c()
+ else if (n[o] instanceof Vm)
+ if ((o++, d()))
+ if (!e.has(n[o].value.toLowerCase())) M += ':' + n[o++].toSource()
+ else {
+ const K = n[o++].value.toLowerCase()
+ G.push({ name: K, args: [] }), l.add(K)
+ }
+ else if (k()) {
+ const K = n[o++].value.toLowerCase()
+ if (
+ (e.has(K) ? (G.push({ name: K, args: O() }), l.add(K)) : (M += `:${K}(${q()})`),
+ u(),
+ !S())
+ )
+ throw c()
+ o++
+ } else throw c()
+ else if (n[o] instanceof Jm) {
+ for (M += '[', o++; !(n[o] instanceof Au) && !E(); ) M += n[o++].toSource()
+ if (!(n[o] instanceof Au)) throw c()
+ ;(M += ']'), o++
+ } else throw c()
+ if (!M && !G.length) throw c()
+ return { css: M || void 0, functions: G }
+ }
+ function q() {
+ let M = '',
+ G = 1
+ for (; !E() && ((v() || k()) && G++, S() && G--, !!G); ) M += n[o++].toSource()
+ return M
+ }
+ const B = O()
+ if (!E()) throw c()
+ if (B.some((M) => typeof M != 'object' || !('simples' in M)))
+ throw new Et(`Error while parsing css selector "${t}". Did you mean to CSS.escape it?`)
+ return { selector: B, names: Array.from(l) }
+}
+const Iu = new Set([
+ 'internal:has',
+ 'internal:has-not',
+ 'internal:and',
+ 'internal:or',
+ 'internal:chain',
+ 'left-of',
+ 'right-of',
+ 'above',
+ 'below',
+ 'near',
+ ]),
+ r1 = new Set(['left-of', 'right-of', 'above', 'below', 'near']),
+ ig = new Set([
+ 'not',
+ 'is',
+ 'where',
+ 'has',
+ 'scope',
+ 'light',
+ 'visible',
+ 'text',
+ 'text-matches',
+ 'text-is',
+ 'has-text',
+ 'above',
+ 'below',
+ 'right-of',
+ 'left-of',
+ 'near',
+ 'nth-match',
+ ])
+function Vi(t) {
+ const e = o1(t),
+ n = []
+ for (const s of e.parts) {
+ if (s.name === 'css' || s.name === 'css:light') {
+ s.name === 'css:light' && (s.body = ':light(' + s.body + ')')
+ const o = n1(s.body, ig)
+ n.push({ name: 'css', body: o.selector, source: s.body })
+ continue
+ }
+ if (Iu.has(s.name)) {
+ let o, l
+ try {
+ const p = JSON.parse('[' + s.body + ']')
+ if (!Array.isArray(p) || p.length < 1 || p.length > 2 || typeof p[0] != 'string')
+ throw new Et(`Malformed selector: ${s.name}=` + s.body)
+ if (((o = p[0]), p.length === 2)) {
+ if (typeof p[1] != 'number' || !r1.has(s.name))
+ throw new Et(`Malformed selector: ${s.name}=` + s.body)
+ l = p[1]
+ }
+ } catch {
+ throw new Et(`Malformed selector: ${s.name}=` + s.body)
+ }
+ const c = { name: s.name, source: s.body, body: { parsed: Vi(o), distance: l } },
+ u = [...c.body.parsed.parts]
+ .reverse()
+ .find((p) => p.name === 'internal:control' && p.body === 'enter-frame'),
+ d = u ? c.body.parsed.parts.indexOf(u) : -1
+ d !== -1 &&
+ s1(c.body.parsed.parts.slice(0, d + 1), n.slice(0, d + 1)) &&
+ c.body.parsed.parts.splice(0, d + 1),
+ n.push(c)
+ continue
+ }
+ n.push({ ...s, source: s.body })
+ }
+ if (Iu.has(n[0].name)) throw new Et(`"${n[0].name}" selector cannot be first`)
+ return { capture: e.capture, parts: n }
+}
+function s1(t, e) {
+ return Tn({ parts: t }) === Tn({ parts: e })
+}
+function Tn(t, e) {
+ return typeof t == 'string'
+ ? t
+ : t.parts
+ .map((n, s) => {
+ let o = !0
+ !e &&
+ s !== t.capture &&
+ (n.name === 'css' ||
+ (n.name === 'xpath' && n.source.startsWith('//')) ||
+ n.source.startsWith('..')) &&
+ (o = !1)
+ const l = o ? n.name + '=' : ''
+ return `${s === t.capture ? '*' : ''}${l}${n.source}`
+ })
+ .join(' >> ')
+}
+function i1(t, e) {
+ const n = (s, o) => {
+ for (const l of s.parts) e(l, o), Iu.has(l.name) && n(l.body.parsed, !0)
+ }
+ n(t, !1)
+}
+function o1(t) {
+ let e = 0,
+ n,
+ s = 0
+ const o = { parts: [] },
+ l = () => {
+ const u = t.substring(s, e).trim(),
+ d = u.indexOf('=')
+ let p, g
+ d !== -1 &&
+ u
+ .substring(0, d)
+ .trim()
+ .match(/^[a-zA-Z_0-9-+:*]+$/)
+ ? ((p = u.substring(0, d).trim()), (g = u.substring(d + 1)))
+ : (u.length > 1 && u[0] === '"' && u[u.length - 1] === '"') ||
+ (u.length > 1 && u[0] === "'" && u[u.length - 1] === "'")
+ ? ((p = 'text'), (g = u))
+ : /^\(*\/\//.test(u) || u.startsWith('..')
+ ? ((p = 'xpath'), (g = u))
+ : ((p = 'css'), (g = u))
+ let y = !1
+ if (
+ (p[0] === '*' && ((y = !0), (p = p.substring(1))), o.parts.push({ name: p, body: g }), y)
+ ) {
+ if (o.capture !== void 0)
+ throw new Et('Only one of the selectors can capture using * modifier')
+ o.capture = o.parts.length - 1
+ }
+ }
+ if (!t.includes('>>')) return (e = t.length), l(), o
+ const c = () => {
+ const d = t.substring(s, e).match(/^\s*text\s*=(.*)$/)
+ return !!d && !!d[1]
+ }
+ for (; e < t.length; ) {
+ const u = t[e]
+ u === '\\' && e + 1 < t.length
+ ? (e += 2)
+ : u === n
+ ? ((n = void 0), e++)
+ : !n && (u === '"' || u === "'" || u === '`') && !c()
+ ? ((n = u), e++)
+ : !n && u === '>' && t[e + 1] === '>'
+ ? (l(), (e += 2), (s = e))
+ : e++
+ }
+ return l(), o
+}
+function br(t, e) {
+ let n = 0,
+ s = t.length === 0
+ const o = () => t[n] || '',
+ l = () => {
+ const E = o()
+ return ++n, (s = n >= t.length), E
+ },
+ c = (E) => {
+ throw s
+ ? new Et(`Unexpected end of selector while parsing selector \`${t}\``)
+ : new Et(
+ `Error while parsing selector \`${t}\` - unexpected symbol "${o()}" at position ${n}` +
+ (E ? ' during ' + E : '')
+ )
+ }
+ function u() {
+ for (; !s && /\s/.test(o()); ) l()
+ }
+ function d(E) {
+ return (
+ E >= '' ||
+ (E >= '0' && E <= '9') ||
+ (E >= 'A' && E <= 'Z') ||
+ (E >= 'a' && E <= 'z') ||
+ (E >= '0' && E <= '9') ||
+ E === '_' ||
+ E === '-'
+ )
+ }
+ function p() {
+ let E = ''
+ for (u(); !s && d(o()); ) E += l()
+ return E
+ }
+ function g(E) {
+ let C = l()
+ for (C !== E && c('parsing quoted string'); !s && o() !== E; ) o() === '\\' && l(), (C += l())
+ return o() !== E && c('parsing quoted string'), (C += l()), C
+ }
+ function y() {
+ l() !== '/' && c('parsing regular expression')
+ let E = '',
+ C = !1
+ for (; !s; ) {
+ if (o() === '\\') (E += l()), s && c('parsing regular expression')
+ else if (C && o() === ']') C = !1
+ else if (!C && o() === '[') C = !0
+ else if (!C && o() === '/') break
+ E += l()
+ }
+ l() !== '/' && c('parsing regular expression')
+ let A = ''
+ for (; !s && o().match(/[dgimsuy]/); ) A += l()
+ try {
+ return new RegExp(E, A)
+ } catch (O) {
+ throw new Et(`Error while parsing selector \`${t}\`: ${O.message}`)
+ }
+ }
+ function v() {
+ let E = ''
+ return (
+ u(),
+ o() === "'" || o() === '"' ? (E = g(o()).slice(1, -1)) : (E = p()),
+ E || c('parsing property path'),
+ E
+ )
+ }
+ function S() {
+ u()
+ let E = ''
+ return (
+ s || (E += l()),
+ !s && E !== '=' && (E += l()),
+ ['=', '*=', '^=', '$=', '|=', '~='].includes(E) || c('parsing operator'),
+ E
+ )
+ }
+ function k() {
+ l()
+ const E = []
+ for (E.push(v()), u(); o() === '.'; ) l(), E.push(v()), u()
+ if (o() === ']')
+ return l(), { name: E.join('.'), jsonPath: E, op: '', value: null, caseSensitive: !1 }
+ const C = S()
+ let A,
+ O = !0
+ if ((u(), o() === '/')) {
+ if (C !== '=')
+ throw new Et(
+ `Error while parsing selector \`${t}\` - cannot use ${C} in attribute with regular expression`
+ )
+ A = y()
+ } else if (o() === "'" || o() === '"')
+ (A = g(o()).slice(1, -1)),
+ u(),
+ o() === 'i' || o() === 'I'
+ ? ((O = !1), l())
+ : (o() === 's' || o() === 'S') && ((O = !0), l())
+ else {
+ for (A = ''; !s && (d(o()) || o() === '+' || o() === '.'); ) A += l()
+ A === 'true'
+ ? (A = !0)
+ : A === 'false'
+ ? (A = !1)
+ : e || ((A = +A), Number.isNaN(A) && c('parsing attribute value'))
+ }
+ if ((u(), o() !== ']' && c('parsing attribute value'), l(), C !== '=' && typeof A != 'string'))
+ throw new Et(
+ `Error while parsing selector \`${t}\` - cannot use ${C} in attribute with non-string matching value - ${A}`
+ )
+ return { name: E.join('.'), jsonPath: E, op: C, value: A, caseSensitive: O }
+ }
+ const _ = { name: '', attributes: [] }
+ for (_.name = p(), u(); o() === '['; ) _.attributes.push(k()), u()
+ if ((s || c(void 0), !_.name && !_.attributes.length))
+ throw new Et(`Error while parsing selector \`${t}\` - selector cannot be empty`)
+ return _
+}
+function Kl(t, e = "'") {
+ const n = JSON.stringify(t),
+ s = n.substring(1, n.length - 1).replace(/\\"/g, '"')
+ if (e === "'") return e + s.replace(/[']/g, "\\'") + e
+ if (e === '"') return e + s.replace(/["]/g, '\\"') + e
+ if (e === '`') return e + s.replace(/[`]/g, '`') + e
+ throw new Error('Invalid escape char')
+}
+function $l(t) {
+ return t.charAt(0).toUpperCase() + t.substring(1)
+}
+function og(t) {
+ return t
+ .replace(/([a-z0-9])([A-Z])/g, '$1_$2')
+ .replace(/([A-Z])([A-Z][a-z])/g, '$1_$2')
+ .toLowerCase()
+}
+function ds(t) {
+ return `"${t.replace(/["\\]/g, (e) => '\\' + e)}"`
+}
+let wr
+function l1() {
+ wr = new Map()
+}
+function mt(t) {
+ let e = wr == null ? void 0 : wr.get(t)
+ return (
+ e === void 0 &&
+ ((e = t
+ .replace(/[\u200b\u00ad]/g, '')
+ .trim()
+ .replace(/\s+/g, ' ')),
+ wr == null || wr.set(t, e)),
+ e
+ )
+}
+function Gl(t) {
+ return t.replace(/(^|[^\\])(\\\\)*\\(['"`])/g, '$1$2$3')
+}
+function lg(t) {
+ return t.unicode || t.unicodeSets
+ ? String(t)
+ : String(t)
+ .replace(/(^|[^\\])(\\\\)*(["'`])/g, '$1$2\\$3')
+ .replace(/>>/g, '\\>\\>')
+}
+function kt(t, e) {
+ return typeof t != 'string' ? lg(t) : `${JSON.stringify(t)}${e ? 's' : 'i'}`
+}
+function ht(t, e) {
+ return typeof t != 'string'
+ ? lg(t)
+ : `"${t.replace(/\\/g, '\\\\').replace(/["]/g, '\\"')}"${e ? 's' : 'i'}`
+}
+function a1(t, e, n = '') {
+ if (t.length <= e) return t
+ const s = [...t]
+ return s.length > e ? s.slice(0, e - n.length).join('') + n : s.join('')
+}
+function zp(t, e) {
+ return a1(t, e, '…')
+}
+function Rl(t) {
+ return t.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')
+}
+function c1(t, e) {
+ const n = t.length,
+ s = e.length
+ let o = 0,
+ l = 0
+ const c = Array(n + 1)
+ .fill(null)
+ .map(() => Array(s + 1).fill(0))
+ for (let u = 1; u <= n; u++)
+ for (let d = 1; d <= s; d++)
+ t[u - 1] === e[d - 1] &&
+ ((c[u][d] = c[u - 1][d - 1] + 1), c[u][d] > o && ((o = c[u][d]), (l = u)))
+ return t.slice(l - o, l)
+}
+function u1(t, e) {
+ const n = Vi(e),
+ s = n.parts[n.parts.length - 1]
+ return (s == null ? void 0 : s.name) === 'internal:describe' ? JSON.parse(s.body) : er(t, e)
+}
+function er(t, e, n = !1) {
+ return ag(t, e, n, 1)[0]
+}
+function ag(t, e, n = !1, s = 20, o) {
+ try {
+ return hs(new y1[t](o), Vi(e), n, s)
+ } catch {
+ return [e]
+ }
+}
+function hs(t, e, n = !1, s = 20) {
+ const o = [...e.parts],
+ l = []
+ let c = n ? 'frame-locator' : 'page'
+ for (let u = 0; u < o.length; u++) {
+ const d = o[u],
+ p = c
+ if (((c = 'locator'), d.name === 'internal:describe')) continue
+ if (d.name === 'nth') {
+ d.body === '0'
+ ? l.push([t.generateLocator(p, 'first', ''), t.generateLocator(p, 'nth', '0')])
+ : d.body === '-1'
+ ? l.push([t.generateLocator(p, 'last', ''), t.generateLocator(p, 'nth', '-1')])
+ : l.push([t.generateLocator(p, 'nth', d.body)])
+ continue
+ }
+ if (d.name === 'visible') {
+ l.push([
+ t.generateLocator(p, 'visible', d.body),
+ t.generateLocator(p, 'default', `visible=${d.body}`),
+ ])
+ continue
+ }
+ if (d.name === 'internal:text') {
+ const { exact: k, text: _ } = Ei(d.body)
+ l.push([t.generateLocator(p, 'text', _, { exact: k })])
+ continue
+ }
+ if (d.name === 'internal:has-text') {
+ const { exact: k, text: _ } = Ei(d.body)
+ if (!k) {
+ l.push([t.generateLocator(p, 'has-text', _, { exact: k })])
+ continue
+ }
+ }
+ if (d.name === 'internal:has-not-text') {
+ const { exact: k, text: _ } = Ei(d.body)
+ if (!k) {
+ l.push([t.generateLocator(p, 'has-not-text', _, { exact: k })])
+ continue
+ }
+ }
+ if (d.name === 'internal:has') {
+ const k = hs(t, d.body.parsed, !1, s)
+ l.push(k.map((_) => t.generateLocator(p, 'has', _)))
+ continue
+ }
+ if (d.name === 'internal:has-not') {
+ const k = hs(t, d.body.parsed, !1, s)
+ l.push(k.map((_) => t.generateLocator(p, 'hasNot', _)))
+ continue
+ }
+ if (d.name === 'internal:and') {
+ const k = hs(t, d.body.parsed, !1, s)
+ l.push(k.map((_) => t.generateLocator(p, 'and', _)))
+ continue
+ }
+ if (d.name === 'internal:or') {
+ const k = hs(t, d.body.parsed, !1, s)
+ l.push(k.map((_) => t.generateLocator(p, 'or', _)))
+ continue
+ }
+ if (d.name === 'internal:chain') {
+ const k = hs(t, d.body.parsed, !1, s)
+ l.push(k.map((_) => t.generateLocator(p, 'chain', _)))
+ continue
+ }
+ if (d.name === 'internal:label') {
+ const { exact: k, text: _ } = Ei(d.body)
+ l.push([t.generateLocator(p, 'label', _, { exact: k })])
+ continue
+ }
+ if (d.name === 'internal:role') {
+ const k = br(d.body, !0),
+ _ = { attrs: [] }
+ for (const E of k.attributes)
+ E.name === 'name'
+ ? ((_.exact = E.caseSensitive), (_.name = E.value))
+ : (E.name === 'level' && typeof E.value == 'string' && (E.value = +E.value),
+ _.attrs.push({
+ name: E.name === 'include-hidden' ? 'includeHidden' : E.name,
+ value: E.value,
+ }))
+ l.push([t.generateLocator(p, 'role', k.name, _)])
+ continue
+ }
+ if (d.name === 'internal:testid') {
+ const k = br(d.body, !0),
+ { value: _ } = k.attributes[0]
+ l.push([t.generateLocator(p, 'test-id', _)])
+ continue
+ }
+ if (d.name === 'internal:attr') {
+ const k = br(d.body, !0),
+ { name: _, value: E, caseSensitive: C } = k.attributes[0],
+ A = E,
+ O = !!C
+ if (_ === 'placeholder') {
+ l.push([t.generateLocator(p, 'placeholder', A, { exact: O })])
+ continue
+ }
+ if (_ === 'alt') {
+ l.push([t.generateLocator(p, 'alt', A, { exact: O })])
+ continue
+ }
+ if (_ === 'title') {
+ l.push([t.generateLocator(p, 'title', A, { exact: O })])
+ continue
+ }
+ }
+ if (d.name === 'internal:control' && d.body === 'enter-frame') {
+ const k = l[l.length - 1],
+ _ = o[u - 1],
+ E = k.map((C) => t.chainLocators([C, t.generateLocator(p, 'frame', '')]))
+ ;['xpath', 'css'].includes(_.name) &&
+ E.push(
+ t.generateLocator(p, 'frame-locator', Tn({ parts: [_] })),
+ t.generateLocator(p, 'frame-locator', Tn({ parts: [_] }, !0))
+ ),
+ k.splice(0, k.length, ...E),
+ (c = 'frame-locator')
+ continue
+ }
+ const g = o[u + 1],
+ y = Tn({ parts: [d] }),
+ v = t.generateLocator(p, 'default', y)
+ if (g && ['internal:has-text', 'internal:has-not-text'].includes(g.name)) {
+ const { exact: k, text: _ } = Ei(g.body)
+ if (!k) {
+ const E = t.generateLocator(
+ 'locator',
+ g.name === 'internal:has-text' ? 'has-text' : 'has-not-text',
+ _,
+ { exact: k }
+ ),
+ C = {}
+ g.name === 'internal:has-text' ? (C.hasText = _) : (C.hasNotText = _)
+ const A = t.generateLocator(p, 'default', y, C)
+ l.push([t.chainLocators([v, E]), A]), u++
+ continue
+ }
+ }
+ let S
+ if (['xpath', 'css'].includes(d.name)) {
+ const k = Tn({ parts: [d] }, !0)
+ S = t.generateLocator(p, 'default', k)
+ }
+ l.push([v, S].filter(Boolean))
+ }
+ return f1(t, l, s)
+}
+function f1(t, e, n) {
+ const s = e.map(() => ''),
+ o = [],
+ l = (c) => {
+ if (c === e.length) return o.push(t.chainLocators(s)), o.length < n
+ for (const u of e[c]) if (((s[c] = u), !l(c + 1))) return !1
+ return !0
+ }
+ return l(0), o
+}
+function Ei(t) {
+ let e = !1
+ const n = t.match(/^\/(.*)\/([igm]*)$/)
+ return n
+ ? { text: new RegExp(n[1], n[2]) }
+ : (t.endsWith('"')
+ ? ((t = JSON.parse(t)), (e = !0))
+ : t.endsWith('"s')
+ ? ((t = JSON.parse(t.substring(0, t.length - 1))), (e = !0))
+ : t.endsWith('"i') && ((t = JSON.parse(t.substring(0, t.length - 1))), (e = !1)),
+ { exact: e, text: t })
+}
+class d1 {
+ constructor(e) {
+ this.preferredQuote = e
+ }
+ generateLocator(e, n, s, o = {}) {
+ switch (n) {
+ case 'default':
+ return o.hasText !== void 0
+ ? `locator(${this.quote(s)}, { hasText: ${this.toHasText(o.hasText)} })`
+ : o.hasNotText !== void 0
+ ? `locator(${this.quote(s)}, { hasNotText: ${this.toHasText(o.hasNotText)} })`
+ : `locator(${this.quote(s)})`
+ case 'frame-locator':
+ return `frameLocator(${this.quote(s)})`
+ case 'frame':
+ return 'contentFrame()'
+ case 'nth':
+ return `nth(${s})`
+ case 'first':
+ return 'first()'
+ case 'last':
+ return 'last()'
+ case 'visible':
+ return `filter({ visible: ${s === 'true' ? 'true' : 'false'} })`
+ case 'role':
+ const l = []
+ et(o.name)
+ ? l.push(`name: ${this.regexToSourceString(o.name)}`)
+ : typeof o.name == 'string' &&
+ (l.push(`name: ${this.quote(o.name)}`), o.exact && l.push('exact: true'))
+ for (const { name: u, value: d } of o.attrs)
+ l.push(`${u}: ${typeof d == 'string' ? this.quote(d) : d}`)
+ const c = l.length ? `, { ${l.join(', ')} }` : ''
+ return `getByRole(${this.quote(s)}${c})`
+ case 'has-text':
+ return `filter({ hasText: ${this.toHasText(s)} })`
+ case 'has-not-text':
+ return `filter({ hasNotText: ${this.toHasText(s)} })`
+ case 'has':
+ return `filter({ has: ${s} })`
+ case 'hasNot':
+ return `filter({ hasNot: ${s} })`
+ case 'and':
+ return `and(${s})`
+ case 'or':
+ return `or(${s})`
+ case 'chain':
+ return `locator(${s})`
+ case 'test-id':
+ return `getByTestId(${this.toTestIdValue(s)})`
+ case 'text':
+ return this.toCallWithExact('getByText', s, !!o.exact)
+ case 'alt':
+ return this.toCallWithExact('getByAltText', s, !!o.exact)
+ case 'placeholder':
+ return this.toCallWithExact('getByPlaceholder', s, !!o.exact)
+ case 'label':
+ return this.toCallWithExact('getByLabel', s, !!o.exact)
+ case 'title':
+ return this.toCallWithExact('getByTitle', s, !!o.exact)
+ default:
+ throw new Error('Unknown selector kind ' + n)
+ }
+ }
+ chainLocators(e) {
+ return e.join('.')
+ }
+ regexToSourceString(e) {
+ return Gl(String(e))
+ }
+ toCallWithExact(e, n, s) {
+ return et(n)
+ ? `${e}(${this.regexToSourceString(n)})`
+ : s
+ ? `${e}(${this.quote(n)}, { exact: true })`
+ : `${e}(${this.quote(n)})`
+ }
+ toHasText(e) {
+ return et(e) ? this.regexToSourceString(e) : this.quote(e)
+ }
+ toTestIdValue(e) {
+ return et(e) ? this.regexToSourceString(e) : this.quote(e)
+ }
+ quote(e) {
+ return Kl(e, this.preferredQuote ?? "'")
+ }
+}
+class h1 {
+ generateLocator(e, n, s, o = {}) {
+ switch (n) {
+ case 'default':
+ return o.hasText !== void 0
+ ? `locator(${this.quote(s)}, has_text=${this.toHasText(o.hasText)})`
+ : o.hasNotText !== void 0
+ ? `locator(${this.quote(s)}, has_not_text=${this.toHasText(o.hasNotText)})`
+ : `locator(${this.quote(s)})`
+ case 'frame-locator':
+ return `frame_locator(${this.quote(s)})`
+ case 'frame':
+ return 'content_frame'
+ case 'nth':
+ return `nth(${s})`
+ case 'first':
+ return 'first'
+ case 'last':
+ return 'last'
+ case 'visible':
+ return `filter(visible=${s === 'true' ? 'True' : 'False'})`
+ case 'role':
+ const l = []
+ et(o.name)
+ ? l.push(`name=${this.regexToString(o.name)}`)
+ : typeof o.name == 'string' &&
+ (l.push(`name=${this.quote(o.name)}`), o.exact && l.push('exact=True'))
+ for (const { name: u, value: d } of o.attrs) {
+ let p = typeof d == 'string' ? this.quote(d) : d
+ typeof d == 'boolean' && (p = d ? 'True' : 'False'), l.push(`${og(u)}=${p}`)
+ }
+ const c = l.length ? `, ${l.join(', ')}` : ''
+ return `get_by_role(${this.quote(s)}${c})`
+ case 'has-text':
+ return `filter(has_text=${this.toHasText(s)})`
+ case 'has-not-text':
+ return `filter(has_not_text=${this.toHasText(s)})`
+ case 'has':
+ return `filter(has=${s})`
+ case 'hasNot':
+ return `filter(has_not=${s})`
+ case 'and':
+ return `and_(${s})`
+ case 'or':
+ return `or_(${s})`
+ case 'chain':
+ return `locator(${s})`
+ case 'test-id':
+ return `get_by_test_id(${this.toTestIdValue(s)})`
+ case 'text':
+ return this.toCallWithExact('get_by_text', s, !!o.exact)
+ case 'alt':
+ return this.toCallWithExact('get_by_alt_text', s, !!o.exact)
+ case 'placeholder':
+ return this.toCallWithExact('get_by_placeholder', s, !!o.exact)
+ case 'label':
+ return this.toCallWithExact('get_by_label', s, !!o.exact)
+ case 'title':
+ return this.toCallWithExact('get_by_title', s, !!o.exact)
+ default:
+ throw new Error('Unknown selector kind ' + n)
+ }
+ }
+ chainLocators(e) {
+ return e.join('.')
+ }
+ regexToString(e) {
+ const n = e.flags.includes('i') ? ', re.IGNORECASE' : ''
+ return `re.compile(r"${Gl(e.source).replace(/\\\//, '/').replace(/"/g, '\\"')}"${n})`
+ }
+ toCallWithExact(e, n, s) {
+ return et(n)
+ ? `${e}(${this.regexToString(n)})`
+ : s
+ ? `${e}(${this.quote(n)}, exact=True)`
+ : `${e}(${this.quote(n)})`
+ }
+ toHasText(e) {
+ return et(e) ? this.regexToString(e) : `${this.quote(e)}`
+ }
+ toTestIdValue(e) {
+ return et(e) ? this.regexToString(e) : this.quote(e)
+ }
+ quote(e) {
+ return Kl(e, '"')
+ }
+}
+class p1 {
+ generateLocator(e, n, s, o = {}) {
+ let l
+ switch (e) {
+ case 'page':
+ l = 'Page'
+ break
+ case 'frame-locator':
+ l = 'FrameLocator'
+ break
+ case 'locator':
+ l = 'Locator'
+ break
+ }
+ switch (n) {
+ case 'default':
+ return o.hasText !== void 0
+ ? `locator(${this.quote(s)}, new ${l}.LocatorOptions().setHasText(${this.toHasText(
+ o.hasText
+ )}))`
+ : o.hasNotText !== void 0
+ ? `locator(${this.quote(s)}, new ${l}.LocatorOptions().setHasNotText(${this.toHasText(
+ o.hasNotText
+ )}))`
+ : `locator(${this.quote(s)})`
+ case 'frame-locator':
+ return `frameLocator(${this.quote(s)})`
+ case 'frame':
+ return 'contentFrame()'
+ case 'nth':
+ return `nth(${s})`
+ case 'first':
+ return 'first()'
+ case 'last':
+ return 'last()'
+ case 'visible':
+ return `filter(new ${l}.FilterOptions().setVisible(${s === 'true' ? 'true' : 'false'}))`
+ case 'role':
+ const c = []
+ et(o.name)
+ ? c.push(`.setName(${this.regexToString(o.name)})`)
+ : typeof o.name == 'string' &&
+ (c.push(`.setName(${this.quote(o.name)})`), o.exact && c.push('.setExact(true)'))
+ for (const { name: d, value: p } of o.attrs)
+ c.push(`.set${$l(d)}(${typeof p == 'string' ? this.quote(p) : p})`)
+ const u = c.length ? `, new ${l}.GetByRoleOptions()${c.join('')}` : ''
+ return `getByRole(AriaRole.${og(s).toUpperCase()}${u})`
+ case 'has-text':
+ return `filter(new ${l}.FilterOptions().setHasText(${this.toHasText(s)}))`
+ case 'has-not-text':
+ return `filter(new ${l}.FilterOptions().setHasNotText(${this.toHasText(s)}))`
+ case 'has':
+ return `filter(new ${l}.FilterOptions().setHas(${s}))`
+ case 'hasNot':
+ return `filter(new ${l}.FilterOptions().setHasNot(${s}))`
+ case 'and':
+ return `and(${s})`
+ case 'or':
+ return `or(${s})`
+ case 'chain':
+ return `locator(${s})`
+ case 'test-id':
+ return `getByTestId(${this.toTestIdValue(s)})`
+ case 'text':
+ return this.toCallWithExact(l, 'getByText', s, !!o.exact)
+ case 'alt':
+ return this.toCallWithExact(l, 'getByAltText', s, !!o.exact)
+ case 'placeholder':
+ return this.toCallWithExact(l, 'getByPlaceholder', s, !!o.exact)
+ case 'label':
+ return this.toCallWithExact(l, 'getByLabel', s, !!o.exact)
+ case 'title':
+ return this.toCallWithExact(l, 'getByTitle', s, !!o.exact)
+ default:
+ throw new Error('Unknown selector kind ' + n)
+ }
+ }
+ chainLocators(e) {
+ return e.join('.')
+ }
+ regexToString(e) {
+ const n = e.flags.includes('i') ? ', Pattern.CASE_INSENSITIVE' : ''
+ return `Pattern.compile(${this.quote(Gl(e.source))}${n})`
+ }
+ toCallWithExact(e, n, s, o) {
+ return et(s)
+ ? `${n}(${this.regexToString(s)})`
+ : o
+ ? `${n}(${this.quote(s)}, new ${e}.${$l(n)}Options().setExact(true))`
+ : `${n}(${this.quote(s)})`
+ }
+ toHasText(e) {
+ return et(e) ? this.regexToString(e) : this.quote(e)
+ }
+ toTestIdValue(e) {
+ return et(e) ? this.regexToString(e) : this.quote(e)
+ }
+ quote(e) {
+ return Kl(e, '"')
+ }
+}
+class m1 {
+ generateLocator(e, n, s, o = {}) {
+ switch (n) {
+ case 'default':
+ return o.hasText !== void 0
+ ? `Locator(${this.quote(s)}, new() { ${this.toHasText(o.hasText)} })`
+ : o.hasNotText !== void 0
+ ? `Locator(${this.quote(s)}, new() { ${this.toHasNotText(o.hasNotText)} })`
+ : `Locator(${this.quote(s)})`
+ case 'frame-locator':
+ return `FrameLocator(${this.quote(s)})`
+ case 'frame':
+ return 'ContentFrame'
+ case 'nth':
+ return `Nth(${s})`
+ case 'first':
+ return 'First'
+ case 'last':
+ return 'Last'
+ case 'visible':
+ return `Filter(new() { Visible = ${s === 'true' ? 'true' : 'false'} })`
+ case 'role':
+ const l = []
+ et(o.name)
+ ? l.push(`NameRegex = ${this.regexToString(o.name)}`)
+ : typeof o.name == 'string' &&
+ (l.push(`Name = ${this.quote(o.name)}`), o.exact && l.push('Exact = true'))
+ for (const { name: u, value: d } of o.attrs)
+ l.push(`${$l(u)} = ${typeof d == 'string' ? this.quote(d) : d}`)
+ const c = l.length ? `, new() { ${l.join(', ')} }` : ''
+ return `GetByRole(AriaRole.${$l(s)}${c})`
+ case 'has-text':
+ return `Filter(new() { ${this.toHasText(s)} })`
+ case 'has-not-text':
+ return `Filter(new() { ${this.toHasNotText(s)} })`
+ case 'has':
+ return `Filter(new() { Has = ${s} })`
+ case 'hasNot':
+ return `Filter(new() { HasNot = ${s} })`
+ case 'and':
+ return `And(${s})`
+ case 'or':
+ return `Or(${s})`
+ case 'chain':
+ return `Locator(${s})`
+ case 'test-id':
+ return `GetByTestId(${this.toTestIdValue(s)})`
+ case 'text':
+ return this.toCallWithExact('GetByText', s, !!o.exact)
+ case 'alt':
+ return this.toCallWithExact('GetByAltText', s, !!o.exact)
+ case 'placeholder':
+ return this.toCallWithExact('GetByPlaceholder', s, !!o.exact)
+ case 'label':
+ return this.toCallWithExact('GetByLabel', s, !!o.exact)
+ case 'title':
+ return this.toCallWithExact('GetByTitle', s, !!o.exact)
+ default:
+ throw new Error('Unknown selector kind ' + n)
+ }
+ }
+ chainLocators(e) {
+ return e.join('.')
+ }
+ regexToString(e) {
+ const n = e.flags.includes('i') ? ', RegexOptions.IgnoreCase' : ''
+ return `new Regex(${this.quote(Gl(e.source))}${n})`
+ }
+ toCallWithExact(e, n, s) {
+ return et(n)
+ ? `${e}(${this.regexToString(n)})`
+ : s
+ ? `${e}(${this.quote(n)}, new() { Exact = true })`
+ : `${e}(${this.quote(n)})`
+ }
+ toHasText(e) {
+ return et(e) ? `HasTextRegex = ${this.regexToString(e)}` : `HasText = ${this.quote(e)}`
+ }
+ toTestIdValue(e) {
+ return et(e) ? this.regexToString(e) : this.quote(e)
+ }
+ toHasNotText(e) {
+ return et(e) ? `HasNotTextRegex = ${this.regexToString(e)}` : `HasNotText = ${this.quote(e)}`
+ }
+ quote(e) {
+ return Kl(e, '"')
+ }
+}
+class g1 {
+ generateLocator(e, n, s, o = {}) {
+ return JSON.stringify({ kind: n, body: s, options: o })
+ }
+ chainLocators(e) {
+ const n = e.map((s) => JSON.parse(s))
+ for (let s = 0; s < n.length - 1; ++s) n[s].next = n[s + 1]
+ return JSON.stringify(n[0])
+ }
+}
+const y1 = { javascript: d1, python: h1, java: p1, csharp: m1, jsonl: g1 }
+function et(t) {
+ return t instanceof RegExp
+}
+const Hp = new Map()
+function v1({
+ name: t,
+ rootItem: e,
+ render: n,
+ title: s,
+ icon: o,
+ isError: l,
+ isVisible: c,
+ selectedItem: u,
+ onAccepted: d,
+ onSelected: p,
+ onHighlighted: g,
+ treeState: y,
+ setTreeState: v,
+ noItemsMessage: S,
+ dataTestId: k,
+ autoExpandDepth: _,
+}) {
+ const E = R.useMemo(() => w1(e, u, y.expandedItems, _ || 0, c), [e, u, y, _, c]),
+ C = R.useRef(null),
+ [A, O] = R.useState(),
+ [D, F] = R.useState(!1)
+ R.useEffect(() => {
+ g == null || g(A)
+ }, [g, A]),
+ R.useEffect(() => {
+ const q = C.current
+ if (!q) return
+ const B = () => {
+ Hp.set(t, q.scrollTop)
+ }
+ return (
+ q.addEventListener('scroll', B, { passive: !0 }), () => q.removeEventListener('scroll', B)
+ )
+ }, [t]),
+ R.useEffect(() => {
+ C.current && (C.current.scrollTop = Hp.get(t) || 0)
+ }, [t])
+ const z = R.useCallback(
+ (q) => {
+ const { expanded: B } = E.get(q)
+ if (B) {
+ for (let M = u; M; M = M.parent)
+ if (M === q) {
+ p == null || p(q)
+ break
+ }
+ y.expandedItems.set(q.id, !1)
+ } else y.expandedItems.set(q.id, !0)
+ v({ ...y })
+ },
+ [E, u, p, y, v]
+ )
+ return w.jsx('div', {
+ className: ze('tree-view vbox', t + '-tree-view'),
+ role: 'tree',
+ 'data-testid': k || t + '-tree',
+ children: w.jsxs('div', {
+ className: ze('tree-view-content'),
+ tabIndex: 0,
+ onKeyDown: (q) => {
+ if (u && q.key === 'Enter') {
+ d == null || d(u)
+ return
+ }
+ if (
+ q.key !== 'ArrowDown' &&
+ q.key !== 'ArrowUp' &&
+ q.key !== 'ArrowLeft' &&
+ q.key !== 'ArrowRight'
+ )
+ return
+ if ((q.stopPropagation(), q.preventDefault(), u && q.key === 'ArrowLeft')) {
+ const { expanded: M, parent: G } = E.get(u)
+ M ? (y.expandedItems.set(u.id, !1), v({ ...y })) : G && (p == null || p(G))
+ return
+ }
+ if (u && q.key === 'ArrowRight') {
+ u.children.length && (y.expandedItems.set(u.id, !0), v({ ...y }))
+ return
+ }
+ let B = u
+ if (
+ (q.key === 'ArrowDown' && (u ? (B = E.get(u).next) : E.size && (B = [...E.keys()][0])),
+ q.key === 'ArrowUp')
+ ) {
+ if (u) B = E.get(u).prev
+ else if (E.size) {
+ const M = [...E.keys()]
+ B = M[M.length - 1]
+ }
+ }
+ g == null || g(void 0), B && (F(!0), p == null || p(B)), O(void 0)
+ },
+ ref: C,
+ children: [
+ S && E.size === 0 && w.jsx('div', { className: 'tree-view-empty', children: S }),
+ e.children.map(
+ (q) =>
+ E.get(q) &&
+ w.jsx(
+ cg,
+ {
+ item: q,
+ treeItems: E,
+ selectedItem: u,
+ onSelected: p,
+ onAccepted: d,
+ isError: l,
+ toggleExpanded: z,
+ highlightedItem: A,
+ setHighlightedItem: O,
+ render: n,
+ icon: o,
+ title: s,
+ isKeyboardNavigation: D,
+ setIsKeyboardNavigation: F,
+ },
+ q.id
+ )
+ ),
+ ],
+ }),
+ })
+}
+function cg({
+ item: t,
+ treeItems: e,
+ selectedItem: n,
+ onSelected: s,
+ highlightedItem: o,
+ setHighlightedItem: l,
+ isError: c,
+ onAccepted: u,
+ toggleExpanded: d,
+ render: p,
+ title: g,
+ icon: y,
+ isKeyboardNavigation: v,
+ setIsKeyboardNavigation: S,
+}) {
+ const k = R.useId(),
+ _ = R.useRef(null)
+ R.useEffect(() => {
+ n === t && v && _.current && ($m(_.current), S(!1))
+ }, [t, n, v, S])
+ const E = e.get(t),
+ C = E.depth,
+ A = E.expanded
+ let O = 'codicon-blank'
+ typeof A == 'boolean' && (O = A ? 'codicon-chevron-down' : 'codicon-chevron-right')
+ const D = p(t),
+ F = A && t.children.length ? t.children : [],
+ z = g == null ? void 0 : g(t),
+ q = (y == null ? void 0 : y(t)) || 'codicon-blank'
+ return w.jsxs('div', {
+ ref: _,
+ role: 'treeitem',
+ 'aria-selected': t === n,
+ 'aria-expanded': A,
+ 'aria-controls': k,
+ title: z,
+ className: 'vbox',
+ style: { flex: 'none' },
+ children: [
+ w.jsxs('div', {
+ onDoubleClick: () => (u == null ? void 0 : u(t)),
+ className: ze(
+ 'tree-view-entry',
+ n === t && 'selected',
+ o === t && 'highlighted',
+ (c == null ? void 0 : c(t)) && 'error'
+ ),
+ onClick: () => (s == null ? void 0 : s(t)),
+ onMouseEnter: () => l(t),
+ onMouseLeave: () => l(void 0),
+ children: [
+ C
+ ? new Array(C)
+ .fill(0)
+ .map((B, M) => w.jsx('div', { className: 'tree-view-indent' }, 'indent-' + M))
+ : void 0,
+ w.jsx('div', {
+ 'aria-hidden': 'true',
+ className: 'codicon ' + O,
+ style: { minWidth: 16, marginRight: 4 },
+ onDoubleClick: (B) => {
+ B.preventDefault(), B.stopPropagation()
+ },
+ onClick: (B) => {
+ B.stopPropagation(), B.preventDefault(), d(t)
+ },
+ }),
+ y &&
+ w.jsx('div', {
+ className: 'codicon ' + q,
+ style: { minWidth: 16, marginRight: 4 },
+ 'aria-label': '[' + q.replace('codicon', 'icon') + ']',
+ }),
+ typeof D == 'string'
+ ? w.jsx('div', { style: { textOverflow: 'ellipsis', overflow: 'hidden' }, children: D })
+ : D,
+ ],
+ }),
+ !!F.length &&
+ w.jsx('div', {
+ id: k,
+ role: 'group',
+ children: F.map(
+ (B) =>
+ e.get(B) &&
+ w.jsx(
+ cg,
+ {
+ item: B,
+ treeItems: e,
+ selectedItem: n,
+ onSelected: s,
+ onAccepted: u,
+ isError: c,
+ toggleExpanded: d,
+ highlightedItem: o,
+ setHighlightedItem: l,
+ render: p,
+ title: g,
+ icon: y,
+ isKeyboardNavigation: v,
+ setIsKeyboardNavigation: S,
+ },
+ B.id
+ )
+ ),
+ }),
+ ],
+ })
+}
+function w1(t, e, n, s, o = () => !0) {
+ if (!o(t)) return new Map()
+ const l = new Map(),
+ c = new Set()
+ for (let p = e == null ? void 0 : e.parent; p; p = p.parent) c.add(p.id)
+ let u = null
+ const d = (p, g) => {
+ for (const y of p.children) {
+ if (!o(y)) continue
+ const v = c.has(y.id) || n.get(y.id),
+ S = s > g && l.size < 25 && v !== !1,
+ k = y.children.length ? v ?? S : void 0,
+ _ = { depth: g, expanded: k, parent: t === p ? null : p, next: null, prev: u }
+ u && (l.get(u).next = y), (u = y), l.set(y, _), k && d(y, g + 1)
+ }
+ }
+ return d(t, 0), l
+}
+const qt = R.forwardRef(function (
+ {
+ children: e,
+ title: n = '',
+ icon: s,
+ disabled: o = !1,
+ toggled: l = !1,
+ onClick: c = () => {},
+ style: u,
+ testId: d,
+ className: p,
+ ariaLabel: g,
+ },
+ y
+ ) {
+ return w.jsxs('button', {
+ ref: y,
+ className: ze(p, 'toolbar-button', s, l && 'toggled'),
+ onMouseDown: Up,
+ onClick: c,
+ onDoubleClick: Up,
+ title: n,
+ disabled: !!o,
+ style: u,
+ 'data-testid': d,
+ 'aria-label': g || n,
+ children: [
+ s &&
+ w.jsx('span', { className: `codicon codicon-${s}`, style: e ? { marginRight: 5 } : {} }),
+ e,
+ ],
+ })
+ }),
+ Up = (t) => {
+ t.stopPropagation(), t.preventDefault()
+ }
+function ug(t) {
+ return t === 'scheduled'
+ ? 'codicon-clock'
+ : t === 'running'
+ ? 'codicon-loading'
+ : t === 'failed'
+ ? 'codicon-error'
+ : t === 'passed'
+ ? 'codicon-check'
+ : t === 'skipped'
+ ? 'codicon-circle-slash'
+ : 'codicon-circle-outline'
+}
+function S1(t) {
+ return t === 'scheduled'
+ ? 'Pending'
+ : t === 'running'
+ ? 'Running'
+ : t === 'failed'
+ ? 'Failed'
+ : t === 'passed'
+ ? 'Passed'
+ : t === 'skipped'
+ ? 'Skipped'
+ : 'Did not run'
+}
+const x1 = new Map([
+ ['APIRequestContext.fetch', { title: 'Fetch "{url}"' }],
+ ['APIRequestContext.fetchResponseBody', { internal: !0 }],
+ ['APIRequestContext.fetchLog', { internal: !0 }],
+ ['APIRequestContext.storageState', { internal: !0 }],
+ ['APIRequestContext.disposeAPIResponse', { internal: !0 }],
+ ['APIRequestContext.dispose', { internal: !0 }],
+ ['LocalUtils.zip', { internal: !0 }],
+ ['LocalUtils.harOpen', { internal: !0 }],
+ ['LocalUtils.harLookup', { internal: !0 }],
+ ['LocalUtils.harClose', { internal: !0 }],
+ ['LocalUtils.harUnzip', { internal: !0 }],
+ ['LocalUtils.connect', { internal: !0 }],
+ ['LocalUtils.tracingStarted', { internal: !0 }],
+ ['LocalUtils.addStackToTracingNoReply', { internal: !0 }],
+ ['LocalUtils.traceDiscarded', { internal: !0 }],
+ ['LocalUtils.globToRegex', { internal: !0 }],
+ ['Root.initialize', { internal: !0 }],
+ ['Playwright.newRequest', { title: 'Create request context' }],
+ ['DebugController.initialize', { internal: !0 }],
+ ['DebugController.setReportStateChanged', { internal: !0 }],
+ ['DebugController.resetForReuse', { internal: !0 }],
+ ['DebugController.navigate', { internal: !0 }],
+ ['DebugController.setRecorderMode', { internal: !0 }],
+ ['DebugController.highlight', { internal: !0 }],
+ ['DebugController.hideHighlight', { internal: !0 }],
+ ['DebugController.resume', { internal: !0 }],
+ ['DebugController.kill', { internal: !0 }],
+ ['DebugController.closeAllBrowsers', { internal: !0 }],
+ ['SocksSupport.socksConnected', { internal: !0 }],
+ ['SocksSupport.socksFailed', { internal: !0 }],
+ ['SocksSupport.socksData', { internal: !0 }],
+ ['SocksSupport.socksError', { internal: !0 }],
+ ['SocksSupport.socksEnd', { internal: !0 }],
+ ['BrowserType.launch', { title: 'Launch browser' }],
+ ['BrowserType.launchPersistentContext', { title: 'Launch persistent context' }],
+ ['BrowserType.connectOverCDP', { title: 'Connect over CDP' }],
+ ['Browser.close', { title: 'Close browser' }],
+ ['Browser.killForTests', { internal: !0 }],
+ ['Browser.defaultUserAgentForTest', { internal: !0 }],
+ ['Browser.newContext', { title: 'Create context' }],
+ ['Browser.newContextForReuse', { internal: !0 }],
+ ['Browser.stopPendingOperations', { internal: !0, title: 'Stop pending operations' }],
+ ['Browser.newBrowserCDPSession', { internal: !0, title: 'Create CDP session' }],
+ ['Browser.startTracing', { internal: !0 }],
+ ['Browser.stopTracing', { internal: !0 }],
+ ['EventTarget.waitForEventInfo', { title: 'Wait for event "{info.event}"', snapshot: !0 }],
+ ['BrowserContext.waitForEventInfo', { title: 'Wait for event "{info.event}"', snapshot: !0 }],
+ ['Page.waitForEventInfo', { title: 'Wait for event "{info.event}"', snapshot: !0 }],
+ ['WebSocket.waitForEventInfo', { title: 'Wait for event "{info.event}"', snapshot: !0 }],
+ [
+ 'ElectronApplication.waitForEventInfo',
+ { title: 'Wait for event "{info.event}"', snapshot: !0 },
+ ],
+ ['AndroidDevice.waitForEventInfo', { title: 'Wait for event "{info.event}"', snapshot: !0 }],
+ ['BrowserContext.addCookies', { title: 'Add cookies' }],
+ ['BrowserContext.addInitScript', { title: 'Add init script' }],
+ ['BrowserContext.clearCookies', { title: 'Clear cookies' }],
+ ['BrowserContext.clearPermissions', { title: 'Clear permissions' }],
+ ['BrowserContext.close', { title: 'Close context' }],
+ ['BrowserContext.cookies', { title: 'Get cookies' }],
+ ['BrowserContext.exposeBinding', { title: 'Expose binding' }],
+ ['BrowserContext.grantPermissions', { title: 'Grant permissions' }],
+ ['BrowserContext.newPage', { title: 'Create page' }],
+ ['BrowserContext.registerSelectorEngine', { internal: !0 }],
+ ['BrowserContext.setTestIdAttributeName', { internal: !0 }],
+ ['BrowserContext.setExtraHTTPHeaders', { title: 'Set extra HTTP headers' }],
+ ['BrowserContext.setGeolocation', { title: 'Set geolocation' }],
+ ['BrowserContext.setHTTPCredentials', { title: 'Set HTTP credentials' }],
+ ['BrowserContext.setNetworkInterceptionPatterns', { internal: !0 }],
+ ['BrowserContext.setWebSocketInterceptionPatterns', { internal: !0 }],
+ ['BrowserContext.setOffline', { title: 'Set offline mode' }],
+ ['BrowserContext.storageState', { title: 'Get storage state' }],
+ ['BrowserContext.pause', { title: 'Pause' }],
+ ['BrowserContext.enableRecorder', { internal: !0 }],
+ ['BrowserContext.newCDPSession', { internal: !0 }],
+ ['BrowserContext.harStart', { internal: !0 }],
+ ['BrowserContext.harExport', { internal: !0 }],
+ ['BrowserContext.createTempFiles', { internal: !0 }],
+ ['BrowserContext.updateSubscription', { internal: !0 }],
+ ['BrowserContext.clockFastForward', { title: 'Fast forward clock "{ticksNumber}{ticksString}"' }],
+ ['BrowserContext.clockInstall', { title: 'Install clock "{timeNumber}{timeString}"' }],
+ ['BrowserContext.clockPauseAt', { title: 'Pause clock "{timeNumber}{timeString}"' }],
+ ['BrowserContext.clockResume', { title: 'Resume clock' }],
+ ['BrowserContext.clockRunFor', { title: 'Run clock "{ticksNumber}{ticksString}"' }],
+ ['BrowserContext.clockSetFixedTime', { title: 'Set fixed time "{timeNumber}{timeString}"' }],
+ ['BrowserContext.clockSetSystemTime', { title: 'Set system time "{timeNumber}{timeString}"' }],
+ ['Page.addInitScript', {}],
+ ['Page.close', { title: 'Close' }],
+ ['Page.emulateMedia', { title: 'Emulate media', snapshot: !0 }],
+ ['Page.exposeBinding', { title: 'Expose binding' }],
+ ['Page.goBack', { title: 'Go back', slowMo: !0, snapshot: !0 }],
+ ['Page.goForward', { title: 'Go forward', slowMo: !0, snapshot: !0 }],
+ ['Page.requestGC', { title: 'Request garbage collection' }],
+ ['Page.registerLocatorHandler', { title: 'Register locator handler' }],
+ ['Page.resolveLocatorHandlerNoReply', { internal: !0 }],
+ ['Page.unregisterLocatorHandler', { title: 'Unregister locator handler' }],
+ ['Page.reload', { title: 'Reload', slowMo: !0, snapshot: !0 }],
+ ['Page.expectScreenshot', { title: 'Expect screenshot', snapshot: !0 }],
+ ['Page.screenshot', { title: 'Screenshot', snapshot: !0 }],
+ ['Page.setExtraHTTPHeaders', { title: 'Set extra HTTP headers' }],
+ ['Page.setNetworkInterceptionPatterns', { internal: !0 }],
+ ['Page.setWebSocketInterceptionPatterns', { internal: !0 }],
+ ['Page.setViewportSize', { title: 'Set viewport size', snapshot: !0 }],
+ ['Page.keyboardDown', { title: 'Key down "{key}"', slowMo: !0, snapshot: !0 }],
+ ['Page.keyboardUp', { title: 'Key up "{key}"', slowMo: !0, snapshot: !0 }],
+ ['Page.keyboardInsertText', { title: 'Insert "{text}"', slowMo: !0, snapshot: !0 }],
+ ['Page.keyboardType', { title: 'Type "{text}"', slowMo: !0, snapshot: !0 }],
+ ['Page.keyboardPress', { title: 'Press "{key}"', slowMo: !0, snapshot: !0 }],
+ ['Page.mouseMove', { title: 'Mouse move', slowMo: !0, snapshot: !0 }],
+ ['Page.mouseDown', { title: 'Mouse down', slowMo: !0, snapshot: !0 }],
+ ['Page.mouseUp', { title: 'Mouse up', slowMo: !0, snapshot: !0 }],
+ ['Page.mouseClick', { title: 'Click', slowMo: !0, snapshot: !0 }],
+ ['Page.mouseWheel', { title: 'Mouse wheel', slowMo: !0, snapshot: !0 }],
+ ['Page.touchscreenTap', { title: 'Tap', slowMo: !0, snapshot: !0 }],
+ ['Page.accessibilitySnapshot', { internal: !0, snapshot: !0 }],
+ ['Page.pdf', { title: 'PDF' }],
+ ['Page.snapshotForAI', { internal: !0, snapshot: !0 }],
+ ['Page.startJSCoverage', { internal: !0 }],
+ ['Page.stopJSCoverage', { internal: !0 }],
+ ['Page.startCSSCoverage', { internal: !0 }],
+ ['Page.stopCSSCoverage', { internal: !0 }],
+ ['Page.bringToFront', { title: 'Bring to front' }],
+ ['Page.updateSubscription', { internal: !0 }],
+ ['Frame.evalOnSelector', { title: 'Evaluate', snapshot: !0 }],
+ ['Frame.evalOnSelectorAll', { title: 'Evaluate', snapshot: !0 }],
+ ['Frame.addScriptTag', { title: 'Add script tag', snapshot: !0 }],
+ ['Frame.addStyleTag', { title: 'Add style tag', snapshot: !0 }],
+ ['Frame.ariaSnapshot', { title: 'Aria snapshot', snapshot: !0 }],
+ ['Frame.blur', { title: 'Blur', slowMo: !0, snapshot: !0 }],
+ ['Frame.check', { title: 'Check', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['Frame.click', { title: 'Click', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['Frame.content', { title: 'Get content', snapshot: !0 }],
+ [
+ 'Frame.dragAndDrop',
+ { title: 'Drag and drop', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 },
+ ],
+ ['Frame.dblclick', { title: 'Double click', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['Frame.dispatchEvent', { title: 'Dispatch "{type}"', slowMo: !0, snapshot: !0 }],
+ ['Frame.evaluateExpression', { title: 'Evaluate', snapshot: !0 }],
+ ['Frame.evaluateExpressionHandle', { title: 'Evaluate', snapshot: !0 }],
+ ['Frame.fill', { title: 'Fill "{value}"', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['Frame.focus', { title: 'Focus', slowMo: !0, snapshot: !0 }],
+ ['Frame.frameElement', { internal: !0 }],
+ ['Frame.highlight', { internal: !0 }],
+ ['Frame.getAttribute', { internal: !0, snapshot: !0 }],
+ ['Frame.goto', { title: 'Navigate to "{url}"', slowMo: !0, snapshot: !0 }],
+ ['Frame.hover', { title: 'Hover', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['Frame.innerHTML', { title: 'Get HTML', snapshot: !0 }],
+ ['Frame.innerText', { title: 'Get inner text', snapshot: !0 }],
+ ['Frame.inputValue', { title: 'Get input value', snapshot: !0 }],
+ ['Frame.isChecked', { title: 'Is checked', snapshot: !0 }],
+ ['Frame.isDisabled', { title: 'Is disabled', snapshot: !0 }],
+ ['Frame.isEnabled', { title: 'Is enabled', snapshot: !0 }],
+ ['Frame.isHidden', { title: 'Is hidden', snapshot: !0 }],
+ ['Frame.isVisible', { title: 'Is visible', snapshot: !0 }],
+ ['Frame.isEditable', { title: 'Is editable', snapshot: !0 }],
+ ['Frame.press', { title: 'Press "{key}"', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['Frame.querySelector', { title: 'Query selector', snapshot: !0 }],
+ ['Frame.querySelectorAll', { title: 'Query selector all', snapshot: !0 }],
+ ['Frame.queryCount', { title: 'Query count', snapshot: !0 }],
+ [
+ 'Frame.selectOption',
+ { title: 'Select option', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 },
+ ],
+ ['Frame.setContent', { title: 'Set content', snapshot: !0 }],
+ [
+ 'Frame.setInputFiles',
+ { title: 'Set input files', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 },
+ ],
+ ['Frame.tap', { title: 'Tap', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['Frame.textContent', { title: 'Get text content', snapshot: !0 }],
+ ['Frame.title', { internal: !0 }],
+ ['Frame.type', { title: 'Type', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['Frame.uncheck', { title: 'Uncheck', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['Frame.waitForTimeout', { title: 'Wait for timeout', snapshot: !0 }],
+ ['Frame.waitForFunction', { title: 'Wait for function', snapshot: !0 }],
+ ['Frame.waitForSelector', { title: 'Wait for selector', snapshot: !0 }],
+ ['Frame.expect', { title: 'Expect "{expression}"', snapshot: !0 }],
+ ['Worker.evaluateExpression', { title: 'Evaluate' }],
+ ['Worker.evaluateExpressionHandle', { title: 'Evaluate' }],
+ ['JSHandle.dispose', {}],
+ ['ElementHandle.dispose', {}],
+ ['JSHandle.evaluateExpression', { title: 'Evaluate', snapshot: !0 }],
+ ['ElementHandle.evaluateExpression', { title: 'Evaluate', snapshot: !0 }],
+ ['JSHandle.evaluateExpressionHandle', { title: 'Evaluate', snapshot: !0 }],
+ ['ElementHandle.evaluateExpressionHandle', { title: 'Evaluate', snapshot: !0 }],
+ ['JSHandle.getPropertyList', { internal: !0 }],
+ ['ElementHandle.getPropertyList', { internal: !0 }],
+ ['JSHandle.getProperty', { internal: !0 }],
+ ['ElementHandle.getProperty', { internal: !0 }],
+ ['JSHandle.jsonValue', { internal: !0 }],
+ ['ElementHandle.jsonValue', { internal: !0 }],
+ ['ElementHandle.evalOnSelector', { title: 'Evaluate', snapshot: !0 }],
+ ['ElementHandle.evalOnSelectorAll', { title: 'Evaluate', snapshot: !0 }],
+ ['ElementHandle.boundingBox', { title: 'Get bounding box', snapshot: !0 }],
+ ['ElementHandle.check', { title: 'Check', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['ElementHandle.click', { title: 'Click', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['ElementHandle.contentFrame', { internal: !0, snapshot: !0 }],
+ [
+ 'ElementHandle.dblclick',
+ { title: 'Double click', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 },
+ ],
+ ['ElementHandle.dispatchEvent', { title: 'Dispatch event', slowMo: !0, snapshot: !0 }],
+ [
+ 'ElementHandle.fill',
+ { title: 'Fill "{value}"', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 },
+ ],
+ ['ElementHandle.focus', { title: 'Focus', slowMo: !0, snapshot: !0 }],
+ ['ElementHandle.generateLocatorString', { internal: !0 }],
+ ['ElementHandle.getAttribute', { internal: !0 }],
+ ['ElementHandle.hover', { title: 'Hover', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['ElementHandle.innerHTML', { title: 'Get HTML', snapshot: !0 }],
+ ['ElementHandle.innerText', { title: 'Get inner text', snapshot: !0 }],
+ ['ElementHandle.inputValue', { title: 'Get input value', snapshot: !0 }],
+ ['ElementHandle.isChecked', { title: 'Is checked', snapshot: !0 }],
+ ['ElementHandle.isDisabled', { title: 'Is disabled', snapshot: !0 }],
+ ['ElementHandle.isEditable', { title: 'Is editable', snapshot: !0 }],
+ ['ElementHandle.isEnabled', { title: 'Is enabled', snapshot: !0 }],
+ ['ElementHandle.isHidden', { title: 'Is hidden', snapshot: !0 }],
+ ['ElementHandle.isVisible', { title: 'Is visible', snapshot: !0 }],
+ ['ElementHandle.ownerFrame', { title: 'Get owner frame' }],
+ [
+ 'ElementHandle.press',
+ { title: 'Press "{key}"', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 },
+ ],
+ ['ElementHandle.querySelector', { title: 'Query selector', snapshot: !0 }],
+ ['ElementHandle.querySelectorAll', { title: 'Query selector all', snapshot: !0 }],
+ ['ElementHandle.screenshot', { title: 'Screenshot', snapshot: !0 }],
+ ['ElementHandle.scrollIntoViewIfNeeded', { title: 'Scroll into view', slowMo: !0, snapshot: !0 }],
+ [
+ 'ElementHandle.selectOption',
+ { title: 'Select option', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 },
+ ],
+ ['ElementHandle.selectText', { title: 'Select text', slowMo: !0, snapshot: !0 }],
+ [
+ 'ElementHandle.setInputFiles',
+ { title: 'Set input files', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 },
+ ],
+ ['ElementHandle.tap', { title: 'Tap', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['ElementHandle.textContent', { title: 'Get text content', snapshot: !0 }],
+ ['ElementHandle.type', { title: 'Type', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['ElementHandle.uncheck', { title: 'Uncheck', slowMo: !0, snapshot: !0, pausesBeforeInput: !0 }],
+ ['ElementHandle.waitForElementState', { title: 'Wait for state', snapshot: !0 }],
+ ['ElementHandle.waitForSelector', { title: 'Wait for selector', snapshot: !0 }],
+ ['Request.response', { internal: !0 }],
+ ['Request.rawRequestHeaders', { internal: !0 }],
+ ['Route.redirectNavigationRequest', { internal: !0 }],
+ ['Route.abort', {}],
+ ['Route.continue', { internal: !0 }],
+ ['Route.fulfill', { internal: !0 }],
+ ['WebSocketRoute.connect', { internal: !0 }],
+ ['WebSocketRoute.ensureOpened', { internal: !0 }],
+ ['WebSocketRoute.sendToPage', { internal: !0 }],
+ ['WebSocketRoute.sendToServer', { internal: !0 }],
+ ['WebSocketRoute.closePage', { internal: !0 }],
+ ['WebSocketRoute.closeServer', { internal: !0 }],
+ ['Response.body', { internal: !0 }],
+ ['Response.securityDetails', { internal: !0 }],
+ ['Response.serverAddr', { internal: !0 }],
+ ['Response.rawResponseHeaders', { internal: !0 }],
+ ['Response.sizes', { internal: !0 }],
+ ['BindingCall.reject', { internal: !0 }],
+ ['BindingCall.resolve', { internal: !0 }],
+ ['Dialog.accept', { title: 'Accept dialog' }],
+ ['Dialog.dismiss', { title: 'Dismiss dialog' }],
+ ['Tracing.tracingStart', { internal: !0 }],
+ ['Tracing.tracingStartChunk', { internal: !0 }],
+ ['Tracing.tracingGroup', { title: 'Trace "{name}"' }],
+ ['Tracing.tracingGroupEnd', { title: 'Group end' }],
+ ['Tracing.tracingStopChunk', { internal: !0 }],
+ ['Tracing.tracingStop', { internal: !0 }],
+ ['Artifact.pathAfterFinished', { internal: !0 }],
+ ['Artifact.saveAs', { internal: !0 }],
+ ['Artifact.saveAsStream', { internal: !0 }],
+ ['Artifact.failure', { internal: !0 }],
+ ['Artifact.stream', { internal: !0 }],
+ ['Artifact.cancel', { internal: !0 }],
+ ['Artifact.delete', { internal: !0 }],
+ ['Stream.read', { internal: !0 }],
+ ['Stream.close', { internal: !0 }],
+ ['WritableStream.write', { internal: !0 }],
+ ['WritableStream.close', { internal: !0 }],
+ ['CDPSession.send', { internal: !0 }],
+ ['CDPSession.detach', { internal: !0 }],
+ ['Electron.launch', { title: 'Launch electron' }],
+ ['ElectronApplication.browserWindow', { internal: !0 }],
+ ['ElectronApplication.evaluateExpression', { title: 'Evaluate' }],
+ ['ElectronApplication.evaluateExpressionHandle', { title: 'Evaluate' }],
+ ['ElectronApplication.updateSubscription', { internal: !0 }],
+ ['Android.devices', { internal: !0 }],
+ ['AndroidSocket.write', { internal: !0 }],
+ ['AndroidSocket.close', { internal: !0 }],
+ ['AndroidDevice.wait', {}],
+ ['AndroidDevice.fill', { title: 'Fill "{text}"' }],
+ ['AndroidDevice.tap', { title: 'Tap' }],
+ ['AndroidDevice.drag', { title: 'Drag' }],
+ ['AndroidDevice.fling', { title: 'Fling' }],
+ ['AndroidDevice.longTap', { title: 'Long tap' }],
+ ['AndroidDevice.pinchClose', { title: 'Pinch close' }],
+ ['AndroidDevice.pinchOpen', { title: 'Pinch open' }],
+ ['AndroidDevice.scroll', { title: 'Scroll' }],
+ ['AndroidDevice.swipe', { title: 'Swipe' }],
+ ['AndroidDevice.info', { internal: !0 }],
+ ['AndroidDevice.screenshot', { title: 'Screenshot' }],
+ ['AndroidDevice.inputType', { title: 'Type' }],
+ ['AndroidDevice.inputPress', { title: 'Press' }],
+ ['AndroidDevice.inputTap', { title: 'Tap' }],
+ ['AndroidDevice.inputSwipe', { title: 'Swipe' }],
+ ['AndroidDevice.inputDrag', { title: 'Drag' }],
+ ['AndroidDevice.launchBrowser', { title: 'Launch browser' }],
+ ['AndroidDevice.open', { title: 'Open app' }],
+ ['AndroidDevice.shell', { internal: !0 }],
+ ['AndroidDevice.installApk', { title: 'Install apk' }],
+ ['AndroidDevice.push', { title: 'Push' }],
+ ['AndroidDevice.connectToWebView', { internal: !0 }],
+ ['AndroidDevice.close', { internal: !0 }],
+ ['JsonPipe.send', { internal: !0 }],
+ ['JsonPipe.close', { internal: !0 }],
+])
+function _1(t, e) {
+ if (!t) return ''
+ if (e === 'url')
+ try {
+ const n = new URL(t[e])
+ return n.protocol === 'data:'
+ ? n.protocol
+ : n.protocol === 'about:'
+ ? t[e]
+ : n.pathname + n.search
+ } catch {
+ return t[e]
+ }
+ return e === 'timeNumber' ? new Date(t[e]).toString() : E1(t, e)
+}
+function E1(t, e) {
+ const n = e.split('.')
+ let s = t
+ for (const o of n) {
+ if (typeof s != 'object' || s === null) return ''
+ s = s[o]
+ }
+ return s === void 0 ? '' : String(s)
+}
+const k1 = v1,
+ b1 = ({
+ actions: t,
+ selectedAction: e,
+ selectedTime: n,
+ setSelectedTime: s,
+ sdkLanguage: o,
+ onSelected: l,
+ onHighlighted: c,
+ revealConsole: u,
+ revealAttachment: d,
+ isLive: p,
+ }) => {
+ const [g, y] = R.useState({ expandedItems: new Map() }),
+ { rootItem: v, itemMap: S } = R.useMemo(() => $0(t), [t]),
+ { selectedItem: k } = R.useMemo(
+ () => ({ selectedItem: e ? S.get(e.callId) : void 0 }),
+ [S, e]
+ ),
+ _ = R.useCallback((F) => {
+ var z, q
+ return !!((q = (z = F.action) == null ? void 0 : z.error) != null && q.message)
+ }, []),
+ E = R.useCallback((F) => s({ minimum: F.action.startTime, maximum: F.action.endTime }), [s]),
+ C = R.useCallback(
+ (F) =>
+ Xu(F.action, {
+ sdkLanguage: o,
+ revealConsole: u,
+ revealAttachment: d,
+ isLive: p,
+ showDuration: !0,
+ showBadges: !0,
+ }),
+ [p, u, d, o]
+ ),
+ A = R.useCallback(
+ (F) =>
+ !n || !F.action || (F.action.startTime <= n.maximum && F.action.endTime >= n.minimum),
+ [n]
+ ),
+ O = R.useCallback(
+ (F) => {
+ l == null || l(F.action)
+ },
+ [l]
+ ),
+ D = R.useCallback(
+ (F) => {
+ c == null || c(F == null ? void 0 : F.action)
+ },
+ [c]
+ )
+ return w.jsxs('div', {
+ className: 'vbox',
+ children: [
+ n &&
+ w.jsxs('div', {
+ className: 'action-list-show-all',
+ onClick: () => s(void 0),
+ children: [w.jsx('span', { className: 'codicon codicon-triangle-left' }), 'Show all'],
+ }),
+ w.jsx(k1, {
+ name: 'actions',
+ rootItem: v,
+ treeState: g,
+ setTreeState: y,
+ selectedItem: k,
+ onSelected: O,
+ onHighlighted: D,
+ onAccepted: E,
+ isError: _,
+ isVisible: A,
+ render: C,
+ }),
+ ],
+ })
+ },
+ Xu = (t, e) => {
+ var E, C
+ const {
+ sdkLanguage: n,
+ revealConsole: s,
+ revealAttachment: o,
+ isLive: l,
+ showDuration: c,
+ showBadges: u,
+ } = e,
+ { errors: d, warnings: p } = D0(t),
+ g = !!((E = t.attachments) != null && E.length) && !!o,
+ y = t.params.selector ? u1(n || 'javascript', t.params.selector) : void 0,
+ v =
+ t.class === 'Test' &&
+ t.method === 'step' &&
+ ((C = t.annotations) == null ? void 0 : C.some((A) => A.type === 'skip'))
+ let S = ''
+ t.endTime ? (S = pt(t.endTime - t.startTime)) : t.error ? (S = 'Timed out') : l || (S = '-')
+ const { elements: k, title: _ } = T1(t)
+ return w.jsxs('div', {
+ className: 'action-title vbox',
+ children: [
+ w.jsxs('div', {
+ className: 'hbox',
+ children: [
+ w.jsx('span', { className: 'action-title-method', title: _, children: k }),
+ (c || u || g || v) && w.jsx('div', { className: 'spacer' }),
+ g &&
+ w.jsx(qt, {
+ icon: 'attach',
+ title: 'Open Attachment',
+ onClick: () => o(t.attachments[0]),
+ }),
+ c &&
+ !v &&
+ w.jsx('div', {
+ className: 'action-duration',
+ children: S || w.jsx('span', { className: 'codicon codicon-loading' }),
+ }),
+ v &&
+ w.jsx('span', {
+ className: ze('action-skipped', 'codicon', ug('skipped')),
+ title: 'skipped',
+ }),
+ u &&
+ w.jsxs('div', {
+ className: 'action-icons',
+ onClick: () => (s == null ? void 0 : s()),
+ children: [
+ !!d &&
+ w.jsxs('div', {
+ className: 'action-icon',
+ children: [
+ w.jsx('span', { className: 'codicon codicon-error' }),
+ w.jsx('span', { className: 'action-icon-value', children: d }),
+ ],
+ }),
+ !!p &&
+ w.jsxs('div', {
+ className: 'action-icon',
+ children: [
+ w.jsx('span', { className: 'codicon codicon-warning' }),
+ w.jsx('span', { className: 'action-icon-value', children: p }),
+ ],
+ }),
+ ],
+ }),
+ ],
+ }),
+ y && w.jsx('div', { className: 'action-title-selector', title: y, children: y }),
+ ],
+ })
+ }
+function T1(t) {
+ var u
+ const e =
+ t.title ?? ((u = x1.get(t.class + '.' + t.method)) == null ? void 0 : u.title) ?? t.method,
+ n = [],
+ s = []
+ let o = 0
+ const l = /\{([^}]+)\}/g
+ let c
+ for (; (c = l.exec(e)) !== null; ) {
+ const [d, p] = c,
+ g = e.slice(o, c.index)
+ n.push(g), s.push(g)
+ const y = _1(t.params, p)
+ n.push(w.jsx('span', { className: 'action-title-param', children: y })),
+ s.push(y),
+ (o = c.index + d.length)
+ }
+ if (o < e.length) {
+ const d = e.slice(o)
+ n.push(d), s.push(d)
+ }
+ return { elements: n, title: s.join('') }
+}
+const Yu = ({ value: t, description: e }) => {
+ const [n, s] = R.useState('copy'),
+ o = R.useCallback(() => {
+ ;(typeof t == 'function' ? t() : Promise.resolve(t)).then(
+ (c) => {
+ navigator.clipboard.writeText(c).then(
+ () => {
+ s('check'),
+ setTimeout(() => {
+ s('copy')
+ }, 3e3)
+ },
+ () => {
+ s('close')
+ }
+ )
+ },
+ () => {
+ s('close')
+ }
+ )
+ }, [t])
+ return w.jsx(qt, { title: e || 'Copy', icon: n, onClick: o })
+ },
+ kl = ({ value: t, description: e, copiedDescription: n = e, style: s }) => {
+ const [o, l] = R.useState(!1),
+ c = R.useCallback(async () => {
+ const u = typeof t == 'function' ? await t() : t
+ await navigator.clipboard.writeText(u), l(!0), setTimeout(() => l(!1), 3e3)
+ }, [t])
+ return w.jsx(qt, {
+ style: s,
+ title: e,
+ onClick: c,
+ className: 'copy-to-clipboard-text-button',
+ children: o ? n : e,
+ })
+ },
+ Ar = ({ text: t }) =>
+ w.jsx('div', {
+ className: 'fill',
+ style: {
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'center',
+ fontSize: 24,
+ fontWeight: 'bold',
+ opacity: 0.5,
+ },
+ children: t,
+ }),
+ C1 = ({ action: t, startTimeOffset: e, sdkLanguage: n }) => {
+ const s = R.useMemo(
+ () => Object.keys((t == null ? void 0 : t.params) ?? {}).filter((c) => c !== 'info'),
+ [t]
+ )
+ if (!t) return w.jsx(Ar, { text: 'No action selected' })
+ const o = t.startTime - e,
+ l = pt(o)
+ return w.jsxs('div', {
+ className: 'call-tab',
+ children: [
+ w.jsx('div', { className: 'call-line', children: t.title }),
+ w.jsx('div', { className: 'call-section', children: 'Time' }),
+ w.jsx(qp, { name: 'start:', value: l }),
+ w.jsx(qp, { name: 'duration:', value: N1(t) }),
+ !!s.length &&
+ w.jsxs(w.Fragment, {
+ children: [
+ w.jsx('div', { className: 'call-section', children: 'Parameters' }),
+ s.map((c) => Vp(Wp(t, c, t.params[c], n))),
+ ],
+ }),
+ !!t.result &&
+ w.jsxs(w.Fragment, {
+ children: [
+ w.jsx('div', { className: 'call-section', children: 'Return value' }),
+ Object.keys(t.result).map((c) => Vp(Wp(t, c, t.result[c], n))),
+ ],
+ }),
+ ],
+ })
+ },
+ qp = ({ name: t, value: e }) =>
+ w.jsxs('div', {
+ className: 'call-line',
+ children: [t, w.jsx('span', { className: 'call-value datetime', title: e, children: e })],
+ })
+function N1(t) {
+ return t.endTime ? pt(t.endTime - t.startTime) : t.error ? 'Timed Out' : 'Running'
+}
+function Vp(t) {
+ let e = t.text.replace(/\n/g, '↵')
+ return (
+ t.type === 'string' && (e = `"${e}"`),
+ w.jsxs(
+ 'div',
+ {
+ className: 'call-line',
+ children: [
+ t.name,
+ ':',
+ w.jsx('span', { className: ze('call-value', t.type), title: t.text, children: e }),
+ ['string', 'number', 'object', 'locator'].includes(t.type) &&
+ w.jsx(Yu, { value: t.text }),
+ ],
+ },
+ t.name
+ )
+ )
+}
+function Wp(t, e, n, s) {
+ const o = t.method.includes('eval') || t.method === 'waitForFunction'
+ if (e === 'files') return { text: '', type: 'string', name: e }
+ if (
+ ((e === 'eventInit' || e === 'expectedValue' || (e === 'arg' && o)) &&
+ (n = Dl(n.value, new Array(10).fill({ handle: '' }))),
+ ((e === 'value' && o) || (e === 'received' && t.method === 'expect')) &&
+ (n = Dl(n, new Array(10).fill({ handle: '' }))),
+ e === 'selector')
+ )
+ return { text: er(s || 'javascript', t.params.selector), type: 'locator', name: 'locator' }
+ const l = typeof n
+ return l !== 'object' || n === null
+ ? { text: String(n), type: l, name: e }
+ : n.guid
+ ? { text: '', type: 'handle', name: e }
+ : { text: JSON.stringify(n).slice(0, 1e3), type: 'object', name: e }
+}
+function Dl(t, e) {
+ if (t.n !== void 0) return t.n
+ if (t.s !== void 0) return t.s
+ if (t.b !== void 0) return t.b
+ if (t.v !== void 0) {
+ if (t.v === 'undefined') return
+ if (t.v === 'null') return null
+ if (t.v === 'NaN') return NaN
+ if (t.v === 'Infinity') return 1 / 0
+ if (t.v === '-Infinity') return -1 / 0
+ if (t.v === '-0') return -0
+ }
+ if (t.d !== void 0) return new Date(t.d)
+ if (t.r !== void 0) return new RegExp(t.r.p, t.r.f)
+ if (t.a !== void 0) return t.a.map((n) => Dl(n, e))
+ if (t.o !== void 0) {
+ const n = {}
+ for (const { k: s, v: o } of t.o) n[s] = Dl(o, e)
+ return n
+ }
+ return t.h !== void 0 ? (e === void 0 ? '