b
This commit is contained in:
+4
-4
@@ -6,13 +6,13 @@ PORT=3000
|
||||
|
||||
# Database (MySQL container)
|
||||
MYSQL_ROOT_PASSWORD=rootpassword
|
||||
MYSQL_DATABASE=openplace
|
||||
MYSQL_USER=openplace
|
||||
MYSQL_PASSWORD=openplacepassword
|
||||
MYSQL_DATABASE=FurryPlace
|
||||
MYSQL_USER=FurryPlace
|
||||
MYSQL_PASSWORD=FurryPlacepassword
|
||||
MYSQL_PORT=3306
|
||||
|
||||
# Database URL (used by Prisma)
|
||||
DATABASE_URL="mysql://openplace:openplacepassword@mysql:3306/openplace"
|
||||
DATABASE_URL="mysql://FurryPlace:FurryPlacepassword@mysql:3306/FurryPlace"
|
||||
|
||||
# JWT Secret (CHANGE THIS IN PRODUCTION!)
|
||||
JWT_SECRET="your-secret-key-change-in-production"
|
||||
|
||||
+6
-1
@@ -1,4 +1,9 @@
|
||||
PORT=3000
|
||||
|
||||
DATABASE_URL="mysql://root:password@localhost/openplace"
|
||||
DATABASE_URL="mysql://root:password@localhost/FurryPlace"
|
||||
JWT_SECRET="your-secret-key"
|
||||
|
||||
# Google OAuth
|
||||
GOOGLE_CLIENT_ID="your-google-client-id"
|
||||
GOOGLE_CLIENT_SECRET="your-google-client-secret"
|
||||
GOOGLE_CALLBACK_URL="http://localhost:3000/auth/google/callback"
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
[submodule "frontend"]
|
||||
path = frontend
|
||||
url = https://github.com/openplaceteam/frontend
|
||||
url = https://github.com/FurryPlaceteam/frontend
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
# Admin Content Editor Access
|
||||
|
||||
## Quick Access
|
||||
|
||||
The site content management editor is now available at:
|
||||
|
||||
**URL:** `http://localhost:3000/_app/admin-content-editor.html`
|
||||
|
||||
Or for production:
|
||||
|
||||
**URL:** `https://yourdomain.com/_app/admin-content-editor.html`
|
||||
|
||||
## Requirements
|
||||
|
||||
- Must be logged in as an admin user
|
||||
- User account must have `role='admin'` in the database
|
||||
- Valid JWT authentication cookie
|
||||
|
||||
## Features
|
||||
|
||||
✅ Edit modal content (rules, instructions, help text)
|
||||
✅ Update footer links (Discord, GitHub, Instagram, etc.)
|
||||
✅ Manage multiple locales (English, Chinese, etc.)
|
||||
✅ Add/remove/edit individual content items
|
||||
✅ Bulk save changes
|
||||
✅ Initialize default content with one click
|
||||
|
||||
## File Locations
|
||||
|
||||
**Important:** The `frontend/` directory is regenerated on every build!
|
||||
|
||||
- **Source (for frontend-src builds):** [frontend-src/static/_app/admin-content-editor.html](frontend-src/static/_app/admin-content-editor.html)
|
||||
- **Backup (for USE_FRONTEND_BACKUP=true):** [frontend-backup/_app/admin-content-editor.html](frontend-backup/_app/admin-content-editor.html)
|
||||
- **Active (auto-generated):** `frontend/_app/admin-content-editor.html` (copied during build - DO NOT EDIT)
|
||||
|
||||
### Which File to Edit?
|
||||
|
||||
- **If using frontend-src builds:** Edit `frontend-src/static/_app/admin-content-editor.html`
|
||||
- **If using frontend-backup:** Edit `frontend-backup/_app/admin-content-editor.html`
|
||||
- **Never edit** files in `frontend/` - they get deleted on every build!
|
||||
|
||||
## Integration
|
||||
|
||||
The content editor is:
|
||||
1. A standalone HTML page (no build required)
|
||||
2. Uses vanilla JavaScript (no framework dependencies)
|
||||
3. Authenticates using existing JWT cookies
|
||||
4. Calls the site-content API endpoints
|
||||
|
||||
## Adding to Admin Panel Navigation
|
||||
|
||||
Since the admin panel is a compiled SvelteKit app, to add a navigation link:
|
||||
|
||||
1. Edit the source Svelte file in `frontend-src/src/routes/admin/+page.svelte`
|
||||
2. Add a link/button to `/_app/admin-content-editor.html`
|
||||
3. Rebuild the frontend: `cd frontend-src && npm run build`
|
||||
|
||||
**Or** simply bookmark/share the direct URL with your admin team!
|
||||
|
||||
## Build Process
|
||||
|
||||
### When using frontend-src:
|
||||
```bash
|
||||
cd frontend-src
|
||||
npm run build
|
||||
# Copies files from frontend-src/static/_app/ to frontend/_app/
|
||||
```
|
||||
|
||||
### When using frontend-backup (Docker):
|
||||
```bash
|
||||
docker-compose up --build -d
|
||||
# With USE_FRONTEND_BACKUP=true in docker-compose.yml
|
||||
# Copies files from frontend-backup/_app/ to frontend/_app/
|
||||
```
|
||||
|
||||
## API Endpoints Used
|
||||
|
||||
- `GET /api/admin/site-content` - Fetch all content
|
||||
- `POST /api/admin/site-content` - Create/update item
|
||||
- `POST /api/admin/site-content/bulk` - Bulk update
|
||||
- `DELETE /api/admin/site-content/:key` - Delete item
|
||||
- `POST /api/admin/site-content/initialize` - Load defaults
|
||||
|
||||
See [CONTENT-MANAGEMENT.md](CONTENT-MANAGEMENT.md) for detailed documentation.
|
||||
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
||||
|
||||
## Project Overview
|
||||
|
||||
Openplace is an unofficial open-source backend for wplace (a collaborative pixel art canvas), built with TypeScript, tinyhttp, Prisma, and MySQL. The system manages user authentication, pixel painting with charge-based rate limiting, alliances, leaderboards, and moderation features.
|
||||
FurryPlace is an unofficial open-source backend for wplace (a collaborative pixel art canvas), built with TypeScript, tinyhttp, Prisma, and MySQL. The system manages user authentication, pixel painting with charge-based rate limiting, alliances, leaderboards, and moderation features.
|
||||
|
||||
## Development Commands
|
||||
|
||||
|
||||
@@ -0,0 +1,220 @@
|
||||
# Site Content Management System
|
||||
|
||||
This document explains how to manage site content (modals, rules, etc.) using the new database-driven system.
|
||||
|
||||
## Overview
|
||||
|
||||
The site content management system allows administrators to modify:
|
||||
- Modal content (welcome modal, rules, instructions)
|
||||
- Help text (paint faster, map lagging)
|
||||
- Footer links and contact information
|
||||
- Site title and branding
|
||||
- Any other text content on the site
|
||||
|
||||
Content is stored in MySQL and can be edited through an admin interface, supporting multiple locales (English, Chinese, etc.).
|
||||
|
||||
## Architecture
|
||||
|
||||
### Database Schema
|
||||
|
||||
**Table: `SiteContent`**
|
||||
- `id`: Auto-incrementing primary key
|
||||
- `key`: Unique string identifier (e.g., `modal.rules.title`)
|
||||
- `value`: Text content
|
||||
- `locale`: Language code (en, zh, etc.)
|
||||
- `createdAt`: Creation timestamp
|
||||
- `updatedAt`: Last update timestamp
|
||||
|
||||
### Backend API Endpoints
|
||||
|
||||
**Public Endpoint:**
|
||||
- `GET /api/site-content?locale=en` - Fetch all content for a locale (used by frontend)
|
||||
|
||||
**Admin Endpoints (require authentication & admin role):**
|
||||
- `GET /api/admin/site-content` - Get all content items
|
||||
- `POST /api/admin/site-content` - Create or update a single item
|
||||
- `POST /api/admin/site-content/bulk` - Bulk update multiple items
|
||||
- `DELETE /api/admin/site-content/:key` - Delete an item
|
||||
- `POST /api/admin/site-content/initialize` - Initialize default content
|
||||
|
||||
### Frontend Integration
|
||||
|
||||
**File: `frontend/_app/info.js`**
|
||||
- Automatically loads content from API on page load
|
||||
- Falls back to hardcoded defaults if API fails
|
||||
- Uses MutationObserver to patch modals when they appear
|
||||
- Supports locale switching
|
||||
|
||||
## Setup Instructions
|
||||
|
||||
### 1. Database Migration
|
||||
|
||||
Run the Prisma migration to create the `SiteContent` table:
|
||||
|
||||
```bash
|
||||
pnpm db:push
|
||||
```
|
||||
|
||||
### 2. Initialize Default Content
|
||||
|
||||
After the database is set up, initialize the default content by making a POST request:
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:3000/api/admin/site-content/initialize \
|
||||
-H "Cookie: j=YOUR_ADMIN_JWT_TOKEN"
|
||||
```
|
||||
|
||||
Or use the admin UI (see below).
|
||||
|
||||
### 3. Access the Admin UI
|
||||
|
||||
Navigate to: `http://localhost:3000/_app/admin-content-editor.html`
|
||||
|
||||
**Note:** You must be logged in as an admin with a valid JWT token in cookies.
|
||||
|
||||
## Using the Admin UI
|
||||
|
||||
### Interface Features
|
||||
|
||||
1. **Locale Selector** - Switch between languages (en, zh)
|
||||
2. **Reload Button** - Refresh content from database
|
||||
3. **Add New Item** - Create new content entries
|
||||
4. **Initialize Defaults** - Populate database with default content
|
||||
5. **Save All Changes** - Bulk save modified items
|
||||
6. **Delete Button** - Remove individual items
|
||||
|
||||
### Content Keys
|
||||
|
||||
Content is organized using dot-notation keys:
|
||||
|
||||
#### Modal Content Keys
|
||||
|
||||
**Overview Section:**
|
||||
- `modal.overview.title` - "Overview" heading
|
||||
- `modal.overview.videoUrl` - YouTube embed URL
|
||||
|
||||
**Paint Faster Section:**
|
||||
- `modal.paintFaster.title` - Section heading
|
||||
- `modal.paintFaster.mobile` - Instructions for mobile users
|
||||
- `modal.paintFaster.desktop` - Instructions for desktop users
|
||||
|
||||
**Map Lagging Section:**
|
||||
- `modal.mapLagging.title` - Section heading
|
||||
- `modal.mapLagging.text` - Help text
|
||||
- `modal.mapLagging.link` - Link to hardware acceleration guide
|
||||
|
||||
**Rules Section:**
|
||||
- `modal.rules.title` - "Rules" heading
|
||||
- `modal.rules.badge` - Badge text (e.g., "Important")
|
||||
- `modal.rules.item.0` - First rule (with emoji)
|
||||
- `modal.rules.item.1` - Second rule
|
||||
- `modal.rules.item.N` - Additional rules (add as needed)
|
||||
- `modal.rules.footer` - Footer warning text
|
||||
|
||||
**Footer Section:**
|
||||
- `modal.footer.email` - Contact email
|
||||
- `modal.footer.discord.url` - Discord invite URL
|
||||
- `modal.footer.discord.text` - Discord link text
|
||||
- `modal.footer.github.url` - GitHub organization URL
|
||||
- `modal.footer.github.text` - GitHub link text
|
||||
- `modal.footer.instagram.url` - Instagram URL
|
||||
- `modal.footer.instagram.text` - Instagram link text
|
||||
- `modal.footer.terms.url` - Terms of service URL
|
||||
- `modal.footer.terms.text` - Terms link text
|
||||
- `modal.footer.privacy.url` - Privacy policy URL
|
||||
- `modal.footer.privacy.text` - Privacy link text
|
||||
|
||||
**Site-wide:**
|
||||
- `site.title` - Site title/branding
|
||||
|
||||
### Adding New Rules
|
||||
|
||||
To add a new rule to the rules modal:
|
||||
|
||||
1. Click "Add New Item"
|
||||
2. Set key to `modal.rules.item.4` (or next available number)
|
||||
3. Set value to `🚀 Your new rule text here`
|
||||
4. Click "Add Item"
|
||||
5. Repeat for other locales (en, zh, etc.)
|
||||
|
||||
The frontend will automatically display all numbered rules in order.
|
||||
|
||||
### Workflow Example
|
||||
|
||||
1. **Login as admin** to your FurryPlace instance
|
||||
2. **Navigate to** `/_app/admin-content-editor.html`
|
||||
3. **Select locale** (e.g., English)
|
||||
4. **Click "Initialize Defaults"** (first time only)
|
||||
5. **Edit content** directly in the text fields
|
||||
6. **Click "Save All Changes"** to persist to database
|
||||
7. **Refresh your main site** - changes appear immediately!
|
||||
|
||||
## Development Notes
|
||||
|
||||
### Adding New Content Fields
|
||||
|
||||
To add new editable content:
|
||||
|
||||
1. Choose a unique key (e.g., `modal.newSection.title`)
|
||||
2. Add to the initialize defaults in `src/routes/site-content.ts`
|
||||
3. Update the monkey patch in `frontend/_app/info.js` to use the new key
|
||||
4. Add documentation to this file
|
||||
|
||||
### Locale Support
|
||||
|
||||
Currently supports:
|
||||
- `en` - English
|
||||
- `zh` - Chinese
|
||||
|
||||
To add a new locale:
|
||||
1. Add option to locale selector in admin UI
|
||||
2. Initialize default content for that locale
|
||||
3. Update frontend locale detection in `info.js`
|
||||
|
||||
### Caching Considerations
|
||||
|
||||
- Frontend caches API response per page load
|
||||
- No server-side caching (content always fresh from DB)
|
||||
- Consider adding Redis/memory cache for production
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Content Not Updating
|
||||
|
||||
1. Check browser console for `[WPLACE_INFO]` logs
|
||||
2. Verify API endpoint returns data: `GET /api/site-content?locale=en`
|
||||
3. Clear browser cache and reload
|
||||
4. Check database for content entries: `SELECT * FROM SiteContent;`
|
||||
|
||||
### Admin UI Not Loading
|
||||
|
||||
1. Verify you're logged in as admin
|
||||
2. Check browser cookies for `j` JWT token
|
||||
3. Verify `role` in User table is set to `admin`
|
||||
4. Check browser console for authentication errors
|
||||
|
||||
### Default Content Missing
|
||||
|
||||
Run initialization endpoint:
|
||||
```bash
|
||||
curl -X POST http://localhost:3000/api/admin/site-content/initialize \
|
||||
-H "Cookie: j=YOUR_JWT_TOKEN"
|
||||
```
|
||||
|
||||
## Security Notes
|
||||
|
||||
- Admin endpoints require authentication AND `role='admin'`
|
||||
- Input validation prevents injection attacks
|
||||
- Keys restricted to alphanumeric + dots + underscores
|
||||
- No HTML rendering (XSS protection via text replacement)
|
||||
|
||||
## Future Enhancements
|
||||
|
||||
- [ ] Add wysiwyg editor for formatted text
|
||||
- [ ] Support for images/media uploads
|
||||
- [ ] Version history and rollback
|
||||
- [ ] Multi-tenant support (different content per domain)
|
||||
- [ ] Import/export functionality (JSON/CSV)
|
||||
- [ ] Preview changes before publishing
|
||||
- [ ] Scheduled content changes
|
||||
- [ ] Content approval workflow
|
||||
@@ -1,6 +1,6 @@
|
||||
# Docker Setup Guide
|
||||
|
||||
This guide explains how to build and run Openplace using Docker.
|
||||
This guide explains how to build and run FurryPlace using Docker.
|
||||
|
||||
## Quick Start
|
||||
|
||||
@@ -117,7 +117,7 @@ docker-compose ps
|
||||
|
||||
```bash
|
||||
# Access MySQL shell
|
||||
docker-compose exec mysql mysql -u openplace -p
|
||||
docker-compose exec mysql mysql -u FurryPlace -p
|
||||
|
||||
# Run migrations
|
||||
docker-compose exec app pnpm db:push
|
||||
@@ -126,10 +126,10 @@ docker-compose exec app pnpm db:push
|
||||
docker-compose exec app pnpm seed
|
||||
|
||||
# Backup database
|
||||
docker-compose exec mysql mysqldump -u openplace -popenplacepassword openplace > backup.sql
|
||||
docker-compose exec mysql mysqldump -u FurryPlace -pFurryPlacepassword FurryPlace > backup.sql
|
||||
|
||||
# Restore database
|
||||
docker-compose exec -T mysql mysql -u openplace -popenplacepassword openplace < backup.sql
|
||||
docker-compose exec -T mysql mysql -u FurryPlace -pFurryPlacepassword FurryPlace < backup.sql
|
||||
```
|
||||
|
||||
### Maintenance
|
||||
@@ -142,7 +142,7 @@ docker-compose restart
|
||||
docker-compose restart app
|
||||
|
||||
# View resource usage
|
||||
docker stats openplace-app openplace-mysql
|
||||
docker stats FurryPlace-app FurryPlace-mysql
|
||||
|
||||
# Clean up unused images
|
||||
docker image prune
|
||||
@@ -154,15 +154,15 @@ If you prefer to build without docker-compose:
|
||||
|
||||
```bash
|
||||
# Build image
|
||||
docker build -t openplace:latest .
|
||||
docker build -t FurryPlace:latest .
|
||||
|
||||
# Run container (requires existing MySQL)
|
||||
docker run -d \
|
||||
--name openplace \
|
||||
--name FurryPlace \
|
||||
-p 3000:3000 \
|
||||
-e DATABASE_URL="mysql://user:pass@host:3306/openplace" \
|
||||
-e DATABASE_URL="mysql://user:pass@host:3306/FurryPlace" \
|
||||
-e JWT_SECRET="your-secret" \
|
||||
openplace:latest
|
||||
FurryPlace:latest
|
||||
```
|
||||
|
||||
## Development with Docker
|
||||
@@ -213,10 +213,10 @@ docker-compose up -d --build
|
||||
|
||||
The Docker setup consists of:
|
||||
|
||||
- **openplace-app**: Node.js application container running the backend
|
||||
- **openplace-mysql**: MySQL 8.0 database container
|
||||
- **FurryPlace-app**: Node.js application container running the backend
|
||||
- **FurryPlace-mysql**: MySQL 8.0 database container
|
||||
- **mysql-data**: Persistent volume for database storage
|
||||
- **openplace-network**: Bridge network for container communication
|
||||
- **FurryPlace-network**: Bridge network for container communication
|
||||
|
||||
The application automatically runs database migrations on startup.
|
||||
|
||||
|
||||
+2
-2
@@ -13,7 +13,7 @@ WORKDIR /app
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
# Install backend dependencies
|
||||
RUN pnpm install --frozen-lockfile
|
||||
RUN pnpm install
|
||||
|
||||
# Copy source code and prisma schema
|
||||
COPY . .
|
||||
@@ -54,7 +54,7 @@ WORKDIR /app
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
# Install production dependencies only
|
||||
RUN pnpm install --frozen-lockfile --prod
|
||||
RUN pnpm install --prod
|
||||
|
||||
# Copy prisma schema for migrations
|
||||
COPY prisma ./prisma
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
# openplace
|
||||
Openplace (styled lowercase) is a free unofficial open source backend for [wplace.](https://wplace.live) We aim to give the freedom and flexibility for all users to be able to make their own private wplace experience for themselves, their friends, or even their community.
|
||||
# FurryPlace
|
||||
FurryPlace (styled lowercase) is a free unofficial open source backend for [wplace.](https://wplace.live) We aim to give the freedom and flexibility for all users to be able to make their own private wplace experience for themselves, their friends, or even their community.
|
||||
|
||||
> [!WARNING]
|
||||
> This is a work-in-progress. Expect unfinished features and bugs. Please help us by posting issues in #help-n-support on our [Discord server](https://discord.gg/ZRC4DnP9Z2) or by contributing pull requests. Thanks!
|
||||
|
||||
## macOS
|
||||
### Getting Started
|
||||
This is where you will be preparing your machine to run openplace.
|
||||
This is where you will be preparing your machine to run FurryPlace.
|
||||
1. install brew, node and git
|
||||
2. run `git clone --recurse-submodules https://github.com/openplaceteam/openplace`
|
||||
3. cd into the openplace directory
|
||||
2. run `git clone --recurse-submodules https://github.com/FurryPlaceteam/FurryPlace`
|
||||
3. cd into the FurryPlace directory
|
||||
4. run ``npm i && brew install mariadb caddy nss``
|
||||
5. brew will then spit out a command to inform you on how to start it. if it doesn't, run `brew services start mariadb && brew services start caddy`
|
||||
#### Configuring and building the database
|
||||
@@ -29,7 +29,7 @@ This is where you will be preparing your machine to run openplace.
|
||||
14. in another terminal, cd to the same root directory and run `caddy run --config Caddyfile`
|
||||
|
||||
#### Spinning up your server
|
||||
You will be required to configure an SSL certificate if you plan to use this in production. However, if you are only using this with you and your friends, you can simply navigate to `https://{IP}:8080` NOTE: openplace is only hosted over HTTPS. you will run into HTTP error 400 if you attempt to load the website over HTTP.
|
||||
You will be required to configure an SSL certificate if you plan to use this in production. However, if you are only using this with you and your friends, you can simply navigate to `https://{IP}:8080` NOTE: FurryPlace is only hosted over HTTPS. you will run into HTTP error 400 if you attempt to load the website over HTTP.
|
||||
|
||||
#### Updating your database
|
||||
In the event that the database schematic changes, you simply need to run `npm run db:push` to update your database schema.
|
||||
|
||||
+15
-12
@@ -3,13 +3,13 @@ version: '3.8'
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:8.0
|
||||
container_name: openplace-mysql
|
||||
container_name: FurryPlace-mysql
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-rootpassword}
|
||||
MYSQL_DATABASE: ${MYSQL_DATABASE:-openplace}
|
||||
MYSQL_USER: ${MYSQL_USER:-openplace}
|
||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-openplacepassword}
|
||||
MYSQL_DATABASE: ${MYSQL_DATABASE:-FurryPlace}
|
||||
MYSQL_USER: ${MYSQL_USER:-FurryPlace}
|
||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-FurryPlacepassword}
|
||||
# No ports exposed - only accessible within Docker network
|
||||
volumes:
|
||||
- mysql-data:/var/lib/mysql
|
||||
@@ -19,11 +19,11 @@ services:
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
- openplace-network
|
||||
- FurryPlace-network
|
||||
|
||||
adminer:
|
||||
image: adminer:latest
|
||||
container_name: openplace-adminer
|
||||
container_name: FurryPlace-adminer
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${ADMINER_PORT:-8080}:8080"
|
||||
@@ -32,7 +32,7 @@ services:
|
||||
depends_on:
|
||||
- mysql
|
||||
networks:
|
||||
- openplace-network
|
||||
- FurryPlace-network
|
||||
|
||||
app:
|
||||
build:
|
||||
@@ -40,26 +40,29 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
USE_FRONTEND_BACKUP: ${USE_FRONTEND_BACKUP:-false}
|
||||
container_name: openplace-app
|
||||
container_name: FurryPlace-app
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${PORT:-3000}:3000"
|
||||
environment:
|
||||
PORT: 3000
|
||||
DATABASE_URL: "mysql://${MYSQL_USER:-openplace}:${MYSQL_PASSWORD:-openplacepassword}@mysql:3306/${MYSQL_DATABASE:-openplace}"
|
||||
DATABASE_URL: "mysql://${MYSQL_USER:-FurryPlace}:${MYSQL_PASSWORD:-FurryPlacepassword}@mysql:3306/${MYSQL_DATABASE:-FurryPlace}"
|
||||
JWT_SECRET: ${JWT_SECRET:-change-this-secret-in-production}
|
||||
NODE_ENV: production
|
||||
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID}
|
||||
GOOGLE_CLIENT_SECRET: ${GOOGLE_CLIENT_SECRET}
|
||||
GOOGLE_CALLBACK_URL: ${GOOGLE_CALLBACK_URL:-http://localhost:3000/auth/google/callback}
|
||||
depends_on:
|
||||
mysql:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- openplace-network
|
||||
- FurryPlace-network
|
||||
command: >
|
||||
sh -c "
|
||||
echo 'Waiting for database to be ready...' &&
|
||||
sleep 5 &&
|
||||
echo 'Running database migrations...' &&
|
||||
pnpm db:push &&
|
||||
pnpm db:push -- --accept-data-loss &&
|
||||
echo 'Starting application...' &&
|
||||
node dist/index.js
|
||||
"
|
||||
@@ -68,5 +71,5 @@ volumes:
|
||||
mysql-data:
|
||||
|
||||
networks:
|
||||
openplace-network:
|
||||
FurryPlace-network:
|
||||
driver: bridge
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
.DS_Store
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
+5
-103
@@ -5,124 +5,26 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
|
||||
<link href="/_app/immutable/assets/0.DQCxyt33.css" rel="stylesheet">
|
||||
<link rel="modulepreload" href="/_app/immutable/entry/start.CqSbdZXc.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/B4HM4TqG.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/4WsUhDWi.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/BDALf20I.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/4k6DpCgf.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/BUhRjcOt.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/entry/app.CuVZ6Ons.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/x1RL6Wqy.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/DM9nRpoa.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/B2cHk4HI.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/Bke_korE.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/ChY_8ULT.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/BrZ10JY-.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/nodes/0.DIpSCqpd.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/DffDvEhl.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/DklPLC_x.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/BvbG2Lay.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/CZW2bcQi.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/BNZUboE0.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/cUtKXcx3.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/nodes/5.lvNarnfM.js">
|
||||
<link rel="modulepreload" href="/_app/immutable/chunks/CYItkO2S.js">
|
||||
|
||||
<meta property="og:image" content="https://wplace.live/img/og-image.png" />
|
||||
<meta property="og:image:width" content="1200" />
|
||||
<meta property="og:image:height" content="630" />
|
||||
<meta property="og:url" content="https://wplace.live/" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Wplace is a collaborative, real-time pixel canvas layered over the world map, where anyone can paint and create art together."
|
||||
/>
|
||||
<meta
|
||||
itemprop="description"
|
||||
content="Wplace is a collaborative, real-time pixel canvas layered over the world map, where anyone can paint and create art together."
|
||||
/>
|
||||
<meta
|
||||
property="og:description"
|
||||
content="Wplace is a collaborative, real-time pixel canvas layered over the world map, where anyone can paint and create art together."
|
||||
/>
|
||||
<meta
|
||||
name="twitter:description"
|
||||
content="Wplace is a collaborative, real-time pixel canvas layered over the world map, where anyone can paint and create art together."
|
||||
/>
|
||||
<meta name="twitter:image" content="https://wplace.live/img/og-image.png" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="keywords" content="wplace, pixel art, real-time, game, world map, art" />
|
||||
<meta name="apple-mobile-web-app-title" content="Wplace" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<link href="/_app/immutable/assets/0.0xfYb4uv.css" rel="stylesheet">
|
||||
<meta
|
||||
http-equiv="Content-Security-Policy"
|
||||
content="script-src 'self' 'unsafe-inline' 'wasm-unsafe-eval' https://challenges.cloudflare.com blob:"
|
||||
/>
|
||||
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebApplication",
|
||||
"name": "Wplace",
|
||||
"url": "https://wplace.live"
|
||||
}
|
||||
</script>
|
||||
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
href="/img/favicon-96x96.png"
|
||||
href="./img/favicon-96x96.png"
|
||||
sizes="96x96"
|
||||
/>
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<link rel="shortcut icon" href="./favicon.ico" />
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="180x180"
|
||||
href="/img/apple-touch-icon.png"
|
||||
href="./img/apple-touch-icon.png"
|
||||
/>
|
||||
<link rel="manifest" href="/site.webmanifest" />
|
||||
<script src="/_app/info.js"></script>
|
||||
</head>
|
||||
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
<div style="display: contents"><!--[--><!--[--><!----><span class="hidden">Version: 1759175263375</span> <!--[!--><!----><div class="flex h-full flex-col items-center justify-center gap-6"><a href="/"><div class="flex items-center gap-1.5 "><img class="pixelated size-20" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAAXNSR0IArs4c6QAAABJQTFRFAQEBAAAAHGHnRcxVStlbMXLnk8SHtQAAAAF0Uk5TAEDm2GYAAABMSURBVHjadc9JCgAhDERRa7r/lZs0ikawdv+tkvEYALS07U2QawmOTo1oQBKr8/cUMLY7JLEPYLW0oISSNLtgiojRBfv0AuB67vH3B+FjAY/0rrGiAAAAAElFTkSuQmCC" alt="Wplace logo"/> <!--[--><span class="text-base-content font-pixel text-5xl">wplace</span><!--]--></div><!----></a> <p class="max-w-3xl text-center font-medium sm:text-xl">Not found</p> <a class="btn btn-primary btn-lg" href="/">Go to map</a></div><!----><!--]--><!----> <section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false" class="svelte-tppj9g"><!--[!--><!--]--></section><!----><!----><!--]--> <!--[!--><!--]--><!--]-->
|
||||
|
||||
<script>
|
||||
{
|
||||
__sveltekit_1jtafcq = {
|
||||
base: new URL(".", location).pathname.slice(0, -1)
|
||||
};
|
||||
|
||||
const element = document.currentScript.parentElement;
|
||||
|
||||
Promise.all([
|
||||
import("/_app/immutable/entry/start.CqSbdZXc.js"),
|
||||
import("/_app/immutable/entry/app.CuVZ6Ons.js")
|
||||
]).then(([kit, app]) => {
|
||||
kit.start(app, element, {
|
||||
node_ids: [0, 5],
|
||||
data: [null,null],
|
||||
form: null,
|
||||
error: null
|
||||
});
|
||||
});
|
||||
|
||||
if ('serviceWorker' in navigator) {
|
||||
addEventListener('load', function () {
|
||||
navigator.serviceWorker.register('/service-worker.js');
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
window.addEventListener('beforeinstallprompt', (event) => {
|
||||
event.preventDefault();
|
||||
window.pwaInstallPrompt = event;
|
||||
});
|
||||
</script>
|
||||
<div style="display: contents"><!--[--><!--[--><!----><span class="hidden">Version: 1759353996237</span> <!--[!--><!----><div class="flex h-full flex-col items-center justify-center gap-6"><a href="/"><div class="flex items-center gap-1.5 "><img class="pixelated size-20" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAAXNSR0IArs4c6QAAABJQTFRFAQEBAAAAHGHnRcxVStlbMXLnk8SHtQAAAAF0Uk5TAEDm2GYAAABMSURBVHjadc9JCgAhDERRa7r/lZs0ikawdv+tkvEYALS07U2QawmOTo1oQBKr8/cUMLY7JLEPYLW0oISSNLtgiojRBfv0AuB67vH3B+FjAY/0rrGiAAAAAElFTkSuQmCC" alt="Wplace logo"/> <!--[--><span class="text-base-content font-pixel text-5xl">FurryPlace</span><!--]--></div><!----></a> <p class="max-w-3xl text-center font-medium sm:text-xl">Not found</p> <a class="btn btn-primary btn-lg" href="/">Go to map</a></div><!----><!--]--><!----> <section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false" class="svelte-tppj9g"><!--[!--><!--]--></section><!----><!----><!--]--> <!--[!--><!--]--><!--]-->
|
||||
</html>
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,532 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Site Content Editor - Admin Panel</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
||||
background: #f5f5f5;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 10px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: #666;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-bottom: 20px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: #4CAF50;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background: #2196F3;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
background: #f44336;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-warning {
|
||||
background: #ff9800;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.locale-selector {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-bottom: 20px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.locale-selector label {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
select {
|
||||
padding: 8px 12px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.content-grid {
|
||||
display: grid;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.content-item {
|
||||
border: 1px solid #e0e0e0;
|
||||
border-radius: 4px;
|
||||
padding: 15px;
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
.content-item-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.content-key {
|
||||
font-family: 'Courier New', monospace;
|
||||
font-size: 13px;
|
||||
color: #1976D2;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.content-item input, .content-item textarea {
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.content-item textarea {
|
||||
min-height: 80px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.btn-delete {
|
||||
background: #f44336;
|
||||
color: white;
|
||||
padding: 6px 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.new-item-form {
|
||||
background: #e3f2fd;
|
||||
border: 2px dashed #2196F3;
|
||||
padding: 20px;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 20px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.new-item-form.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.form-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 2fr;
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.loading {
|
||||
text-align: center;
|
||||
padding: 40px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.success-message {
|
||||
background: #4CAF50;
|
||||
color: white;
|
||||
padding: 12px;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 20px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.success-message.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.error-message {
|
||||
background: #f44336;
|
||||
color: white;
|
||||
padding: 12px;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 20px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.error-message.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.stats {
|
||||
background: #f5f5f5;
|
||||
padding: 15px;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 20px;
|
||||
display: flex;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.stat-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>🎨 Site Content Editor</h1>
|
||||
<p class="subtitle">Manage modal content, rules, and site text</p>
|
||||
|
||||
<div class="success-message" id="successMessage"></div>
|
||||
<div class="error-message" id="errorMessage"></div>
|
||||
|
||||
<div class="stats">
|
||||
<div class="stat-item">
|
||||
<span class="stat-label">Total Items</span>
|
||||
<span class="stat-value" id="totalItems">0</span>
|
||||
</div>
|
||||
<div class="stat-item">
|
||||
<span class="stat-label">Current Locale</span>
|
||||
<span class="stat-value" id="currentLocale">en</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toolbar">
|
||||
<div class="locale-selector">
|
||||
<label for="localeSelect">Locale:</label>
|
||||
<select id="localeSelect">
|
||||
<option value="en">English (en)</option>
|
||||
<option value="zh">Chinese (zh)</option>
|
||||
</select>
|
||||
</div>
|
||||
<button class="btn-primary" onclick="loadContent()">🔄 Reload</button>
|
||||
<button class="btn-secondary" onclick="toggleNewItemForm()">➕ Add New Item</button>
|
||||
<button class="btn-warning" onclick="initializeDefaults()">🔧 Initialize Defaults</button>
|
||||
<button class="btn-primary" onclick="saveAllChanges()">💾 Save All Changes</button>
|
||||
</div>
|
||||
|
||||
<div class="new-item-form" id="newItemForm">
|
||||
<h3>Add New Content Item</h3>
|
||||
<div class="form-row">
|
||||
<input type="text" id="newKey" placeholder="Key (e.g., modal.rules.item.5)">
|
||||
<textarea id="newValue" placeholder="Value"></textarea>
|
||||
</div>
|
||||
<button class="btn-primary" onclick="addNewItem()">Add Item</button>
|
||||
<button class="btn-secondary" onclick="toggleNewItemForm()">Cancel</button>
|
||||
</div>
|
||||
|
||||
<div id="contentContainer" class="loading">
|
||||
Loading content...
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
let currentContent = [];
|
||||
let currentLocale = 'en';
|
||||
let changedItems = new Set();
|
||||
|
||||
// Get JWT token from cookie
|
||||
function getAuthToken() {
|
||||
const cookies = document.cookie.split(';');
|
||||
for (let cookie of cookies) {
|
||||
const [name, value] = cookie.trim().split('=');
|
||||
if (name === 'j') {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// Show success message
|
||||
function showSuccess(message) {
|
||||
const el = document.getElementById('successMessage');
|
||||
el.textContent = message;
|
||||
el.classList.add('active');
|
||||
setTimeout(() => el.classList.remove('active'), 3000);
|
||||
}
|
||||
|
||||
// Show error message
|
||||
function showError(message) {
|
||||
const el = document.getElementById('errorMessage');
|
||||
el.textContent = message;
|
||||
el.classList.add('active');
|
||||
setTimeout(() => el.classList.remove('active'), 5000);
|
||||
}
|
||||
|
||||
// Toggle new item form
|
||||
function toggleNewItemForm() {
|
||||
const form = document.getElementById('newItemForm');
|
||||
form.classList.toggle('active');
|
||||
}
|
||||
|
||||
// Load content from API
|
||||
async function loadContent() {
|
||||
const locale = document.getElementById('localeSelect').value;
|
||||
currentLocale = locale;
|
||||
|
||||
try {
|
||||
const token = getAuthToken();
|
||||
const response = await fetch('/api/admin/site-content', {
|
||||
headers: {
|
||||
'Cookie': `j=${token}`
|
||||
},
|
||||
credentials: 'include'
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error('Failed to load content');
|
||||
}
|
||||
|
||||
const data = await response.json();
|
||||
currentContent = data.content.filter(item => item.locale === locale);
|
||||
|
||||
renderContent();
|
||||
updateStats();
|
||||
showSuccess(`Loaded ${currentContent.length} items for locale: ${locale}`);
|
||||
} catch (error) {
|
||||
showError('Error loading content: ' + error.message);
|
||||
console.error('Error:', error);
|
||||
}
|
||||
}
|
||||
|
||||
// Render content items
|
||||
function renderContent() {
|
||||
const container = document.getElementById('contentContainer');
|
||||
|
||||
if (currentContent.length === 0) {
|
||||
container.innerHTML = '<div class="loading">No content found. Click "Initialize Defaults" to create default content.</div>';
|
||||
return;
|
||||
}
|
||||
|
||||
container.innerHTML = '';
|
||||
container.className = 'content-grid';
|
||||
|
||||
currentContent.forEach((item, index) => {
|
||||
const itemEl = document.createElement('div');
|
||||
itemEl.className = 'content-item';
|
||||
itemEl.innerHTML = `
|
||||
<div class="content-item-header">
|
||||
<span class="content-key">${escapeHtml(item.key)}</span>
|
||||
<button class="btn-delete" onclick="deleteItem('${escapeHtml(item.key)}')">🗑 Delete</button>
|
||||
</div>
|
||||
${item.value.length > 100
|
||||
? `<textarea data-key="${escapeHtml(item.key)}" onchange="markChanged('${escapeHtml(item.key)}')">${escapeHtml(item.value)}</textarea>`
|
||||
: `<input type="text" data-key="${escapeHtml(item.key)}" value="${escapeHtml(item.value)}" onchange="markChanged('${escapeHtml(item.key)}')">`
|
||||
}
|
||||
`;
|
||||
container.appendChild(itemEl);
|
||||
});
|
||||
}
|
||||
|
||||
// Mark item as changed
|
||||
function markChanged(key) {
|
||||
changedItems.add(key);
|
||||
}
|
||||
|
||||
// Update statistics
|
||||
function updateStats() {
|
||||
document.getElementById('totalItems').textContent = currentContent.length;
|
||||
document.getElementById('currentLocale').textContent = currentLocale;
|
||||
}
|
||||
|
||||
// Add new item
|
||||
async function addNewItem() {
|
||||
const key = document.getElementById('newKey').value.trim();
|
||||
const value = document.getElementById('newValue').value.trim();
|
||||
|
||||
if (!key || !value) {
|
||||
showError('Both key and value are required');
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const token = getAuthToken();
|
||||
const response = await fetch('/api/admin/site-content', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Cookie': `j=${token}`
|
||||
},
|
||||
credentials: 'include',
|
||||
body: JSON.stringify({ key, value, locale: currentLocale })
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error('Failed to add item');
|
||||
}
|
||||
|
||||
document.getElementById('newKey').value = '';
|
||||
document.getElementById('newValue').value = '';
|
||||
toggleNewItemForm();
|
||||
loadContent();
|
||||
showSuccess('Item added successfully');
|
||||
} catch (error) {
|
||||
showError('Error adding item: ' + error.message);
|
||||
console.error('Error:', error);
|
||||
}
|
||||
}
|
||||
|
||||
// Delete item
|
||||
async function deleteItem(key) {
|
||||
if (!confirm(`Delete "${key}"?`)) return;
|
||||
|
||||
try {
|
||||
const token = getAuthToken();
|
||||
const response = await fetch(`/api/admin/site-content/${encodeURIComponent(key)}`, {
|
||||
method: 'DELETE',
|
||||
headers: {
|
||||
'Cookie': `j=${token}`
|
||||
},
|
||||
credentials: 'include'
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error('Failed to delete item');
|
||||
}
|
||||
|
||||
loadContent();
|
||||
showSuccess('Item deleted successfully');
|
||||
} catch (error) {
|
||||
showError('Error deleting item: ' + error.message);
|
||||
console.error('Error:', error);
|
||||
}
|
||||
}
|
||||
|
||||
// Save all changes
|
||||
async function saveAllChanges() {
|
||||
const items = [];
|
||||
const inputs = document.querySelectorAll('[data-key]');
|
||||
|
||||
inputs.forEach(input => {
|
||||
const key = input.getAttribute('data-key');
|
||||
if (changedItems.has(key)) {
|
||||
items.push({
|
||||
key: key,
|
||||
value: input.value,
|
||||
locale: currentLocale
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
if (items.length === 0) {
|
||||
showError('No changes to save');
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const token = getAuthToken();
|
||||
const response = await fetch('/api/admin/site-content/bulk', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Cookie': `j=${token}`
|
||||
},
|
||||
credentials: 'include',
|
||||
body: JSON.stringify({ items })
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error('Failed to save changes');
|
||||
}
|
||||
|
||||
changedItems.clear();
|
||||
loadContent();
|
||||
showSuccess(`Saved ${items.length} items successfully`);
|
||||
} catch (error) {
|
||||
showError('Error saving changes: ' + error.message);
|
||||
console.error('Error:', error);
|
||||
}
|
||||
}
|
||||
|
||||
// Initialize default content
|
||||
async function initializeDefaults() {
|
||||
if (!confirm('Initialize default content? This will create/update default modal content.')) return;
|
||||
|
||||
try {
|
||||
const token = getAuthToken();
|
||||
const response = await fetch('/api/admin/site-content/initialize', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Cookie': `j=${token}`
|
||||
},
|
||||
credentials: 'include'
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error('Failed to initialize defaults');
|
||||
}
|
||||
|
||||
const data = await response.json();
|
||||
loadContent();
|
||||
showSuccess(`Initialized ${data.initialized} default items`);
|
||||
} catch (error) {
|
||||
showError('Error initializing defaults: ' + error.message);
|
||||
console.error('Error:', error);
|
||||
}
|
||||
}
|
||||
|
||||
// Escape HTML
|
||||
function escapeHtml(text) {
|
||||
const div = document.createElement('div');
|
||||
div.textContent = text;
|
||||
return div.innerHTML;
|
||||
}
|
||||
|
||||
// Event listeners
|
||||
document.getElementById('localeSelect').addEventListener('change', loadContent);
|
||||
|
||||
// Initial load
|
||||
loadContent();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1,41 @@
|
||||
[data-custom-class=body].svelte-11vl9q8,[data-custom-class=body].svelte-11vl9q8 :where(.svelte-11vl9q8){background:transparent!important}[data-custom-class=title].svelte-11vl9q8,[data-custom-class=title].svelte-11vl9q8 :where(.svelte-11vl9q8){font-family:Arial!important;font-size:26px!important;color:#000!important}[data-custom-class=subtitle].svelte-11vl9q8,[data-custom-class=subtitle].svelte-11vl9q8 :where(.svelte-11vl9q8){font-family:Arial!important;color:#595959!important;font-size:14px!important}[data-custom-class=heading_1].svelte-11vl9q8,[data-custom-class=heading_1].svelte-11vl9q8 :where(.svelte-11vl9q8){font-family:Arial!important;font-size:19px!important;color:#000!important}[data-custom-class=heading_2].svelte-11vl9q8,[data-custom-class=heading_2].svelte-11vl9q8 :where(.svelte-11vl9q8){font-family:Arial!important;font-size:17px!important;color:#000!important}[data-custom-class=body_text].svelte-11vl9q8,[data-custom-class=body_text].svelte-11vl9q8 :where(.svelte-11vl9q8){color:#595959!important;font-size:14px!important;font-family:Arial!important}[data-custom-class=link].svelte-11vl9q8,[data-custom-class=link].svelte-11vl9q8 :where(.svelte-11vl9q8){color:#3030f1!important;font-size:14px!important;font-family:Arial!important;word-break:break-word!important}
|
||||
[data-custom-class="body"].svelte-11vl9q8,
|
||||
[data-custom-class="body"].svelte-11vl9q8 :where(.svelte-11vl9q8) {
|
||||
background: transparent !important;
|
||||
}
|
||||
[data-custom-class="title"].svelte-11vl9q8,
|
||||
[data-custom-class="title"].svelte-11vl9q8 :where(.svelte-11vl9q8) {
|
||||
font-family: Arial !important;
|
||||
font-size: 26px !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
[data-custom-class="subtitle"].svelte-11vl9q8,
|
||||
[data-custom-class="subtitle"].svelte-11vl9q8 :where(.svelte-11vl9q8) {
|
||||
font-family: Arial !important;
|
||||
color: #595959 !important;
|
||||
font-size: 14px !important;
|
||||
}
|
||||
[data-custom-class="heading_1"].svelte-11vl9q8,
|
||||
[data-custom-class="heading_1"].svelte-11vl9q8 :where(.svelte-11vl9q8) {
|
||||
font-family: Arial !important;
|
||||
font-size: 19px !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
[data-custom-class="heading_2"].svelte-11vl9q8,
|
||||
[data-custom-class="heading_2"].svelte-11vl9q8 :where(.svelte-11vl9q8) {
|
||||
font-family: Arial !important;
|
||||
font-size: 17px !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
[data-custom-class="body_text"].svelte-11vl9q8,
|
||||
[data-custom-class="body_text"].svelte-11vl9q8 :where(.svelte-11vl9q8) {
|
||||
color: #595959 !important;
|
||||
font-size: 14px !important;
|
||||
font-family: Arial !important;
|
||||
}
|
||||
[data-custom-class="link"].svelte-11vl9q8,
|
||||
[data-custom-class="link"].svelte-11vl9q8 :where(.svelte-11vl9q8) {
|
||||
color: #3030f1 !important;
|
||||
font-size: 14px !important;
|
||||
font-family: Arial !important;
|
||||
word-break: break-word !important;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1,3 @@
|
||||
:where(.flexible.svelte-1gvfki5){width:100%}
|
||||
:where(.flexible.svelte-1gvfki5) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -1 +1,9 @@
|
||||
.level-fill.svelte-zhy0pt{--angle: 180deg;--color: black;background:conic-gradient(var(--color),var(--color) var(--angle),transparent calc(var(--angle) + 3deg))}
|
||||
.level-fill.svelte-zhy0pt {
|
||||
--angle: 180deg;
|
||||
--color: black;
|
||||
background: conic-gradient(
|
||||
var(--color),
|
||||
var(--color) var(--angle),
|
||||
transparent calc(var(--angle) + 3deg)
|
||||
);
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,38 +0,0 @@
|
||||
import "./Bzak7iHL.js";
|
||||
import { p as u, f as p, t as r, b as c, c as x, s as B, d as b, r as L } from "./DUoKDNpf.js";
|
||||
import { p as Q, i as S, r as _ } from "./5NasrULQ.js";
|
||||
import { a as R, s as m, b as h } from "./B1GmkH4o.js";
|
||||
const E =
|
||||
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAAXNSR0IArs4c6QAAABJQTFRFAQEBAAAAHGHnRcxVStlbMXLnk8SHtQAAAAF0Uk5TAEDm2GYAAABMSURBVHjadc9JCgAhDERRa7r/lZs0ikawdv+tkvEYALS07U2QawmOTo1oQBKr8/cUMLY7JLEPYLW0oISSNLtgiojRBfv0AuB67vH3B+FjAY/0rrGiAAAAAElFTkSuQmCC";
|
||||
var T = p("<span>wplace</span>"),
|
||||
U = p('<div><img alt="Wplace logo"/> <!></div>');
|
||||
function Y(n, e) {
|
||||
u(e, !0);
|
||||
let a = Q(e, "size", 3, "default"),
|
||||
f = _(e, ["$$slots", "$$events", "$$legacy", "hasText", "size"]);
|
||||
var t = U();
|
||||
R(t, () => ({ ...f, class: `flex items-center gap-1.5 ${e.class ?? ""}` }));
|
||||
var A = b(t);
|
||||
let l;
|
||||
var d = B(A, 2);
|
||||
{
|
||||
var g = (s) => {
|
||||
var i = T();
|
||||
let o;
|
||||
r((v) => (o = m(i, 1, "text-base-content font-pixel", null, o, v)), [() => ({ "text-4xl": a() === "default", "text-5xl": a() === "lg" || a() === "medium" })]), c(s, i);
|
||||
};
|
||||
S(d, (s) => {
|
||||
e.hasText && s(g);
|
||||
});
|
||||
}
|
||||
L(t),
|
||||
r(
|
||||
(s) => {
|
||||
(l = m(A, 1, "pixelated", null, l, s)), h(A, "src", E);
|
||||
},
|
||||
[() => ({ "size-10": a() === "default", "size-16": a() === "medium", "size-20": a() === "lg" })]
|
||||
),
|
||||
c(n, t),
|
||||
x();
|
||||
}
|
||||
export { Y as L };
|
||||
@@ -0,0 +1,63 @@
|
||||
import { ac as n, H as t, z as a, L as c, ad as y } from "./CMvZtFtm.js";
|
||||
(function () {
|
||||
try {
|
||||
var f =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
f.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var f =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
d = new f.Error().stack;
|
||||
d &&
|
||||
((f._sentryDebugIds = f._sentryDebugIds || {}),
|
||||
(f._sentryDebugIds[d] = "554e06f2-a09e-496d-9df0-84ac5f964ff6"),
|
||||
(f._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-554e06f2-a09e-496d-9df0-84ac5f964ff6"));
|
||||
})();
|
||||
} catch {}
|
||||
function r(f, d) {
|
||||
return f === d || (f == null ? void 0 : f[y]) === d;
|
||||
}
|
||||
function g(f = {}, d, s, b) {
|
||||
return (
|
||||
n(() => {
|
||||
var e, i;
|
||||
return (
|
||||
t(() => {
|
||||
(e = i),
|
||||
(i = []),
|
||||
a(() => {
|
||||
f !== s(...i) &&
|
||||
(d(f, ...i), e && r(s(...e), f) && d(null, ...e));
|
||||
});
|
||||
}),
|
||||
() => {
|
||||
c(() => {
|
||||
i && r(s(...i), f) && d(null, ...i);
|
||||
});
|
||||
}
|
||||
);
|
||||
}),
|
||||
f
|
||||
);
|
||||
}
|
||||
export { g as b };
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -1,21 +0,0 @@
|
||||
import { i as _, g as o, am as f, h as a, P as u, ad as c, a2 as d, O as i, I as s, m as r, J as y } from "./DUoKDNpf.js";
|
||||
let e;
|
||||
function m() {
|
||||
e = void 0;
|
||||
}
|
||||
function p(h) {
|
||||
let t = null,
|
||||
l = a;
|
||||
var n;
|
||||
if (a) {
|
||||
for (t = r, e === void 0 && (e = y(document.head)); e !== null && (e.nodeType !== u || e.data !== c); ) e = d(e);
|
||||
e === null ? i(!1) : (e = s(d(e)));
|
||||
}
|
||||
a || (n = document.head.appendChild(_()));
|
||||
try {
|
||||
o(() => h(n), f);
|
||||
} finally {
|
||||
l && (i(!0), (e = r), s(t));
|
||||
}
|
||||
}
|
||||
export { p as h, m as r };
|
||||
@@ -1,143 +0,0 @@
|
||||
import {
|
||||
i as h,
|
||||
h as p,
|
||||
e as v,
|
||||
ai as m,
|
||||
ah as w,
|
||||
K as E,
|
||||
E as x,
|
||||
k as T,
|
||||
az as C,
|
||||
a7 as S,
|
||||
o as y,
|
||||
P as k,
|
||||
aA as i,
|
||||
y as A,
|
||||
aB as _,
|
||||
aC as D,
|
||||
w as o,
|
||||
a3 as I,
|
||||
aD as b,
|
||||
aE as R,
|
||||
z as u,
|
||||
aF as P,
|
||||
aG as z,
|
||||
aH as F,
|
||||
aI as N,
|
||||
aJ as j,
|
||||
aK as K,
|
||||
aL as L,
|
||||
} from "./BDALf20I.js";
|
||||
import { h as M, m as O, u as U } from "./4k6DpCgf.js";
|
||||
(function () {
|
||||
try {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
e.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
t = new e.Error().stack;
|
||||
t && ((e._sentryDebugIds = e._sentryDebugIds || {}), (e._sentryDebugIds[t] = "108534dc-c984-4e89-a0c7-0245224c9d9d"), (e._sentryDebugIdIdentifier = "sentry-dbid-108534dc-c984-4e89-a0c7-0245224c9d9d"));
|
||||
})();
|
||||
} catch {}
|
||||
function W(e, t, ...r) {
|
||||
var a = e,
|
||||
n = C,
|
||||
s;
|
||||
h(() => {
|
||||
n !== (n = t()) && (s && (S(s), (s = null)), (s = T(() => n(a, ...r))));
|
||||
}, x),
|
||||
p && (a = y);
|
||||
}
|
||||
function $(e) {
|
||||
return (t, ...r) => {
|
||||
var c;
|
||||
var a = e(...r),
|
||||
n;
|
||||
if (p) (n = y), v();
|
||||
else {
|
||||
var s = a.render().trim(),
|
||||
f = m(s);
|
||||
(n = k(f)), t.before(n);
|
||||
}
|
||||
const l = (c = a.setup) == null ? void 0 : c.call(a, n);
|
||||
w(n, n), typeof l == "function" && E(l);
|
||||
};
|
||||
}
|
||||
function B() {
|
||||
var e;
|
||||
return _ === null && D(), ((e = _).ac ?? (e.ac = new AbortController())).signal;
|
||||
}
|
||||
function g(e) {
|
||||
o === null && i(),
|
||||
R && o.l !== null
|
||||
? d(o).m.push(e)
|
||||
: A(() => {
|
||||
const t = u(e);
|
||||
if (typeof t == "function") return t;
|
||||
});
|
||||
}
|
||||
function G(e) {
|
||||
o === null && i(), g(() => () => u(e));
|
||||
}
|
||||
function H(e, t, { bubbles: r = !1, cancelable: a = !1 } = {}) {
|
||||
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: a });
|
||||
}
|
||||
function J() {
|
||||
const e = o;
|
||||
return (
|
||||
e === null && i(),
|
||||
(t, r, a) => {
|
||||
var s;
|
||||
const n = (s = e.s.$$events) == null ? void 0 : s[t];
|
||||
if (n) {
|
||||
const f = I(n) ? n.slice() : [n],
|
||||
l = H(t, r, a);
|
||||
for (const c of f) c.call(e.x, l);
|
||||
return !l.defaultPrevented;
|
||||
}
|
||||
return !0;
|
||||
}
|
||||
);
|
||||
}
|
||||
function Y(e) {
|
||||
o === null && i(), o.l === null && b(), d(o).b.push(e);
|
||||
}
|
||||
function q(e) {
|
||||
o === null && i(), o.l === null && b(), d(o).a.push(e);
|
||||
}
|
||||
function d(e) {
|
||||
var t = e.l;
|
||||
return t.u ?? (t.u = { a: [], b: [], m: [] });
|
||||
}
|
||||
const X = Object.freeze(
|
||||
Object.defineProperty(
|
||||
{
|
||||
__proto__: null,
|
||||
afterUpdate: q,
|
||||
beforeUpdate: Y,
|
||||
createEventDispatcher: J,
|
||||
createRawSnippet: $,
|
||||
flushSync: P,
|
||||
getAbortSignal: B,
|
||||
getAllContexts: z,
|
||||
getContext: F,
|
||||
hasContext: N,
|
||||
hydrate: M,
|
||||
mount: O,
|
||||
onDestroy: G,
|
||||
onMount: g,
|
||||
setContext: j,
|
||||
settled: K,
|
||||
tick: L,
|
||||
unmount: U,
|
||||
untrack: u,
|
||||
},
|
||||
Symbol.toStringTag,
|
||||
{ value: "Module" }
|
||||
)
|
||||
),
|
||||
Z = "1759175263375";
|
||||
export { X as a, g as o, W as s, Z as v };
|
||||
@@ -1,128 +0,0 @@
|
||||
import {
|
||||
aj as v,
|
||||
P as A,
|
||||
W as T,
|
||||
ak as L,
|
||||
a9 as k,
|
||||
ag as b,
|
||||
V as h,
|
||||
O as D,
|
||||
e as M,
|
||||
o as u,
|
||||
X as S,
|
||||
af as Y,
|
||||
al as j,
|
||||
ab as C,
|
||||
a2 as H,
|
||||
am as V,
|
||||
an as R,
|
||||
ao as W,
|
||||
ap as y,
|
||||
aq as P,
|
||||
j as $,
|
||||
k as q,
|
||||
h as w,
|
||||
p as F,
|
||||
w as X,
|
||||
ah as z,
|
||||
ad as B,
|
||||
c as G,
|
||||
} from "./BDALf20I.js";
|
||||
import { r as J } from "./BUhRjcOt.js";
|
||||
(function () {
|
||||
try {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
e.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
a = new e.Error().stack;
|
||||
a && ((e._sentryDebugIds = e._sentryDebugIds || {}), (e._sentryDebugIds[a] = "9557bbbe-29d3-45f6-8a81-e8d8cda40d22"), (e._sentryDebugIdIdentifier = "sentry-dbid-9557bbbe-29d3-45f6-8a81-e8d8cda40d22"));
|
||||
})();
|
||||
} catch {}
|
||||
let I = !0;
|
||||
function Z(e, a) {
|
||||
var t = a == null ? "" : typeof a == "object" ? a + "" : a;
|
||||
t !== (e.__t ?? (e.__t = e.nodeValue)) && ((e.__t = t), (e.nodeValue = t + ""));
|
||||
}
|
||||
function K(e, a) {
|
||||
return N(e, a);
|
||||
}
|
||||
function x(e, a) {
|
||||
v(), (a.intro = a.intro ?? !1);
|
||||
const t = a.target,
|
||||
_ = w,
|
||||
c = u;
|
||||
try {
|
||||
for (var s = A(t); s && (s.nodeType !== T || s.data !== L); ) s = k(s);
|
||||
if (!s) throw b;
|
||||
h(!0), D(s), M();
|
||||
const d = N(e, { ...a, anchor: s });
|
||||
if (u === null || u.nodeType !== T || u.data !== S) throw (Y(), b);
|
||||
return h(!1), d;
|
||||
} catch (d) {
|
||||
if (
|
||||
d instanceof Error &&
|
||||
d.message
|
||||
.split(
|
||||
`
|
||||
`
|
||||
)
|
||||
.some((f) => f.startsWith("https://svelte.dev/e/"))
|
||||
)
|
||||
throw d;
|
||||
return d !== b && console.warn("Failed to hydrate: ", d), a.recover === !1 && j(), v(), C(t), h(!1), K(e, a);
|
||||
} finally {
|
||||
h(_), D(c), J();
|
||||
}
|
||||
}
|
||||
const i = new Map();
|
||||
function N(e, { target: a, anchor: t, props: _ = {}, events: c, context: s, intro: d = !0 }) {
|
||||
v();
|
||||
var f = new Set(),
|
||||
g = (o) => {
|
||||
for (var n = 0; n < o.length; n++) {
|
||||
var r = o[n];
|
||||
if (!f.has(r)) {
|
||||
f.add(r);
|
||||
var l = P(r);
|
||||
a.addEventListener(r, y, { passive: l });
|
||||
var E = i.get(r);
|
||||
E === void 0 ? (document.addEventListener(r, y, { passive: l }), i.set(r, 1)) : i.set(r, E + 1);
|
||||
}
|
||||
}
|
||||
};
|
||||
g(H(V)), R.add(g);
|
||||
var p = void 0,
|
||||
O = W(() => {
|
||||
var o = t ?? a.appendChild($());
|
||||
return (
|
||||
q(() => {
|
||||
if (s) {
|
||||
F({});
|
||||
var n = X;
|
||||
n.c = s;
|
||||
}
|
||||
c && (_.$$events = c), w && z(o, null), (I = d), (p = e(o, _) || {}), (I = !0), w && (B.nodes_end = u), s && G();
|
||||
}),
|
||||
() => {
|
||||
var l;
|
||||
for (var n of f) {
|
||||
a.removeEventListener(n, y);
|
||||
var r = i.get(n);
|
||||
--r === 0 ? (document.removeEventListener(n, y), i.delete(n)) : i.set(n, r);
|
||||
}
|
||||
R.delete(g), o !== t && ((l = o.parentNode) == null || l.removeChild(o));
|
||||
}
|
||||
);
|
||||
});
|
||||
return m.set(p, O), p;
|
||||
}
|
||||
let m = new WeakMap();
|
||||
function ee(e, a) {
|
||||
const t = m.get(e);
|
||||
return t ? (m.delete(e), t(a)) : Promise.resolve();
|
||||
}
|
||||
export { I as a, x as h, K as m, Z as s, ee as u };
|
||||
@@ -1,211 +0,0 @@
|
||||
import {
|
||||
g as L,
|
||||
h as y,
|
||||
e as N,
|
||||
E as C,
|
||||
L as K,
|
||||
M,
|
||||
N as Y,
|
||||
I as j,
|
||||
O as T,
|
||||
i as B,
|
||||
j as w,
|
||||
k as F,
|
||||
aC as U,
|
||||
l as Z,
|
||||
Z as q,
|
||||
n as G,
|
||||
m as H,
|
||||
aD as A,
|
||||
aE as $,
|
||||
aF as z,
|
||||
A as O,
|
||||
C as J,
|
||||
K as Q,
|
||||
aG as V,
|
||||
aH as W,
|
||||
aI as X,
|
||||
a6 as k,
|
||||
aJ as ee,
|
||||
aK as re,
|
||||
x as ne,
|
||||
au as te,
|
||||
aL as ae,
|
||||
aM as se,
|
||||
aN as ie,
|
||||
S as x,
|
||||
aO as D,
|
||||
aP as P,
|
||||
} from "./DUoKDNpf.js";
|
||||
function ce(e, r, t = !1) {
|
||||
y && N();
|
||||
var n = e,
|
||||
a = null,
|
||||
f = null,
|
||||
l = U,
|
||||
d = t ? C : 0,
|
||||
p = !1;
|
||||
const S = (o, i = !0) => {
|
||||
(p = !0), _(i, o);
|
||||
};
|
||||
var u = null;
|
||||
function m() {
|
||||
u !== null && (u.lastChild.remove(), n.before(u), (u = null));
|
||||
var o = l ? a : f,
|
||||
i = l ? f : a;
|
||||
o && q(o),
|
||||
i &&
|
||||
G(i, () => {
|
||||
l ? (f = null) : (a = null);
|
||||
});
|
||||
}
|
||||
const _ = (o, i) => {
|
||||
if (l === (l = o)) return;
|
||||
let I = !1;
|
||||
if (y) {
|
||||
const h = K(n) === M;
|
||||
!!l === h && ((n = Y()), j(n), T(!1), (I = !0));
|
||||
}
|
||||
var v = Z(),
|
||||
c = n;
|
||||
if ((v && ((u = document.createDocumentFragment()), u.append((c = B()))), l ? a ?? (a = i && w(() => i(c))) : f ?? (f = i && w(() => i(c))), v)) {
|
||||
var g = F,
|
||||
b = l ? a : f,
|
||||
s = l ? f : a;
|
||||
b && g.skipped_effects.delete(b), s && g.skipped_effects.add(s), g.add_callback(m);
|
||||
} else m();
|
||||
I && T(!0);
|
||||
};
|
||||
L(() => {
|
||||
(p = !1), r(S), p || _(null, null);
|
||||
}, d),
|
||||
y && (n = H);
|
||||
}
|
||||
let E = !1;
|
||||
function fe(e) {
|
||||
var r = E;
|
||||
try {
|
||||
return (E = !1), [e(), E];
|
||||
} finally {
|
||||
E = r;
|
||||
}
|
||||
}
|
||||
function de(e, r = 1) {
|
||||
const t = e();
|
||||
return e(t + r), t;
|
||||
}
|
||||
const ue = {
|
||||
get(e, r) {
|
||||
if (!e.exclude.includes(r)) return e.props[r];
|
||||
},
|
||||
set(e, r) {
|
||||
return !1;
|
||||
},
|
||||
getOwnPropertyDescriptor(e, r) {
|
||||
if (!e.exclude.includes(r) && r in e.props) return { enumerable: !0, configurable: !0, value: e.props[r] };
|
||||
},
|
||||
has(e, r) {
|
||||
return e.exclude.includes(r) ? !1 : r in e.props;
|
||||
},
|
||||
ownKeys(e) {
|
||||
return Reflect.ownKeys(e.props).filter((r) => !e.exclude.includes(r));
|
||||
},
|
||||
};
|
||||
function _e(e, r, t) {
|
||||
return new Proxy({ props: e, exclude: r }, ue);
|
||||
}
|
||||
const le = {
|
||||
get(e, r) {
|
||||
let t = e.props.length;
|
||||
for (; t--; ) {
|
||||
let n = e.props[t];
|
||||
if ((P(n) && (n = n()), typeof n == "object" && n !== null && r in n)) return n[r];
|
||||
}
|
||||
},
|
||||
set(e, r, t) {
|
||||
let n = e.props.length;
|
||||
for (; n--; ) {
|
||||
let a = e.props[n];
|
||||
P(a) && (a = a());
|
||||
const f = A(a, r);
|
||||
if (f && f.set) return f.set(t), !0;
|
||||
}
|
||||
return !1;
|
||||
},
|
||||
getOwnPropertyDescriptor(e, r) {
|
||||
let t = e.props.length;
|
||||
for (; t--; ) {
|
||||
let n = e.props[t];
|
||||
if ((P(n) && (n = n()), typeof n == "object" && n !== null && r in n)) {
|
||||
const a = A(n, r);
|
||||
return a && !a.configurable && (a.configurable = !0), a;
|
||||
}
|
||||
}
|
||||
},
|
||||
has(e, r) {
|
||||
if (r === x || r === D) return !1;
|
||||
for (let t of e.props) if ((P(t) && (t = t()), t != null && r in t)) return !0;
|
||||
return !1;
|
||||
},
|
||||
ownKeys(e) {
|
||||
const r = [];
|
||||
for (let t of e.props)
|
||||
if ((P(t) && (t = t()), !!t)) {
|
||||
for (const n in t) r.includes(n) || r.push(n);
|
||||
for (const n of Object.getOwnPropertySymbols(t)) r.includes(n) || r.push(n);
|
||||
}
|
||||
return r;
|
||||
},
|
||||
};
|
||||
function pe(...e) {
|
||||
return new Proxy({ props: e }, le);
|
||||
}
|
||||
function ve(e, r, t, n) {
|
||||
var b;
|
||||
var a = !te || (t & ae) !== 0,
|
||||
f = (t & re) !== 0,
|
||||
l = (t & ie) !== 0,
|
||||
d = n,
|
||||
p = !0,
|
||||
S = () => (p && ((p = !1), (d = l ? ne(n) : n)), d),
|
||||
u;
|
||||
if (f) {
|
||||
var m = x in e || D in e;
|
||||
u = ((b = A(e, r)) == null ? void 0 : b.set) ?? (m && r in e ? (s) => (e[r] = s) : void 0);
|
||||
}
|
||||
var _,
|
||||
o = !1;
|
||||
f ? ([_, o] = fe(() => e[r])) : (_ = e[r]), _ === void 0 && n !== void 0 && ((_ = S()), u && (a && $(), u(_)));
|
||||
var i;
|
||||
if (
|
||||
(a
|
||||
? (i = () => {
|
||||
var s = e[r];
|
||||
return s === void 0 ? S() : ((p = !0), s);
|
||||
})
|
||||
: (i = () => {
|
||||
var s = e[r];
|
||||
return s !== void 0 && (d = void 0), s === void 0 ? d : s;
|
||||
}),
|
||||
a && (t & z) === 0)
|
||||
)
|
||||
return i;
|
||||
if (u) {
|
||||
var I = e.$$legacy;
|
||||
return function (s, h) {
|
||||
return arguments.length > 0 ? ((!a || !h || I || o) && u(h ? i() : s), s) : i();
|
||||
};
|
||||
}
|
||||
var v = !1,
|
||||
c = ((t & se) !== 0 ? J : Q)(() => ((v = !1), i()));
|
||||
f && O(c);
|
||||
var g = k;
|
||||
return function (s, h) {
|
||||
if (arguments.length > 0) {
|
||||
const R = h ? O(c) : a && f ? V(s) : s;
|
||||
return W(c, R), (v = !0), d !== void 0 && (d = R), s;
|
||||
}
|
||||
return (X && v) || (g.f & ee) !== 0 ? c.v : O(c);
|
||||
};
|
||||
}
|
||||
export { ce as i, ve as p, _e as r, pe as s, de as u };
|
||||
@@ -1,85 +0,0 @@
|
||||
import { g as o } from "./DklPLC_x.js";
|
||||
import "./B2cHk4HI.js";
|
||||
import { v as i, b as a } from "./BDALf20I.js";
|
||||
import { b as p } from "./BNZUboE0.js";
|
||||
import { r as u } from "./Bke_korE.js";
|
||||
(function () {
|
||||
try {
|
||||
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
t.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
e = new t.Error().stack;
|
||||
e && ((t._sentryDebugIds = t._sentryDebugIds || {}), (t._sentryDebugIds[e] = "6745f234-f59d-4730-a832-4873b80dedc4"), (t._sentryDebugIdIdentifier = "sentry-dbid-6745f234-f59d-4730-a832-4873b80dedc4"));
|
||||
})();
|
||||
} catch {}
|
||||
const _ = () => "Reported users",
|
||||
d = () => "Usuários denunciados",
|
||||
O = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? _() : d()),
|
||||
f = () => "No pending reports",
|
||||
y = () => "Sem denúncias pendentes",
|
||||
Q = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? f() : y()),
|
||||
m = () => "Ticket",
|
||||
g = () => "Ticket",
|
||||
W = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? m() : g()),
|
||||
x = () => "Times reported",
|
||||
b = () => "Denúncias",
|
||||
X = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? x() : b()),
|
||||
C = () => "Timeout count",
|
||||
h = () => "Contagem de timeouts",
|
||||
ee = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? C() : h()),
|
||||
I = () => "Last timeout reason",
|
||||
v = () => "Motivo do último timeout",
|
||||
te = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? I() : v()),
|
||||
w = () => "Reported by",
|
||||
D = () => "Denunciado por",
|
||||
ne = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? w() : D()),
|
||||
F = () => "Reason",
|
||||
T = () => "Motivo",
|
||||
oe = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? F() : T()),
|
||||
k = () => "Time",
|
||||
$ = () => "Hora",
|
||||
re = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? k() : $()),
|
||||
M = () => "Reported pixel",
|
||||
R = () => "Pixel reportado",
|
||||
se = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? M() : R()),
|
||||
E = () => "Aggressor's Last pixel painted",
|
||||
L = () => "Último pixel pintado pelo agressor",
|
||||
ce = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? E() : L()),
|
||||
j = () => "Accounts with same IP",
|
||||
A = () => "Contas com mesmo IP",
|
||||
le = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? j() : A()),
|
||||
P = () => "Report",
|
||||
S = () => "Denúncia",
|
||||
ie = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? P() : S()),
|
||||
Z = () => "User ID copied",
|
||||
N = () => "ID do usuário copiado",
|
||||
ae = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? Z() : N()),
|
||||
U = (t) => `Copy user ID: #${t.userId}`,
|
||||
z = (t) => `Copiar ID do usuário: #${t.userId}`,
|
||||
pe = (t, e = {}) => ((e.locale ?? o()) === "en" ? U(t) : z(t)),
|
||||
B = () => "Alliance ID copied",
|
||||
H = () => "ID da aliança copiado",
|
||||
ue = (t = {}, e = {}) => ((e.locale ?? o()) === "en" ? B() : H());
|
||||
var V = i(
|
||||
'<svg><g fill-rule="nonzero"><g transform="translate(3.0, 29.0)" fill="#000000"><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="9.5" ry="4.77275007"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="8.5" ry="4.29549936"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="7.5" ry="3.81822308"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="6.5" ry="3.34094679"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="5.5" ry="2.86367051"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="4.5" ry="2.38636864"></ellipse></g><g fill="#0069ff"><path d="M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"></path></g><g opacity="0.25" fill="#000000"><path d="M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"></path></g><g transform="translate(6.0, 7.0)" fill="#FFFFFF"></g><g transform="translate(8.0, 8.0)"><circle fill="#000000" opacity="0.25" cx="5.5" cy="5.5" r="5.4999962"></circle><circle fill="#FFFFFF" cx="5.5" cy="5.5" r="5.4999962"></circle></g></g></svg>'
|
||||
);
|
||||
function _e(t, e) {
|
||||
let n = u(e, ["$$slots", "$$events", "$$legacy"]);
|
||||
var r = V();
|
||||
p(r, () => ({ display: "block", viewBox: "0 0 27 41", ...n })), a(t, r);
|
||||
}
|
||||
function de(t, e) {
|
||||
let n = t[0],
|
||||
r = e(n);
|
||||
for (let s = 1; s < t.length; s++) {
|
||||
const c = t[s],
|
||||
l = e(c);
|
||||
l > r && ((n = c), (r = l));
|
||||
}
|
||||
return n;
|
||||
}
|
||||
export { _e as M, ie as a, ne as b, oe as c, se as d, W as e, pe as f, X as g, le as h, ee as i, te as j, ue as k, ce as l, de as m, Q as n, O as r, re as t, ae as u };
|
||||
@@ -1 +0,0 @@
|
||||
import{g as o}from"./DklPLC_x.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"35111e7039e8c68cc677344b7f7c6971567f6820"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a22836e1-99fe-4372-8041-51d766e562e7",e._sentryDebugIdIdentifier="sentry-dbid-a22836e1-99fe-4372-8041-51d766e562e7")})()}catch{}const t=()=>"Search",a=()=>"Buscar",c=(e={},n={})=>(n.locale??o())==="en"?t():a(),l=()=>"Load more",s=()=>"Carregar mais",f=(e={},n={})=>(n.locale??o())==="en"?l():s();export{f as l,c as s};
|
||||
@@ -1,334 +0,0 @@
|
||||
import {
|
||||
g as D,
|
||||
a0 as M,
|
||||
j as H,
|
||||
D as B,
|
||||
h as N,
|
||||
Y as F,
|
||||
aV as W,
|
||||
aW as X,
|
||||
ao as J,
|
||||
aX as Q,
|
||||
aY as m,
|
||||
aZ as x,
|
||||
a_ as rr,
|
||||
A as ir,
|
||||
a$ as fr,
|
||||
b0 as ar,
|
||||
O as R,
|
||||
b1 as tr,
|
||||
b2 as sr,
|
||||
an as ur,
|
||||
b3 as er,
|
||||
b4 as or,
|
||||
aC as lr,
|
||||
b5 as cr,
|
||||
b6 as nr,
|
||||
b7 as vr,
|
||||
} from "./DUoKDNpf.js";
|
||||
function dr(r, f) {
|
||||
var i = void 0,
|
||||
a;
|
||||
D(() => {
|
||||
i !== (i = f()) &&
|
||||
(a && (M(a), (a = null)),
|
||||
i &&
|
||||
(a = H(() => {
|
||||
B(() => i(r));
|
||||
})));
|
||||
});
|
||||
}
|
||||
function G(r) {
|
||||
var f,
|
||||
i,
|
||||
a = "";
|
||||
if (typeof r == "string" || typeof r == "number") a += r;
|
||||
else if (typeof r == "object")
|
||||
if (Array.isArray(r)) {
|
||||
var t = r.length;
|
||||
for (f = 0; f < t; f++) r[f] && (i = G(r[f])) && (a && (a += " "), (a += i));
|
||||
} else for (i in r) r[i] && (a && (a += " "), (a += i));
|
||||
return a;
|
||||
}
|
||||
function br() {
|
||||
for (var r, f, i = 0, a = "", t = arguments.length; i < t; i++) (r = arguments[i]) && (f = G(r)) && (a && (a += " "), (a += f));
|
||||
return a;
|
||||
}
|
||||
function gr(r) {
|
||||
return typeof r == "object" ? br(r) : r ?? "";
|
||||
}
|
||||
const Y = [
|
||||
...`
|
||||
\r\f \v\uFEFF`,
|
||||
];
|
||||
function hr(r, f, i) {
|
||||
var a = r == null ? "" : "" + r;
|
||||
if ((f && (a = a ? a + " " + f : f), i)) {
|
||||
for (var t in i)
|
||||
if (i[t]) a = a ? a + " " + t : t;
|
||||
else if (a.length)
|
||||
for (var s = t.length, e = 0; (e = a.indexOf(t, e)) >= 0; ) {
|
||||
var o = e + s;
|
||||
(e === 0 || Y.includes(a[e - 1])) && (o === a.length || Y.includes(a[o])) ? (a = (e === 0 ? "" : a.substring(0, e)) + a.substring(o + 1)) : (e = o);
|
||||
}
|
||||
}
|
||||
return a === "" ? null : a;
|
||||
}
|
||||
function k(r, f = !1) {
|
||||
var i = f ? " !important;" : ";",
|
||||
a = "";
|
||||
for (var t in r) {
|
||||
var s = r[t];
|
||||
s != null && s !== "" && (a += " " + t + ": " + s + i);
|
||||
}
|
||||
return a;
|
||||
}
|
||||
function C(r) {
|
||||
return r[0] !== "-" || r[1] !== "-" ? r.toLowerCase() : r;
|
||||
}
|
||||
function Ar(r, f) {
|
||||
if (f) {
|
||||
var i = "",
|
||||
a,
|
||||
t;
|
||||
if ((Array.isArray(f) ? ((a = f[0]), (t = f[1])) : (a = f), r)) {
|
||||
r = String(r)
|
||||
.replaceAll(/\s*\/\*.*?\*\/\s*/g, "")
|
||||
.trim();
|
||||
var s = !1,
|
||||
e = 0,
|
||||
o = !1,
|
||||
v = [];
|
||||
a && v.push(...Object.keys(a).map(C)), t && v.push(...Object.keys(t).map(C));
|
||||
var l = 0,
|
||||
_ = -1;
|
||||
const b = r.length;
|
||||
for (var d = 0; d < b; d++) {
|
||||
var n = r[d];
|
||||
if ((o ? n === "/" && r[d - 1] === "*" && (o = !1) : s ? s === n && (s = !1) : n === "/" && r[d + 1] === "*" ? (o = !0) : n === '"' || n === "'" ? (s = n) : n === "(" ? e++ : n === ")" && e--, !o && s === !1 && e === 0)) {
|
||||
if (n === ":" && _ === -1) _ = d;
|
||||
else if (n === ";" || d === b - 1) {
|
||||
if (_ !== -1) {
|
||||
var O = C(r.substring(l, _).trim());
|
||||
if (!v.includes(O)) {
|
||||
n !== ";" && d++;
|
||||
var S = r.substring(l, d).trim();
|
||||
i += " " + S + ";";
|
||||
}
|
||||
}
|
||||
(l = d + 1), (_ = -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return a && (i += k(a)), t && (i += k(t, !0)), (i = i.trim()), i === "" ? null : i;
|
||||
}
|
||||
return r == null ? null : String(r);
|
||||
}
|
||||
function _r(r, f, i, a, t, s) {
|
||||
var e = r.__className;
|
||||
if (N || e !== i || e === void 0) {
|
||||
var o = hr(i, a, s);
|
||||
(!N || o !== r.getAttribute("class")) && (o == null ? r.removeAttribute("class") : f ? (r.className = o) : r.setAttribute("class", o)), (r.__className = i);
|
||||
} else if (s && t !== s)
|
||||
for (var v in s) {
|
||||
var l = !!s[v];
|
||||
(t == null || l !== !!t[v]) && r.classList.toggle(v, l);
|
||||
}
|
||||
return s;
|
||||
}
|
||||
function w(r, f = {}, i, a) {
|
||||
for (var t in i) {
|
||||
var s = i[t];
|
||||
f[t] !== s && (i[t] == null ? r.style.removeProperty(t) : r.style.setProperty(t, s, a));
|
||||
}
|
||||
}
|
||||
function Sr(r, f, i, a) {
|
||||
var t = r.__style;
|
||||
if (N || t !== f) {
|
||||
var s = Ar(f, a);
|
||||
(!N || s !== r.getAttribute("style")) && (s == null ? r.removeAttribute("style") : (r.style.cssText = s)), (r.__style = f);
|
||||
} else a && (Array.isArray(a) ? (w(r, i == null ? void 0 : i[0], a[0]), w(r, i == null ? void 0 : i[1], a[1], "important")) : w(r, i, a));
|
||||
return a;
|
||||
}
|
||||
function $(r, f, i = !1) {
|
||||
if (r.multiple) {
|
||||
if (f == null) return;
|
||||
if (!F(f)) return W();
|
||||
for (var a of r.options) a.selected = f.includes(U(a));
|
||||
return;
|
||||
}
|
||||
for (a of r.options) {
|
||||
var t = U(a);
|
||||
if (X(t, f)) {
|
||||
a.selected = !0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
(!i || f !== void 0) && (r.selectedIndex = -1);
|
||||
}
|
||||
function Nr(r) {
|
||||
var f = new MutationObserver(() => {
|
||||
$(r, r.__value);
|
||||
});
|
||||
f.observe(r, { childList: !0, subtree: !0, attributes: !0, attributeFilter: ["value"] }),
|
||||
J(() => {
|
||||
f.disconnect();
|
||||
});
|
||||
}
|
||||
function U(r) {
|
||||
return "__value" in r ? r.__value : r.value;
|
||||
}
|
||||
const L = Symbol("class"),
|
||||
T = Symbol("style"),
|
||||
K = Symbol("is custom element"),
|
||||
Z = Symbol("is html");
|
||||
function Tr(r) {
|
||||
if (N) {
|
||||
var f = !1,
|
||||
i = () => {
|
||||
if (!f) {
|
||||
if (((f = !0), r.hasAttribute("value"))) {
|
||||
var a = r.value;
|
||||
p(r, "value", null), (r.value = a);
|
||||
}
|
||||
if (r.hasAttribute("checked")) {
|
||||
var t = r.checked;
|
||||
p(r, "checked", null), (r.checked = t);
|
||||
}
|
||||
}
|
||||
};
|
||||
(r.__on_r = i), nr(i), vr();
|
||||
}
|
||||
}
|
||||
function pr(r, f) {
|
||||
var i = j(r);
|
||||
i.value === (i.value = f ?? void 0) || (r.value === f && (f !== 0 || r.nodeName !== "PROGRESS")) || (r.value = f ?? "");
|
||||
}
|
||||
function Or(r, f) {
|
||||
f ? r.hasAttribute("selected") || r.setAttribute("selected", "") : r.removeAttribute("selected");
|
||||
}
|
||||
function p(r, f, i, a) {
|
||||
var t = j(r);
|
||||
(N && ((t[f] = r.getAttribute(f)), f === "src" || f === "srcset" || (f === "href" && r.nodeName === "LINK"))) ||
|
||||
(t[f] !== (t[f] = i) && (f === "loading" && (r[rr] = i), i == null ? r.removeAttribute(f) : typeof i != "string" && q(r).includes(f) ? (r[f] = i) : r.setAttribute(f, i)));
|
||||
}
|
||||
function Er(r, f, i, a, t = !1) {
|
||||
var s = j(r),
|
||||
e = s[K],
|
||||
o = !s[Z];
|
||||
let v = N && e;
|
||||
v && R(!1);
|
||||
var l = f || {},
|
||||
_ = r.tagName === "OPTION";
|
||||
for (var d in f) d in i || (i[d] = null);
|
||||
i.class ? (i.class = gr(i.class)) : (a || i[L]) && (i.class = null), i[T] && (i.style ?? (i.style = null));
|
||||
var n = q(r);
|
||||
for (const u in i) {
|
||||
let c = i[u];
|
||||
if (_ && u === "value" && c == null) {
|
||||
(r.value = r.__value = ""), (l[u] = c);
|
||||
continue;
|
||||
}
|
||||
if (u === "class") {
|
||||
var O = r.namespaceURI === "http://www.w3.org/1999/xhtml";
|
||||
_r(r, O, c, a, f == null ? void 0 : f[L], i[L]), (l[u] = c), (l[L] = i[L]);
|
||||
continue;
|
||||
}
|
||||
if (u === "style") {
|
||||
Sr(r, c, f == null ? void 0 : f[T], i[T]), (l[u] = c), (l[T] = i[T]);
|
||||
continue;
|
||||
}
|
||||
var S = l[u];
|
||||
if (!(c === S && !(c === void 0 && r.hasAttribute(u)))) {
|
||||
l[u] = c;
|
||||
var b = u[0] + u[1];
|
||||
if (b !== "$$")
|
||||
if (b === "on") {
|
||||
const A = {},
|
||||
E = "$$" + u;
|
||||
let g = u.slice(2);
|
||||
var I = cr(g);
|
||||
if ((tr(g) && ((g = g.slice(0, -7)), (A.capture = !0)), !I && S)) {
|
||||
if (c != null) continue;
|
||||
r.removeEventListener(g, l[E], A), (l[E] = null);
|
||||
}
|
||||
if (c != null)
|
||||
if (I) (r[`__${g}`] = c), ur([g]);
|
||||
else {
|
||||
let y = function (z) {
|
||||
l[u].call(this, z);
|
||||
};
|
||||
l[E] = sr(g, r, y, A);
|
||||
}
|
||||
else I && (r[`__${g}`] = void 0);
|
||||
} else if (u === "style") p(r, u, c);
|
||||
else if (u === "autofocus") er(r, !!c);
|
||||
else if (!e && (u === "__value" || (u === "value" && c != null))) r.value = r.__value = c;
|
||||
else if (u === "selected" && _) Or(r, c);
|
||||
else {
|
||||
var h = u;
|
||||
o || (h = or(h));
|
||||
var P = h === "defaultValue" || h === "defaultChecked";
|
||||
if (c == null && !e && !P)
|
||||
if (((s[u] = null), h === "value" || h === "checked")) {
|
||||
let A = r;
|
||||
const E = f === void 0;
|
||||
if (h === "value") {
|
||||
let g = A.defaultValue;
|
||||
A.removeAttribute(h), (A.defaultValue = g), (A.value = A.__value = E ? g : null);
|
||||
} else {
|
||||
let g = A.defaultChecked;
|
||||
A.removeAttribute(h), (A.defaultChecked = g), (A.checked = E ? g : !1);
|
||||
}
|
||||
} else r.removeAttribute(u);
|
||||
else P || (n.includes(h) && (e || typeof c != "string")) ? ((r[h] = c), h in s && (s[h] = lr)) : typeof c != "function" && p(r, h, c);
|
||||
}
|
||||
}
|
||||
}
|
||||
return v && R(!0), l;
|
||||
}
|
||||
function Ir(r, f, i = [], a = [], t, s = !1) {
|
||||
Q(i, a, (e) => {
|
||||
var o = void 0,
|
||||
v = {},
|
||||
l = r.nodeName === "SELECT",
|
||||
_ = !1;
|
||||
if (
|
||||
(D(() => {
|
||||
var n = f(...e.map(ir)),
|
||||
O = Er(r, o, n, t, s);
|
||||
_ && l && "value" in n && $(r, n.value);
|
||||
for (let b of Object.getOwnPropertySymbols(v)) n[b] || M(v[b]);
|
||||
for (let b of Object.getOwnPropertySymbols(n)) {
|
||||
var S = n[b];
|
||||
b.description === fr && (!o || S !== o[b]) && (v[b] && M(v[b]), (v[b] = H(() => dr(r, () => S)))), (O[b] = S);
|
||||
}
|
||||
o = O;
|
||||
}),
|
||||
l)
|
||||
) {
|
||||
var d = r;
|
||||
B(() => {
|
||||
$(d, o.value, !0), Nr(d);
|
||||
});
|
||||
}
|
||||
_ = !0;
|
||||
});
|
||||
}
|
||||
function j(r) {
|
||||
return r.__attributes ?? (r.__attributes = { [K]: r.nodeName.includes("-"), [Z]: r.namespaceURI === m });
|
||||
}
|
||||
var V = new Map();
|
||||
function q(r) {
|
||||
var f = V.get(r.nodeName);
|
||||
if (f) return f;
|
||||
V.set(r.nodeName, (f = []));
|
||||
for (var i, a = r, t = Element.prototype; t !== a; ) {
|
||||
i = ar(a);
|
||||
for (var s in i) i[s].set && f.push(s);
|
||||
a = x(a);
|
||||
}
|
||||
return f;
|
||||
}
|
||||
export { L as C, T as S, Ir as a, p as b, gr as c, Sr as d, dr as e, pr as f, br as g, Tr as r, _r as s };
|
||||
@@ -1,16 +0,0 @@
|
||||
(function () {
|
||||
try {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
e.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
d = new e.Error().stack;
|
||||
d && ((e._sentryDebugIds = e._sentryDebugIds || {}), (e._sentryDebugIds[d] = "de59cd8a-506f-43e6-a3d3-bc92e3ebaf74"), (e._sentryDebugIdIdentifier = "sentry-dbid-de59cd8a-506f-43e6-a3d3-bc92e3ebaf74"));
|
||||
})();
|
||||
} catch {}
|
||||
const f = "5";
|
||||
var n;
|
||||
typeof window < "u" && ((n = window.__svelte ?? (window.__svelte = {})).v ?? (n.v = new Set())).add(f);
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,50 @@
|
||||
import { s as t, p as n } from "./CyB--sFG.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
d = new e.Error().stack;
|
||||
d &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[d] = "a3dbed05-c198-4ed7-927f-c0428effe604"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-a3dbed05-c198-4ed7-927f-c0428effe604"));
|
||||
})();
|
||||
} catch {}
|
||||
const f = {
|
||||
get error() {
|
||||
return n.error;
|
||||
},
|
||||
get status() {
|
||||
return n.status;
|
||||
},
|
||||
get url() {
|
||||
return n.url;
|
||||
},
|
||||
};
|
||||
t.updated.check;
|
||||
const r = f;
|
||||
export { r as p };
|
||||
@@ -0,0 +1,781 @@
|
||||
import { g as j } from "./CV9xcpLq.js";
|
||||
import "./Ch2Ub8FX.js";
|
||||
import { o as _t } from "./DoL3ojdE.js";
|
||||
import {
|
||||
v as N,
|
||||
b as d,
|
||||
at as Ye,
|
||||
p as Ke,
|
||||
ay as Ve,
|
||||
a as me,
|
||||
c as We,
|
||||
f as k,
|
||||
d as t,
|
||||
r as o,
|
||||
s as n,
|
||||
n as X,
|
||||
t as y,
|
||||
ax as fe,
|
||||
y as mt,
|
||||
g as _,
|
||||
au as be,
|
||||
aw as L,
|
||||
u as _e,
|
||||
b4 as Ce,
|
||||
} from "./CMvZtFtm.js";
|
||||
import { s as w } from "./DVA6u9-7.js";
|
||||
import { r as ne, p as Ge, i as M } from "./BF50aS-j.js";
|
||||
import {
|
||||
b as O,
|
||||
f as gt,
|
||||
s as ae,
|
||||
r as Ie,
|
||||
g as Le,
|
||||
a as Je,
|
||||
e as xt,
|
||||
} from "./C5yqZvKC.js";
|
||||
import { b as ht } from "./0wx1llIh.js";
|
||||
import { g as Re } from "./CyB--sFG.js";
|
||||
import { p as Ae } from "./B6ZK_HZO.js";
|
||||
import {
|
||||
g as wt,
|
||||
u as se,
|
||||
t as re,
|
||||
a as $e,
|
||||
S as yt,
|
||||
P as Fe,
|
||||
} from "./BRM3t761.js";
|
||||
import { c as kt } from "./Dt3xBOvm.js";
|
||||
import { a as Ct } from "./D3yaN7Zl.js";
|
||||
(function () {
|
||||
try {
|
||||
var s =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
s.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var s =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
e = new s.Error().stack;
|
||||
e &&
|
||||
((s._sentryDebugIds = s._sentryDebugIds || {}),
|
||||
(s._sentryDebugIds[e] = "0fa0d6bf-0d42-46b8-b804-0b844b6532f6"),
|
||||
(s._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-0fa0d6bf-0d42-46b8-b804-0b844b6532f6"));
|
||||
})();
|
||||
} catch {}
|
||||
const It = () => "Add profile picture",
|
||||
Lt = () => "Adicionar imagem de perfil",
|
||||
wo = (s = {}, e = {}) => ((e.locale ?? j()) === "en" ? It() : Lt()),
|
||||
zt = () => "You gain 1 droplet per pixel painted and 500 droplets per level",
|
||||
Pt = () => "Você ganha 1 droplet por pixel pintado e 500 droplets por level",
|
||||
Xe = (s = {}, e = {}) => ((e.locale ?? j()) === "en" ? zt() : Pt()),
|
||||
qt = () => "Eraser",
|
||||
Tt = () => "Borracha",
|
||||
yo = (s = {}, e = {}) => ((e.locale ?? j()) === "en" ? qt() : Tt()),
|
||||
Dt = () => "Refund Policy",
|
||||
Mt = () => "Política de Reembolso",
|
||||
Oe = (s = {}, e = {}) => ((e.locale ?? j()) === "en" ? Dt() : Mt()),
|
||||
St = () => "For refund requests and processing details, please see our",
|
||||
Et = () => "Para pedidos de reembolso, consulte nossa",
|
||||
je = (s = {}, e = {}) => ((e.locale ?? j()) === "en" ? St() : Et());
|
||||
var Bt = N(
|
||||
'<svg><path d="M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"></path></svg>'
|
||||
);
|
||||
function Ht(s, e) {
|
||||
let r = ne(e, ["$$slots", "$$events", "$$legacy"]);
|
||||
var a = Bt();
|
||||
O(a, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 -960 960 960",
|
||||
fill: "currentColor",
|
||||
...r,
|
||||
})),
|
||||
d(s, a);
|
||||
}
|
||||
function Ut() {
|
||||
return j();
|
||||
}
|
||||
function Ne(s) {
|
||||
return `${s}/terms/return${Ut() === "pt" ? "/pt" : ""}`;
|
||||
}
|
||||
var Zt = N(
|
||||
'<svg><path d="M480-100q-133 0-226.5-92T160-416q0-63 24.5-120.5T254-638l226-222 226 222q45 44 69.5 101.5T800-416q0 132-93.5 224T480-100Z"></path></svg>'
|
||||
);
|
||||
function ze(s, e) {
|
||||
let r = ne(e, ["$$slots", "$$events", "$$legacy"]);
|
||||
var a = Zt();
|
||||
O(a, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 -960 960 960",
|
||||
fill: "currentColor",
|
||||
...r,
|
||||
})),
|
||||
d(s, a);
|
||||
}
|
||||
var Rt = k(
|
||||
'<span class="btn btn-xs btn-circle btn-primary ml-0.5 size-5"><!></span>'
|
||||
),
|
||||
At = k(
|
||||
'<span class="flex items-center gap-1"><!> <span class="text-primary text-base font-semibold"> <span class="text-xs max-sm:hidden">Droplets</span></span> <!></span>'
|
||||
),
|
||||
Ft = k(
|
||||
'<button class="badge badge-lg border-base-content/10 right-tooltip cursor-pointer border-2 pl-1 pr-1"><!></button>'
|
||||
),
|
||||
Xt = k(
|
||||
'<span class="badge badge-lg border-base-content/10 right-tooltip border-2 pl-1 pr-2"><!></span>'
|
||||
);
|
||||
function Ot(s, e) {
|
||||
Ke(e, !0);
|
||||
const r = (i) => {
|
||||
var p = At(),
|
||||
f = t(p);
|
||||
ze(f, { class: "text-primary size-4.5" });
|
||||
var h = n(f, 2),
|
||||
S = t(h);
|
||||
X(), o(h);
|
||||
var C = n(h, 2);
|
||||
{
|
||||
var q = (E) => {
|
||||
var Q = Rt(),
|
||||
U = t(Q);
|
||||
Ht(U, { class: "size-4" }), o(Q), d(E, Q);
|
||||
};
|
||||
M(C, (E) => {
|
||||
a() && E(q);
|
||||
});
|
||||
}
|
||||
o(p),
|
||||
y((E) => w(S, `${E ?? ""} `), [() => e.value.toLocaleString("en-US")]),
|
||||
d(i, p);
|
||||
};
|
||||
let a = Ge(e, "button", 3, !0);
|
||||
var m = Ve(),
|
||||
u = me(m);
|
||||
{
|
||||
var b = (i) => {
|
||||
var p = Ft();
|
||||
p.__click = () => {
|
||||
wt.dropletsDialogOpen = !0;
|
||||
};
|
||||
var f = t(p);
|
||||
r(f), o(p), d(i, p);
|
||||
},
|
||||
c = (i) => {
|
||||
var p = Xt(),
|
||||
f = t(p);
|
||||
r(f), o(p), d(i, p);
|
||||
};
|
||||
M(u, (i) => {
|
||||
a() ? i(b) : i(c, !1);
|
||||
});
|
||||
}
|
||||
d(s, m), We();
|
||||
}
|
||||
Ye(["click"]);
|
||||
var jt = N(
|
||||
'<svg><path d="M880-720v480q0 33-23.5 56.5T800-160H160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720Zm-720 80h640v-80H160v80Zm0 160v240h640v-240H160Zm0 240v-480 480Z"></path></svg>'
|
||||
);
|
||||
function Nt(s, e) {
|
||||
let r = ne(e, ["$$slots", "$$events", "$$legacy"]);
|
||||
var a = jt();
|
||||
O(a, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
height: "24px",
|
||||
viewBox: "0 -960 960 960",
|
||||
width: "24px",
|
||||
fill: "currentColor",
|
||||
...r,
|
||||
})),
|
||||
d(s, a);
|
||||
}
|
||||
var Qt = N(
|
||||
'<svg><path fill="#4db6ac" d="M11.9,12h-0.68l8.04-8.04c2.62-2.61,6.86-2.61,9.48,0L36.78,12H36.1c-1.6,0-3.11,0.62-4.24,1.76 l-6.8,6.77c-0.59,0.59-1.53,0.59-2.12,0l-6.8-6.77C15.01,12.62,13.5,12,11.9,12z"></path><path fill="#4db6ac" d="M36.1,36h0.68l-8.04,8.04c-2.62,2.61-6.86,2.61-9.48,0L11.22,36h0.68c1.6,0,3.11-0.62,4.24-1.76 l6.8-6.77c0.59-0.59,1.53-0.59,2.12,0l6.8,6.77C32.99,35.38,34.5,36,36.1,36z"></path><path fill="#4db6ac" d="M44.04,28.74L38.78,34H36.1c-1.07,0-2.07-0.42-2.83-1.17l-6.8-6.78c-1.36-1.36-3.58-1.36-4.94,0 l-6.8,6.78C13.97,33.58,12.97,34,11.9,34H9.22l-5.26-5.26c-2.61-2.62-2.61-6.86,0-9.48L9.22,14h2.68c1.07,0,2.07,0.42,2.83,1.17 l6.8,6.78c0.68,0.68,1.58,1.02,2.47,1.02s1.79-0.34,2.47-1.02l6.8-6.78C34.03,14.42,35.03,14,36.1,14h2.68l5.26,5.26 C46.65,21.88,46.65,26.12,44.04,28.74z"></path></svg>'
|
||||
);
|
||||
function Qe(s, e) {
|
||||
let r = ne(e, ["$$slots", "$$events", "$$legacy"]);
|
||||
var a = Qt();
|
||||
O(a, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
x: "0px",
|
||||
y: "0px",
|
||||
width: "100",
|
||||
height: "100",
|
||||
viewBox: "0 0 48 48",
|
||||
...r,
|
||||
})),
|
||||
d(s, a);
|
||||
}
|
||||
var Yt = (s, e, r, a, m) => {
|
||||
_(e).show(),
|
||||
L(r, !0),
|
||||
$e
|
||||
.generatePixQrCode(a())
|
||||
.then((u) => {
|
||||
L(m, u, !0);
|
||||
})
|
||||
.catch((u) => {
|
||||
re.error(u.message);
|
||||
})
|
||||
.finally(() => {
|
||||
L(r, !1);
|
||||
});
|
||||
},
|
||||
Kt = k(
|
||||
'<div><div tabindex="0" class="btn btn-lg btn-primary h-10"> </div> <ul tabindex="0" class="dropdown-content menu bg-base-100 rounded-box z-1 border-base-content/20 m-1 w-max rounded-xl border p-2 shadow"><li><form method="POST"><input type="hidden" name="lookup_key"/> <button class="flex items-center gap-1.5"><!> <span>Cartão ou Boleto</span></button></form></li> <li><button class="flex items-center gap-1.5"><!> <span>Pix</span></button></li></ul></div>'
|
||||
),
|
||||
Vt = k(
|
||||
'<form method="POST"><input type="hidden" name="lookup_key"/> <button class="btn btn-lg btn-primary mt-3 h-10" type="submit"><!></button></form>'
|
||||
),
|
||||
Wt = k(
|
||||
'<div class="bg-base-300 flex flex-col items-center justify-center rounded-xl p-4"><p class="text-primary text-3xl font-bold"><!> <span> <span class="text-lg font-normal">Droplets</span></span></p> <p class="text-base-content/80 mt-0.5 text-center text-xs"><!> <span class="text-primary/80 font-medium"> </span></p> <!></div>'
|
||||
),
|
||||
Gt = k(
|
||||
'<div class="flex flex-col gap-4"><section><div class="flex items-center gap-1"><!> <h3 class="text-xl font-bold">Droplets</h3> <div class="ml-auto mr-4"><!></div></div> <p class="text-base-content/80 mt-1 text-sm"> </p></section> <section><div class="grid gap-3 sm:grid-cols-2"><!> <!> <!> <!> <!> <!></div> <p class="text-base-content/60 mt-4 text-center text-sm"> <a class="font-medium" target="_blank"> </a></p></section></div>'
|
||||
),
|
||||
Jt = (s, e) => {
|
||||
var r;
|
||||
navigator.clipboard.writeText(
|
||||
((r = _(e)) == null ? void 0 : r.pixCode) ?? ""
|
||||
),
|
||||
re.success("Código PIX copiado");
|
||||
},
|
||||
$t = async (s, e, r) => {
|
||||
var a, m, u;
|
||||
if (!_(e)) {
|
||||
re.info("Espere 1 minuto e recarrege a pagina");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
L(r, !0);
|
||||
const { paid: b } = await $e.getPixStatus(_(e).pixId);
|
||||
if (b) {
|
||||
const c = _(e).productId.toString(),
|
||||
i =
|
||||
(u =
|
||||
(m = (a = yt.products[c]) == null ? void 0 : a.items) == null
|
||||
? void 0
|
||||
: m[0]) == null
|
||||
? void 0
|
||||
: u.amount;
|
||||
await se.refresh(),
|
||||
i ? Re(`payment/success?droplets=${i}`) : Re("payment/success");
|
||||
} else
|
||||
re.info(
|
||||
"Pagamento ainda não recebido. Desculpe a demora, tente novamente em instantes.",
|
||||
{ duration: 1e5 }
|
||||
);
|
||||
} catch (b) {
|
||||
console.error(b),
|
||||
re.error(
|
||||
"Error ao atualizar o status do pix. Tente recarregar a página."
|
||||
);
|
||||
} finally {
|
||||
L(r, !1);
|
||||
}
|
||||
},
|
||||
eo = k(
|
||||
'<p class="text-base-content/80">Efetue o pagamento do PIX no valor de <span class="font-semibold"> </span></p> <section><div class="relative"><img class="pixelated w-70 aspect-square" alt="QR code PIX"/> <div class="center-absolute border-6 absolute size-[95%] border-black"></div></div></section> <section class="w-full"><span class="text-base-content/80 ml-4 text-sm font-semibold">Código</span> <div class="border-base-content/20 rounded-field flex w-full items-center gap-1 border-2 py-1.5 pl-4 pr-2.5"><input class="text-base-content/80 w-full min-w-10 grow text-sm font-medium" readonly=""/> <div class="h-10"><button class="btn btn-primary">Copiar</button></div></div></section> <section class="mt-2"><button class="btn btn-primary btn-lg">Fiz o pagamento</button></section>',
|
||||
1
|
||||
),
|
||||
to = k(
|
||||
'<div class="flex h-96 items-center justify-center"><span class="loading loading-spinner loading-xl"></span></div>'
|
||||
),
|
||||
oo = k(
|
||||
'<dialog class="modal !bg-black/90"><div class="modal-box max-h-11/12 w-11/12 max-w-2xl pb-4"><form method="dialog"><button class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2">✕</button></form> <!></div> <form method="dialog" class="modal-backdrop"><button> </button></form></dialog> <dialog class="modal !bg-black/90"><div class="modal-box max-h-11/12 w-11/12 max-w-lg"><form method="dialog"><button class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2">✕</button></form> <div class="flex h-full flex-col items-center gap-4"><section><div class="flex items-center gap-2"><!> <h3 class="text-4xl font-bold">PIX</h3></div></section> <!></div></div></dialog>',
|
||||
1
|
||||
);
|
||||
function ko(s, e) {
|
||||
Ke(e, !0);
|
||||
let r = Ge(e, "open", 15),
|
||||
a = be(!1);
|
||||
_t(() => {
|
||||
const l = (g) => {
|
||||
g.key === "Escape" && r(!1);
|
||||
};
|
||||
return (
|
||||
document.addEventListener("keydown", l),
|
||||
() => document.removeEventListener("keydown", l)
|
||||
);
|
||||
});
|
||||
const m = _e(() => {
|
||||
var l, g;
|
||||
return (
|
||||
((g = (l = se.data) == null ? void 0 : l.country) == null
|
||||
? void 0
|
||||
: g.toUpperCase()) === "BR"
|
||||
);
|
||||
}),
|
||||
u = _e(() => {
|
||||
var l, g;
|
||||
return (
|
||||
((g = (l = se.data) == null ? void 0 : l.country) == null
|
||||
? void 0
|
||||
: g.toUpperCase()) === "MX"
|
||||
);
|
||||
});
|
||||
let b = be(null),
|
||||
c = be(void 0),
|
||||
i = be(!1);
|
||||
var p = oo(),
|
||||
f = me(p),
|
||||
h = t(f),
|
||||
S = n(t(h), 2);
|
||||
{
|
||||
var C = (l) => {
|
||||
var g = Gt(),
|
||||
B = t(g),
|
||||
Z = t(B),
|
||||
le = t(Z);
|
||||
ze(le, { class: "text-primary size-6" });
|
||||
var R = n(le, 4),
|
||||
ie = t(R);
|
||||
{
|
||||
let z = _e(() => {
|
||||
var A;
|
||||
return ((A = se.data) == null ? void 0 : A.droplets) ?? 0;
|
||||
});
|
||||
Ot(ie, {
|
||||
get value() {
|
||||
return _(z);
|
||||
},
|
||||
button: !1,
|
||||
});
|
||||
}
|
||||
o(R), o(Z);
|
||||
var de = n(Z, 2),
|
||||
Y = t(de, !0);
|
||||
o(de), o(B);
|
||||
var K = n(B, 2);
|
||||
{
|
||||
const z = (A, v) => {
|
||||
let J = () => (v == null ? void 0 : v().droplets),
|
||||
$ = () => (v == null ? void 0 : v().bonus),
|
||||
he = () => (v == null ? void 0 : v().price),
|
||||
Se = () => (v == null ? void 0 : v().stripeLookupkey),
|
||||
nt = () => (v == null ? void 0 : v().productId),
|
||||
lt = () => (v == null ? void 0 : v().dropdownClass);
|
||||
var we = Wt(),
|
||||
ye = t(we),
|
||||
Ee = t(ye);
|
||||
ze(Ee, { class: "mb-1 inline size-7" });
|
||||
var Be = n(Ee, 2),
|
||||
it = t(Be);
|
||||
X(), o(Be), o(ye);
|
||||
var ke = n(ye, 2),
|
||||
He = t(ke);
|
||||
{
|
||||
var dt = (I) => {
|
||||
var x = Ce();
|
||||
y(
|
||||
(T) => w(x, `${T ?? ""} Droplets`),
|
||||
[() => J().toLocaleString("en-US")]
|
||||
),
|
||||
d(I, x);
|
||||
};
|
||||
M(He, (I) => {
|
||||
$() && I(dt);
|
||||
});
|
||||
}
|
||||
var Ue = n(He, 2),
|
||||
ct = t(Ue);
|
||||
o(Ue), o(ke);
|
||||
var pt = n(ke, 2);
|
||||
{
|
||||
var vt = (I) => {
|
||||
var x = Kt(),
|
||||
T = t(x),
|
||||
ee = t(T);
|
||||
o(T);
|
||||
var ve = n(T, 2),
|
||||
te = t(ve),
|
||||
F = t(te),
|
||||
P = t(F);
|
||||
Ie(P);
|
||||
var D = n(P, 2),
|
||||
oe = t(D);
|
||||
Nt(oe, { class: "inline size-5" }), X(2), o(D), o(F), o(te);
|
||||
var Ze = n(te, 2),
|
||||
ue = t(Ze);
|
||||
ue.__click = [Yt, b, a, nt, c];
|
||||
var ft = t(ue);
|
||||
Qe(ft, { class: "size-5" }),
|
||||
X(2),
|
||||
o(ue),
|
||||
o(Ze),
|
||||
o(ve),
|
||||
o(x),
|
||||
y(
|
||||
(bt) => {
|
||||
Je(x, 1, `dropdown mt-3 ${lt() ?? ""}`),
|
||||
w(ee, `R$${bt ?? ""}`),
|
||||
ae(
|
||||
F,
|
||||
"action",
|
||||
`${Fe}/payment/create-checkout-session`
|
||||
),
|
||||
Le(P, Se()),
|
||||
(D.disabled = _(a)),
|
||||
(ue.disabled = _(a));
|
||||
},
|
||||
[() => (he() * 4).toFixed(2).replace(".", ",")]
|
||||
),
|
||||
fe("submit", F, () => {
|
||||
L(a, !0), setTimeout(() => L(a, !1), 3e3);
|
||||
}),
|
||||
d(I, x);
|
||||
},
|
||||
ut = (I) => {
|
||||
var x = Vt(),
|
||||
T = t(x);
|
||||
Ie(T);
|
||||
var ee = n(T, 2),
|
||||
ve = t(ee);
|
||||
{
|
||||
var te = (P) => {
|
||||
var D = Ce();
|
||||
y(
|
||||
(oe) => w(D, `MX$ ${oe ?? ""}`),
|
||||
[() => (he() * 18).toFixed(2)]
|
||||
),
|
||||
d(P, D);
|
||||
},
|
||||
F = (P) => {
|
||||
var D = Ce();
|
||||
y((oe) => w(D, `$${oe ?? ""}`), [() => he().toFixed(2)]),
|
||||
d(P, D);
|
||||
};
|
||||
M(ve, (P) => {
|
||||
_(u) ? P(te) : P(F, !1);
|
||||
});
|
||||
}
|
||||
o(ee),
|
||||
o(x),
|
||||
y(() => {
|
||||
ae(x, "action", `${Fe}/payment/create-checkout-session`),
|
||||
Le(T, Se()),
|
||||
(ee.disabled = _(a));
|
||||
}),
|
||||
fe("submit", x, () => {
|
||||
L(a, !0), setTimeout(() => L(a, !1), 3e3);
|
||||
}),
|
||||
d(I, x);
|
||||
};
|
||||
M(pt, (I) => {
|
||||
_(m) ? I(vt) : I(ut, !1);
|
||||
});
|
||||
}
|
||||
o(we),
|
||||
y(
|
||||
(I, x) => {
|
||||
w(it, `${I ?? ""} `), w(ct, `+${x ?? ""} bonus`);
|
||||
},
|
||||
[
|
||||
() => (J() + $()).toLocaleString("en-US"),
|
||||
() => $().toLocaleString("en-US"),
|
||||
]
|
||||
),
|
||||
d(A, we);
|
||||
};
|
||||
var H = t(K),
|
||||
V = t(H);
|
||||
z(V, () => ({
|
||||
price: 5,
|
||||
droplets: 25e3,
|
||||
bonus: 0,
|
||||
stripeLookupkey: "droplets_5",
|
||||
productId: 10,
|
||||
dropdownClass: "dropdown-center",
|
||||
}));
|
||||
var ce = n(V, 2);
|
||||
z(ce, () => ({
|
||||
price: 15,
|
||||
droplets: 75e3,
|
||||
bonus: 3750,
|
||||
stripeLookupkey: "droplets_15",
|
||||
productId: 20,
|
||||
dropdownClass: "dropdown-center",
|
||||
}));
|
||||
var W = n(ce, 2);
|
||||
z(W, () => ({
|
||||
price: 30,
|
||||
droplets: 15e4,
|
||||
bonus: 15e3,
|
||||
stripeLookupkey: "droplets_30",
|
||||
productId: 30,
|
||||
dropdownClass: "dropdown-center",
|
||||
}));
|
||||
var G = n(W, 2);
|
||||
z(G, () => ({
|
||||
price: 50,
|
||||
droplets: 25e4,
|
||||
bonus: 37500,
|
||||
stripeLookupkey: "droplets_50",
|
||||
productId: 40,
|
||||
dropdownClass: "dropdown-center",
|
||||
}));
|
||||
var pe = n(G, 2);
|
||||
z(pe, () => ({
|
||||
price: 75,
|
||||
droplets: 375e3,
|
||||
bonus: 75e3,
|
||||
stripeLookupkey: "droplets_75",
|
||||
productId: 50,
|
||||
dropdownClass: "dropdown-center",
|
||||
}));
|
||||
var st = n(pe, 2);
|
||||
z(st, () => ({
|
||||
price: 100,
|
||||
droplets: 5e5,
|
||||
bonus: 125e3,
|
||||
stripeLookupkey: "droplets_100",
|
||||
productId: 60,
|
||||
dropdownClass: "max-sm:dropdown-top dropdown-center",
|
||||
})),
|
||||
o(H);
|
||||
var De = n(H, 2),
|
||||
Me = t(De),
|
||||
xe = n(Me),
|
||||
rt = t(xe, !0);
|
||||
o(xe),
|
||||
o(De),
|
||||
o(K),
|
||||
y(
|
||||
(A, v, J, $) => {
|
||||
w(Me, `${v ?? ""} `), ae(xe, "href", J), w(rt, $);
|
||||
},
|
||||
[() => Xe(), () => je(), () => Ne(Ae.url.origin), () => Oe()]
|
||||
);
|
||||
}
|
||||
o(g),
|
||||
y(
|
||||
(z, A, v, J) => w(Y, z),
|
||||
[() => Xe(), () => je(), () => Ne(Ae.url.origin), () => Oe()]
|
||||
),
|
||||
d(l, g);
|
||||
};
|
||||
M(S, (l) => {
|
||||
se.data && l(C);
|
||||
});
|
||||
}
|
||||
o(h);
|
||||
var q = n(h, 2),
|
||||
E = t(q),
|
||||
Q = t(E, !0);
|
||||
o(E),
|
||||
o(q),
|
||||
o(f),
|
||||
gt(f, () => (l) => {
|
||||
mt(() => {
|
||||
r() ? l.show() : l.close();
|
||||
});
|
||||
});
|
||||
var U = n(f, 2),
|
||||
Pe = t(U),
|
||||
qe = n(t(Pe), 2),
|
||||
ge = t(qe),
|
||||
Te = t(ge),
|
||||
et = t(Te);
|
||||
Qe(et, { class: "size-10" }), X(2), o(Te), o(ge);
|
||||
var tt = n(ge, 2);
|
||||
{
|
||||
var ot = (l) => {
|
||||
var g = eo(),
|
||||
B = me(g),
|
||||
Z = n(t(B)),
|
||||
le = t(Z);
|
||||
o(Z), o(B);
|
||||
var R = n(B, 2),
|
||||
ie = t(R),
|
||||
de = t(ie);
|
||||
X(2), o(ie), o(R);
|
||||
var Y = n(R, 2),
|
||||
K = n(t(Y), 2),
|
||||
H = t(K);
|
||||
Ie(H);
|
||||
var V = n(H, 2),
|
||||
ce = t(V);
|
||||
(ce.__click = [Jt, c]), o(V), o(K), o(Y);
|
||||
var W = n(Y, 2),
|
||||
G = t(W);
|
||||
(G.__click = [$t, c, i]),
|
||||
o(W),
|
||||
y(
|
||||
(pe) => {
|
||||
w(le, `R$${pe ?? ""}`),
|
||||
ae(de, "src", _(c).qrCode),
|
||||
Le(H, _(c).pixCode),
|
||||
(G.disabled = _(i));
|
||||
},
|
||||
[() => (_(c).price / 100).toFixed(2).replace(".", ",")]
|
||||
),
|
||||
d(l, g);
|
||||
},
|
||||
at = (l) => {
|
||||
var g = to();
|
||||
d(l, g);
|
||||
};
|
||||
M(tt, (l) => {
|
||||
_(c) ? l(ot) : l(at, !1);
|
||||
});
|
||||
}
|
||||
o(qe),
|
||||
o(Pe),
|
||||
o(U),
|
||||
ht(
|
||||
U,
|
||||
(l) => L(b, l),
|
||||
() => _(b)
|
||||
),
|
||||
y((l) => w(Q, l), [() => kt()]),
|
||||
fe("close", f, () => {
|
||||
r(!1);
|
||||
}),
|
||||
fe("close", U, () => {
|
||||
setTimeout(() => {
|
||||
L(c, void 0);
|
||||
}, 300);
|
||||
}),
|
||||
d(s, p),
|
||||
We();
|
||||
}
|
||||
Ye(["click"]);
|
||||
var ao = N(
|
||||
'<svg><path d="M690-240h190v80H610l80-80Zm-500 80-85-85q-23-23-23.5-57t22.5-58l440-456q23-24 56.5-24t56.5 23l199 199q23 23 23 57t-23 57L520-160H190Z"></path></svg>'
|
||||
),
|
||||
so = N(
|
||||
'<svg><path d="M690-240h190v80H610l80-80Zm-500 80-85-85q-23-23-23.5-57t22.5-58l440-456q23-24 56.5-24t56.5 23l199 199q23 23 23 57t-23 57L520-160H190Zm296-80 314-322-198-198-442 456 64 64h262Zm-6-240Z"></path></svg>'
|
||||
);
|
||||
function Co(s, e) {
|
||||
let r = ne(e, ["$$slots", "$$events", "$$legacy", "filled"]);
|
||||
var a = Ve(),
|
||||
m = me(a);
|
||||
{
|
||||
var u = (c) => {
|
||||
var i = ao();
|
||||
O(i, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 -960 960 960",
|
||||
fill: "currentColor",
|
||||
...r,
|
||||
})),
|
||||
d(c, i);
|
||||
},
|
||||
b = (c) => {
|
||||
var i = so();
|
||||
O(i, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 -960 960 960",
|
||||
fill: "currentColor",
|
||||
...r,
|
||||
})),
|
||||
d(c, i);
|
||||
};
|
||||
M(m, (c) => {
|
||||
e.filled ? c(u) : c(b, !1);
|
||||
});
|
||||
}
|
||||
d(s, a);
|
||||
}
|
||||
function Io([s, e], [r, a]) {
|
||||
(s = Math.floor(s)),
|
||||
(e = Math.floor(e)),
|
||||
(r = Math.floor(r)),
|
||||
(a = Math.floor(a));
|
||||
const m = [],
|
||||
u = Math.abs(r - s),
|
||||
b = Math.abs(a - e),
|
||||
c = s < r ? 1 : -1,
|
||||
i = e < a ? 1 : -1;
|
||||
let p = u - b,
|
||||
f = s,
|
||||
h = e;
|
||||
for (; m.push([f, h]), !(f === r && h === a); ) {
|
||||
const S = 2 * p;
|
||||
S > -b && ((p -= b), (f += c)), S < u && ((p += u), (h += i));
|
||||
}
|
||||
return m;
|
||||
}
|
||||
var ro = k('<img class="pixelated bg-base-200" alt="User profile"/>'),
|
||||
no = k(
|
||||
'<div class="relative w-max"><div class="bg-base-content/20 size-12 rounded-full"></div> <div class="level-fill center-absolute absolute size-12 rotate-[215deg] rounded-full svelte-zhy0pt"></div> <div class="avatar center-absolute absolute"><div class="size-10 rounded-full"><!></div></div> <div> </div></div>'
|
||||
);
|
||||
function Lo(s, e) {
|
||||
const r = _e(() => (e.level % 1) * 360);
|
||||
var a = no(),
|
||||
m = n(t(a), 2),
|
||||
u = n(m, 2),
|
||||
b = t(u),
|
||||
c = t(b);
|
||||
{
|
||||
var i = (C) => {
|
||||
Ct(C, {
|
||||
get userId() {
|
||||
return e.userId;
|
||||
},
|
||||
});
|
||||
},
|
||||
p = (C) => {
|
||||
var q = ro();
|
||||
y(() => ae(q, "src", e.pictureUrl)), d(C, q);
|
||||
};
|
||||
M(c, (C) => {
|
||||
e.pictureUrl ? C(p, !1) : C(i);
|
||||
});
|
||||
}
|
||||
o(b), o(u);
|
||||
var f = n(u, 2);
|
||||
let h;
|
||||
var S = t(f, !0);
|
||||
o(f),
|
||||
o(a),
|
||||
y(
|
||||
(C, q) => {
|
||||
xt(m, `--angle: ${_(r) ?? ""}deg; --color: var(--color-secondary)`),
|
||||
(h = Je(
|
||||
f,
|
||||
1,
|
||||
"text-primary-content bg-secondary absolute bottom-0 flex items-center justify-center rounded-full px-[5px] py-0 text-xs font-bold",
|
||||
null,
|
||||
h,
|
||||
C
|
||||
)),
|
||||
w(S, q);
|
||||
},
|
||||
[
|
||||
() => ({ "left-0": e.level > 99, "-left-1": e.level > 99 }),
|
||||
() => Math.floor(e.level),
|
||||
]
|
||||
),
|
||||
d(s, a);
|
||||
}
|
||||
export {
|
||||
Ht as A,
|
||||
Ot as D,
|
||||
Co as I,
|
||||
Lo as P,
|
||||
ze as a,
|
||||
ko as b,
|
||||
wo as c,
|
||||
Ne as d,
|
||||
yo as e,
|
||||
Io as r,
|
||||
};
|
||||
@@ -0,0 +1,359 @@
|
||||
import {
|
||||
F as D,
|
||||
aY as L,
|
||||
aZ as q,
|
||||
i as B,
|
||||
h as F,
|
||||
e as $,
|
||||
j as z,
|
||||
k as M,
|
||||
l as U,
|
||||
m as j,
|
||||
o as P,
|
||||
aM as Y,
|
||||
q as Z,
|
||||
ab as G,
|
||||
E as K,
|
||||
a_ as W,
|
||||
a$ as X,
|
||||
ac as H,
|
||||
z as J,
|
||||
b0 as Q,
|
||||
b1 as V,
|
||||
b2 as tt,
|
||||
b3 as S,
|
||||
aX as at,
|
||||
L as et,
|
||||
az as y,
|
||||
} from "./CMvZtFtm.js";
|
||||
import { a as it } from "./DVA6u9-7.js";
|
||||
import { c as rt } from "./CXkjfmFU.js";
|
||||
(function () {
|
||||
try {
|
||||
var t =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
t.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var t =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
a = new t.Error().stack;
|
||||
a &&
|
||||
((t._sentryDebugIds = t._sentryDebugIds || {}),
|
||||
(t._sentryDebugIds[a] = "82bb617f-9edb-4d1e-8e85-ab94e8601318"),
|
||||
(t._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-82bb617f-9edb-4d1e-8e85-ab94e8601318"));
|
||||
})();
|
||||
} catch {}
|
||||
function vt(t, a, e) {
|
||||
F && $();
|
||||
var r = t,
|
||||
i = Y,
|
||||
f,
|
||||
n,
|
||||
o = null,
|
||||
v = D() ? L : q;
|
||||
function h() {
|
||||
f && Z(f),
|
||||
o !== null && (o.lastChild.remove(), r.before(o), (o = null)),
|
||||
(f = n);
|
||||
}
|
||||
B(() => {
|
||||
if (v(i, (i = a()))) {
|
||||
var c = r,
|
||||
u = j();
|
||||
u && ((o = document.createDocumentFragment()), o.append((c = z()))),
|
||||
(n = M(() => e(c))),
|
||||
u ? U.add_callback(h) : h();
|
||||
}
|
||||
}),
|
||||
F && (r = P);
|
||||
}
|
||||
const nt = () => performance.now(),
|
||||
w = {
|
||||
tick: (t) => requestAnimationFrame(t),
|
||||
now: () => nt(),
|
||||
tasks: new Set(),
|
||||
};
|
||||
function O() {
|
||||
const t = w.now();
|
||||
w.tasks.forEach((a) => {
|
||||
a.c(t) || (w.tasks.delete(a), a.f());
|
||||
}),
|
||||
w.tasks.size !== 0 && w.tick(O);
|
||||
}
|
||||
function ft(t) {
|
||||
let a;
|
||||
return (
|
||||
w.tasks.size === 0 && w.tick(O),
|
||||
{
|
||||
promise: new Promise((e) => {
|
||||
w.tasks.add((a = { c: t, f: e }));
|
||||
}),
|
||||
abort() {
|
||||
w.tasks.delete(a);
|
||||
},
|
||||
}
|
||||
);
|
||||
}
|
||||
function E(t, a) {
|
||||
S(() => {
|
||||
t.dispatchEvent(new CustomEvent(a));
|
||||
});
|
||||
}
|
||||
function st(t) {
|
||||
if (t === "float") return "cssFloat";
|
||||
if (t === "offset") return "cssOffset";
|
||||
if (t.startsWith("--")) return t;
|
||||
const a = t.split("-");
|
||||
return a.length === 1
|
||||
? a[0]
|
||||
: a[0] +
|
||||
a
|
||||
.slice(1)
|
||||
.map((e) => e[0].toUpperCase() + e.slice(1))
|
||||
.join("");
|
||||
}
|
||||
function x(t) {
|
||||
const a = {},
|
||||
e = t.split(";");
|
||||
for (const r of e) {
|
||||
const [i, f] = r.split(":");
|
||||
if (!i || f === void 0) break;
|
||||
const n = st(i.trim());
|
||||
a[n] = f.trim();
|
||||
}
|
||||
return a;
|
||||
}
|
||||
const ot = (t) => t;
|
||||
function ht(t, a, e) {
|
||||
var r = rt,
|
||||
i,
|
||||
f,
|
||||
n,
|
||||
o = null;
|
||||
r.a ??
|
||||
(r.a = {
|
||||
element: t,
|
||||
measure() {
|
||||
i = this.element.getBoundingClientRect();
|
||||
},
|
||||
apply() {
|
||||
if (
|
||||
(n == null || n.abort(),
|
||||
(f = this.element.getBoundingClientRect()),
|
||||
i.left !== f.left ||
|
||||
i.right !== f.right ||
|
||||
i.top !== f.top ||
|
||||
i.bottom !== f.bottom)
|
||||
) {
|
||||
const v = a()(
|
||||
this.element,
|
||||
{ from: i, to: f },
|
||||
e == null ? void 0 : e()
|
||||
);
|
||||
n = k(this.element, v, void 0, 1, () => {
|
||||
n == null || n.abort(), (n = void 0);
|
||||
});
|
||||
}
|
||||
},
|
||||
fix() {
|
||||
if (!t.getAnimations().length) {
|
||||
var { position: v, width: h, height: c } = getComputedStyle(t);
|
||||
if (v !== "absolute" && v !== "fixed") {
|
||||
var u = t.style;
|
||||
(o = {
|
||||
position: u.position,
|
||||
width: u.width,
|
||||
height: u.height,
|
||||
transform: u.transform,
|
||||
}),
|
||||
(u.position = "absolute"),
|
||||
(u.width = h),
|
||||
(u.height = c);
|
||||
var s = t.getBoundingClientRect();
|
||||
if (i.left !== s.left || i.top !== s.top) {
|
||||
var d = `translate(${i.left - s.left}px, ${i.top - s.top}px)`;
|
||||
u.transform = u.transform ? `${u.transform} ${d}` : d;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
unfix() {
|
||||
if (o) {
|
||||
var v = t.style;
|
||||
(v.position = o.position),
|
||||
(v.width = o.width),
|
||||
(v.height = o.height),
|
||||
(v.transform = o.transform);
|
||||
}
|
||||
},
|
||||
}),
|
||||
(r.a.element = t);
|
||||
}
|
||||
function lt(t, a, e, r) {
|
||||
var i = (t & V) !== 0,
|
||||
f = (t & tt) !== 0,
|
||||
n = i && f,
|
||||
o = (t & Q) !== 0,
|
||||
v = n ? "both" : i ? "in" : "out",
|
||||
h,
|
||||
c = a.inert,
|
||||
u = a.style.overflow,
|
||||
s,
|
||||
d;
|
||||
function g() {
|
||||
return S(
|
||||
() =>
|
||||
h ?? (h = e()(a, (r == null ? void 0 : r()) ?? {}, { direction: v }))
|
||||
);
|
||||
}
|
||||
var l = {
|
||||
is_global: o,
|
||||
in() {
|
||||
var _;
|
||||
if (((a.inert = c), !i)) {
|
||||
d == null || d.abort(),
|
||||
(_ = d == null ? void 0 : d.reset) == null || _.call(d);
|
||||
return;
|
||||
}
|
||||
f || s == null || s.abort(),
|
||||
E(a, "introstart"),
|
||||
(s = k(a, g(), d, 1, () => {
|
||||
E(a, "introend"),
|
||||
s == null || s.abort(),
|
||||
(s = h = void 0),
|
||||
(a.style.overflow = u);
|
||||
}));
|
||||
},
|
||||
out(_) {
|
||||
if (!f) {
|
||||
_ == null || _(), (h = void 0);
|
||||
return;
|
||||
}
|
||||
(a.inert = !0),
|
||||
E(a, "outrostart"),
|
||||
(d = k(a, g(), s, 0, () => {
|
||||
E(a, "outroend"), _ == null || _();
|
||||
}));
|
||||
},
|
||||
stop: () => {
|
||||
s == null || s.abort(), d == null || d.abort();
|
||||
},
|
||||
},
|
||||
p = G;
|
||||
if (((p.transitions ?? (p.transitions = [])).push(l), i && it)) {
|
||||
var m = o;
|
||||
if (!m) {
|
||||
for (var b = p.parent; b && (b.f & K) !== 0; )
|
||||
for (; (b = b.parent) && (b.f & W) === 0; );
|
||||
m = !b || (b.f & X) !== 0;
|
||||
}
|
||||
m &&
|
||||
H(() => {
|
||||
J(() => l.in());
|
||||
});
|
||||
}
|
||||
}
|
||||
function k(t, a, e, r, i) {
|
||||
var f = r === 1;
|
||||
if (at(a)) {
|
||||
var n,
|
||||
o = !1;
|
||||
return (
|
||||
et(() => {
|
||||
if (!o) {
|
||||
var p = a({ direction: f ? "in" : "out" });
|
||||
n = k(t, p, e, r, i);
|
||||
}
|
||||
}),
|
||||
{
|
||||
abort: () => {
|
||||
(o = !0), n == null || n.abort();
|
||||
},
|
||||
deactivate: () => n.deactivate(),
|
||||
reset: () => n.reset(),
|
||||
t: () => n.t(),
|
||||
}
|
||||
);
|
||||
}
|
||||
if ((e == null || e.deactivate(), !(a != null && a.duration)))
|
||||
return i(), { abort: y, deactivate: y, reset: y, t: () => r };
|
||||
const { delay: v = 0, css: h, tick: c, easing: u = ot } = a;
|
||||
var s = [];
|
||||
if (f && e === void 0 && (c && c(0, 1), h)) {
|
||||
var d = x(h(0, 1));
|
||||
s.push(d, d);
|
||||
}
|
||||
var g = () => 1 - r,
|
||||
l = t.animate(s, { duration: v, fill: "forwards" });
|
||||
return (
|
||||
(l.onfinish = () => {
|
||||
l.cancel();
|
||||
var p = (e == null ? void 0 : e.t()) ?? 1 - r;
|
||||
e == null || e.abort();
|
||||
var m = r - p,
|
||||
b = a.duration * Math.abs(m),
|
||||
_ = [];
|
||||
if (b > 0) {
|
||||
var N = !1;
|
||||
if (h)
|
||||
for (
|
||||
var A = Math.ceil(b / 16.666666666666668), I = 0;
|
||||
I <= A;
|
||||
I += 1
|
||||
) {
|
||||
var C = p + m * u(I / A),
|
||||
R = x(h(C, 1 - C));
|
||||
_.push(R), N || (N = R.overflow === "hidden");
|
||||
}
|
||||
N && (t.style.overflow = "hidden"),
|
||||
(g = () => {
|
||||
var T = l.currentTime;
|
||||
return p + m * u(T / b);
|
||||
}),
|
||||
c &&
|
||||
ft(() => {
|
||||
if (l.playState !== "running") return !1;
|
||||
var T = g();
|
||||
return c(T, 1 - T), !0;
|
||||
});
|
||||
}
|
||||
(l = t.animate(_, { duration: b, fill: "forwards" })),
|
||||
(l.onfinish = () => {
|
||||
(g = () => r), c == null || c(r, 1 - r), i();
|
||||
});
|
||||
}),
|
||||
{
|
||||
abort: () => {
|
||||
l && (l.cancel(), (l.effect = null), (l.onfinish = y));
|
||||
},
|
||||
deactivate: () => {
|
||||
i = y;
|
||||
},
|
||||
reset: () => {
|
||||
r === 0 && (c == null || c(1, 0));
|
||||
},
|
||||
t: () => g(),
|
||||
}
|
||||
);
|
||||
}
|
||||
export { ht as a, vt as k, lt as t };
|
||||
@@ -1,294 +0,0 @@
|
||||
import {
|
||||
F as D,
|
||||
aY as L,
|
||||
aZ as q,
|
||||
i as B,
|
||||
h as F,
|
||||
e as $,
|
||||
j as z,
|
||||
k as M,
|
||||
l as U,
|
||||
m as j,
|
||||
o as P,
|
||||
aM as Y,
|
||||
q as Z,
|
||||
ad as G,
|
||||
E as K,
|
||||
a_ as W,
|
||||
a$ as X,
|
||||
M as H,
|
||||
z as J,
|
||||
b0 as Q,
|
||||
b1 as V,
|
||||
b2 as tt,
|
||||
b3 as S,
|
||||
aX as at,
|
||||
L as it,
|
||||
az as y,
|
||||
} from "./BDALf20I.js";
|
||||
import { a as et } from "./4k6DpCgf.js";
|
||||
import { c as rt } from "./CZW2bcQi.js";
|
||||
(function () {
|
||||
try {
|
||||
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
t.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
a = new t.Error().stack;
|
||||
a && ((t._sentryDebugIds = t._sentryDebugIds || {}), (t._sentryDebugIds[a] = "ffd23b39-2a11-4572-8955-38bdff19f9fa"), (t._sentryDebugIdIdentifier = "sentry-dbid-ffd23b39-2a11-4572-8955-38bdff19f9fa"));
|
||||
})();
|
||||
} catch {}
|
||||
function vt(t, a, i) {
|
||||
F && $();
|
||||
var r = t,
|
||||
e = Y,
|
||||
f,
|
||||
n,
|
||||
o = null,
|
||||
v = D() ? L : q;
|
||||
function h() {
|
||||
f && Z(f), o !== null && (o.lastChild.remove(), r.before(o), (o = null)), (f = n);
|
||||
}
|
||||
B(() => {
|
||||
if (v(e, (e = a()))) {
|
||||
var c = r,
|
||||
u = j();
|
||||
u && ((o = document.createDocumentFragment()), o.append((c = z()))), (n = M(() => i(c))), u ? U.add_callback(h) : h();
|
||||
}
|
||||
}),
|
||||
F && (r = P);
|
||||
}
|
||||
const nt = () => performance.now(),
|
||||
w = { tick: (t) => requestAnimationFrame(t), now: () => nt(), tasks: new Set() };
|
||||
function O() {
|
||||
const t = w.now();
|
||||
w.tasks.forEach((a) => {
|
||||
a.c(t) || (w.tasks.delete(a), a.f());
|
||||
}),
|
||||
w.tasks.size !== 0 && w.tick(O);
|
||||
}
|
||||
function ft(t) {
|
||||
let a;
|
||||
return (
|
||||
w.tasks.size === 0 && w.tick(O),
|
||||
{
|
||||
promise: new Promise((i) => {
|
||||
w.tasks.add((a = { c: t, f: i }));
|
||||
}),
|
||||
abort() {
|
||||
w.tasks.delete(a);
|
||||
},
|
||||
}
|
||||
);
|
||||
}
|
||||
function E(t, a) {
|
||||
S(() => {
|
||||
t.dispatchEvent(new CustomEvent(a));
|
||||
});
|
||||
}
|
||||
function st(t) {
|
||||
if (t === "float") return "cssFloat";
|
||||
if (t === "offset") return "cssOffset";
|
||||
if (t.startsWith("--")) return t;
|
||||
const a = t.split("-");
|
||||
return a.length === 1
|
||||
? a[0]
|
||||
: a[0] +
|
||||
a
|
||||
.slice(1)
|
||||
.map((i) => i[0].toUpperCase() + i.slice(1))
|
||||
.join("");
|
||||
}
|
||||
function x(t) {
|
||||
const a = {},
|
||||
i = t.split(";");
|
||||
for (const r of i) {
|
||||
const [e, f] = r.split(":");
|
||||
if (!e || f === void 0) break;
|
||||
const n = st(e.trim());
|
||||
a[n] = f.trim();
|
||||
}
|
||||
return a;
|
||||
}
|
||||
const ot = (t) => t;
|
||||
function ht(t, a, i) {
|
||||
var r = rt,
|
||||
e,
|
||||
f,
|
||||
n,
|
||||
o = null;
|
||||
r.a ??
|
||||
(r.a = {
|
||||
element: t,
|
||||
measure() {
|
||||
e = this.element.getBoundingClientRect();
|
||||
},
|
||||
apply() {
|
||||
if ((n == null || n.abort(), (f = this.element.getBoundingClientRect()), e.left !== f.left || e.right !== f.right || e.top !== f.top || e.bottom !== f.bottom)) {
|
||||
const v = a()(this.element, { from: e, to: f }, i == null ? void 0 : i());
|
||||
n = k(this.element, v, void 0, 1, () => {
|
||||
n == null || n.abort(), (n = void 0);
|
||||
});
|
||||
}
|
||||
},
|
||||
fix() {
|
||||
if (!t.getAnimations().length) {
|
||||
var { position: v, width: h, height: c } = getComputedStyle(t);
|
||||
if (v !== "absolute" && v !== "fixed") {
|
||||
var u = t.style;
|
||||
(o = { position: u.position, width: u.width, height: u.height, transform: u.transform }), (u.position = "absolute"), (u.width = h), (u.height = c);
|
||||
var s = t.getBoundingClientRect();
|
||||
if (e.left !== s.left || e.top !== s.top) {
|
||||
var d = `translate(${e.left - s.left}px, ${e.top - s.top}px)`;
|
||||
u.transform = u.transform ? `${u.transform} ${d}` : d;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
unfix() {
|
||||
if (o) {
|
||||
var v = t.style;
|
||||
(v.position = o.position), (v.width = o.width), (v.height = o.height), (v.transform = o.transform);
|
||||
}
|
||||
},
|
||||
}),
|
||||
(r.a.element = t);
|
||||
}
|
||||
function lt(t, a, i, r) {
|
||||
var e = (t & V) !== 0,
|
||||
f = (t & tt) !== 0,
|
||||
n = e && f,
|
||||
o = (t & Q) !== 0,
|
||||
v = n ? "both" : e ? "in" : "out",
|
||||
h,
|
||||
c = a.inert,
|
||||
u = a.style.overflow,
|
||||
s,
|
||||
d;
|
||||
function g() {
|
||||
return S(() => h ?? (h = i()(a, (r == null ? void 0 : r()) ?? {}, { direction: v })));
|
||||
}
|
||||
var l = {
|
||||
is_global: o,
|
||||
in() {
|
||||
var _;
|
||||
if (((a.inert = c), !e)) {
|
||||
d == null || d.abort(), (_ = d == null ? void 0 : d.reset) == null || _.call(d);
|
||||
return;
|
||||
}
|
||||
f || s == null || s.abort(),
|
||||
E(a, "introstart"),
|
||||
(s = k(a, g(), d, 1, () => {
|
||||
E(a, "introend"), s == null || s.abort(), (s = h = void 0), (a.style.overflow = u);
|
||||
}));
|
||||
},
|
||||
out(_) {
|
||||
if (!f) {
|
||||
_ == null || _(), (h = void 0);
|
||||
return;
|
||||
}
|
||||
(a.inert = !0),
|
||||
E(a, "outrostart"),
|
||||
(d = k(a, g(), s, 0, () => {
|
||||
E(a, "outroend"), _ == null || _();
|
||||
}));
|
||||
},
|
||||
stop: () => {
|
||||
s == null || s.abort(), d == null || d.abort();
|
||||
},
|
||||
},
|
||||
p = G;
|
||||
if (((p.transitions ?? (p.transitions = [])).push(l), e && et)) {
|
||||
var m = o;
|
||||
if (!m) {
|
||||
for (var b = p.parent; b && (b.f & K) !== 0; ) for (; (b = b.parent) && (b.f & W) === 0; );
|
||||
m = !b || (b.f & X) !== 0;
|
||||
}
|
||||
m &&
|
||||
H(() => {
|
||||
J(() => l.in());
|
||||
});
|
||||
}
|
||||
}
|
||||
function k(t, a, i, r, e) {
|
||||
var f = r === 1;
|
||||
if (at(a)) {
|
||||
var n,
|
||||
o = !1;
|
||||
return (
|
||||
it(() => {
|
||||
if (!o) {
|
||||
var p = a({ direction: f ? "in" : "out" });
|
||||
n = k(t, p, i, r, e);
|
||||
}
|
||||
}),
|
||||
{
|
||||
abort: () => {
|
||||
(o = !0), n == null || n.abort();
|
||||
},
|
||||
deactivate: () => n.deactivate(),
|
||||
reset: () => n.reset(),
|
||||
t: () => n.t(),
|
||||
}
|
||||
);
|
||||
}
|
||||
if ((i == null || i.deactivate(), !(a != null && a.duration))) return e(), { abort: y, deactivate: y, reset: y, t: () => r };
|
||||
const { delay: v = 0, css: h, tick: c, easing: u = ot } = a;
|
||||
var s = [];
|
||||
if (f && i === void 0 && (c && c(0, 1), h)) {
|
||||
var d = x(h(0, 1));
|
||||
s.push(d, d);
|
||||
}
|
||||
var g = () => 1 - r,
|
||||
l = t.animate(s, { duration: v, fill: "forwards" });
|
||||
return (
|
||||
(l.onfinish = () => {
|
||||
l.cancel();
|
||||
var p = (i == null ? void 0 : i.t()) ?? 1 - r;
|
||||
i == null || i.abort();
|
||||
var m = r - p,
|
||||
b = a.duration * Math.abs(m),
|
||||
_ = [];
|
||||
if (b > 0) {
|
||||
var N = !1;
|
||||
if (h)
|
||||
for (var A = Math.ceil(b / 16.666666666666668), I = 0; I <= A; I += 1) {
|
||||
var C = p + m * u(I / A),
|
||||
R = x(h(C, 1 - C));
|
||||
_.push(R), N || (N = R.overflow === "hidden");
|
||||
}
|
||||
N && (t.style.overflow = "hidden"),
|
||||
(g = () => {
|
||||
var T = l.currentTime;
|
||||
return p + m * u(T / b);
|
||||
}),
|
||||
c &&
|
||||
ft(() => {
|
||||
if (l.playState !== "running") return !1;
|
||||
var T = g();
|
||||
return c(T, 1 - T), !0;
|
||||
});
|
||||
}
|
||||
(l = t.animate(_, { duration: b, fill: "forwards" })),
|
||||
(l.onfinish = () => {
|
||||
(g = () => r), c == null || c(r, 1 - r), e();
|
||||
});
|
||||
}),
|
||||
{
|
||||
abort: () => {
|
||||
l && (l.cancel(), (l.effect = null), (l.onfinish = y));
|
||||
},
|
||||
deactivate: () => {
|
||||
e = y;
|
||||
},
|
||||
reset: () => {
|
||||
r === 0 && (c == null || c(1, 0));
|
||||
},
|
||||
t: () => g(),
|
||||
}
|
||||
);
|
||||
}
|
||||
export { ht as a, vt as k, lt as t };
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,261 @@
|
||||
import {
|
||||
i as x,
|
||||
h as I,
|
||||
e as L,
|
||||
E as Y,
|
||||
Q as U,
|
||||
R as j,
|
||||
S as B,
|
||||
N as M,
|
||||
T as D,
|
||||
j as q,
|
||||
k as O,
|
||||
l as C,
|
||||
aM as F,
|
||||
m as K,
|
||||
a2 as z,
|
||||
q as Q,
|
||||
o as Z,
|
||||
aN as m,
|
||||
aO as $,
|
||||
aP as G,
|
||||
g as T,
|
||||
D as H,
|
||||
P as V,
|
||||
av as W,
|
||||
aw as X,
|
||||
aQ as J,
|
||||
ab as k,
|
||||
aR as ee,
|
||||
aS as re,
|
||||
z as ne,
|
||||
aE as te,
|
||||
aT as ae,
|
||||
aU as se,
|
||||
aV as ie,
|
||||
ad as A,
|
||||
aW as N,
|
||||
aX as y,
|
||||
} from "./CMvZtFtm.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
r = new e.Error().stack;
|
||||
r &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[r] = "fa4d28dc-79ce-49af-88f2-dcb89d2725c4"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-fa4d28dc-79ce-49af-88f2-dcb89d2725c4"));
|
||||
})();
|
||||
} catch {}
|
||||
function oe(e, r, t = !1) {
|
||||
I && L();
|
||||
var n = e,
|
||||
a = null,
|
||||
f = null,
|
||||
l = F,
|
||||
c = t ? Y : 0,
|
||||
p = !1;
|
||||
const S = (d, i = !0) => {
|
||||
(p = !0), _(i, d);
|
||||
};
|
||||
var u = null;
|
||||
function w() {
|
||||
u !== null && (u.lastChild.remove(), n.before(u), (u = null));
|
||||
var d = l ? a : f,
|
||||
i = l ? f : a;
|
||||
d && z(d),
|
||||
i &&
|
||||
Q(i, () => {
|
||||
l ? (f = null) : (a = null);
|
||||
});
|
||||
}
|
||||
const _ = (d, i) => {
|
||||
if (l === (l = d)) return;
|
||||
let E = !1;
|
||||
if (I) {
|
||||
const b = U(n) === j;
|
||||
!!l === b && ((n = B()), M(n), D(!1), (E = !0));
|
||||
}
|
||||
var v = K(),
|
||||
o = n;
|
||||
if (
|
||||
(v && ((u = document.createDocumentFragment()), u.append((o = q()))),
|
||||
l ? a ?? (a = i && O(() => i(o))) : f ?? (f = i && O(() => i(o))),
|
||||
v)
|
||||
) {
|
||||
var h = C,
|
||||
g = l ? a : f,
|
||||
s = l ? f : a;
|
||||
g && h.skipped_effects.delete(g),
|
||||
s && h.skipped_effects.add(s),
|
||||
h.add_callback(w);
|
||||
} else w();
|
||||
E && D(!0);
|
||||
};
|
||||
x(() => {
|
||||
(p = !1), r(S), p || _(null, null);
|
||||
}, c),
|
||||
I && (n = Z);
|
||||
}
|
||||
let P = !1;
|
||||
function fe(e) {
|
||||
var r = P;
|
||||
try {
|
||||
return (P = !1), [e(), P];
|
||||
} finally {
|
||||
P = r;
|
||||
}
|
||||
}
|
||||
function ce(e, r = 1) {
|
||||
const t = e();
|
||||
return e(t + r), t;
|
||||
}
|
||||
const ue = {
|
||||
get(e, r) {
|
||||
if (!e.exclude.includes(r)) return e.props[r];
|
||||
},
|
||||
set(e, r) {
|
||||
return !1;
|
||||
},
|
||||
getOwnPropertyDescriptor(e, r) {
|
||||
if (!e.exclude.includes(r) && r in e.props)
|
||||
return { enumerable: !0, configurable: !0, value: e.props[r] };
|
||||
},
|
||||
has(e, r) {
|
||||
return e.exclude.includes(r) ? !1 : r in e.props;
|
||||
},
|
||||
ownKeys(e) {
|
||||
return Reflect.ownKeys(e.props).filter((r) => !e.exclude.includes(r));
|
||||
},
|
||||
};
|
||||
function _e(e, r, t) {
|
||||
return new Proxy({ props: e, exclude: r }, ue);
|
||||
}
|
||||
const le = {
|
||||
get(e, r) {
|
||||
let t = e.props.length;
|
||||
for (; t--; ) {
|
||||
let n = e.props[t];
|
||||
if ((y(n) && (n = n()), typeof n == "object" && n !== null && r in n))
|
||||
return n[r];
|
||||
}
|
||||
},
|
||||
set(e, r, t) {
|
||||
let n = e.props.length;
|
||||
for (; n--; ) {
|
||||
let a = e.props[n];
|
||||
y(a) && (a = a());
|
||||
const f = m(a, r);
|
||||
if (f && f.set) return f.set(t), !0;
|
||||
}
|
||||
return !1;
|
||||
},
|
||||
getOwnPropertyDescriptor(e, r) {
|
||||
let t = e.props.length;
|
||||
for (; t--; ) {
|
||||
let n = e.props[t];
|
||||
if ((y(n) && (n = n()), typeof n == "object" && n !== null && r in n)) {
|
||||
const a = m(n, r);
|
||||
return a && !a.configurable && (a.configurable = !0), a;
|
||||
}
|
||||
}
|
||||
},
|
||||
has(e, r) {
|
||||
if (r === A || r === N) return !1;
|
||||
for (let t of e.props)
|
||||
if ((y(t) && (t = t()), t != null && r in t)) return !0;
|
||||
return !1;
|
||||
},
|
||||
ownKeys(e) {
|
||||
const r = [];
|
||||
for (let t of e.props)
|
||||
if ((y(t) && (t = t()), !!t)) {
|
||||
for (const n in t) r.includes(n) || r.push(n);
|
||||
for (const n of Object.getOwnPropertySymbols(t))
|
||||
r.includes(n) || r.push(n);
|
||||
}
|
||||
return r;
|
||||
},
|
||||
};
|
||||
function pe(...e) {
|
||||
return new Proxy({ props: e }, le);
|
||||
}
|
||||
function ve(e, r, t, n) {
|
||||
var g;
|
||||
var a = !te || (t & ae) !== 0,
|
||||
f = (t & re) !== 0,
|
||||
l = (t & ie) !== 0,
|
||||
c = n,
|
||||
p = !0,
|
||||
S = () => (p && ((p = !1), (c = l ? ne(n) : n)), c),
|
||||
u;
|
||||
if (f) {
|
||||
var w = A in e || N in e;
|
||||
u =
|
||||
((g = m(e, r)) == null ? void 0 : g.set) ??
|
||||
(w && r in e ? (s) => (e[r] = s) : void 0);
|
||||
}
|
||||
var _,
|
||||
d = !1;
|
||||
f ? ([_, d] = fe(() => e[r])) : (_ = e[r]),
|
||||
_ === void 0 && n !== void 0 && ((_ = S()), u && (a && $(), u(_)));
|
||||
var i;
|
||||
if (
|
||||
(a
|
||||
? (i = () => {
|
||||
var s = e[r];
|
||||
return s === void 0 ? S() : ((p = !0), s);
|
||||
})
|
||||
: (i = () => {
|
||||
var s = e[r];
|
||||
return s !== void 0 && (c = void 0), s === void 0 ? c : s;
|
||||
}),
|
||||
a && (t & G) === 0)
|
||||
)
|
||||
return i;
|
||||
if (u) {
|
||||
var E = e.$$legacy;
|
||||
return function (s, b) {
|
||||
return arguments.length > 0
|
||||
? ((!a || !b || E || d) && u(b ? i() : s), s)
|
||||
: i();
|
||||
};
|
||||
}
|
||||
var v = !1,
|
||||
o = ((t & se) !== 0 ? H : V)(() => ((v = !1), i()));
|
||||
f && T(o);
|
||||
var h = k;
|
||||
return function (s, b) {
|
||||
if (arguments.length > 0) {
|
||||
const R = b ? T(o) : a && f ? W(s) : s;
|
||||
return X(o, R), (v = !0), c !== void 0 && (c = R), s;
|
||||
}
|
||||
return (J && v) || (h.f & ee) !== 0 ? o.v : T(o);
|
||||
};
|
||||
}
|
||||
export { oe as i, ve as p, _e as r, pe as s, ce as u };
|
||||
@@ -0,0 +1,43 @@
|
||||
import { g as o } from "./CV9xcpLq.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
n = new e.Error().stack;
|
||||
n &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[n] = "a22836e1-99fe-4372-8041-51d766e562e7"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-a22836e1-99fe-4372-8041-51d766e562e7"));
|
||||
})();
|
||||
} catch {}
|
||||
const t = () => "Search",
|
||||
d = () => "Buscar",
|
||||
c = (e = {}, n = {}) => ((n.locale ?? o()) === "en" ? t() : d()),
|
||||
a = () => "Load more",
|
||||
l = () => "Carregar mais",
|
||||
f = (e = {}, n = {}) => ((n.locale ?? o()) === "en" ? a() : l());
|
||||
export { f as l, c as s };
|
||||
@@ -0,0 +1,40 @@
|
||||
import { g as d } from "./CV9xcpLq.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
n = new e.Error().stack;
|
||||
n &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[n] = "a102ee55-05cc-4e26-9c0a-bd1623e19f6f"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-a102ee55-05cc-4e26-9c0a-bd1623e19f6f"));
|
||||
})();
|
||||
} catch {}
|
||||
const o = () => "Loading...",
|
||||
t = () => "Carregando...",
|
||||
a = (e = {}, n = {}) => ((n.locale ?? d()) === "en" ? o() : t());
|
||||
export { a as l };
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,100 @@
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
o = new e.Error().stack;
|
||||
o &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[o] = "2873cead-a87c-4550-afcc-7d8128f4def3"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-2873cead-a87c-4550-afcc-7d8128f4def3"));
|
||||
})();
|
||||
} catch {}
|
||||
const m = "modulepreload",
|
||||
w = function (e, o) {
|
||||
return new URL(e, o).href;
|
||||
},
|
||||
g = {},
|
||||
v = function (o, a, u) {
|
||||
let h = Promise.resolve();
|
||||
if (a && a.length > 0) {
|
||||
let i = function (t) {
|
||||
return Promise.all(
|
||||
t.map((s) =>
|
||||
Promise.resolve(s).then(
|
||||
(c) => ({ status: "fulfilled", value: c }),
|
||||
(c) => ({ status: "rejected", reason: c })
|
||||
)
|
||||
)
|
||||
);
|
||||
};
|
||||
const n = document.getElementsByTagName("link"),
|
||||
l = document.querySelector("meta[property=csp-nonce]"),
|
||||
b =
|
||||
(l == null ? void 0 : l.nonce) ||
|
||||
(l == null ? void 0 : l.getAttribute("nonce"));
|
||||
h = i(
|
||||
a.map((t) => {
|
||||
if (((t = w(t, u)), t in g)) return;
|
||||
g[t] = !0;
|
||||
const s = t.endsWith(".css"),
|
||||
c = s ? '[rel="stylesheet"]' : "";
|
||||
if (!!u)
|
||||
for (let d = n.length - 1; d >= 0; d--) {
|
||||
const f = n[d];
|
||||
if (f.href === t && (!s || f.rel === "stylesheet")) return;
|
||||
}
|
||||
else if (document.querySelector(`link[href="${t}"]${c}`)) return;
|
||||
const r = document.createElement("link");
|
||||
if (
|
||||
((r.rel = s ? "stylesheet" : m),
|
||||
s || (r.as = "script"),
|
||||
(r.crossOrigin = ""),
|
||||
(r.href = t),
|
||||
b && r.setAttribute("nonce", b),
|
||||
document.head.appendChild(r),
|
||||
s)
|
||||
)
|
||||
return new Promise((d, f) => {
|
||||
r.addEventListener("load", d),
|
||||
r.addEventListener("error", () =>
|
||||
f(new Error(`Unable to preload CSS for ${t}`))
|
||||
);
|
||||
});
|
||||
})
|
||||
);
|
||||
}
|
||||
function y(i) {
|
||||
const n = new Event("vite:preloadError", { cancelable: !0 });
|
||||
if (((n.payload = i), window.dispatchEvent(n), !n.defaultPrevented))
|
||||
throw i;
|
||||
}
|
||||
return h.then((i) => {
|
||||
for (const n of i || []) n.status === "rejected" && y(n.reason);
|
||||
return o().catch(y);
|
||||
});
|
||||
};
|
||||
export { v as _ };
|
||||
@@ -0,0 +1,61 @@
|
||||
import { g as s } from "./CV9xcpLq.js";
|
||||
import "./Ch2Ub8FX.js";
|
||||
import { v as r, b as i } from "./CMvZtFtm.js";
|
||||
import { b as a } from "./C5yqZvKC.js";
|
||||
import { r as l } from "./BF50aS-j.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
t = new e.Error().stack;
|
||||
t &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[t] = "e9a4a830-f71c-4119-8142-30326aa85639"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-e9a4a830-f71c-4119-8142-30326aa85639"));
|
||||
})();
|
||||
} catch {}
|
||||
const d = () => "Pixels painted",
|
||||
c = () => "Pixels pintados",
|
||||
T = (e = {}, t = {}) => ((t.locale ?? s()) === "en" ? d() : c()),
|
||||
p = () => "Description",
|
||||
f = () => "Descrição",
|
||||
m = (e = {}, t = {}) => ((t.locale ?? s()) === "en" ? p() : f());
|
||||
var u = r(
|
||||
'<svg><path d="M480-480q33 0 56.5-23.5T560-560q0-33-23.5-56.5T480-640q-33 0-56.5 23.5T400-560q0 33 23.5 56.5T480-480Zm0 400Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Z"></path></svg>'
|
||||
);
|
||||
function v(e, t) {
|
||||
let n = l(t, ["$$slots", "$$events", "$$legacy"]);
|
||||
var o = u();
|
||||
a(o, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 -960 960 960",
|
||||
fill: "currentColor",
|
||||
...n,
|
||||
})),
|
||||
i(e, o);
|
||||
}
|
||||
export { v as L, m as d, T as p };
|
||||
@@ -1,27 +0,0 @@
|
||||
import { t as u, h as o, e as l, a6 as g, a7 as y, m as h, P as p, a2 as b, a8 as w, a9 as O, aa as m, I as R, ab as E, J as f } from "./DUoKDNpf.js";
|
||||
function C(c, v, i = !1, _ = !1, N = !1) {
|
||||
var n = c,
|
||||
t = "";
|
||||
u(() => {
|
||||
var s = g;
|
||||
if (t === (t = v() ?? "")) {
|
||||
o && l();
|
||||
return;
|
||||
}
|
||||
if ((s.nodes_start !== null && (y(s.nodes_start, s.nodes_end), (s.nodes_start = s.nodes_end = null)), t !== "")) {
|
||||
if (o) {
|
||||
h.data;
|
||||
for (var a = l(), d = a; a !== null && (a.nodeType !== p || a.data !== ""); ) (d = a), (a = b(a));
|
||||
if (a === null) throw (w(), O);
|
||||
m(h, d), (n = R(a));
|
||||
return;
|
||||
}
|
||||
var r = t + "";
|
||||
i ? (r = `<svg>${r}</svg>`) : _ && (r = `<math>${r}</math>`);
|
||||
var e = E(r);
|
||||
if (((i || _) && (e = f(e)), m(f(e), e.lastChild), i || _)) for (; f(e); ) n.before(f(e));
|
||||
else n.before(e);
|
||||
}
|
||||
});
|
||||
}
|
||||
export { C as h };
|
||||
@@ -1 +0,0 @@
|
||||
import{g as o}from"./DklPLC_x.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"35111e7039e8c68cc677344b7f7c6971567f6820"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a102ee55-05cc-4e26-9c0a-bd1623e19f6f",e._sentryDebugIdIdentifier="sentry-dbid-a102ee55-05cc-4e26-9c0a-bd1623e19f6f")})()}catch{}const d=()=>"Loading...",t=()=>"Carregando...",a=(e={},n={})=>(n.locale??o())==="en"?d():t();export{a as l};
|
||||
@@ -1,370 +0,0 @@
|
||||
import {
|
||||
i as V,
|
||||
a7 as k,
|
||||
k as Y,
|
||||
M as P,
|
||||
h as p,
|
||||
a3 as Z,
|
||||
b5 as Q,
|
||||
J as W,
|
||||
K as X,
|
||||
G as m,
|
||||
b6 as x,
|
||||
b7 as rr,
|
||||
b8 as fr,
|
||||
b9 as ir,
|
||||
g as ar,
|
||||
ba as er,
|
||||
bb as tr,
|
||||
V as j,
|
||||
bc as ur,
|
||||
bd as sr,
|
||||
at as or,
|
||||
be as lr,
|
||||
bf as nr,
|
||||
aM as cr,
|
||||
bg as dr,
|
||||
bh as vr,
|
||||
bi as br,
|
||||
} from "./BDALf20I.js";
|
||||
(function () {
|
||||
try {
|
||||
var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
r.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
f = new r.Error().stack;
|
||||
f && ((r._sentryDebugIds = r._sentryDebugIds || {}), (r._sentryDebugIds[f] = "79114daf-27cc-4daf-a558-677aac9a6589"), (r._sentryDebugIdIdentifier = "sentry-dbid-79114daf-27cc-4daf-a558-677aac9a6589"));
|
||||
})();
|
||||
} catch {}
|
||||
function gr(r, f) {
|
||||
var i = void 0,
|
||||
a;
|
||||
V(() => {
|
||||
i !== (i = f()) &&
|
||||
(a && (k(a), (a = null)),
|
||||
i &&
|
||||
(a = Y(() => {
|
||||
P(() => i(r));
|
||||
})));
|
||||
});
|
||||
}
|
||||
function G(r) {
|
||||
var f,
|
||||
i,
|
||||
a = "";
|
||||
if (typeof r == "string" || typeof r == "number") a += r;
|
||||
else if (typeof r == "object")
|
||||
if (Array.isArray(r)) {
|
||||
var e = r.length;
|
||||
for (f = 0; f < e; f++) r[f] && (i = G(r[f])) && (a && (a += " "), (a += i));
|
||||
} else for (i in r) r[i] && (a && (a += " "), (a += i));
|
||||
return a;
|
||||
}
|
||||
function hr() {
|
||||
for (var r, f, i = 0, a = "", e = arguments.length; i < e; i++) (r = arguments[i]) && (f = G(r)) && (a && (a += " "), (a += f));
|
||||
return a;
|
||||
}
|
||||
function _r(r) {
|
||||
return typeof r == "object" ? hr(r) : r ?? "";
|
||||
}
|
||||
const q = [
|
||||
...`
|
||||
\r\f \v\uFEFF`,
|
||||
];
|
||||
function Ar(r, f, i) {
|
||||
var a = r == null ? "" : "" + r;
|
||||
if ((f && (a = a ? a + " " + f : f), i)) {
|
||||
for (var e in i)
|
||||
if (i[e]) a = a ? a + " " + e : e;
|
||||
else if (a.length)
|
||||
for (var t = e.length, u = 0; (u = a.indexOf(e, u)) >= 0; ) {
|
||||
var s = u + t;
|
||||
(u === 0 || q.includes(a[u - 1])) && (s === a.length || q.includes(a[s])) ? (a = (u === 0 ? "" : a.substring(0, u)) + a.substring(s + 1)) : (u = s);
|
||||
}
|
||||
}
|
||||
return a === "" ? null : a;
|
||||
}
|
||||
function D(r, f = !1) {
|
||||
var i = f ? " !important;" : ";",
|
||||
a = "";
|
||||
for (var e in r) {
|
||||
var t = r[e];
|
||||
t != null && t !== "" && (a += " " + e + ": " + t + i);
|
||||
}
|
||||
return a;
|
||||
}
|
||||
function M(r) {
|
||||
return r[0] !== "-" || r[1] !== "-" ? r.toLowerCase() : r;
|
||||
}
|
||||
function Sr(r, f) {
|
||||
if (f) {
|
||||
var i = "",
|
||||
a,
|
||||
e;
|
||||
if ((Array.isArray(f) ? ((a = f[0]), (e = f[1])) : (a = f), r)) {
|
||||
r = String(r)
|
||||
.replaceAll(/\s*\/\*.*?\*\/\s*/g, "")
|
||||
.trim();
|
||||
var t = !1,
|
||||
u = 0,
|
||||
s = !1,
|
||||
d = [];
|
||||
a && d.push(...Object.keys(a).map(M)), e && d.push(...Object.keys(e).map(M));
|
||||
var l = 0,
|
||||
A = -1;
|
||||
const b = r.length;
|
||||
for (var v = 0; v < b; v++) {
|
||||
var c = r[v];
|
||||
if ((s ? c === "/" && r[v - 1] === "*" && (s = !1) : t ? t === c && (t = !1) : c === "/" && r[v + 1] === "*" ? (s = !0) : c === '"' || c === "'" ? (t = c) : c === "(" ? u++ : c === ")" && u--, !s && t === !1 && u === 0)) {
|
||||
if (c === ":" && A === -1) A = v;
|
||||
else if (c === ";" || v === b - 1) {
|
||||
if (A !== -1) {
|
||||
var y = M(r.substring(l, A).trim());
|
||||
if (!d.includes(y)) {
|
||||
c !== ";" && v++;
|
||||
var S = r.substring(l, v).trim();
|
||||
i += " " + S + ";";
|
||||
}
|
||||
}
|
||||
(l = v + 1), (A = -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return a && (i += D(a)), e && (i += D(e, !0)), (i = i.trim()), i === "" ? null : i;
|
||||
}
|
||||
return r == null ? null : String(r);
|
||||
}
|
||||
function pr(r, f, i, a, e, t) {
|
||||
var u = r.__className;
|
||||
if (p || u !== i || u === void 0) {
|
||||
var s = Ar(i, a, t);
|
||||
(!p || s !== r.getAttribute("class")) && (s == null ? r.removeAttribute("class") : f ? (r.className = s) : r.setAttribute("class", s)), (r.__className = i);
|
||||
} else if (t && e !== t)
|
||||
for (var d in t) {
|
||||
var l = !!t[d];
|
||||
(e == null || l !== !!e[d]) && r.classList.toggle(d, l);
|
||||
}
|
||||
return t;
|
||||
}
|
||||
function C(r, f = {}, i, a) {
|
||||
for (var e in i) {
|
||||
var t = i[e];
|
||||
f[e] !== t && (i[e] == null ? r.style.removeProperty(e) : r.style.setProperty(e, t, a));
|
||||
}
|
||||
}
|
||||
function yr(r, f, i, a) {
|
||||
var e = r.__style;
|
||||
if (p || e !== f) {
|
||||
var t = Sr(f, a);
|
||||
(!p || t !== r.getAttribute("style")) && (t == null ? r.removeAttribute("style") : (r.style.cssText = t)), (r.__style = f);
|
||||
} else a && (Array.isArray(a) ? (C(r, i == null ? void 0 : i[0], a[0]), C(r, i == null ? void 0 : i[1], a[1], "important")) : C(r, i, a));
|
||||
return a;
|
||||
}
|
||||
function I(r, f, i = !1) {
|
||||
if (r.multiple) {
|
||||
if (f == null) return;
|
||||
if (!Z(f)) return Q();
|
||||
for (var a of r.options) a.selected = f.includes(w(a));
|
||||
return;
|
||||
}
|
||||
for (a of r.options) {
|
||||
var e = w(a);
|
||||
if (W(e, f)) {
|
||||
a.selected = !0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
(!i || f !== void 0) && (r.selectedIndex = -1);
|
||||
}
|
||||
function H(r) {
|
||||
var f = new MutationObserver(() => {
|
||||
I(r, r.__value);
|
||||
});
|
||||
f.observe(r, { childList: !0, subtree: !0, attributes: !0, attributeFilter: ["value"] }),
|
||||
X(() => {
|
||||
f.disconnect();
|
||||
});
|
||||
}
|
||||
function wr(r, f, i = f) {
|
||||
var a = !0;
|
||||
m(r, "change", (e) => {
|
||||
var t = e ? "[selected]" : ":checked",
|
||||
u;
|
||||
if (r.multiple) u = [].map.call(r.querySelectorAll(t), w);
|
||||
else {
|
||||
var s = r.querySelector(t) ?? r.querySelector("option:not([disabled])");
|
||||
u = s && w(s);
|
||||
}
|
||||
i(u);
|
||||
}),
|
||||
P(() => {
|
||||
var e = f();
|
||||
if ((I(r, e, a), a && e === void 0)) {
|
||||
var t = r.querySelector(":checked");
|
||||
t !== null && ((e = w(t)), i(e));
|
||||
}
|
||||
(r.__value = e), (a = !1);
|
||||
}),
|
||||
H(r);
|
||||
}
|
||||
function w(r) {
|
||||
return "__value" in r ? r.__value : r.value;
|
||||
}
|
||||
const N = Symbol("class"),
|
||||
T = Symbol("style"),
|
||||
K = Symbol("is custom element"),
|
||||
B = Symbol("is html");
|
||||
function Ir(r) {
|
||||
if (p) {
|
||||
var f = !1,
|
||||
i = () => {
|
||||
if (!f) {
|
||||
if (((f = !0), r.hasAttribute("value"))) {
|
||||
var a = r.value;
|
||||
L(r, "value", null), (r.value = a);
|
||||
}
|
||||
if (r.hasAttribute("checked")) {
|
||||
var e = r.checked;
|
||||
L(r, "checked", null), (r.checked = e);
|
||||
}
|
||||
}
|
||||
};
|
||||
(r.__on_r = i), dr(i), vr();
|
||||
}
|
||||
}
|
||||
function Lr(r, f) {
|
||||
var i = R(r);
|
||||
i.value === (i.value = f ?? void 0) || (r.value === f && (f !== 0 || r.nodeName !== "PROGRESS")) || (r.value = f ?? "");
|
||||
}
|
||||
function Er(r, f) {
|
||||
f ? r.hasAttribute("selected") || r.setAttribute("selected", "") : r.removeAttribute("selected");
|
||||
}
|
||||
function L(r, f, i, a) {
|
||||
var e = R(r);
|
||||
(p && ((e[f] = r.getAttribute(f)), f === "src" || f === "srcset" || (f === "href" && r.nodeName === "LINK"))) ||
|
||||
(e[f] !== (e[f] = i) && (f === "loading" && (r[ir] = i), i == null ? r.removeAttribute(f) : typeof i != "string" && z(r).includes(f) ? (r[f] = i) : r.setAttribute(f, i)));
|
||||
}
|
||||
function Nr(r, f, i, a, e = !1) {
|
||||
var t = R(r),
|
||||
u = t[K],
|
||||
s = !t[B];
|
||||
let d = p && u;
|
||||
d && j(!1);
|
||||
var l = f || {},
|
||||
A = r.tagName === "OPTION";
|
||||
for (var v in f) v in i || (i[v] = null);
|
||||
i.class ? (i.class = _r(i.class)) : (a || i[N]) && (i.class = null), i[T] && (i.style ?? (i.style = null));
|
||||
var c = z(r);
|
||||
for (const o in i) {
|
||||
let n = i[o];
|
||||
if (A && o === "value" && n == null) {
|
||||
(r.value = r.__value = ""), (l[o] = n);
|
||||
continue;
|
||||
}
|
||||
if (o === "class") {
|
||||
var y = r.namespaceURI === "http://www.w3.org/1999/xhtml";
|
||||
pr(r, y, n, a, f == null ? void 0 : f[N], i[N]), (l[o] = n), (l[N] = i[N]);
|
||||
continue;
|
||||
}
|
||||
if (o === "style") {
|
||||
yr(r, n, f == null ? void 0 : f[T], i[T]), (l[o] = n), (l[T] = i[T]);
|
||||
continue;
|
||||
}
|
||||
var S = l[o];
|
||||
if (!(n === S && !(n === void 0 && r.hasAttribute(o)))) {
|
||||
l[o] = n;
|
||||
var b = o[0] + o[1];
|
||||
if (b !== "$$")
|
||||
if (b === "on") {
|
||||
const _ = {},
|
||||
E = "$$" + o;
|
||||
let g = o.slice(2);
|
||||
var O = br(g);
|
||||
if ((ur(g) && ((g = g.slice(0, -7)), (_.capture = !0)), !O && S)) {
|
||||
if (n != null) continue;
|
||||
r.removeEventListener(g, l[E], _), (l[E] = null);
|
||||
}
|
||||
if (n != null)
|
||||
if (O) (r[`__${g}`] = n), or([g]);
|
||||
else {
|
||||
let F = function (J) {
|
||||
l[o].call(this, J);
|
||||
};
|
||||
l[E] = sr(g, r, F, _);
|
||||
}
|
||||
else O && (r[`__${g}`] = void 0);
|
||||
} else if (o === "style") L(r, o, n);
|
||||
else if (o === "autofocus") lr(r, !!n);
|
||||
else if (!u && (o === "__value" || (o === "value" && n != null))) r.value = r.__value = n;
|
||||
else if (o === "selected" && A) Er(r, n);
|
||||
else {
|
||||
var h = o;
|
||||
s || (h = nr(h));
|
||||
var $ = h === "defaultValue" || h === "defaultChecked";
|
||||
if (n == null && !u && !$)
|
||||
if (((t[o] = null), h === "value" || h === "checked")) {
|
||||
let _ = r;
|
||||
const E = f === void 0;
|
||||
if (h === "value") {
|
||||
let g = _.defaultValue;
|
||||
_.removeAttribute(h), (_.defaultValue = g), (_.value = _.__value = E ? g : null);
|
||||
} else {
|
||||
let g = _.defaultChecked;
|
||||
_.removeAttribute(h), (_.defaultChecked = g), (_.checked = E ? g : !1);
|
||||
}
|
||||
} else r.removeAttribute(o);
|
||||
else $ || (c.includes(h) && (u || typeof n != "string")) ? ((r[h] = n), h in t && (t[h] = cr)) : typeof n != "function" && L(r, h, n);
|
||||
}
|
||||
}
|
||||
}
|
||||
return d && j(!0), l;
|
||||
}
|
||||
function Or(r, f, i = [], a = [], e, t = !1) {
|
||||
x(i, a, (u) => {
|
||||
var s = void 0,
|
||||
d = {},
|
||||
l = r.nodeName === "SELECT",
|
||||
A = !1;
|
||||
if (
|
||||
(V(() => {
|
||||
var c = f(...u.map(ar)),
|
||||
y = Nr(r, s, c, e, t);
|
||||
A && l && "value" in c && I(r, c.value);
|
||||
for (let b of Object.getOwnPropertySymbols(d)) c[b] || k(d[b]);
|
||||
for (let b of Object.getOwnPropertySymbols(c)) {
|
||||
var S = c[b];
|
||||
b.description === er && (!s || S !== s[b]) && (d[b] && k(d[b]), (d[b] = Y(() => gr(r, () => S)))), (y[b] = S);
|
||||
}
|
||||
s = y;
|
||||
}),
|
||||
l)
|
||||
) {
|
||||
var v = r;
|
||||
P(() => {
|
||||
I(v, s.value, !0), H(v);
|
||||
});
|
||||
}
|
||||
A = !0;
|
||||
});
|
||||
}
|
||||
function R(r) {
|
||||
return r.__attributes ?? (r.__attributes = { [K]: r.nodeName.includes("-"), [B]: r.namespaceURI === rr });
|
||||
}
|
||||
var U = new Map();
|
||||
function z(r) {
|
||||
var f = U.get(r.nodeName);
|
||||
if (f) return f;
|
||||
U.set(r.nodeName, (f = []));
|
||||
for (var i, a = r, e = Element.prototype; e !== a; ) {
|
||||
i = tr(a);
|
||||
for (var t in i) i[t].set && f.push(t);
|
||||
a = fr(a);
|
||||
}
|
||||
return f;
|
||||
}
|
||||
export { N as C, T as S, pr as a, Or as b, _r as c, wr as d, yr as e, gr as f, Lr as g, hr as h, Ir as r, L as s };
|
||||
@@ -0,0 +1,37 @@
|
||||
import { ar as d } from "./CMvZtFtm.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
f = new e.Error().stack;
|
||||
f &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[f] = "04fff17c-04f8-458c-8ff9-180b80f62e15"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-04fff17c-04f8-458c-8ff9-180b80f62e15"));
|
||||
})();
|
||||
} catch {}
|
||||
d();
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,40 @@
|
||||
import { g as o } from "./CV9xcpLq.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
n = new e.Error().stack;
|
||||
n &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[n] = "488cf311-8f60-4dea-820a-6e96b60c34c0"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-488cf311-8f60-4dea-820a-6e96b60c34c0"));
|
||||
})();
|
||||
} catch {}
|
||||
const t = () => "Go to map",
|
||||
d = () => "Ir para o mapa",
|
||||
l = (e = {}, n = {}) => ((n.locale ?? o()) === "en" ? t() : d());
|
||||
export { l as g };
|
||||
@@ -1,34 +0,0 @@
|
||||
import { j as r, i as h, as as u, h as d, W as y, ak as c, a9 as i, V as o, O as s, o as f, P as _ } from "./BDALf20I.js";
|
||||
(function () {
|
||||
try {
|
||||
var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
a.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
n = new a.Error().stack;
|
||||
n && ((a._sentryDebugIds = a._sentryDebugIds || {}), (a._sentryDebugIds[n] = "48e8c989-b08a-439a-98b9-6d268a42a85e"), (a._sentryDebugIdIdentifier = "sentry-dbid-48e8c989-b08a-439a-98b9-6d268a42a85e"));
|
||||
})();
|
||||
} catch {}
|
||||
let e;
|
||||
function g() {
|
||||
e = void 0;
|
||||
}
|
||||
function p(a) {
|
||||
let n = null,
|
||||
l = d;
|
||||
var t;
|
||||
if (d) {
|
||||
for (n = f, e === void 0 && (e = _(document.head)); e !== null && (e.nodeType !== y || e.data !== c); ) e = i(e);
|
||||
e === null ? o(!1) : (e = s(i(e)));
|
||||
}
|
||||
d || (t = document.head.appendChild(r()));
|
||||
try {
|
||||
h(() => a(t), u);
|
||||
} finally {
|
||||
l && (o(!0), (e = f), s(n));
|
||||
}
|
||||
}
|
||||
export { p as h, g as r };
|
||||
@@ -1,224 +0,0 @@
|
||||
import {
|
||||
i as N,
|
||||
h as P,
|
||||
e as L,
|
||||
E as U,
|
||||
R as Y,
|
||||
T as j,
|
||||
U as B,
|
||||
O as M,
|
||||
V as D,
|
||||
j as q,
|
||||
k as O,
|
||||
l as C,
|
||||
aM as F,
|
||||
m as K,
|
||||
a4 as z,
|
||||
q as Q,
|
||||
o as V,
|
||||
aN as m,
|
||||
aO as Z,
|
||||
aP as $,
|
||||
g as T,
|
||||
D as G,
|
||||
Q as H,
|
||||
av as W,
|
||||
aw as X,
|
||||
aQ as J,
|
||||
ad as k,
|
||||
aR as ee,
|
||||
aS as re,
|
||||
z as ne,
|
||||
aE as te,
|
||||
aT as ae,
|
||||
aU as se,
|
||||
aV as ie,
|
||||
S as A,
|
||||
aW as x,
|
||||
aX as y,
|
||||
} from "./BDALf20I.js";
|
||||
(function () {
|
||||
try {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
e.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
r = new e.Error().stack;
|
||||
r && ((e._sentryDebugIds = e._sentryDebugIds || {}), (e._sentryDebugIds[r] = "59ee8b7d-c408-43d5-a8ba-5b74c35a16df"), (e._sentryDebugIdIdentifier = "sentry-dbid-59ee8b7d-c408-43d5-a8ba-5b74c35a16df"));
|
||||
})();
|
||||
} catch {}
|
||||
function de(e, r, t = !1) {
|
||||
P && L();
|
||||
var n = e,
|
||||
a = null,
|
||||
f = null,
|
||||
l = F,
|
||||
c = t ? U : 0,
|
||||
p = !1;
|
||||
const S = (o, i = !0) => {
|
||||
(p = !0), _(i, o);
|
||||
};
|
||||
var u = null;
|
||||
function w() {
|
||||
u !== null && (u.lastChild.remove(), n.before(u), (u = null));
|
||||
var o = l ? a : f,
|
||||
i = l ? f : a;
|
||||
o && z(o),
|
||||
i &&
|
||||
Q(i, () => {
|
||||
l ? (f = null) : (a = null);
|
||||
});
|
||||
}
|
||||
const _ = (o, i) => {
|
||||
if (l === (l = o)) return;
|
||||
let E = !1;
|
||||
if (P) {
|
||||
const b = Y(n) === j;
|
||||
!!l === b && ((n = B()), M(n), D(!1), (E = !0));
|
||||
}
|
||||
var v = K(),
|
||||
d = n;
|
||||
if ((v && ((u = document.createDocumentFragment()), u.append((d = q()))), l ? a ?? (a = i && O(() => i(d))) : f ?? (f = i && O(() => i(d))), v)) {
|
||||
var h = C,
|
||||
g = l ? a : f,
|
||||
s = l ? f : a;
|
||||
g && h.skipped_effects.delete(g), s && h.skipped_effects.add(s), h.add_callback(w);
|
||||
} else w();
|
||||
E && D(!0);
|
||||
};
|
||||
N(() => {
|
||||
(p = !1), r(S), p || _(null, null);
|
||||
}, c),
|
||||
P && (n = V);
|
||||
}
|
||||
let I = !1;
|
||||
function fe(e) {
|
||||
var r = I;
|
||||
try {
|
||||
return (I = !1), [e(), I];
|
||||
} finally {
|
||||
I = r;
|
||||
}
|
||||
}
|
||||
function ce(e, r = 1) {
|
||||
const t = e();
|
||||
return e(t + r), t;
|
||||
}
|
||||
const ue = {
|
||||
get(e, r) {
|
||||
if (!e.exclude.includes(r)) return e.props[r];
|
||||
},
|
||||
set(e, r) {
|
||||
return !1;
|
||||
},
|
||||
getOwnPropertyDescriptor(e, r) {
|
||||
if (!e.exclude.includes(r) && r in e.props) return { enumerable: !0, configurable: !0, value: e.props[r] };
|
||||
},
|
||||
has(e, r) {
|
||||
return e.exclude.includes(r) ? !1 : r in e.props;
|
||||
},
|
||||
ownKeys(e) {
|
||||
return Reflect.ownKeys(e.props).filter((r) => !e.exclude.includes(r));
|
||||
},
|
||||
};
|
||||
function _e(e, r, t) {
|
||||
return new Proxy({ props: e, exclude: r }, ue);
|
||||
}
|
||||
const le = {
|
||||
get(e, r) {
|
||||
let t = e.props.length;
|
||||
for (; t--; ) {
|
||||
let n = e.props[t];
|
||||
if ((y(n) && (n = n()), typeof n == "object" && n !== null && r in n)) return n[r];
|
||||
}
|
||||
},
|
||||
set(e, r, t) {
|
||||
let n = e.props.length;
|
||||
for (; n--; ) {
|
||||
let a = e.props[n];
|
||||
y(a) && (a = a());
|
||||
const f = m(a, r);
|
||||
if (f && f.set) return f.set(t), !0;
|
||||
}
|
||||
return !1;
|
||||
},
|
||||
getOwnPropertyDescriptor(e, r) {
|
||||
let t = e.props.length;
|
||||
for (; t--; ) {
|
||||
let n = e.props[t];
|
||||
if ((y(n) && (n = n()), typeof n == "object" && n !== null && r in n)) {
|
||||
const a = m(n, r);
|
||||
return a && !a.configurable && (a.configurable = !0), a;
|
||||
}
|
||||
}
|
||||
},
|
||||
has(e, r) {
|
||||
if (r === A || r === x) return !1;
|
||||
for (let t of e.props) if ((y(t) && (t = t()), t != null && r in t)) return !0;
|
||||
return !1;
|
||||
},
|
||||
ownKeys(e) {
|
||||
const r = [];
|
||||
for (let t of e.props)
|
||||
if ((y(t) && (t = t()), !!t)) {
|
||||
for (const n in t) r.includes(n) || r.push(n);
|
||||
for (const n of Object.getOwnPropertySymbols(t)) r.includes(n) || r.push(n);
|
||||
}
|
||||
return r;
|
||||
},
|
||||
};
|
||||
function pe(...e) {
|
||||
return new Proxy({ props: e }, le);
|
||||
}
|
||||
function ve(e, r, t, n) {
|
||||
var g;
|
||||
var a = !te || (t & ae) !== 0,
|
||||
f = (t & re) !== 0,
|
||||
l = (t & ie) !== 0,
|
||||
c = n,
|
||||
p = !0,
|
||||
S = () => (p && ((p = !1), (c = l ? ne(n) : n)), c),
|
||||
u;
|
||||
if (f) {
|
||||
var w = A in e || x in e;
|
||||
u = ((g = m(e, r)) == null ? void 0 : g.set) ?? (w && r in e ? (s) => (e[r] = s) : void 0);
|
||||
}
|
||||
var _,
|
||||
o = !1;
|
||||
f ? ([_, o] = fe(() => e[r])) : (_ = e[r]), _ === void 0 && n !== void 0 && ((_ = S()), u && (a && Z(), u(_)));
|
||||
var i;
|
||||
if (
|
||||
(a
|
||||
? (i = () => {
|
||||
var s = e[r];
|
||||
return s === void 0 ? S() : ((p = !0), s);
|
||||
})
|
||||
: (i = () => {
|
||||
var s = e[r];
|
||||
return s !== void 0 && (c = void 0), s === void 0 ? c : s;
|
||||
}),
|
||||
a && (t & $) === 0)
|
||||
)
|
||||
return i;
|
||||
if (u) {
|
||||
var E = e.$$legacy;
|
||||
return function (s, b) {
|
||||
return arguments.length > 0 ? ((!a || !b || E || o) && u(b ? i() : s), s) : i();
|
||||
};
|
||||
}
|
||||
var v = !1,
|
||||
d = ((t & se) !== 0 ? G : H)(() => ((v = !1), i()));
|
||||
f && T(d);
|
||||
var h = k;
|
||||
return function (s, b) {
|
||||
if (arguments.length > 0) {
|
||||
const R = b ? T(d) : a && f ? W(s) : s;
|
||||
return X(d, R), (v = !0), c !== void 0 && (c = R), s;
|
||||
}
|
||||
return (J && v) || (h.f & ee) !== 0 ? d.v : T(d);
|
||||
};
|
||||
}
|
||||
export { de as i, ve as p, _e as r, pe as s, ce as u };
|
||||
@@ -0,0 +1,40 @@
|
||||
import { g as d } from "./CV9xcpLq.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
n = new e.Error().stack;
|
||||
n &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[n] = "e0ae0548-fcbf-4f39-9ea8-c8dece67686b"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-e0ae0548-fcbf-4f39-9ea8-c8dece67686b"));
|
||||
})();
|
||||
} catch {}
|
||||
const o = () => "No data.",
|
||||
t = () => "Sem dados.",
|
||||
l = (e = {}, n = {}) => ((n.locale ?? d()) === "en" ? o() : t());
|
||||
export { l as n };
|
||||
@@ -0,0 +1,369 @@
|
||||
import "./Ch2Ub8FX.js";
|
||||
import {
|
||||
ac as ce,
|
||||
z as se,
|
||||
H as oe,
|
||||
C as de,
|
||||
aZ as fe,
|
||||
p as W,
|
||||
aw as D,
|
||||
au as U,
|
||||
ay as ue,
|
||||
a as X,
|
||||
g as v,
|
||||
b as w,
|
||||
c as p,
|
||||
f as V,
|
||||
t as j,
|
||||
u as $,
|
||||
v as ee,
|
||||
av as ve,
|
||||
d,
|
||||
r as f,
|
||||
s as u,
|
||||
} from "./CMvZtFtm.js";
|
||||
import { s as y } from "./DVA6u9-7.js";
|
||||
import { p as c, i as B, r as te } from "./BF50aS-j.js";
|
||||
import { a as A, c as G, b as ae, s as Z } from "./C5yqZvKC.js";
|
||||
import { b as me } from "./0wx1llIh.js";
|
||||
import { g as R, d as J, P as _e, e as be } from "./BRM3t761.js";
|
||||
import { o as ge } from "./DoL3ojdE.js";
|
||||
import { g as L } from "./CV9xcpLq.js";
|
||||
import { L as he } from "./D3yDgRbd.js";
|
||||
(function () {
|
||||
try {
|
||||
var a =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
a.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var a =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
e = new a.Error().stack;
|
||||
e &&
|
||||
((a._sentryDebugIds = a._sentryDebugIds || {}),
|
||||
(a._sentryDebugIds[e] = "8a104a20-9809-4c08-9bf0-4d230399adad"),
|
||||
(a._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-8a104a20-9809-4c08-9bf0-4d230399adad"));
|
||||
})();
|
||||
} catch {}
|
||||
function ye(a, e, n) {
|
||||
ce(() => {
|
||||
var r = se(() => e(a, n == null ? void 0 : n()) || {});
|
||||
if (n && r != null && r.update) {
|
||||
var _ = !1,
|
||||
m = {};
|
||||
oe(() => {
|
||||
var s = n();
|
||||
de(s), _ && fe(m, s) && ((m = s), r.update(s));
|
||||
}),
|
||||
(_ = !0);
|
||||
}
|
||||
if (r != null && r.destroy) return () => r.destroy();
|
||||
});
|
||||
}
|
||||
const we = (a) => `Login with ${a.name}`,
|
||||
xe = (a) => `Entrar com ${a.name}`,
|
||||
Q = (a, e = {}) => ((e.locale ?? L()) === "en" ? we(a) : xe(a)),
|
||||
ke = () => "By continuing, you agree to our",
|
||||
Ie = () => "Ao continuar, você concorda com nossos",
|
||||
Le = (a = {}, e = {}) => ((e.locale ?? L()) === "en" ? ke() : Ie()),
|
||||
Ce = () => "Terms of Service",
|
||||
Ee = () => "Termos de Serviço",
|
||||
Te = (a = {}, e = {}) => ((e.locale ?? L()) === "en" ? Ce() : Ee()),
|
||||
ze = () => "and",
|
||||
Be = () => "e",
|
||||
De = (a = {}, e = {}) => ((e.locale ?? L()) === "en" ? ze() : Be()),
|
||||
Me = () => "Privacy Policy",
|
||||
Pe = () => "Política de privacidade",
|
||||
Se = (a = {}, e = {}) => ((e.locale ?? L()) === "en" ? Me() : Pe());
|
||||
var Fe = V("<div></div>");
|
||||
function He(a, e) {
|
||||
W(e, !0);
|
||||
let n = c(e, "widgetId", 15),
|
||||
r = c(e, "appearance", 3, "always"),
|
||||
_ = c(e, "language", 3, "auto"),
|
||||
m = c(e, "execution", 3, "render"),
|
||||
s = c(e, "retryInterval", 3, 8e3),
|
||||
M = c(e, "retry", 3, "auto"),
|
||||
g = c(e, "refreshExpired", 3, "auto"),
|
||||
C = c(e, "theme", 3, "auto"),
|
||||
E = c(e, "size", 3, "normal"),
|
||||
P = c(e, "tabIndex", 3, 0);
|
||||
c(
|
||||
e,
|
||||
"reset",
|
||||
15
|
||||
)(() => {
|
||||
var t;
|
||||
n() &&
|
||||
((t = window == null ? void 0 : window.turnstile) == null ||
|
||||
t.reset(n()));
|
||||
});
|
||||
const T = $(() => ({
|
||||
sitekey: e.siteKey,
|
||||
callback: (t, i) => {
|
||||
var l;
|
||||
(l = e.callback) == null || l.call(e, t, i);
|
||||
},
|
||||
"error-callback": (t) => {
|
||||
var i;
|
||||
(i = e.errorCallback) == null || i.call(e, t);
|
||||
},
|
||||
"timeout-callback": () => {
|
||||
var t;
|
||||
(t = e.timeoutCallback) == null || t.call(e);
|
||||
},
|
||||
"expired-callback": () => {
|
||||
var t;
|
||||
(t = e.expiredCallback) == null || t.call(e);
|
||||
},
|
||||
"before-interactive-callback": () => {
|
||||
var t;
|
||||
(t = e.beforeInteractiveCallback) == null || t.call(e);
|
||||
},
|
||||
"after-interactive-callback": () => {
|
||||
var t;
|
||||
(t = e.afterInteractiveCallback) == null || t.call(e);
|
||||
},
|
||||
"unsupported-callback": () => {
|
||||
var t;
|
||||
return (t = e.unsupportedCallback) == null ? void 0 : t.call(e);
|
||||
},
|
||||
"response-field-name":
|
||||
e.responseFieldName ?? e.formsField ?? "cf-turnstile-response",
|
||||
"response-field": e.responseField ?? e.forms ?? !0,
|
||||
"refresh-expired": g(),
|
||||
"retry-interval": s(),
|
||||
tabindex: P(),
|
||||
appearance: r(),
|
||||
execution: m(),
|
||||
language: _(),
|
||||
action: e.action,
|
||||
retry: M(),
|
||||
theme: C(),
|
||||
cData: e.cData,
|
||||
size: E(),
|
||||
})),
|
||||
b = (t, i) => {
|
||||
let l = window.turnstile.render(t, i);
|
||||
return (
|
||||
n(l),
|
||||
{
|
||||
destroy() {
|
||||
window.turnstile.remove(l);
|
||||
},
|
||||
update(o) {
|
||||
window.turnstile.remove(l),
|
||||
(l = window.turnstile.render(t, o)),
|
||||
n(l);
|
||||
},
|
||||
}
|
||||
);
|
||||
};
|
||||
let x = U(!1);
|
||||
ge(() => {
|
||||
if ((D(x, !0), !R.turnstatileLoaded)) {
|
||||
const t = document.createElement("script");
|
||||
(t.type = "text/javascript"),
|
||||
(t.src =
|
||||
"https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit"),
|
||||
(t.async = !0),
|
||||
t.addEventListener("load", () => (R.turnstatileLoaded = !0), {
|
||||
once: !0,
|
||||
}),
|
||||
document.head.appendChild(t);
|
||||
}
|
||||
return () => {
|
||||
D(x, !1);
|
||||
};
|
||||
});
|
||||
var k = ue(),
|
||||
z = X(k);
|
||||
{
|
||||
var F = (t) => {
|
||||
var i = Fe();
|
||||
let l;
|
||||
ye(
|
||||
i,
|
||||
(o, H) => (b == null ? void 0 : b(o, H)),
|
||||
() => v(T)
|
||||
),
|
||||
j(
|
||||
(o) => (l = A(i, 1, G(e.class), "svelte-1gvfki5", l, o)),
|
||||
[() => ({ flexible: E() == "flexible" })]
|
||||
),
|
||||
w(t, i);
|
||||
};
|
||||
B(z, (t) => {
|
||||
R.turnstatileLoaded && v(x) && t(F);
|
||||
});
|
||||
}
|
||||
w(a, k), p();
|
||||
}
|
||||
var Ne = ee(
|
||||
'<svg><path d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027" fill="#4285F4"></path><path d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1" fill="#34A853"></path><path d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782" fill="#FBBC05"></path><path d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251" fill="#EB4335"></path></svg>'
|
||||
);
|
||||
function Ke(a, e) {
|
||||
let n = te(e, ["$$slots", "$$events", "$$legacy"]);
|
||||
var r = Ne();
|
||||
ae(r, () => ({
|
||||
viewBox: "0 0 256 262",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
...n,
|
||||
})),
|
||||
w(a, r);
|
||||
}
|
||||
var Re = ee(
|
||||
'<svg><path fill="#fff" d="m2200 1300-400 400h-400l-350 350v-350H600V200h1600z"></path><g fill="#9146ff"><path d="M500 0 0 500v1800h600v500l500-500h400l900-900V0H500zm1700 1300-400 400h-400l-350 350v-350H600V200h1600v1100z"></path><path d="M1700 550h200v600h-200zm-550 0h200v600h-200z"></path></g></svg>'
|
||||
);
|
||||
function Ue(a, e) {
|
||||
let n = te(e, ["$$slots", "$$events", "$$legacy"]);
|
||||
var r = Re();
|
||||
ae(r, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
"xml:space": "preserve",
|
||||
viewBox: "0 0 2400 2800",
|
||||
...n,
|
||||
})),
|
||||
w(a, r);
|
||||
}
|
||||
var je = V(
|
||||
'<a><!> </a> <a><!> </a> <div class="mt-2 flex flex-col items-center gap-1"><!> <!></div>',
|
||||
1
|
||||
),
|
||||
Ae = V(
|
||||
'<div><div class="flex justify-center"><!></div> <form><div class="mt-6 flex flex-col items-center gap-2"><!></div></form> <p class="text-base-content/60 mt-2 text-center text-sm"> <a class="font-medium" href="/terms/terms-of-service" target="_blank"> </a> <a class="font-medium" href="/terms/privacy" target="_blank"> </a></p></div>'
|
||||
);
|
||||
function pe(a, e) {
|
||||
W(e, !0);
|
||||
let n = U(null),
|
||||
r = U(ve(J ? "" : "turnstile-disabled"));
|
||||
function _(t, i) {
|
||||
return `${_e}/auth/${t}?token=${i}${e.redirect ? `&r=${e.redirect}` : ""}`;
|
||||
}
|
||||
var m = Ae(),
|
||||
s = d(m),
|
||||
M = d(s);
|
||||
he(M, { hasText: !0 }), f(s);
|
||||
var g = u(s, 2),
|
||||
C = d(g),
|
||||
E = d(C);
|
||||
{
|
||||
var P = (t) => {
|
||||
var i = je(),
|
||||
l = X(i),
|
||||
o = d(l);
|
||||
Ke(o, { class: "mr-1 size-5" });
|
||||
var H = u(o);
|
||||
f(l);
|
||||
var I = u(l, 2),
|
||||
Y = d(I);
|
||||
Ue(Y, { class: "mr-1 size-5" });
|
||||
var re = u(Y);
|
||||
f(I);
|
||||
var q = u(I, 2),
|
||||
O = d(q);
|
||||
{
|
||||
var ne = (h) => {
|
||||
{
|
||||
let N = $(() => be.trim());
|
||||
He(h, {
|
||||
get siteKey() {
|
||||
return v(N);
|
||||
},
|
||||
callback: (K) => {
|
||||
D(r, K, !0);
|
||||
},
|
||||
});
|
||||
}
|
||||
};
|
||||
B(O, (h) => {
|
||||
J && h(ne);
|
||||
});
|
||||
}
|
||||
var le = u(O, 2);
|
||||
B(le, (h) => {}),
|
||||
f(q),
|
||||
j(
|
||||
(h, N, K, ie) => {
|
||||
A(
|
||||
l,
|
||||
1,
|
||||
G({
|
||||
"btn btn-lg bg-base-100 w-full text-base": !0,
|
||||
"bg-base-content/10 pointer-events-none": !v(r),
|
||||
})
|
||||
),
|
||||
Z(l, "href", h),
|
||||
y(H, ` ${N ?? ""}`),
|
||||
A(
|
||||
I,
|
||||
1,
|
||||
G({
|
||||
"btn btn-lg bg-base-100 w-full text-base": !0,
|
||||
"bg-base-content/10 pointer-events-none": !v(r),
|
||||
})
|
||||
),
|
||||
Z(I, "href", K),
|
||||
y(re, ` ${ie ?? ""}`);
|
||||
},
|
||||
[
|
||||
() => (v(r) ? _("google", v(r)) : "#"),
|
||||
() => Q({ name: "Google" }),
|
||||
() => (v(r) ? _("twitch", v(r)) : "#"),
|
||||
() => Q({ name: "Twitch" }),
|
||||
]
|
||||
),
|
||||
w(t, i);
|
||||
};
|
||||
B(E, (t) => {
|
||||
t(P, !1);
|
||||
});
|
||||
}
|
||||
f(C),
|
||||
f(g),
|
||||
me(
|
||||
g,
|
||||
(t) => D(n, t),
|
||||
() => v(n)
|
||||
);
|
||||
var S = u(g, 2),
|
||||
T = d(S),
|
||||
b = u(T),
|
||||
x = d(b, !0);
|
||||
f(b);
|
||||
var k = u(b),
|
||||
z = u(k),
|
||||
F = d(z, !0);
|
||||
f(z),
|
||||
f(S),
|
||||
f(m),
|
||||
j(
|
||||
(t, i, l, o) => {
|
||||
y(T, `${t ?? ""} `), y(x, i), y(k, ` ${l ?? ""} `), y(F, o);
|
||||
},
|
||||
[() => Le(), () => Te(), () => De(), () => Se()]
|
||||
),
|
||||
w(a, m),
|
||||
p();
|
||||
}
|
||||
export { pe as L, Ue as T, He as a };
|
||||
@@ -1 +0,0 @@
|
||||
import{g as o}from"./DklPLC_x.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"35111e7039e8c68cc677344b7f7c6971567f6820"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6cf8a249-5900-4491-a606-2fb2ee92a24f",e._sentryDebugIdIdentifier="sentry-dbid-6cf8a249-5900-4491-a606-2fb2ee92a24f")})()}catch{}const t=()=>"Export CSV",f=()=>"Exportar CSV",l=(e={},n={})=>(n.locale??o())==="en"?t():f();export{l as e};
|
||||
@@ -1 +0,0 @@
|
||||
import{g as o}from"./DklPLC_x.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"35111e7039e8c68cc677344b7f7c6971567f6820"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="488cf311-8f60-4dea-820a-6e96b60c34c0",e._sentryDebugIdIdentifier="sentry-dbid-488cf311-8f60-4dea-820a-6e96b60c34c0")})()}catch{}const t=()=>"Go to map",a=()=>"Ir para o mapa",l=(e={},n={})=>(n.locale??o())==="en"?t():a();export{l as g};
|
||||
@@ -0,0 +1,40 @@
|
||||
import { g as t } from "./CV9xcpLq.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
n = new e.Error().stack;
|
||||
n &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[n] = "82e5352c-47b9-45dc-82d9-9c5d1081102b"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-82e5352c-47b9-45dc-82d9-9c5d1081102b"));
|
||||
})();
|
||||
} catch {}
|
||||
const o = () => "Open tickets",
|
||||
d = () => "Tickets abertos",
|
||||
s = (e = {}, n = {}) => ((n.locale ?? t()) === "en" ? o() : d());
|
||||
export { s as o };
|
||||
@@ -1,40 +0,0 @@
|
||||
import { M as n, H as t, z as a, L as b, S as c } from "./BDALf20I.js";
|
||||
(function () {
|
||||
try {
|
||||
var f = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
f.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var f = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
i = new f.Error().stack;
|
||||
i && ((f._sentryDebugIds = f._sentryDebugIds || {}), (f._sentryDebugIds[i] = "b6ca37b8-1ecd-490a-80c1-a7d85598b3d9"), (f._sentryDebugIdIdentifier = "sentry-dbid-b6ca37b8-1ecd-490a-80c1-a7d85598b3d9"));
|
||||
})();
|
||||
} catch {}
|
||||
function r(f, i) {
|
||||
return f === i || (f == null ? void 0 : f[c]) === i;
|
||||
}
|
||||
function g(f = {}, i, e, y) {
|
||||
return (
|
||||
n(() => {
|
||||
var s, d;
|
||||
return (
|
||||
t(() => {
|
||||
(s = d),
|
||||
(d = []),
|
||||
a(() => {
|
||||
f !== e(...d) && (i(f, ...d), s && r(e(...s), f) && i(null, ...s));
|
||||
});
|
||||
}),
|
||||
() => {
|
||||
b(() => {
|
||||
d && r(e(...d), f) && i(null, ...d);
|
||||
});
|
||||
}
|
||||
);
|
||||
}),
|
||||
f
|
||||
);
|
||||
}
|
||||
export { g as b };
|
||||
@@ -0,0 +1,52 @@
|
||||
import { g as t } from "./CV9xcpLq.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
n = new e.Error().stack;
|
||||
n &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[n] = "78305447-0aa0-4fe7-b9f4-39f491404710"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-78305447-0aa0-4fe7-b9f4-39f491404710"));
|
||||
})();
|
||||
} catch {}
|
||||
const l = () => "Save",
|
||||
o = () => "Salvar",
|
||||
y = (e = {}, n = {}) => ((n.locale ?? t()) === "en" ? l() : o()),
|
||||
s = () => "Members",
|
||||
a = () => "Membros",
|
||||
_ = (e = {}, n = {}) => ((n.locale ?? t()) === "en" ? s() : a()),
|
||||
i = () => "Player",
|
||||
c = () => "Jogador",
|
||||
g = (e = {}, n = {}) => ((n.locale ?? t()) === "en" ? i() : c()),
|
||||
u = () => "Last pixel",
|
||||
f = () => "Último pixel",
|
||||
m = (e = {}, n = {}) => ((n.locale ?? t()) === "en" ? u() : f()),
|
||||
d = () => "Visit",
|
||||
p = () => "Visitar",
|
||||
v = (e = {}, n = {}) => ((n.locale ?? t()) === "en" ? d() : p());
|
||||
export { m as l, _ as m, g as p, y as s, v };
|
||||
@@ -1 +0,0 @@
|
||||
import"./B2cHk4HI.js";import{v as n,b as r}from"./BDALf20I.js";import{b as s}from"./BNZUboE0.js";import{r as i}from"./Bke_korE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"35111e7039e8c68cc677344b7f7c6971567f6820"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6275c75f-2cba-4611-a807-b274187f8ba0",e._sentryDebugIdIdentifier="sentry-dbid-6275c75f-2cba-4611-a807-b274187f8ba0")})()}catch{}var l=n('<svg><path d="M790-56 414-434q-47 11-87.5 33T254-346l-84-86q32-32 69-56t79-42l-90-90q-41 21-76.5 46.5T84-516L0-602q32-32 66.5-57.5T140-708l-84-84 56-56 736 736-58 56Zm-310-64q-42 0-71-29.5T380-220q0-42 29-71t71-29q42 0 71 29t29 71q0 41-29 70.5T480-120Zm236-238-29-29-29-29-144-144q81 8 151.5 41T790-432l-74 74Zm160-158q-77-77-178.5-120.5T480-680q-21 0-40.5 1.5T400-674L298-776q44-12 89.5-18t92.5-6q142 0 265 53t215 145l-84 86Z"></path></svg>');function c(e,t){let f=i(t,["$$slots","$$events","$$legacy"]);var o=l();s(o,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor",...f})),r(e,o)}export{c as W};
|
||||
@@ -1,24 +0,0 @@
|
||||
import { h as i, e as m, g as p, E as _, i as h, j as v, k as l, l as b, m as g, n as k } from "./DUoKDNpf.js";
|
||||
function x(s, d, u) {
|
||||
i && m();
|
||||
var r = s,
|
||||
n,
|
||||
e,
|
||||
a = null,
|
||||
f = null;
|
||||
function t() {
|
||||
e && (k(e), (e = null)), a && (a.lastChild.remove(), r.before(a), (a = null)), (e = f), (f = null);
|
||||
}
|
||||
p(() => {
|
||||
if (n !== (n = d())) {
|
||||
var c = b();
|
||||
if (n) {
|
||||
var o = r;
|
||||
c && ((a = document.createDocumentFragment()), a.append((o = h())), e && l.skipped_effects.add(e)), (f = v(() => u(o, n)));
|
||||
}
|
||||
c ? l.add_callback(t) : t();
|
||||
}
|
||||
}, _),
|
||||
i && (r = g);
|
||||
}
|
||||
export { x as c };
|
||||
@@ -1,50 +0,0 @@
|
||||
import { w as p, x as g, y as l, z as y, A as _, B as d, g as u, C as w, D as h } from "./BDALf20I.js";
|
||||
(function () {
|
||||
try {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
e.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
n = new e.Error().stack;
|
||||
n && ((e._sentryDebugIds = e._sentryDebugIds || {}), (e._sentryDebugIds[n] = "888755b8-82ba-4039-836b-67876fe1f611"), (e._sentryDebugIdIdentifier = "sentry-dbid-888755b8-82ba-4039-836b-67876fe1f611"));
|
||||
})();
|
||||
} catch {}
|
||||
function m(e = !1) {
|
||||
const n = p,
|
||||
f = n.l.u;
|
||||
if (!f) return;
|
||||
let i = () => w(n.s);
|
||||
if (e) {
|
||||
let s = 0,
|
||||
t = {};
|
||||
const b = h(() => {
|
||||
let r = !1;
|
||||
const a = n.s;
|
||||
for (const o in a) a[o] !== t[o] && ((t[o] = a[o]), (r = !0));
|
||||
return r && s++, s;
|
||||
});
|
||||
i = () => u(b);
|
||||
}
|
||||
f.b.length &&
|
||||
g(() => {
|
||||
c(n, i), d(f.b);
|
||||
}),
|
||||
l(() => {
|
||||
const s = y(() => f.m.map(_));
|
||||
return () => {
|
||||
for (const t of s) typeof t == "function" && t();
|
||||
};
|
||||
}),
|
||||
f.a.length &&
|
||||
l(() => {
|
||||
c(n, i), d(f.a);
|
||||
});
|
||||
}
|
||||
function c(e, n) {
|
||||
if (e.l.s) for (const f of e.l.s) u(f);
|
||||
n();
|
||||
}
|
||||
export { m as i };
|
||||
@@ -1,92 +0,0 @@
|
||||
import { bk as B, g as E, a1 as M, H as u, z as l, bl as w, L as d } from "./BDALf20I.js";
|
||||
(function () {
|
||||
try {
|
||||
var q = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
q.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var q = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
V = new q.Error().stack;
|
||||
V && ((q._sentryDebugIds = q._sentryDebugIds || {}), (q._sentryDebugIds[V] = "7dfee601-a4e3-44a0-a728-07e9d3b55676"), (q._sentryDebugIdIdentifier = "sentry-dbid-7dfee601-a4e3-44a0-a728-07e9d3b55676"));
|
||||
})();
|
||||
} catch {}
|
||||
function y(q) {
|
||||
let V = 0,
|
||||
A = M(0),
|
||||
e;
|
||||
return () => {
|
||||
B() &&
|
||||
(E(A),
|
||||
u(
|
||||
() => (
|
||||
V === 0 && (e = l(() => q(() => w(A)))),
|
||||
(V += 1),
|
||||
() => {
|
||||
d(() => {
|
||||
(V -= 1), V === 0 && (e == null || e(), (e = void 0), w(A));
|
||||
});
|
||||
}
|
||||
)
|
||||
));
|
||||
};
|
||||
}
|
||||
const D =
|
||||
"data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjYwLjE2LjEwMAAAAAAAAAAAAAAA//tAwAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAAAEAAAHPAB+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn6pqampqampqampqampqampqampqampqamp29vb29vb29vb29vb29vb29vb29vb29vb2/////////////////////////////////8AAAAATGF2YzYwLjMxAAAAAAAAAAAAAAAAJANgAAAAAAAABzxmm4psAAAAAAD/+8DEAAAF7A1FtDAAIzil6D87kgAAAktuqNu7gOcCAAgEATB8HzcHwfB8+DgIROD4ABAEAQOeCH/iAMXLB9//BB3Lg+AAIgJwBCSoyQ0QES1dNwAYhicYDAiarL8aXE4ZXwYe9BkCgLS/Dg4MKQDMkgCjAiAxujyCQPmFYGBApKtkawq2qi9GqTYgLTpFiGdI9O1D5NmvVykb4Q0iC3QOU5rUBLCQ9IoJWFutwdm2v5UmUWmoy2K9QxuXw5RxuOwA2j2ytp2dZrWp2A2/kMupbmC5HKc2et0mbjSyeld35/luxXs97SW4/JJiln38v54TdWITN+nq3a1Pq93WW/3/vNLLf/////K6sDGP////6PvWxQBFoFJABHMZRCBoQGHo/GW6NG17vGW1Zm25xgoZkkHEXiCgHb9v4bi8evlnFw5BStnezI76WTtDaVvOnLL8s9+1t95y7trVqdf0zfXXtpb2dzNrj94XquvZ0M/NLX6l+vktgwC4jICYwfNAuho0IiQuj////9r102AEMKOmGkMYagJIsBaYDIChgOgJiENow+wojIdUMMSQEYSBUTMZQb0o8Sk0SAjR1t5HOrfQNex7cq0ENSD4pyGX7X0xZTZxIYcKtF3mZptVyMvMJudNbJV6UKXY/pfr32nNn0c5rcEZq6nJYnCORDbENctTk5KWZdS63RUTWFzZVbMV3mt6vHJyziusGx5zczaCWWIN////qcOYSSNcFwyUIAAjtY6tsg5hoaQgzCTEAExUCDBozfYO8qSY3T3MLBgMXFAyoIjSiUtF/0DIhCIBgG52VxKVSh3n1s08dh16HvYXJ8JdlBMxT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TxA9NhPR3sPM5AAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV",
|
||||
m = "" + new URL("../assets/notification.CPyrWqU1.mp3", import.meta.url).href,
|
||||
Y =
|
||||
"data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjYwLjE2LjEwMAAAAAAAAAAAAAAA//tAwAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAAADAAAHVgCKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioru7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7///////////////////////////////////////////8AAAAATGF2YzYwLjMxAAAAAAAAAAAAAAAAJAUQAAAAAAAAB1ZvGw9zAAAAAAD/+9DEAAAGgANNtBAAJL5DKPc9kEkIAKVy6ZvTvjNiAEAQA4fwcOKBAED85LicHw/BAEHfg+D4f/B8Hwf/Ococ/lz//4P//lwfAAAQCzgEApUAchBICAMDwGwwpg3jDHA2MWkaAxCQqDAjBQMMoFYwVgLDCrX1NfwPQxajfTO/VkEYD4sAuYOwYBgPgBGmQOAYIgDoKER8AN4KNYgISnpehHt0X2WsksoO27zM1duB3IgimTpnXNwTefFr9ly4HYK1lgtE8a3uVY23SCpDEpz4xL3DZVTV8ZygdeB4X+GuX6sTh9sVNAzuwVTIUztBdnLL60VnPsrt8f+fw/LCUy2caLDNmzuzGatmcu97UsVIYilyxqUcpaSPSW63KzZucjnakuzw+zlc5nD7yfL5zPv59z7/dQ9EolEu9pf5V1Y1+7Eayl1qkt8rXLGdi5nz//////////////////9/r9dw1l39/+P73/7////rWr1PdwxvJCIEbNPJ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qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",
|
||||
L = T();
|
||||
function T() {
|
||||
const q = { plop: new Audio(Y), smallPlop: new Audio(p), bigPlop: new Audio(D), smallDropplet: new Audio(G), droppletAndPlop: new Audio(c), notification1: new Audio(m) };
|
||||
for (const V of Object.values(q)) (V.preload = "auto"), (V.volume = 0.3);
|
||||
return q;
|
||||
}
|
||||
let t;
|
||||
function f(q) {
|
||||
return (t = q), a({ type: "previewPixels", data: q });
|
||||
}
|
||||
function C() {
|
||||
return (t = void 0), a({ type: "clearPixelPreview" });
|
||||
}
|
||||
function x(q) {
|
||||
return a({ type: "paintPixels", data: q });
|
||||
}
|
||||
async function U() {
|
||||
t || (await a({ type: "clearPixelPreview" }));
|
||||
}
|
||||
function a(q) {
|
||||
const V = Math.random(),
|
||||
A = { ...q, id: V };
|
||||
return new Promise((e, s) => {
|
||||
try {
|
||||
const i = navigator.serviceWorker;
|
||||
i || s(new Error("You're an using an older browser, some features might not work. Consider updating or changing browser."));
|
||||
const r = (g) => {
|
||||
var o;
|
||||
((o = g.data) == null ? void 0 : o.id) === V && (e(void 0), i.removeEventListener("message", r));
|
||||
};
|
||||
i.addEventListener("message", r);
|
||||
const n = navigator.serviceWorker.controller;
|
||||
n
|
||||
? n.postMessage(A)
|
||||
: navigator.serviceWorker.ready.then((g) => {
|
||||
const o = g.active;
|
||||
o ? o == null || o.postMessage(A) : s(new Error("Service worker registration not active"));
|
||||
});
|
||||
} catch (i) {
|
||||
s(i);
|
||||
}
|
||||
});
|
||||
}
|
||||
function J({ pixel: q, season: V, tile: A }) {
|
||||
return `t=(${A[0]},${A[1]});p=(${q[0]},${q[1]});s=${V}`;
|
||||
}
|
||||
export { L as A, C as a, x as b, y as c, J as g, f as p, U as s };
|
||||
@@ -1,129 +0,0 @@
|
||||
import {
|
||||
g as y,
|
||||
h as m,
|
||||
e as h,
|
||||
ab as b,
|
||||
aa as x,
|
||||
ao as C,
|
||||
E as w,
|
||||
j as A,
|
||||
ap as E,
|
||||
a0 as S,
|
||||
m as d,
|
||||
J as k,
|
||||
aq as c,
|
||||
w as T,
|
||||
ar as p,
|
||||
as as j,
|
||||
u as s,
|
||||
Y as P,
|
||||
at as v,
|
||||
au as R,
|
||||
x as f,
|
||||
av as z,
|
||||
aw as D,
|
||||
ax as F,
|
||||
ay as M,
|
||||
az as N,
|
||||
aA as O,
|
||||
aB as U,
|
||||
} from "./DUoKDNpf.js";
|
||||
import { h as $, m as q, u as B } from "./g8c1BvYP.js";
|
||||
function W(e, t, ...r) {
|
||||
var n = e,
|
||||
a = E,
|
||||
o;
|
||||
y(() => {
|
||||
a !== (a = t()) && (o && (S(o), (o = null)), (o = A(() => a(n, ...r))));
|
||||
}, w),
|
||||
m && (n = d);
|
||||
}
|
||||
function J(e) {
|
||||
return (t, ...r) => {
|
||||
var u;
|
||||
var n = e(...r),
|
||||
a;
|
||||
if (m) (a = d), h();
|
||||
else {
|
||||
var o = n.render().trim(),
|
||||
i = b(o);
|
||||
(a = k(i)), t.before(a);
|
||||
}
|
||||
const l = (u = n.setup) == null ? void 0 : u.call(n, a);
|
||||
x(a, a), typeof l == "function" && C(l);
|
||||
};
|
||||
}
|
||||
function Y() {
|
||||
var e;
|
||||
return p === null && j(), ((e = p).ac ?? (e.ac = new AbortController())).signal;
|
||||
}
|
||||
function g(e) {
|
||||
s === null && c(),
|
||||
R && s.l !== null
|
||||
? _(s).m.push(e)
|
||||
: T(() => {
|
||||
const t = f(e);
|
||||
if (typeof t == "function") return t;
|
||||
});
|
||||
}
|
||||
function G(e) {
|
||||
s === null && c(), g(() => () => f(e));
|
||||
}
|
||||
function H(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
||||
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
||||
}
|
||||
function I() {
|
||||
const e = s;
|
||||
return (
|
||||
e === null && c(),
|
||||
(t, r, n) => {
|
||||
var o;
|
||||
const a = (o = e.s.$$events) == null ? void 0 : o[t];
|
||||
if (a) {
|
||||
const i = P(a) ? a.slice() : [a],
|
||||
l = H(t, r, n);
|
||||
for (const u of i) u.call(e.x, l);
|
||||
return !l.defaultPrevented;
|
||||
}
|
||||
return !0;
|
||||
}
|
||||
);
|
||||
}
|
||||
function K(e) {
|
||||
s === null && c(), s.l === null && v(), _(s).b.push(e);
|
||||
}
|
||||
function L(e) {
|
||||
s === null && c(), s.l === null && v(), _(s).a.push(e);
|
||||
}
|
||||
function _(e) {
|
||||
var t = e.l;
|
||||
return t.u ?? (t.u = { a: [], b: [], m: [] });
|
||||
}
|
||||
const X = Object.freeze(
|
||||
Object.defineProperty(
|
||||
{
|
||||
__proto__: null,
|
||||
afterUpdate: L,
|
||||
beforeUpdate: K,
|
||||
createEventDispatcher: I,
|
||||
createRawSnippet: J,
|
||||
flushSync: z,
|
||||
getAbortSignal: Y,
|
||||
getAllContexts: D,
|
||||
getContext: F,
|
||||
hasContext: M,
|
||||
hydrate: $,
|
||||
mount: q,
|
||||
onDestroy: G,
|
||||
onMount: g,
|
||||
setContext: N,
|
||||
settled: O,
|
||||
tick: U,
|
||||
unmount: B,
|
||||
untrack: f,
|
||||
},
|
||||
Symbol.toStringTag,
|
||||
{ value: "Module" }
|
||||
)
|
||||
);
|
||||
export { X as a, g as o, W as s };
|
||||
@@ -1,2 +0,0 @@
|
||||
var e;
|
||||
typeof window < "u" && ((e = window.__svelte ?? (window.__svelte = {})).v ?? (e.v = new Set())).add("5");
|
||||
@@ -1,28 +0,0 @@
|
||||
import { s as d, p as t } from "./B4HM4TqG.js";
|
||||
(function () {
|
||||
try {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
e.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
n = new e.Error().stack;
|
||||
n && ((e._sentryDebugIds = e._sentryDebugIds || {}), (e._sentryDebugIds[n] = "a3dbed05-c198-4ed7-927f-c0428effe604"), (e._sentryDebugIdIdentifier = "sentry-dbid-a3dbed05-c198-4ed7-927f-c0428effe604"));
|
||||
})();
|
||||
} catch {}
|
||||
const f = {
|
||||
get error() {
|
||||
return t.error;
|
||||
},
|
||||
get status() {
|
||||
return t.status;
|
||||
},
|
||||
get url() {
|
||||
return t.url;
|
||||
},
|
||||
};
|
||||
d.updated.check;
|
||||
const r = f;
|
||||
export { r as p };
|
||||
@@ -0,0 +1,137 @@
|
||||
import {
|
||||
bk as B,
|
||||
g as E,
|
||||
_ as M,
|
||||
H as d,
|
||||
z as u,
|
||||
bl as w,
|
||||
L as l,
|
||||
} from "./CMvZtFtm.js";
|
||||
(function () {
|
||||
try {
|
||||
var q =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
q.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var q =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
V = new q.Error().stack;
|
||||
V &&
|
||||
((q._sentryDebugIds = q._sentryDebugIds || {}),
|
||||
(q._sentryDebugIds[V] = "09f87ec5-2106-454b-b5de-093b7f8953b6"),
|
||||
(q._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-09f87ec5-2106-454b-b5de-093b7f8953b6"));
|
||||
})();
|
||||
} catch {}
|
||||
function f(q) {
|
||||
let V = 0,
|
||||
A = M(0),
|
||||
e;
|
||||
return () => {
|
||||
B() &&
|
||||
(E(A),
|
||||
d(
|
||||
() => (
|
||||
V === 0 && (e = u(() => q(() => w(A)))),
|
||||
(V += 1),
|
||||
() => {
|
||||
l(() => {
|
||||
(V -= 1), V === 0 && (e == null || e(), (e = void 0), w(A));
|
||||
});
|
||||
}
|
||||
)
|
||||
));
|
||||
};
|
||||
}
|
||||
const D =
|
||||
"data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjYwLjE2LjEwMAAAAAAAAAAAAAAA//tAwAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAAAEAAAHPAB+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn6pqampqampqampqampqampqampqampqamp29vb29vb29vb29vb29vb29vb29vb29vb2/////////////////////////////////8AAAAATGF2YzYwLjMxAAAAAAAAAAAAAAAAJANgAAAAAAAABzxmm4psAAAAAAD/+8DEAAAF7A1FtDAAIzil6D87kgAAAktuqNu7gOcCAAgEATB8HzcHwfB8+DgIROD4ABAEAQOeCH/iAMXLB9//BB3Lg+AAIgJwBCSoyQ0QES1dNwAYhicYDAiarL8aXE4ZXwYe9BkCgLS/Dg4MKQDMkgCjAiAxujyCQPmFYGBApKtkawq2qi9GqTYgLTpFiGdI9O1D5NmvVykb4Q0iC3QOU5rUBLCQ9IoJWFutwdm2v5UmUWmoy2K9QxuXw5RxuOwA2j2ytp2dZrWp2A2/kMupbmC5HKc2et0mbjSyeld35/luxXs97SW4/JJiln38v54TdWITN+nq3a1Pq93WW/3/vNLLf/////K6sDGP////6PvWxQBFoFJABHMZRCBoQGHo/GW6NG17vGW1Zm25xgoZkkHEXiCgHb9v4bi8evlnFw5BStnezI76WTtDaVvOnLL8s9+1t95y7trVqdf0zf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VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7QMTxA9NhPR3sPM5AAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV",
|
||||
m = "" + new URL("../assets/notification.CPyrWqU1.mp3", import.meta.url).href,
|
||||
Y =
|
||||
"data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjYwLjE2LjEwMAAAAAAAAAAAAAAA//tAwAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAAADAAAHVgCKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioru7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7///////////////////////////////////////////8AAAAATGF2YzYwLjMxAAAAAAAAAAAAAAAAJAUQAAAAAAAAB1ZvGw9zAAAAAAD/+9DEAAAGgANNtBAAJL5DKPc9kEkIAKVy6ZvTvjNiAEAQA4fwcOKBAED85LicHw/BAEHfg+D4f/B8Hwf/Ococ/lz//4P//lwfAAAQCzgEApUAchBICAMDwGwwpg3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qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq//tgxOMAHVGjN7magIAAADSDgAAEqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",
|
||||
y = T();
|
||||
function T() {
|
||||
const q = {
|
||||
plop: new Audio(Y),
|
||||
smallPlop: new Audio(p),
|
||||
bigPlop: new Audio(D),
|
||||
smallDropplet: new Audio(G),
|
||||
droppletAndPlop: new Audio(c),
|
||||
notification1: new Audio(m),
|
||||
};
|
||||
for (const V of Object.values(q)) (V.preload = "auto"), (V.volume = 0.3);
|
||||
return q;
|
||||
}
|
||||
let t;
|
||||
function b(q) {
|
||||
return (t = q), a({ type: "previewPixels", data: q });
|
||||
}
|
||||
function L() {
|
||||
return (t = void 0), a({ type: "clearPixelPreview" });
|
||||
}
|
||||
function C(q) {
|
||||
return a({ type: "paintPixels", data: q });
|
||||
}
|
||||
async function x() {
|
||||
t || (await a({ type: "clearPixelPreview" }));
|
||||
}
|
||||
function a(q) {
|
||||
const V = Math.random(),
|
||||
A = { ...q, id: V };
|
||||
return new Promise((e, s) => {
|
||||
try {
|
||||
const i = navigator.serviceWorker;
|
||||
i ||
|
||||
s(
|
||||
new Error(
|
||||
"You're an using an older browser, some features might not work. Consider updating or changing browser."
|
||||
)
|
||||
);
|
||||
const r = (g) => {
|
||||
var o;
|
||||
((o = g.data) == null ? void 0 : o.id) === V &&
|
||||
(e(void 0), i.removeEventListener("message", r));
|
||||
};
|
||||
i.addEventListener("message", r);
|
||||
const n = navigator.serviceWorker.controller;
|
||||
n
|
||||
? n.postMessage(A)
|
||||
: navigator.serviceWorker.ready.then((g) => {
|
||||
const o = g.active;
|
||||
o
|
||||
? o == null || o.postMessage(A)
|
||||
: s(new Error("Service worker registration not active"));
|
||||
});
|
||||
} catch (i) {
|
||||
s(i);
|
||||
}
|
||||
});
|
||||
}
|
||||
function U({ pixel: q, season: V, tile: A }) {
|
||||
return `t=(${A[0]},${A[1]});p=(${q[0]},${q[1]});s=${V}`;
|
||||
}
|
||||
export { y as A, L as a, C as b, f as c, U as g, b as p, x as s };
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,40 @@
|
||||
import { g as f } from "./CV9xcpLq.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
n = new e.Error().stack;
|
||||
n &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[n] = "b6fedc18-c426-4b17-bf09-8644b91cab4b"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-b6fedc18-c426-4b17-bf09-8644b91cab4b"));
|
||||
})();
|
||||
} catch {}
|
||||
const t = () => "Refresh",
|
||||
d = () => "Atualizar",
|
||||
l = (e = {}, n = {}) => ((n.locale ?? f()) === "en" ? t() : d());
|
||||
export { l as r };
|
||||
@@ -0,0 +1,40 @@
|
||||
import { g as o } from "./CV9xcpLq.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
n = new e.Error().stack;
|
||||
n &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[n] = "a39ce8e6-c68e-4670-97d0-cab3082bdbf7"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-a39ce8e6-c68e-4670-97d0-cab3082bdbf7"));
|
||||
})();
|
||||
} catch {}
|
||||
const d = () => "Confirm",
|
||||
f = () => "Confirmar",
|
||||
i = (e = {}, n = {}) => ((n.locale ?? o()) === "en" ? d() : f());
|
||||
export { i as c };
|
||||
@@ -1,80 +0,0 @@
|
||||
const f = ["en", "zh", "zh-cn", "zh-tw"],
|
||||
g = "PARAGLIDE_LOCALE",
|
||||
u = ["localStorage", "preferredLanguage", "baseLocale"];
|
||||
globalThis.__paraglide = {};
|
||||
let i = !1,
|
||||
h = () => {
|
||||
let e;
|
||||
for (const t of u) {
|
||||
if (t === "baseLocale") e = "en";
|
||||
else if (t === "preferredLanguage") e = w();
|
||||
else if (t === "localStorage") e = localStorage.getItem(g) ?? void 0;
|
||||
else if (d(t) && r.has(t)) {
|
||||
const o = r.get(t);
|
||||
if (o) {
|
||||
const a = o.getLocale();
|
||||
if (a instanceof Promise) continue;
|
||||
e = a
|
||||
}
|
||||
}
|
||||
if (e !== void 0) {
|
||||
const o = p(e);
|
||||
return i || (i = !0, m(o, {
|
||||
reload: !1
|
||||
})), o
|
||||
}
|
||||
}
|
||||
throw new Error("No locale found. Read the docs https://inlang.com/m/gerre34r/library-inlang-paraglideJs/errors#no-locale-found")
|
||||
},
|
||||
m = (e, t) => {
|
||||
const o = {
|
||||
reload: !0,
|
||||
...t
|
||||
};
|
||||
let a;
|
||||
try {
|
||||
a = h()
|
||||
} catch {}
|
||||
for (const l of u)
|
||||
if (l !== "baseLocale") {
|
||||
if (l === "localStorage" && typeof window < "u") localStorage.setItem(g, e);
|
||||
else if (d(l) && r.has(l)) {
|
||||
const n = r.get(l);
|
||||
if (n) {
|
||||
const c = n.setLocale(e);
|
||||
c instanceof Promise && c.catch(L => {
|
||||
console.warn(`Custom strategy "${l}" setLocale failed:`, L)
|
||||
})
|
||||
}
|
||||
}
|
||||
} o.reload && window.location && e !== a && window.location.reload()
|
||||
};
|
||||
|
||||
function s(e) {
|
||||
return e ? f.includes(e) : !1
|
||||
}
|
||||
|
||||
function p(e) {
|
||||
if (s(e) === !1) throw new Error(`Invalid locale: ${e}. Expected one of: ${f.join(", ")}`);
|
||||
return e
|
||||
}
|
||||
|
||||
function w() {
|
||||
if (!navigator?.languages?.length) return "en";
|
||||
for (const lang of navigator.languages) {
|
||||
const tag = lang.toLowerCase();
|
||||
if (tag.startsWith("zh")) {
|
||||
return "zh";
|
||||
}
|
||||
}
|
||||
return "en";
|
||||
}
|
||||
|
||||
const r = new Map;
|
||||
|
||||
function d(e) {
|
||||
return typeof e == "string" && /^custom-[A-Za-z0-9_-]+$/.test(e)
|
||||
}
|
||||
export {
|
||||
h as g, g as l
|
||||
};
|
||||
@@ -0,0 +1,482 @@
|
||||
import {
|
||||
i as Y,
|
||||
a5 as k,
|
||||
k as G,
|
||||
ac as P,
|
||||
h as p,
|
||||
a1 as Z,
|
||||
b5 as Q,
|
||||
J as W,
|
||||
K as X,
|
||||
G as m,
|
||||
b6 as x,
|
||||
b7 as rr,
|
||||
b8 as fr,
|
||||
b9 as ir,
|
||||
g as er,
|
||||
ba as ar,
|
||||
bb as tr,
|
||||
T as j,
|
||||
bc as ur,
|
||||
bd as sr,
|
||||
at as or,
|
||||
be as lr,
|
||||
bf as nr,
|
||||
aM as cr,
|
||||
bg as dr,
|
||||
bh as vr,
|
||||
bi as br,
|
||||
} from "./CMvZtFtm.js";
|
||||
(function () {
|
||||
try {
|
||||
var r =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
r.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var r =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
f = new r.Error().stack;
|
||||
f &&
|
||||
((r._sentryDebugIds = r._sentryDebugIds || {}),
|
||||
(r._sentryDebugIds[f] = "3e064db4-a3f5-4fbb-9aa1-ead39619ee99"),
|
||||
(r._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-3e064db4-a3f5-4fbb-9aa1-ead39619ee99"));
|
||||
})();
|
||||
} catch {}
|
||||
function gr(r, f) {
|
||||
var i = void 0,
|
||||
e;
|
||||
Y(() => {
|
||||
i !== (i = f()) &&
|
||||
(e && (k(e), (e = null)),
|
||||
i &&
|
||||
(e = G(() => {
|
||||
P(() => i(r));
|
||||
})));
|
||||
});
|
||||
}
|
||||
function H(r) {
|
||||
var f,
|
||||
i,
|
||||
e = "";
|
||||
if (typeof r == "string" || typeof r == "number") e += r;
|
||||
else if (typeof r == "object")
|
||||
if (Array.isArray(r)) {
|
||||
var a = r.length;
|
||||
for (f = 0; f < a; f++)
|
||||
r[f] && (i = H(r[f])) && (e && (e += " "), (e += i));
|
||||
} else for (i in r) r[i] && (e && (e += " "), (e += i));
|
||||
return e;
|
||||
}
|
||||
function hr() {
|
||||
for (var r, f, i = 0, e = "", a = arguments.length; i < a; i++)
|
||||
(r = arguments[i]) && (f = H(r)) && (e && (e += " "), (e += f));
|
||||
return e;
|
||||
}
|
||||
function _r(r) {
|
||||
return typeof r == "object" ? hr(r) : r ?? "";
|
||||
}
|
||||
const q = [
|
||||
...`
|
||||
\r\f \v\uFEFF`,
|
||||
];
|
||||
function Ar(r, f, i) {
|
||||
var e = r == null ? "" : "" + r;
|
||||
if ((f && (e = e ? e + " " + f : f), i)) {
|
||||
for (var a in i)
|
||||
if (i[a]) e = e ? e + " " + a : a;
|
||||
else if (e.length)
|
||||
for (var t = a.length, u = 0; (u = e.indexOf(a, u)) >= 0; ) {
|
||||
var s = u + t;
|
||||
(u === 0 || q.includes(e[u - 1])) &&
|
||||
(s === e.length || q.includes(e[s]))
|
||||
? (e = (u === 0 ? "" : e.substring(0, u)) + e.substring(s + 1))
|
||||
: (u = s);
|
||||
}
|
||||
}
|
||||
return e === "" ? null : e;
|
||||
}
|
||||
function D(r, f = !1) {
|
||||
var i = f ? " !important;" : ";",
|
||||
e = "";
|
||||
for (var a in r) {
|
||||
var t = r[a];
|
||||
t != null && t !== "" && (e += " " + a + ": " + t + i);
|
||||
}
|
||||
return e;
|
||||
}
|
||||
function C(r) {
|
||||
return r[0] !== "-" || r[1] !== "-" ? r.toLowerCase() : r;
|
||||
}
|
||||
function Sr(r, f) {
|
||||
if (f) {
|
||||
var i = "",
|
||||
e,
|
||||
a;
|
||||
if ((Array.isArray(f) ? ((e = f[0]), (a = f[1])) : (e = f), r)) {
|
||||
r = String(r)
|
||||
.replaceAll(/\s*\/\*.*?\*\/\s*/g, "")
|
||||
.trim();
|
||||
var t = !1,
|
||||
u = 0,
|
||||
s = !1,
|
||||
d = [];
|
||||
e && d.push(...Object.keys(e).map(C)),
|
||||
a && d.push(...Object.keys(a).map(C));
|
||||
var l = 0,
|
||||
A = -1;
|
||||
const b = r.length;
|
||||
for (var v = 0; v < b; v++) {
|
||||
var c = r[v];
|
||||
if (
|
||||
(s
|
||||
? c === "/" && r[v - 1] === "*" && (s = !1)
|
||||
: t
|
||||
? t === c && (t = !1)
|
||||
: c === "/" && r[v + 1] === "*"
|
||||
? (s = !0)
|
||||
: c === '"' || c === "'"
|
||||
? (t = c)
|
||||
: c === "("
|
||||
? u++
|
||||
: c === ")" && u--,
|
||||
!s && t === !1 && u === 0)
|
||||
) {
|
||||
if (c === ":" && A === -1) A = v;
|
||||
else if (c === ";" || v === b - 1) {
|
||||
if (A !== -1) {
|
||||
var y = C(r.substring(l, A).trim());
|
||||
if (!d.includes(y)) {
|
||||
c !== ";" && v++;
|
||||
var S = r.substring(l, v).trim();
|
||||
i += " " + S + ";";
|
||||
}
|
||||
}
|
||||
(l = v + 1), (A = -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return (
|
||||
e && (i += D(e)),
|
||||
a && (i += D(a, !0)),
|
||||
(i = i.trim()),
|
||||
i === "" ? null : i
|
||||
);
|
||||
}
|
||||
return r == null ? null : String(r);
|
||||
}
|
||||
function pr(r, f, i, e, a, t) {
|
||||
var u = r.__className;
|
||||
if (p || u !== i || u === void 0) {
|
||||
var s = Ar(i, e, t);
|
||||
(!p || s !== r.getAttribute("class")) &&
|
||||
(s == null
|
||||
? r.removeAttribute("class")
|
||||
: f
|
||||
? (r.className = s)
|
||||
: r.setAttribute("class", s)),
|
||||
(r.__className = i);
|
||||
} else if (t && a !== t)
|
||||
for (var d in t) {
|
||||
var l = !!t[d];
|
||||
(a == null || l !== !!a[d]) && r.classList.toggle(d, l);
|
||||
}
|
||||
return t;
|
||||
}
|
||||
function M(r, f = {}, i, e) {
|
||||
for (var a in i) {
|
||||
var t = i[a];
|
||||
f[a] !== t &&
|
||||
(i[a] == null ? r.style.removeProperty(a) : r.style.setProperty(a, t, e));
|
||||
}
|
||||
}
|
||||
function yr(r, f, i, e) {
|
||||
var a = r.__style;
|
||||
if (p || a !== f) {
|
||||
var t = Sr(f, e);
|
||||
(!p || t !== r.getAttribute("style")) &&
|
||||
(t == null ? r.removeAttribute("style") : (r.style.cssText = t)),
|
||||
(r.__style = f);
|
||||
} else
|
||||
e &&
|
||||
(Array.isArray(e)
|
||||
? (M(r, i == null ? void 0 : i[0], e[0]),
|
||||
M(r, i == null ? void 0 : i[1], e[1], "important"))
|
||||
: M(r, i, e));
|
||||
return e;
|
||||
}
|
||||
function I(r, f, i = !1) {
|
||||
if (r.multiple) {
|
||||
if (f == null) return;
|
||||
if (!Z(f)) return Q();
|
||||
for (var e of r.options) e.selected = f.includes(w(e));
|
||||
return;
|
||||
}
|
||||
for (e of r.options) {
|
||||
var a = w(e);
|
||||
if (W(a, f)) {
|
||||
e.selected = !0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
(!i || f !== void 0) && (r.selectedIndex = -1);
|
||||
}
|
||||
function K(r) {
|
||||
var f = new MutationObserver(() => {
|
||||
I(r, r.__value);
|
||||
});
|
||||
f.observe(r, {
|
||||
childList: !0,
|
||||
subtree: !0,
|
||||
attributes: !0,
|
||||
attributeFilter: ["value"],
|
||||
}),
|
||||
X(() => {
|
||||
f.disconnect();
|
||||
});
|
||||
}
|
||||
function wr(r, f, i = f) {
|
||||
var e = !0;
|
||||
m(r, "change", (a) => {
|
||||
var t = a ? "[selected]" : ":checked",
|
||||
u;
|
||||
if (r.multiple) u = [].map.call(r.querySelectorAll(t), w);
|
||||
else {
|
||||
var s = r.querySelector(t) ?? r.querySelector("option:not([disabled])");
|
||||
u = s && w(s);
|
||||
}
|
||||
i(u);
|
||||
}),
|
||||
P(() => {
|
||||
var a = f();
|
||||
if ((I(r, a, e), e && a === void 0)) {
|
||||
var t = r.querySelector(":checked");
|
||||
t !== null && ((a = w(t)), i(a));
|
||||
}
|
||||
(r.__value = a), (e = !1);
|
||||
}),
|
||||
K(r);
|
||||
}
|
||||
function w(r) {
|
||||
return "__value" in r ? r.__value : r.value;
|
||||
}
|
||||
const E = Symbol("class"),
|
||||
N = Symbol("style"),
|
||||
V = Symbol("is custom element"),
|
||||
B = Symbol("is html");
|
||||
function Ir(r) {
|
||||
if (p) {
|
||||
var f = !1,
|
||||
i = () => {
|
||||
if (!f) {
|
||||
if (((f = !0), r.hasAttribute("value"))) {
|
||||
var e = r.value;
|
||||
L(r, "value", null), (r.value = e);
|
||||
}
|
||||
if (r.hasAttribute("checked")) {
|
||||
var a = r.checked;
|
||||
L(r, "checked", null), (r.checked = a);
|
||||
}
|
||||
}
|
||||
};
|
||||
(r.__on_r = i), dr(i), vr();
|
||||
}
|
||||
}
|
||||
function Lr(r, f) {
|
||||
var i = R(r);
|
||||
i.value === (i.value = f ?? void 0) ||
|
||||
(r.value === f && (f !== 0 || r.nodeName !== "PROGRESS")) ||
|
||||
(r.value = f ?? "");
|
||||
}
|
||||
function Tr(r, f) {
|
||||
f
|
||||
? r.hasAttribute("selected") || r.setAttribute("selected", "")
|
||||
: r.removeAttribute("selected");
|
||||
}
|
||||
function L(r, f, i, e) {
|
||||
var a = R(r);
|
||||
(p &&
|
||||
((a[f] = r.getAttribute(f)),
|
||||
f === "src" ||
|
||||
f === "srcset" ||
|
||||
(f === "href" && r.nodeName === "LINK"))) ||
|
||||
(a[f] !== (a[f] = i) &&
|
||||
(f === "loading" && (r[ir] = i),
|
||||
i == null
|
||||
? r.removeAttribute(f)
|
||||
: typeof i != "string" && z(r).includes(f)
|
||||
? (r[f] = i)
|
||||
: r.setAttribute(f, i)));
|
||||
}
|
||||
function Er(r, f, i, e, a = !1) {
|
||||
var t = R(r),
|
||||
u = t[V],
|
||||
s = !t[B];
|
||||
let d = p && u;
|
||||
d && j(!1);
|
||||
var l = f || {},
|
||||
A = r.tagName === "OPTION";
|
||||
for (var v in f) v in i || (i[v] = null);
|
||||
i.class ? (i.class = _r(i.class)) : (e || i[E]) && (i.class = null),
|
||||
i[N] && (i.style ?? (i.style = null));
|
||||
var c = z(r);
|
||||
for (const o in i) {
|
||||
let n = i[o];
|
||||
if (A && o === "value" && n == null) {
|
||||
(r.value = r.__value = ""), (l[o] = n);
|
||||
continue;
|
||||
}
|
||||
if (o === "class") {
|
||||
var y = r.namespaceURI === "http://www.w3.org/1999/xhtml";
|
||||
pr(r, y, n, e, f == null ? void 0 : f[E], i[E]),
|
||||
(l[o] = n),
|
||||
(l[E] = i[E]);
|
||||
continue;
|
||||
}
|
||||
if (o === "style") {
|
||||
yr(r, n, f == null ? void 0 : f[N], i[N]), (l[o] = n), (l[N] = i[N]);
|
||||
continue;
|
||||
}
|
||||
var S = l[o];
|
||||
if (!(n === S && !(n === void 0 && r.hasAttribute(o)))) {
|
||||
l[o] = n;
|
||||
var b = o[0] + o[1];
|
||||
if (b !== "$$")
|
||||
if (b === "on") {
|
||||
const _ = {},
|
||||
T = "$$" + o;
|
||||
let g = o.slice(2);
|
||||
var O = br(g);
|
||||
if ((ur(g) && ((g = g.slice(0, -7)), (_.capture = !0)), !O && S)) {
|
||||
if (n != null) continue;
|
||||
r.removeEventListener(g, l[T], _), (l[T] = null);
|
||||
}
|
||||
if (n != null)
|
||||
if (O) (r[`__${g}`] = n), or([g]);
|
||||
else {
|
||||
let F = function (J) {
|
||||
l[o].call(this, J);
|
||||
};
|
||||
l[T] = sr(g, r, F, _);
|
||||
}
|
||||
else O && (r[`__${g}`] = void 0);
|
||||
} else if (o === "style") L(r, o, n);
|
||||
else if (o === "autofocus") lr(r, !!n);
|
||||
else if (!u && (o === "__value" || (o === "value" && n != null)))
|
||||
r.value = r.__value = n;
|
||||
else if (o === "selected" && A) Tr(r, n);
|
||||
else {
|
||||
var h = o;
|
||||
s || (h = nr(h));
|
||||
var $ = h === "defaultValue" || h === "defaultChecked";
|
||||
if (n == null && !u && !$)
|
||||
if (((t[o] = null), h === "value" || h === "checked")) {
|
||||
let _ = r;
|
||||
const T = f === void 0;
|
||||
if (h === "value") {
|
||||
let g = _.defaultValue;
|
||||
_.removeAttribute(h),
|
||||
(_.defaultValue = g),
|
||||
(_.value = _.__value = T ? g : null);
|
||||
} else {
|
||||
let g = _.defaultChecked;
|
||||
_.removeAttribute(h),
|
||||
(_.defaultChecked = g),
|
||||
(_.checked = T ? g : !1);
|
||||
}
|
||||
} else r.removeAttribute(o);
|
||||
else
|
||||
$ || (c.includes(h) && (u || typeof n != "string"))
|
||||
? ((r[h] = n), h in t && (t[h] = cr))
|
||||
: typeof n != "function" && L(r, h, n);
|
||||
}
|
||||
}
|
||||
}
|
||||
return d && j(!0), l;
|
||||
}
|
||||
function Or(r, f, i = [], e = [], a, t = !1) {
|
||||
x(i, e, (u) => {
|
||||
var s = void 0,
|
||||
d = {},
|
||||
l = r.nodeName === "SELECT",
|
||||
A = !1;
|
||||
if (
|
||||
(Y(() => {
|
||||
var c = f(...u.map(er)),
|
||||
y = Er(r, s, c, a, t);
|
||||
A && l && "value" in c && I(r, c.value);
|
||||
for (let b of Object.getOwnPropertySymbols(d)) c[b] || k(d[b]);
|
||||
for (let b of Object.getOwnPropertySymbols(c)) {
|
||||
var S = c[b];
|
||||
b.description === ar &&
|
||||
(!s || S !== s[b]) &&
|
||||
(d[b] && k(d[b]), (d[b] = G(() => gr(r, () => S)))),
|
||||
(y[b] = S);
|
||||
}
|
||||
s = y;
|
||||
}),
|
||||
l)
|
||||
) {
|
||||
var v = r;
|
||||
P(() => {
|
||||
I(v, s.value, !0), K(v);
|
||||
});
|
||||
}
|
||||
A = !0;
|
||||
});
|
||||
}
|
||||
function R(r) {
|
||||
return (
|
||||
r.__attributes ??
|
||||
(r.__attributes = {
|
||||
[V]: r.nodeName.includes("-"),
|
||||
[B]: r.namespaceURI === rr,
|
||||
})
|
||||
);
|
||||
}
|
||||
var U = new Map();
|
||||
function z(r) {
|
||||
var f = U.get(r.nodeName);
|
||||
if (f) return f;
|
||||
U.set(r.nodeName, (f = []));
|
||||
for (var i, e = r, a = Element.prototype; a !== e; ) {
|
||||
i = tr(e);
|
||||
for (var t in i) i[t].set && f.push(t);
|
||||
e = fr(e);
|
||||
}
|
||||
return f;
|
||||
}
|
||||
export {
|
||||
E as C,
|
||||
N as S,
|
||||
pr as a,
|
||||
Or as b,
|
||||
_r as c,
|
||||
wr as d,
|
||||
yr as e,
|
||||
gr as f,
|
||||
Lr as g,
|
||||
hr as h,
|
||||
Ir as r,
|
||||
L as s,
|
||||
};
|
||||
@@ -1 +0,0 @@
|
||||
import{g as s}from"./DklPLC_x.js";import"./B2cHk4HI.js";import{p as O,g as o,u as R,aw as w,au as j,y as k,f as g,d as c,s as x,bj as C,r as l,t as v,b,c as N}from"./BDALf20I.js";import{s as h}from"./4k6DpCgf.js";import{p as S,i as q,r as Y}from"./Bke_korE.js";import{b as z,C as B}from"./BNZUboE0.js";import{b as F}from"./DS58drb5.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"35111e7039e8c68cc677344b7f7c6971567f6820"}}catch{}})();try{(function(){var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="832b2d91-c507-495d-8a1f-d5c91dd6acad",t._sentryDebugIdIdentifier="sentry-dbid-832b2d91-c507-495d-8a1f-d5c91dd6acad")})()}catch{}const G=()=>"Select the reason",H=()=>"Selecione o motivo",xe=(t={},e={})=>(e.locale??s())==="en"?G():H(),J=()=>"Other",K=()=>"Outro motivo",ve=(t={},e={})=>(e.locale??s())==="en"?J():K(),P=()=>"Extra context on what happened (required)",Q=()=>"Mais informações sobre o que aconteceu (obrigatório)",be=(t={},e={})=>(e.locale??s())==="en"?P():Q(),U=()=>"Select the report reason",V=()=>"Selecione o motivo da denúncia",he=(t={},e={})=>(e.locale??s())==="en"?U():V(),W=()=>"Required",X=()=>"Obrigatório",Z=(t={},e={})=>(e.locale??s())==="en"?W():X(),$=t=>`Min. characters: ${t.min}`,ee=t=>`Mínimo de caracteres: ${t.min}`,te=(t,e={})=>(e.locale??s())==="en"?$(t):ee(t),ae=t=>`Max. characters: ${t.max}`,re=t=>`Máximo de caracteres: ${t.max}`,ne=(t,e={})=>(e.locale??s())==="en"?ae(t):re(t);var se=g('<legend class="fieldset-legend"> </legend>'),oe=g('<span class="text-base-content/80"> </span>'),ce=g('<fieldset class="fieldset"><!> <textarea></textarea> <div class="flex items-center justify-between text-xs"><span class="text-error"> </span> <!></div></fieldset>');function ge(t,e){O(e,!0);let r=S(e,"value",15),E=S(e,"validate",15),I=Y(e,["$$slots","$$events","$$legacy","label","placeholder","value","max","min","validate"]),i=j("");const d=R(()=>{var a;return((a=r())==null?void 0:a.length)??0});E(T);function T(){return e.min!==void 0&&o(d)<e.min?(w(i,e.min===1?Z():te({min:e.min}),!0),!1):e.max!==void 0&&o(d)>e.max?(w(i,ne({max:e.max}),!0),!1):!0}k(()=>{var a;e.max!==void 0&&o(d)>e.max&&r((a=r())==null?void 0:a.substring(0,e.max))});var f=ce(),y=c(f);{var L=a=>{var n=se(),m=c(n,!0);l(n),v(()=>h(m,e.label)),b(a,n)};q(y,a=>{e.label&&a(L)})}var u=x(y,2);C(u),z(u,a=>({...I,class:`textarea w-full ${e.class??""}`,placeholder:e.placeholder,[B]:a}),[()=>({"textarea-error":!!o(i)})]);var p=x(u,2),_=c(p),M=c(_,!0);l(_);var D=x(_,2);{var A=a=>{var n=oe(),m=c(n,!0);l(n),v(()=>h(m,e.max-o(d))),b(a,n)};q(D,a=>{e.max!==void 0&&a(A)})}l(p),l(f),v(()=>h(M,o(i))),F(u,r),b(t,f),N()}export{ge as L,he as a,be as g,ve as o,xe as s};
|
||||
@@ -1,665 +0,0 @@
|
||||
import {
|
||||
bl as ze,
|
||||
F as Se,
|
||||
h as qe,
|
||||
aW as _t,
|
||||
ao as mt,
|
||||
G as Re,
|
||||
bb as bt,
|
||||
k as G,
|
||||
x as Xe,
|
||||
bm as ht,
|
||||
bn as gt,
|
||||
q as R,
|
||||
b as _,
|
||||
an as We,
|
||||
p as Qe,
|
||||
aS as Ge,
|
||||
a as pe,
|
||||
c as Ke,
|
||||
f as k,
|
||||
d as o,
|
||||
r as l,
|
||||
s as d,
|
||||
o as U,
|
||||
t as z,
|
||||
bj as ce,
|
||||
w as xt,
|
||||
A as b,
|
||||
aR as ie,
|
||||
aH as C,
|
||||
aT as Le,
|
||||
aU as wt
|
||||
} from "./DUoKDNpf.js";
|
||||
import {
|
||||
g as N
|
||||
} from "./C5GsJ62f.js";
|
||||
import "./Bzak7iHL.js";
|
||||
import {
|
||||
o as kt
|
||||
} from "./ByKBPM-D.js";
|
||||
import {
|
||||
s as I
|
||||
} from "./g8c1BvYP.js";
|
||||
import {
|
||||
r as Y,
|
||||
p as Ne,
|
||||
i as M
|
||||
} from "./5NasrULQ.js";
|
||||
import {
|
||||
a as A,
|
||||
e as yt,
|
||||
r as xe,
|
||||
b as de,
|
||||
f as we,
|
||||
s as Ye,
|
||||
d as Ct
|
||||
} from "./B1GmkH4o.js";
|
||||
import {
|
||||
b as Lt
|
||||
} from "./CMs8vKjq.js";
|
||||
import {
|
||||
g as Fe
|
||||
} from "./KvV259my.js";
|
||||
import {
|
||||
g as It,
|
||||
u as ve,
|
||||
t as K,
|
||||
a as Je,
|
||||
S as zt,
|
||||
c as je
|
||||
} from "./1lh-LSvX.js";
|
||||
import {
|
||||
a as St
|
||||
} from "./DsJqb9ei.js";
|
||||
|
||||
function Ca(e, t, a = t) {
|
||||
var r = bt(),
|
||||
i = new WeakSet;
|
||||
ze(e, "input", c => {
|
||||
var s = c ? e.defaultValue : e.value;
|
||||
if (s = ye(e) ? Ce(s) : s, a(s), G !== null && i.add(G), r && s !== (s = t())) {
|
||||
var f = e.selectionStart,
|
||||
v = e.selectionEnd;
|
||||
e.value = s ?? "", v !== null && (e.selectionStart = f, e.selectionEnd = Math.min(v, e.value.length))
|
||||
}
|
||||
}), (qe && e.defaultValue !== e.value || Xe(t) == null && e.value) && (a(ye(e) ? Ce(e.value) : e.value), G !== null && i.add(G)), Se(() => {
|
||||
var c = t();
|
||||
if (e === document.activeElement) {
|
||||
var s = ht ?? G;
|
||||
if (i.has(s)) return
|
||||
}
|
||||
ye(e) && c === Ce(e.value) || e.type === "date" && !c && !e.value || c !== e.value && (e.value = c ?? "")
|
||||
})
|
||||
}
|
||||
const ke = new Set;
|
||||
|
||||
function La(e, t, a, r, i = r) {
|
||||
var c = a.getAttribute("type") === "checkbox",
|
||||
s = e;
|
||||
let f = !1;
|
||||
if (t !== null)
|
||||
for (var v of t) s = s[v] ?? (s[v] = []);
|
||||
s.push(a), ze(a, "change", () => {
|
||||
var n = a.__value;
|
||||
c && (n = Oe(s, n, a.checked)), i(n)
|
||||
}, () => i(c ? [] : null)), Se(() => {
|
||||
var n = r();
|
||||
if (qe && a.defaultChecked !== a.checked) {
|
||||
f = !0;
|
||||
return
|
||||
}
|
||||
c ? (n = n || [], a.checked = n.includes(a.__value)) : a.checked = _t(a.__value, n)
|
||||
}), mt(() => {
|
||||
var n = s.indexOf(a);
|
||||
n !== -1 && s.splice(n, 1)
|
||||
}), ke.has(s) || (ke.add(s), Re(() => {
|
||||
s.sort((n, p) => n.compareDocumentPosition(p) === 4 ? -1 : 1), ke.delete(s)
|
||||
})), Re(() => {
|
||||
if (f) {
|
||||
var n;
|
||||
if (c) n = Oe(s, n, a.checked);
|
||||
else {
|
||||
var p = s.find(g => g.checked);
|
||||
n = p == null ? void 0 : p.__value
|
||||
}
|
||||
i(n)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
function Ia(e, t, a = t) {
|
||||
ze(e, "change", r => {
|
||||
var i = r ? e.defaultChecked : e.checked;
|
||||
a(i)
|
||||
}), (qe && e.defaultChecked !== e.checked || Xe(t) == null) && a(e.checked), Se(() => {
|
||||
var r = t();
|
||||
e.checked = !!r
|
||||
})
|
||||
}
|
||||
|
||||
function Oe(e, t, a) {
|
||||
for (var r = new Set, i = 0; i < e.length; i += 1) e[i].checked && r.add(e[i].__value);
|
||||
return a || r.delete(t), Array.from(r)
|
||||
}
|
||||
|
||||
function ye(e) {
|
||||
var t = e.type;
|
||||
return t === "number" || t === "range"
|
||||
}
|
||||
|
||||
function Ce(e) {
|
||||
return e === "" ? null : +e
|
||||
}
|
||||
const qt = gt,
|
||||
Pt = () => "Add profile picture",
|
||||
Dt = () => "添加头像",
|
||||
za = (e = {}, t = {}) => (t.locale ?? N()) === "en" ? Pt() : Dt(),
|
||||
Mt = () => "Cancel",
|
||||
Tt = () => "取消",
|
||||
Sa = (e = {}, t = {}) => (t.locale ?? N()) === "en" ? Mt() : Tt(),
|
||||
Bt = () => "Close",
|
||||
Et = () => "关闭",
|
||||
Ht = (e = {}, t = {}) => (t.locale ?? N()) === "en" ? Bt() : Et(),
|
||||
Zt = () => "You gain 1 droplet per pixel painted and 500 droplets per level",
|
||||
Ut = () => "每绘制一个像素会获得一个水滴,每次升级会获得500水滴",
|
||||
At = (e = {}, t = {}) => (t.locale ?? N()) === "en" ? Zt() : Ut(),
|
||||
Rt = () => "Eraser",
|
||||
Ft = () => "擦除",
|
||||
Text3_EN = () => "Droplets",
|
||||
Text3_CN = () => "水滴",
|
||||
Text3 = (e = {}, t = {}) => (t.locale ?? N()) === "en" ? Text3_EN() : Text3_CN(),
|
||||
Text4_EN = () => "bonus",
|
||||
Text4_CN = () => "赠品",
|
||||
Text4 = (e = {}, t = {}) => (t.locale ?? N()) === "en" ? Text4_EN() : Text4_CN(),
|
||||
qa = (e = {}, t = {}) => (t.locale ?? N()) === "en" ? Rt() : Ft();
|
||||
var jt = R('<svg><path d="M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"></path></svg>');
|
||||
|
||||
function Ot(e, t) {
|
||||
let a = Y(t, ["$$slots", "$$events", "$$legacy"]);
|
||||
var r = jt();
|
||||
A(r, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 -960 960 960",
|
||||
fill: "currentColor",
|
||||
...a
|
||||
})), _(e, r)
|
||||
}
|
||||
var Vt = R('<svg><path d="M480-100q-133 0-226.5-92T160-416q0-63 24.5-120.5T254-638l226-222 226 222q45 44 69.5 101.5T800-416q0 132-93.5 224T480-100Z"></path></svg>');
|
||||
|
||||
function Ie(e, t) {
|
||||
let a = Y(t, ["$$slots", "$$events", "$$legacy"]);
|
||||
var r = Vt();
|
||||
A(r, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 -960 960 960",
|
||||
fill: "currentColor",
|
||||
...a
|
||||
})), _(e, r)
|
||||
}
|
||||
var Xt = k('<span class="btn btn-xs btn-circle btn-primary ml-0.5 size-5"><!></span>'),
|
||||
Wt = k('<span class="flex items-center gap-1"><!> <span class="text-primary text-base font-semibold"> <span class="text-xs max-sm:hidden">'+Text3()+'</span></span> <!></span>'),
|
||||
Qt = k('<button class="badge badge-lg border-base-content/10 right-tooltip cursor-pointer border-2 pl-1 pr-1"><!></button>'),
|
||||
Gt = k('<span class="badge badge-lg border-base-content/10 right-tooltip border-2 pl-1 pr-2"><!></span>');
|
||||
|
||||
function Kt(e, t) {
|
||||
Qe(t, !0);
|
||||
const a = v => {
|
||||
var n = Wt(),
|
||||
p = o(n);
|
||||
Ie(p, {
|
||||
class: "text-primary size-4.5"
|
||||
});
|
||||
var g = d(p, 2),
|
||||
P = o(g);
|
||||
U(), l(g);
|
||||
var x = d(g, 2);
|
||||
{
|
||||
var S = T => {
|
||||
var D = Xt(),
|
||||
J = o(D);
|
||||
Ot(J, {
|
||||
class: "size-4"
|
||||
}), l(D), _(T, D)
|
||||
};
|
||||
M(x, T => {
|
||||
r() && T(S)
|
||||
})
|
||||
}
|
||||
l(n), z(T => I(P, `${T??""} `), [() => t.value.toLocaleString("en-US")]), _(v, n)
|
||||
};
|
||||
let r = Ne(t, "button", 3, !0);
|
||||
var i = Ge(),
|
||||
c = pe(i);
|
||||
{
|
||||
var s = v => {
|
||||
var n = Qt();
|
||||
n.__click = () => {
|
||||
It.dropletsDialogOpen = !0
|
||||
};
|
||||
var p = o(n);
|
||||
a(p), l(n), _(v, n)
|
||||
},
|
||||
f = v => {
|
||||
var n = Gt(),
|
||||
p = o(n);
|
||||
a(p), l(n), _(v, n)
|
||||
};
|
||||
M(c, v => {
|
||||
r() ? v(s) : v(f, !1)
|
||||
})
|
||||
}
|
||||
_(e, i), Ke()
|
||||
}
|
||||
We(["click"]);
|
||||
var Nt = R('<svg><path d="M880-720v480q0 33-23.5 56.5T800-160H160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720Zm-720 80h640v-80H160v80Zm0 160v240h640v-240H160Zm0 240v-480 480Z"></path></svg>');
|
||||
|
||||
function Yt(e, t) {
|
||||
let a = Y(t, ["$$slots", "$$events", "$$legacy"]);
|
||||
var r = Nt();
|
||||
A(r, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
height: "24px",
|
||||
viewBox: "0 -960 960 960",
|
||||
width: "24px",
|
||||
fill: "currentColor",
|
||||
...a
|
||||
})), _(e, r)
|
||||
}
|
||||
var Jt = R('<svg><path fill="#4db6ac" d="M11.9,12h-0.68l8.04-8.04c2.62-2.61,6.86-2.61,9.48,0L36.78,12H36.1c-1.6,0-3.11,0.62-4.24,1.76 l-6.8,6.77c-0.59,0.59-1.53,0.59-2.12,0l-6.8-6.77C15.01,12.62,13.5,12,11.9,12z"></path><path fill="#4db6ac" d="M36.1,36h0.68l-8.04,8.04c-2.62,2.61-6.86,2.61-9.48,0L11.22,36h0.68c1.6,0,3.11-0.62,4.24-1.76 l6.8-6.77c0.59-0.59,1.53-0.59,2.12,0l6.8,6.77C32.99,35.38,34.5,36,36.1,36z"></path><path fill="#4db6ac" d="M44.04,28.74L38.78,34H36.1c-1.07,0-2.07-0.42-2.83-1.17l-6.8-6.78c-1.36-1.36-3.58-1.36-4.94,0 l-6.8,6.78C13.97,33.58,12.97,34,11.9,34H9.22l-5.26-5.26c-2.61-2.62-2.61-6.86,0-9.48L9.22,14h2.68c1.07,0,2.07,0.42,2.83,1.17 l6.8,6.78c0.68,0.68,1.58,1.02,2.47,1.02s1.79-0.34,2.47-1.02l6.8-6.78C34.03,14.42,35.03,14,36.1,14h2.68l5.26,5.26 C46.65,21.88,46.65,26.12,44.04,28.74z"></path></svg>');
|
||||
|
||||
function Ve(e, t) {
|
||||
let a = Y(t, ["$$slots", "$$events", "$$legacy"]);
|
||||
var r = Jt();
|
||||
A(r, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
x: "0px",
|
||||
y: "0px",
|
||||
width: "100",
|
||||
height: "100",
|
||||
viewBox: "0 0 48 48",
|
||||
...a
|
||||
})), _(e, r)
|
||||
}
|
||||
var $t = (e, t, a, r, i) => {
|
||||
b(t).show(), C(a, !0), Je.generatePixQrCode(r()).then(c => {
|
||||
C(i, c, !0)
|
||||
}).catch(c => {
|
||||
K.error(c.message)
|
||||
}).finally(() => {
|
||||
C(a, !1)
|
||||
})
|
||||
},
|
||||
ea = k('<div><div tabindex="0" class="btn btn-lg btn-primary h-10"> </div> <ul tabindex="0" class="dropdown-content menu bg-base-100 rounded-box z-1 border-base-content/20 m-1 w-max rounded-xl border p-2 shadow"><li><form method="POST"><input type="hidden" name="lookup_key"/> <button class="flex items-center gap-1.5"><!> <span>Cartão ou Boleto</span></button></form></li> <li><button class="flex items-center gap-1.5"><!> <span>Pix</span></button></li></ul></div>'),
|
||||
ta = k('<form method="POST"><input type="hidden" name="lookup_key"/> <button class="btn btn-lg btn-primary mt-3 h-10" type="submit"> </button></form>'),
|
||||
aa = k('<div class="bg-base-300 flex flex-col items-center justify-center rounded-xl px-4 py-6"><p class="text-primary text-3xl font-bold"><!> <span> <span class="text-lg font-normal">'+Text3()+'</span></span></p> <p class="text-base-content/80 mt-0.5 text-center text-xs"><!> <span class="text-primary/80 font-medium"> </span></p> <!></div>'),
|
||||
ra = k('<div class="flex flex-col gap-4"><section><div class="flex items-center gap-1"><!> <h3 class="text-xl font-bold">'+Text3()+'</h3> <div class="ml-auto mr-4"><!></div></div> <p class="text-base-content/80 mt-1 text-sm"> </p></section> <section><div class="grid gap-3 sm:grid-cols-2"><!> <!> <!> <!> <!> <!></div></section></div>'),
|
||||
sa = (e, t) => {
|
||||
var a;
|
||||
navigator.clipboard.writeText(((a = b(t)) == null ? void 0 : a.pixCode) ?? ""), K.success("Código PIX copiado")
|
||||
},
|
||||
oa = async (e, t, a) => {
|
||||
var r, i, c;
|
||||
if (!b(t)) {
|
||||
K.info("Espere 1 minuto e recarrege a pagina");
|
||||
return
|
||||
}
|
||||
try {
|
||||
C(a, !0);
|
||||
const {
|
||||
paid: s
|
||||
} = await Je.getPixStatus(b(t).pixId);
|
||||
if (s) {
|
||||
const f = b(t).productId.toString(),
|
||||
v = (c = (i = (r = zt.products[f]) == null ? void 0 : r.items) == null ? void 0 : i[0]) == null ? void 0 : c.amount;
|
||||
await ve.refresh(), v ? Fe(`payment/success?droplets=${v}`) : Fe("payment/success")
|
||||
} else K.info("Pagamento ainda não recebido. Desculpe a demora, tente novamente em instantes.", {
|
||||
duration: 1e5
|
||||
})
|
||||
} catch (s) {
|
||||
console.error(s), K.error("Error ao atualizar o status do pix. Tente recarregar a página.")
|
||||
} finally {
|
||||
C(a, !1)
|
||||
}
|
||||
}, la = k('<p class="text-base-content/80">Efetue o pagamento do PIX no valor de <span class="font-semibold"> </span></p> <section><div class="relative"><img class="pixelated w-70 aspect-square" alt="QR code PIX"/> <div class="center-absolute border-6 absolute size-[95%] border-black"></div></div></section> <section class="w-full"><span class="text-base-content/80 ml-4 text-sm font-semibold">Código</span> <div class="border-base-content/20 rounded-field flex w-full items-center gap-1 border-2 py-1.5 pl-4 pr-2.5"><input class="text-base-content/80 w-full min-w-10 grow text-sm font-medium" readonly=""/> <div class="h-10"><button class="btn btn-primary">Copiar</button></div></div></section> <section class="mt-2"><button class="btn btn-primary btn-lg">Fiz o pagamento</button></section>', 1), na = k('<div class="flex h-96 items-center justify-center"><span class="loading loading-spinner loading-xl"></span></div>'), ca = k('<dialog class="modal !bg-black/90"><div class="modal-box max-h-11/12 w-11/12 max-w-2xl"><form method="dialog"><button class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2">✕</button></form> <!></div> <form method="dialog" class="modal-backdrop"><button> </button></form></dialog> <dialog class="modal !bg-black/90"><div class="modal-box max-h-11/12 w-11/12 max-w-lg"><form method="dialog"><button class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2">✕</button></form> <div class="flex h-full flex-col items-center gap-4"><section><div class="flex items-center gap-2"><!> <h3 class="text-4xl font-bold">PIX</h3></div></section> <!></div></div></dialog>', 1);
|
||||
|
||||
function Pa(e, t) {
|
||||
Qe(t, !0);
|
||||
let a = Ne(t, "open", 15),
|
||||
r = ie(!1);
|
||||
kt(() => {
|
||||
const u = w => {
|
||||
w.key === "Escape" && a(!1)
|
||||
};
|
||||
return document.addEventListener("keydown", u), () => document.removeEventListener("keydown", u)
|
||||
});
|
||||
const i = Le(() => {
|
||||
var u, w;
|
||||
return ((w = (u = ve.data) == null ? void 0 : u.country) == null ? void 0 : w.toUpperCase()) === "BR"
|
||||
});
|
||||
let c = ie(null),
|
||||
s = ie(void 0),
|
||||
f = ie(!1);
|
||||
var v = ca(),
|
||||
n = pe(v),
|
||||
p = o(n),
|
||||
g = d(o(p), 2);
|
||||
{
|
||||
var P = u => {
|
||||
var w = ra(),
|
||||
B = o(w),
|
||||
E = o(B),
|
||||
$ = o(E);
|
||||
Ie($, {
|
||||
class: "text-primary size-6"
|
||||
});
|
||||
var H = d($, 4),
|
||||
ee = o(H);
|
||||
{
|
||||
let L = Le(() => {
|
||||
var se;
|
||||
return ((se = ve.data) == null ? void 0 : se.droplets) ?? 0
|
||||
});
|
||||
Kt(ee, {
|
||||
get value() {
|
||||
return b(L)
|
||||
},
|
||||
button: !1
|
||||
})
|
||||
}
|
||||
l(H), l(E);
|
||||
var te = d(E, 2),
|
||||
F = o(te, !0);
|
||||
l(te), l(B);
|
||||
var j = d(B, 2);
|
||||
{
|
||||
const L = (se, m) => {
|
||||
let Me = () => m == null ? void 0 : m().droplets,
|
||||
fe = () => m == null ? void 0 : m().bonus,
|
||||
Te = () => m == null ? void 0 : m().price,
|
||||
Be = () => m == null ? void 0 : m().stripeLookupkey,
|
||||
st = () => m == null ? void 0 : m().productId,
|
||||
ot = () => m == null ? void 0 : m().dropdownClass;
|
||||
var _e = aa(),
|
||||
me = o(_e),
|
||||
Ee = o(me);
|
||||
Ie(Ee, {
|
||||
class: "mb-1 inline size-7"
|
||||
});
|
||||
var He = d(Ee, 2),
|
||||
lt = o(He);
|
||||
U(), l(He), l(me);
|
||||
var be = d(me, 2),
|
||||
Ze = o(be);
|
||||
{
|
||||
var nt = y => {
|
||||
var h = wt();
|
||||
z(q => I(h, `${q??""} ` + Text3()), [() => Me().toLocaleString("en-US")]), _(y, h)
|
||||
};
|
||||
M(Ze, y => {
|
||||
fe() && y(nt)
|
||||
})
|
||||
}
|
||||
var Ue = d(Ze, 2),
|
||||
ct = o(Ue);
|
||||
l(Ue), l(be);
|
||||
var it = d(be, 2);
|
||||
{
|
||||
var dt = y => {
|
||||
var h = ea(),
|
||||
q = o(h),
|
||||
W = o(q);
|
||||
l(q);
|
||||
var oe = d(q, 2),
|
||||
Q = o(oe),
|
||||
le = o(Q),
|
||||
he = o(le);
|
||||
xe(he);
|
||||
var ge = d(he, 2),
|
||||
pt = o(ge);
|
||||
Yt(pt, {
|
||||
class: "inline size-5"
|
||||
}), U(2), l(ge), l(le), l(Q);
|
||||
var Ae = d(Q, 2),
|
||||
ne = o(Ae);
|
||||
ne.__click = [$t, c, r, st, s];
|
||||
var ut = o(ne);
|
||||
Ve(ut, {
|
||||
class: "size-5"
|
||||
}), U(2), l(ne), l(Ae), l(oe), l(h), z(ft => {
|
||||
Ye(h, 1, `dropdown mt-3 ${ot()??""}`), I(W, `R$${ft??""}`), de(le, "action", `${je}/payment/create-checkout-session`), we(he, Be()), ge.disabled = b(r), ne.disabled = b(r)
|
||||
}, [() => (Te() * 4).toFixed(2).replace(".", ",")]), ce("submit", le, () => {
|
||||
C(r, !0), setTimeout(() => C(r, !1), 3e3)
|
||||
}), _(y, h)
|
||||
},
|
||||
vt = y => {
|
||||
var h = ta(),
|
||||
q = o(h);
|
||||
xe(q);
|
||||
var W = d(q, 2),
|
||||
oe = o(W);
|
||||
l(W), l(h), z(Q => {
|
||||
de(h, "action", `${je}/payment/create-checkout-session`), we(q, Be()), W.disabled = b(r), I(oe, `¥ ${Q??""}`)
|
||||
}, [() => Te().toFixed(2)]), ce("submit", h, () => {
|
||||
C(r, !0), setTimeout(() => C(r, !1), 3e3)
|
||||
}), _(y, h)
|
||||
};
|
||||
M(it, y => {
|
||||
b(i) || qt ? y(dt) : y(vt, !1)
|
||||
})
|
||||
}
|
||||
l(_e), z((y, h) => {
|
||||
I(lt, `${y??""} `), I(ct, `+${h??""} ` + Text4())
|
||||
}, [() => (Me() + fe()).toLocaleString("en-US"), () => fe().toLocaleString("en-US")]), _(se, _e)
|
||||
};
|
||||
var Z = o(j),
|
||||
O = o(Z);
|
||||
L(O, () => ({
|
||||
price: 5,
|
||||
droplets: 25e3,
|
||||
bonus: 0,
|
||||
stripeLookupkey: "droplets_5",
|
||||
productId: 10,
|
||||
dropdownClass: "dropdown-center"
|
||||
}));
|
||||
var ae = d(O, 2);
|
||||
L(ae, () => ({
|
||||
price: 15,
|
||||
droplets: 75e3,
|
||||
bonus: 3750,
|
||||
stripeLookupkey: "droplets_15",
|
||||
productId: 20,
|
||||
dropdownClass: "dropdown-center"
|
||||
}));
|
||||
var V = d(ae, 2);
|
||||
L(V, () => ({
|
||||
price: 30,
|
||||
droplets: 15e4,
|
||||
bonus: 15e3,
|
||||
stripeLookupkey: "droplets_30",
|
||||
productId: 30,
|
||||
dropdownClass: "dropdown-center"
|
||||
}));
|
||||
var X = d(V, 2);
|
||||
L(X, () => ({
|
||||
price: 50,
|
||||
droplets: 25e4,
|
||||
bonus: 37500,
|
||||
stripeLookupkey: "droplets_50",
|
||||
productId: 40,
|
||||
dropdownClass: "dropdown-center"
|
||||
}));
|
||||
var re = d(X, 2);
|
||||
L(re, () => ({
|
||||
price: 75,
|
||||
droplets: 375e3,
|
||||
bonus: 75e3,
|
||||
stripeLookupkey: "droplets_75",
|
||||
productId: 50,
|
||||
dropdownClass: "dropdown-center"
|
||||
}));
|
||||
var rt = d(re, 2);
|
||||
L(rt, () => ({
|
||||
price: 100,
|
||||
droplets: 5e5,
|
||||
bonus: 125e3,
|
||||
stripeLookupkey: "droplets_100",
|
||||
productId: 60,
|
||||
dropdownClass: "max-sm:dropdown-top dropdown-center"
|
||||
})), l(Z), l(j)
|
||||
}
|
||||
l(w), z(L => I(F, L), [() => At()]), _(u, w)
|
||||
};
|
||||
M(g, u => {
|
||||
ve.data && u(P)
|
||||
})
|
||||
}
|
||||
l(p);
|
||||
var x = d(p, 2),
|
||||
S = o(x),
|
||||
T = o(S, !0);
|
||||
l(S), l(x), l(n), yt(n, () => u => {
|
||||
xt(() => {
|
||||
a() ? u.show() : u.close()
|
||||
})
|
||||
});
|
||||
var D = d(n, 2),
|
||||
J = o(D),
|
||||
Pe = d(o(J), 2),
|
||||
ue = o(Pe),
|
||||
De = o(ue),
|
||||
$e = o(De);
|
||||
Ve($e, {
|
||||
class: "size-10"
|
||||
}), U(2), l(De), l(ue);
|
||||
var et = d(ue, 2);
|
||||
{
|
||||
var tt = u => {
|
||||
var w = la(),
|
||||
B = pe(w),
|
||||
E = d(o(B)),
|
||||
$ = o(E);
|
||||
l(E), l(B);
|
||||
var H = d(B, 2),
|
||||
ee = o(H),
|
||||
te = o(ee);
|
||||
U(2), l(ee), l(H);
|
||||
var F = d(H, 2),
|
||||
j = d(o(F), 2),
|
||||
Z = o(j);
|
||||
xe(Z);
|
||||
var O = d(Z, 2),
|
||||
ae = o(O);
|
||||
ae.__click = [sa, s], l(O), l(j), l(F);
|
||||
var V = d(F, 2),
|
||||
X = o(V);
|
||||
X.__click = [oa, s, f], l(V), z(re => {
|
||||
I($, `R$${re??""}`), de(te, "src", b(s).qrCode), we(Z, b(s).pixCode), X.disabled = b(f)
|
||||
}, [() => (b(s).price / 100).toFixed(2).replace(".", ",")]), _(u, w)
|
||||
},
|
||||
at = u => {
|
||||
var w = na();
|
||||
_(u, w)
|
||||
};
|
||||
M(et, u => {
|
||||
b(s) ? u(tt) : u(at, !1)
|
||||
})
|
||||
}
|
||||
l(Pe), l(J), l(D), Lt(D, u => C(c, u), () => b(c)), z(u => I(T, u), [() => Ht()]), ce("close", n, () => {
|
||||
a(!1)
|
||||
}), ce("close", D, () => {
|
||||
setTimeout(() => {
|
||||
C(s, void 0)
|
||||
}, 300)
|
||||
}), _(e, v), Ke()
|
||||
}
|
||||
We(["click"]);
|
||||
var ia = R('<svg><path d="M690-240h190v80H610l80-80Zm-500 80-85-85q-23-23-23.5-57t22.5-58l440-456q23-24 56.5-24t56.5 23l199 199q23 23 23 57t-23 57L520-160H190Z"></path></svg>'),
|
||||
da = R('<svg><path d="M690-240h190v80H610l80-80Zm-500 80-85-85q-23-23-23.5-57t22.5-58l440-456q23-24 56.5-24t56.5 23l199 199q23 23 23 57t-23 57L520-160H190Zm296-80 314-322-198-198-442 456 64 64h262Zm-6-240Z"></path></svg>');
|
||||
|
||||
function Da(e, t) {
|
||||
let a = Y(t, ["$$slots", "$$events", "$$legacy", "filled"]);
|
||||
var r = Ge(),
|
||||
i = pe(r);
|
||||
{
|
||||
var c = f => {
|
||||
var v = ia();
|
||||
A(v, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 -960 960 960",
|
||||
fill: "currentColor",
|
||||
...a
|
||||
})), _(f, v)
|
||||
},
|
||||
s = f => {
|
||||
var v = da();
|
||||
A(v, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 -960 960 960",
|
||||
fill: "currentColor",
|
||||
...a
|
||||
})), _(f, v)
|
||||
};
|
||||
M(i, f => {
|
||||
t.filled ? f(c) : f(s, !1)
|
||||
})
|
||||
}
|
||||
_(e, r)
|
||||
}
|
||||
|
||||
function Ma([e, t], [a, r]) {
|
||||
e = Math.floor(e), t = Math.floor(t), a = Math.floor(a), r = Math.floor(r);
|
||||
const i = [],
|
||||
c = Math.abs(a - e),
|
||||
s = Math.abs(r - t),
|
||||
f = e < a ? 1 : -1,
|
||||
v = t < r ? 1 : -1;
|
||||
let n = c - s,
|
||||
p = e,
|
||||
g = t;
|
||||
for (; i.push([p, g]), !(p === a && g === r);) {
|
||||
const P = 2 * n;
|
||||
P > -s && (n -= s, p += f), P < c && (n += c, g += v)
|
||||
}
|
||||
return i
|
||||
}
|
||||
var va = k('<img class="pixelated bg-base-200" alt="User profile"/>'),
|
||||
pa = k('<div class="relative w-max"><div class="bg-base-content/20 size-12 rounded-full"></div> <div class="level-fill center-absolute absolute size-12 rotate-[215deg] rounded-full svelte-zhy0pt"></div> <div class="avatar center-absolute absolute"><div class="size-10 rounded-full"><!></div></div> <div> </div></div>');
|
||||
|
||||
function Ta(e, t) {
|
||||
const a = Le(() => t.level % 1 * 360);
|
||||
var r = pa(),
|
||||
i = d(o(r), 2),
|
||||
c = d(i, 2),
|
||||
s = o(c),
|
||||
f = o(s);
|
||||
{
|
||||
var v = x => {
|
||||
St(x, {
|
||||
get userId() {
|
||||
return t.userId
|
||||
}
|
||||
})
|
||||
},
|
||||
n = x => {
|
||||
var S = va();
|
||||
z(() => de(S, "src", t.pictureUrl)), _(x, S)
|
||||
};
|
||||
M(f, x => {
|
||||
t.pictureUrl ? x(n, !1) : x(v)
|
||||
})
|
||||
}
|
||||
l(s), l(c);
|
||||
var p = d(c, 2);
|
||||
let g;
|
||||
var P = o(p, !0);
|
||||
l(p), l(r), z((x, S) => {
|
||||
Ct(i, `--angle: ${b(a)??""}deg; --color: var(--color-secondary)`), g = Ye(p, 1, "text-primary-content bg-secondary absolute bottom-0 flex items-center justify-center rounded-full px-[5px] py-0 text-xs font-bold", null, g, x), I(P, S)
|
||||
}, [() => ({
|
||||
"left-0": t.level > 99,
|
||||
"-left-1": t.level > 99
|
||||
}), () => Math.floor(t.level)]), _(e, r)
|
||||
}
|
||||
export {
|
||||
Ot as A, Kt as D, Da as I, Ta as P, Ie as a, Pa as b, za as c, Sa as d, qa as e, Ht as f, Ca as g, La as h, qt as i, Ia as j, Ma as r
|
||||
};
|
||||
@@ -1 +0,0 @@
|
||||
import{g as c}from"./DklPLC_x.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"35111e7039e8c68cc677344b7f7c6971567f6820"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="476c3416-464c-44fb-9f2f-18bebc310382",e._sentryDebugIdIdentifier="sentry-dbid-476c3416-464c-44fb-9f2f-18bebc310382")})()}catch{}const o=()=>"Cancel",t=()=>"Cancelar",d=(e={},n={})=>(n.locale??c())==="en"?o():t();export{d as c};
|
||||
@@ -0,0 +1,40 @@
|
||||
import { g as c } from "./CV9xcpLq.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
n = new e.Error().stack;
|
||||
n &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[n] = "476c3416-464c-44fb-9f2f-18bebc310382"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-476c3416-464c-44fb-9f2f-18bebc310382"));
|
||||
})();
|
||||
} catch {}
|
||||
const o = () => "Cancel",
|
||||
t = () => "Cancelar",
|
||||
l = (e = {}, n = {}) => ((n.locale ?? c()) === "en" ? o() : t());
|
||||
export { l as c };
|
||||
@@ -1,27 +0,0 @@
|
||||
import { D as S, F as h, x as k, G as x, S as T } from "./DUoKDNpf.js";
|
||||
function t(r, i) {
|
||||
return r === i || (r == null ? void 0 : r[T]) === i;
|
||||
}
|
||||
function A(r = {}, i, a, c) {
|
||||
return (
|
||||
S(() => {
|
||||
var f, s;
|
||||
return (
|
||||
h(() => {
|
||||
(f = s),
|
||||
(s = []),
|
||||
k(() => {
|
||||
r !== a(...s) && (i(r, ...s), f && t(a(...f), r) && i(null, ...f));
|
||||
});
|
||||
}),
|
||||
() => {
|
||||
x(() => {
|
||||
s && t(a(...s), r) && i(null, ...s);
|
||||
});
|
||||
}
|
||||
);
|
||||
}),
|
||||
r
|
||||
);
|
||||
}
|
||||
export { A as b };
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,289 +0,0 @@
|
||||
import "./Bzak7iHL.js";
|
||||
import {
|
||||
D as ce,
|
||||
x as se,
|
||||
F as oe,
|
||||
B as ve,
|
||||
ba as de,
|
||||
p as W,
|
||||
aH as H,
|
||||
aR as P,
|
||||
aS as ue,
|
||||
a as X,
|
||||
A as o,
|
||||
b as w,
|
||||
c as Z,
|
||||
f as D,
|
||||
t as S,
|
||||
aT as p,
|
||||
q as $,
|
||||
d as v,
|
||||
r as d,
|
||||
s as m
|
||||
} from "./DUoKDNpf.js";
|
||||
import {
|
||||
s as x
|
||||
} from "./g8c1BvYP.js";
|
||||
import {
|
||||
p as u,
|
||||
i as A,
|
||||
r as ee
|
||||
} from "./5NasrULQ.js";
|
||||
import {
|
||||
s as G,
|
||||
c as R,
|
||||
a as te,
|
||||
b as J
|
||||
} from "./B1GmkH4o.js";
|
||||
import {
|
||||
b as fe
|
||||
} from "./CMs8vKjq.js";
|
||||
import {
|
||||
g as j,
|
||||
P as me,
|
||||
c as _e
|
||||
} from "./1lh-LSvX.js";
|
||||
import {
|
||||
o as he
|
||||
} from "./ByKBPM-D.js";
|
||||
import {
|
||||
g as z
|
||||
} from "./C5GsJ62f.js";
|
||||
import {
|
||||
L as ge
|
||||
} from "./07L1R_bo.js";
|
||||
|
||||
function be(r, e, a) {
|
||||
ce(() => {
|
||||
var l = se(() => e(r, a == null ? void 0 : a()) || {});
|
||||
if (a && (l != null && l.update)) {
|
||||
var s = !1,
|
||||
_ = {};
|
||||
oe(() => {
|
||||
var f = a();
|
||||
ve(f), s && de(_, f) && (_ = f, l.update(f))
|
||||
}), s = !0
|
||||
}
|
||||
if (l != null && l.destroy) return () => l.destroy()
|
||||
})
|
||||
}
|
||||
const xe = r => `Login with ${r.name}`,
|
||||
we = r => `Entrar com ${r.name}`,
|
||||
Q = (r, e = {}) => (e.locale ?? z()) === "en" ? xe(r) : we(r),
|
||||
ye = () => "By continuing, you agree to our",
|
||||
ke = () => "注册即代表同意我们的",
|
||||
Le = (r = {}, e = {}) => (e.locale ?? z()) === "en" ? ye() : ke(),
|
||||
Ce = () => "Terms of Service",
|
||||
Ie = () => "服务条款",
|
||||
Te = (r = {}, e = {}) => (e.locale ?? z()) === "en" ? Ce() : Ie(),
|
||||
ze = () => "and",
|
||||
Be = () => "和",
|
||||
Ee = (r = {}, e = {}) => (e.locale ?? z()) === "en" ? ze() : Be(),
|
||||
Me = () => "Privacy Policy",
|
||||
Fe = () => "隐私政策",
|
||||
Pe = (r = {}, e = {}) => (e.locale ?? z()) === "en" ? Me() : Fe();
|
||||
var Se = D("<div></div>");
|
||||
|
||||
function He(r, e) {
|
||||
W(e, !0);
|
||||
let a = u(e, "widgetId", 15),
|
||||
l = u(e, "appearance", 3, "always"),
|
||||
s = u(e, "language", 3, "auto"),
|
||||
_ = u(e, "execution", 3, "render"),
|
||||
f = u(e, "retryInterval", 3, 8e3),
|
||||
C = u(e, "retry", 3, "auto"),
|
||||
K = u(e, "refreshExpired", 3, "auto"),
|
||||
y = u(e, "theme", 3, "auto"),
|
||||
I = u(e, "size", 3, "normal"),
|
||||
N = u(e, "tabIndex", 3, 0);
|
||||
u(e, "reset", 15)(() => {
|
||||
var t;
|
||||
a() && ((t = window == null ? void 0 : window.turnstile) == null || t.reset(a()))
|
||||
});
|
||||
const B = p(() => ({
|
||||
sitekey: e.siteKey,
|
||||
callback: (t, n) => {
|
||||
var i;
|
||||
(i = e.callback) == null || i.call(e, t, n)
|
||||
},
|
||||
"error-callback": t => {
|
||||
var n;
|
||||
(n = e.errorCallback) == null || n.call(e, t)
|
||||
},
|
||||
"timeout-callback": () => {
|
||||
var t;
|
||||
(t = e.timeoutCallback) == null || t.call(e)
|
||||
},
|
||||
"expired-callback": () => {
|
||||
var t;
|
||||
(t = e.expiredCallback) == null || t.call(e)
|
||||
},
|
||||
"before-interactive-callback": () => {
|
||||
var t;
|
||||
(t = e.beforeInteractiveCallback) == null || t.call(e)
|
||||
},
|
||||
"after-interactive-callback": () => {
|
||||
var t;
|
||||
(t = e.afterInteractiveCallback) == null || t.call(e)
|
||||
},
|
||||
"unsupported-callback": () => {
|
||||
var t;
|
||||
return (t = e.unsupportedCallback) == null ? void 0 : t.call(e)
|
||||
},
|
||||
"response-field-name": e.responseFieldName ?? e.formsField ?? "cf-turnstile-response",
|
||||
"response-field": e.responseField ?? e.forms ?? !0,
|
||||
"refresh-expired": K(),
|
||||
"retry-interval": f(),
|
||||
tabindex: N(),
|
||||
appearance: l(),
|
||||
execution: _(),
|
||||
language: s(),
|
||||
action: e.action,
|
||||
retry: C(),
|
||||
theme: y(),
|
||||
cData: e.cData,
|
||||
size: I()
|
||||
})),
|
||||
k = (t, n) => {
|
||||
let i = window.turnstile.render(t, n);
|
||||
return a(i), {
|
||||
destroy() {
|
||||
window.turnstile.remove(i)
|
||||
},
|
||||
update(c) {
|
||||
window.turnstile.remove(i), i = window.turnstile.render(t, c), a(i)
|
||||
}
|
||||
}
|
||||
};
|
||||
let h = P(!1);
|
||||
he(() => {
|
||||
return () => {
|
||||
H(h, !1)
|
||||
}
|
||||
});
|
||||
var E = ue(),
|
||||
M = X(E);
|
||||
{
|
||||
var F = t => {
|
||||
var n = Se();
|
||||
let i;
|
||||
be(n, (c, L) => k == null ? void 0 : k(c, L), () => o(B)), S(c => i = G(n, 1, R(e.class), "svelte-1gvfki5", i, c), [() => ({
|
||||
flexible: I() == "flexible"
|
||||
})]), w(t, n)
|
||||
};
|
||||
A(M, t => {
|
||||
j.turnstatileLoaded && o(h) && t(F)
|
||||
})
|
||||
}
|
||||
w(r, E), Z()
|
||||
}
|
||||
var De = $('<svg><path d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027" fill="#4285F4"></path><path d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1" fill="#34A853"></path><path d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782" fill="#FBBC05"></path><path d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251" fill="#EB4335"></path></svg>');
|
||||
|
||||
function Ke(r, e) {
|
||||
let a = ee(e, ["$$slots", "$$events", "$$legacy"]);
|
||||
var l = De();
|
||||
te(l, () => ({
|
||||
viewBox: "0 0 256 262",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
...a
|
||||
})), w(r, l)
|
||||
}
|
||||
var Ne = $('<svg><path fill="#fff" d="m2200 1300-400 400h-400l-350 350v-350H600V200h1600z"></path><g fill="#9146ff"><path d="M500 0 0 500v1800h600v500l500-500h400l900-900V0H500zm1700 1300-400 400h-400l-350 350v-350H600V200h1600v1100z"></path><path d="M1700 550h200v600h-200zm-550 0h200v600h-200z"></path></g></svg>');
|
||||
|
||||
function Ue(r, e) {
|
||||
let a = ee(e, ["$$slots", "$$events", "$$legacy"]);
|
||||
var l = Ne();
|
||||
te(l, () => ({
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
"xml:space": "preserve",
|
||||
viewBox: "0 0 2400 2800",
|
||||
...a
|
||||
})), w(r, l)
|
||||
}
|
||||
var je = D('<div class="text-error text-sm"> </div>'),
|
||||
Ae = D('<a><!> </a> <a><!> </a> <div class="mt-2 flex flex-col items-center gap-1"><!> <!></div>', 1),
|
||||
Ge = D('<div><div class="flex justify-center"><!></div> <form><div class="mt-6 flex flex-col items-center gap-2"><!></div></form> <p class="text-base-content/60 mt-2 text-center text-sm"> <a class="font-medium" href="/terms/terms-of-service" target="_blank"> </a> <a class="font-medium" href="/terms/privacy" target="_blank"> </a></p></div>');
|
||||
|
||||
function pe(r, e) {
|
||||
W(e, !0);
|
||||
let a = P(""),
|
||||
l = P(null),
|
||||
s = P("");
|
||||
|
||||
function _(n, i) {
|
||||
return `${_e}/auth/${n}?token=${i}${e.redirect?`&r=${e.redirect}`:""}`
|
||||
}
|
||||
var f = Ge(),
|
||||
C = v(f),
|
||||
K = v(C);
|
||||
ge(K, {
|
||||
hasText: !0
|
||||
}), d(C);
|
||||
var y = m(C, 2),
|
||||
I = v(y),
|
||||
N = v(I);
|
||||
{
|
||||
var V = n => {
|
||||
var i = Ae(),
|
||||
c = X(i),
|
||||
L = v(c);
|
||||
Ke(L, {
|
||||
class: "mr-1 size-5"
|
||||
});
|
||||
var ae = m(L);
|
||||
d(c);
|
||||
var T = m(c, 2),
|
||||
q = v(T);
|
||||
Ue(q, {
|
||||
class: "mr-1 size-5"
|
||||
});
|
||||
var re = m(q);
|
||||
d(T);
|
||||
var O = m(T, 2),
|
||||
Y = v(O);
|
||||
{
|
||||
let g = p(() => me.trim());
|
||||
H(s, "b", true);
|
||||
}
|
||||
var ne = m(Y, 2);
|
||||
{
|
||||
var le = g => {
|
||||
var b = je(),
|
||||
U = v(b, !0);
|
||||
d(b), S(() => x(U, o(a))), w(g, b)
|
||||
};
|
||||
A(ne, g => {
|
||||
o(a) && g(le)
|
||||
})
|
||||
}
|
||||
var btn = document.createElement("button");
|
||||
btn.className = "btn bg-base-100 w-full text-base";
|
||||
btn.textContent = "Login with your openplace account";
|
||||
|
||||
btn.addEventListener("click", () => {
|
||||
window.location.href = "/login";
|
||||
});
|
||||
|
||||
w(n, btn);
|
||||
|
||||
};
|
||||
A(N, n => {
|
||||
n(V, !1)
|
||||
})
|
||||
}
|
||||
d(I), d(y), fe(y, n => H(l, n), () => o(l));
|
||||
var B = m(y, 2),
|
||||
k = v(B),
|
||||
h = m(k),
|
||||
E = v(h, !0);
|
||||
d(h);
|
||||
var M = m(h),
|
||||
F = m(M),
|
||||
t = v(F, !0);
|
||||
d(F), d(B), d(f), S((n, i, c, L) => {
|
||||
x(k, `${n??""} `), x(E, i), x(M, ` ${c??""} `), x(t, L)
|
||||
}, [() => Le(), () => Te(), () => Ee(), () => Pe()]), w(r, f), Z()
|
||||
}
|
||||
export {
|
||||
pe as L, Ue as T, He as a
|
||||
};
|
||||
@@ -0,0 +1,120 @@
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
o = new e.Error().stack;
|
||||
o &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[o] = "138d49da-a363-498b-a700-aea1b9f4af0d"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-138d49da-a363-498b-a700-aea1b9f4af0d"));
|
||||
})();
|
||||
} catch {}
|
||||
const y = "en",
|
||||
c = ["en", "pt"],
|
||||
d = "PARAGLIDE_LOCALE",
|
||||
g = ["localStorage", "preferredLanguage", "baseLocale"];
|
||||
globalThis.__paraglide = {};
|
||||
let f = !1,
|
||||
w = () => {
|
||||
let e;
|
||||
for (const o of g) {
|
||||
if (o === "baseLocale") e = y;
|
||||
else if (o === "preferredLanguage") e = L();
|
||||
else if (o === "localStorage") e = localStorage.getItem(d) ?? void 0;
|
||||
else if (u(o) && l.has(o)) {
|
||||
const a = l.get(o);
|
||||
if (a) {
|
||||
const t = a.getLocale();
|
||||
if (t instanceof Promise) continue;
|
||||
e = t;
|
||||
}
|
||||
}
|
||||
if (e !== void 0) {
|
||||
const a = h(e);
|
||||
return f || ((f = !0), p(a, { reload: !1 })), a;
|
||||
}
|
||||
}
|
||||
throw new Error(
|
||||
"No locale found. Read the docs https://inlang.com/m/gerre34r/library-inlang-paraglideJs/errors#no-locale-found"
|
||||
);
|
||||
},
|
||||
p = (e, o) => {
|
||||
const a = { reload: !0, ...o };
|
||||
let t;
|
||||
try {
|
||||
t = w();
|
||||
} catch {}
|
||||
for (const n of g)
|
||||
if (n !== "baseLocale") {
|
||||
if (n === "localStorage" && typeof window < "u")
|
||||
localStorage.setItem(d, e);
|
||||
else if (u(n) && l.has(n)) {
|
||||
const s = l.get(n);
|
||||
if (s) {
|
||||
const i = s.setLocale(e);
|
||||
i instanceof Promise &&
|
||||
i.catch((b) => {
|
||||
console.warn(`Custom strategy "${n}" setLocale failed:`, b);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
a.reload && window.location && e !== t && window.location.reload();
|
||||
};
|
||||
function r(e) {
|
||||
return e ? c.includes(e) : !1;
|
||||
}
|
||||
function h(e) {
|
||||
if (r(e) === !1)
|
||||
throw new Error(`Invalid locale: ${e}. Expected one of: ${c.join(", ")}`);
|
||||
return e;
|
||||
}
|
||||
function L() {
|
||||
var o;
|
||||
if (
|
||||
!(
|
||||
(o = navigator == null ? void 0 : navigator.languages) != null && o.length
|
||||
)
|
||||
)
|
||||
return;
|
||||
const e = navigator.languages.map((a) => {
|
||||
var t;
|
||||
return {
|
||||
fullTag: a.toLowerCase(),
|
||||
baseTag: (t = a.split("-")[0]) == null ? void 0 : t.toLowerCase(),
|
||||
};
|
||||
});
|
||||
for (const a of e) {
|
||||
if (r(a.fullTag)) return a.fullTag;
|
||||
if (r(a.baseTag)) return a.baseTag;
|
||||
}
|
||||
}
|
||||
const l = new Map();
|
||||
function u(e) {
|
||||
return typeof e == "string" && /^custom-[A-Za-z0-9_-]+$/.test(e);
|
||||
}
|
||||
export { w as g, d as l };
|
||||
@@ -1,24 +0,0 @@
|
||||
import "./B2cHk4HI.js";
|
||||
import { v as d, b as r } from "./BDALf20I.js";
|
||||
import { b as f } from "./BNZUboE0.js";
|
||||
import { r as s } from "./Bke_korE.js";
|
||||
(function () {
|
||||
try {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
e.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
o = new e.Error().stack;
|
||||
o && ((e._sentryDebugIds = e._sentryDebugIds || {}), (e._sentryDebugIds[o] = "c01216ed-65cd-4e75-9911-303dbf848453"), (e._sentryDebugIdIdentifier = "sentry-dbid-c01216ed-65cd-4e75-9911-303dbf848453"));
|
||||
})();
|
||||
} catch {}
|
||||
var i = d('<svg><path d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"></path></svg>');
|
||||
function b(e, o) {
|
||||
let n = s(o, ["$$slots", "$$events", "$$legacy"]);
|
||||
var t = i();
|
||||
f(t, () => ({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 -960 960 960", fill: "currentColor", ...n })), r(e, t);
|
||||
}
|
||||
export { b as A };
|
||||
@@ -0,0 +1,40 @@
|
||||
import { g as d } from "./CV9xcpLq.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
n = new e.Error().stack;
|
||||
n &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[n] = "b0beadb0-deec-4a77-af24-7bb1740c9b03"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-b0beadb0-deec-4a77-af24-7bb1740c9b03"));
|
||||
})();
|
||||
} catch {}
|
||||
const o = () => "Clear",
|
||||
t = () => "Limpar",
|
||||
f = (e = {}, n = {}) => ((n.locale ?? d()) === "en" ? o() : t());
|
||||
export { f as c };
|
||||
@@ -0,0 +1,314 @@
|
||||
import {
|
||||
j as ee,
|
||||
i as se,
|
||||
M as ae,
|
||||
N as V,
|
||||
h as N,
|
||||
O as ue,
|
||||
e as de,
|
||||
g as J,
|
||||
P as ve,
|
||||
Q as oe,
|
||||
R as _e,
|
||||
S as K,
|
||||
T as U,
|
||||
o as M,
|
||||
U as ce,
|
||||
V as he,
|
||||
k as P,
|
||||
m as be,
|
||||
W as O,
|
||||
X as L,
|
||||
l as pe,
|
||||
Y as $,
|
||||
Z as Ee,
|
||||
_ as j,
|
||||
a0 as re,
|
||||
a1 as me,
|
||||
a2 as ne,
|
||||
q as Te,
|
||||
a3 as we,
|
||||
a4 as X,
|
||||
L as Ie,
|
||||
a5 as fe,
|
||||
a6 as Ae,
|
||||
a7 as ge,
|
||||
a8 as ye,
|
||||
a9 as De,
|
||||
aa as Ne,
|
||||
ab as Se,
|
||||
} from "./CMvZtFtm.js";
|
||||
(function () {
|
||||
try {
|
||||
var f =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
f.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var f =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
r = new f.Error().stack;
|
||||
r &&
|
||||
((f._sentryDebugIds = f._sentryDebugIds || {}),
|
||||
(f._sentryDebugIds[r] = "2b5bde17-2785-4b31-a81c-050ebb6df357"),
|
||||
(f._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-2b5bde17-2785-4b31-a81c-050ebb6df357"));
|
||||
})();
|
||||
} catch {}
|
||||
let B = null;
|
||||
function Re(f, r) {
|
||||
return r;
|
||||
}
|
||||
function xe(f, r, e) {
|
||||
for (var s = f.items, u = [], d = r.length, t = 0; t < d; t++)
|
||||
ye(r[t].e, u, !0);
|
||||
var c = d > 0 && u.length === 0 && e !== null;
|
||||
if (c) {
|
||||
var m = e.parentNode;
|
||||
De(m), m.append(e), s.clear(), A(f, r[0].prev, r[d - 1].next);
|
||||
}
|
||||
Ne(u, () => {
|
||||
for (var E = 0; E < d; E++) {
|
||||
var o = r[E];
|
||||
c || (s.delete(o.k), A(f, o.prev, o.next)), fe(o.e, !c);
|
||||
}
|
||||
});
|
||||
}
|
||||
function He(f, r, e, s, u, d = null) {
|
||||
var t = f,
|
||||
c = { flags: r, items: new Map(), first: null },
|
||||
m = (r & ae) !== 0;
|
||||
if (m) {
|
||||
var E = f;
|
||||
t = N ? V(ue(E)) : E.appendChild(ee());
|
||||
}
|
||||
N && de();
|
||||
var o = null,
|
||||
y = !1,
|
||||
T = new Map(),
|
||||
S = ve(() => {
|
||||
var v = e();
|
||||
return me(v) ? v : v == null ? [] : re(v);
|
||||
}),
|
||||
i,
|
||||
b;
|
||||
function n() {
|
||||
Ce(b, i, c, T, t, u, r, s, e),
|
||||
d !== null &&
|
||||
(i.length === 0
|
||||
? o
|
||||
? ne(o)
|
||||
: (o = P(() => d(t)))
|
||||
: o !== null &&
|
||||
Te(o, () => {
|
||||
o = null;
|
||||
}));
|
||||
}
|
||||
se(() => {
|
||||
b ?? (b = Se), (i = J(S));
|
||||
var v = i.length;
|
||||
if (y && v === 0) return;
|
||||
y = v === 0;
|
||||
let p = !1;
|
||||
if (N) {
|
||||
var w = oe(t) === _e;
|
||||
w !== (v === 0) && ((t = K()), V(t), U(!1), (p = !0));
|
||||
}
|
||||
if (N) {
|
||||
for (var g = null, _, a = 0; a < v; a++) {
|
||||
if (M.nodeType === ce && M.data === he) {
|
||||
(t = M), (p = !0), U(!1);
|
||||
break;
|
||||
}
|
||||
var l = i[a],
|
||||
h = s(l, a);
|
||||
(_ = Q(M, c, g, null, l, h, a, u, r, e)), c.items.set(h, _), (g = _);
|
||||
}
|
||||
v > 0 && V(K());
|
||||
}
|
||||
if (N) v === 0 && d && (o = P(() => d(t)));
|
||||
else if (be()) {
|
||||
var x = new Set(),
|
||||
R = pe;
|
||||
for (a = 0; a < v; a += 1) {
|
||||
(l = i[a]), (h = s(l, a));
|
||||
var D = c.items.get(h) ?? T.get(h);
|
||||
D
|
||||
? (r & (O | L)) !== 0 && ie(D, l, a, r)
|
||||
: ((_ = Q(null, c, null, null, l, h, a, u, r, e, !0)), T.set(h, _)),
|
||||
x.add(h);
|
||||
}
|
||||
for (const [I, H] of c.items) x.has(I) || R.skipped_effects.add(H.e);
|
||||
R.add_callback(n);
|
||||
} else n();
|
||||
p && U(!0), J(S);
|
||||
}),
|
||||
N && (t = M);
|
||||
}
|
||||
function Ce(f, r, e, s, u, d, t, c, m) {
|
||||
var W, Z, k, z;
|
||||
var E = (t & Ae) !== 0,
|
||||
o = (t & (O | L)) !== 0,
|
||||
y = r.length,
|
||||
T = e.items,
|
||||
S = e.first,
|
||||
i = S,
|
||||
b,
|
||||
n = null,
|
||||
v,
|
||||
p = [],
|
||||
w = [],
|
||||
g,
|
||||
_,
|
||||
a,
|
||||
l;
|
||||
if (E)
|
||||
for (l = 0; l < y; l += 1)
|
||||
(g = r[l]),
|
||||
(_ = c(g, l)),
|
||||
(a = T.get(_)),
|
||||
a !== void 0 &&
|
||||
((W = a.a) == null || W.measure(), (v ?? (v = new Set())).add(a));
|
||||
for (l = 0; l < y; l += 1) {
|
||||
if (((g = r[l]), (_ = c(g, l)), (a = T.get(_)), a === void 0)) {
|
||||
var h = s.get(_);
|
||||
if (h !== void 0) {
|
||||
s.delete(_), T.set(_, h);
|
||||
var x = n ? n.next : i;
|
||||
A(e, n, h), A(e, h, x), F(h, x, u), (n = h);
|
||||
} else {
|
||||
var R = i ? i.e.nodes_start : u;
|
||||
n = Q(R, e, n, n === null ? e.first : n.next, g, _, l, d, t, m);
|
||||
}
|
||||
T.set(_, n), (p = []), (w = []), (i = n.next);
|
||||
continue;
|
||||
}
|
||||
if (
|
||||
(o && ie(a, g, l, t),
|
||||
(a.e.f & X) !== 0 &&
|
||||
(ne(a.e),
|
||||
E &&
|
||||
((Z = a.a) == null || Z.unfix(), (v ?? (v = new Set())).delete(a))),
|
||||
a !== i)
|
||||
) {
|
||||
if (b !== void 0 && b.has(a)) {
|
||||
if (p.length < w.length) {
|
||||
var D = w[0],
|
||||
I;
|
||||
n = D.prev;
|
||||
var H = p[0],
|
||||
Y = p[p.length - 1];
|
||||
for (I = 0; I < p.length; I += 1) F(p[I], D, u);
|
||||
for (I = 0; I < w.length; I += 1) b.delete(w[I]);
|
||||
A(e, H.prev, Y.next),
|
||||
A(e, n, H),
|
||||
A(e, Y, D),
|
||||
(i = D),
|
||||
(n = Y),
|
||||
(l -= 1),
|
||||
(p = []),
|
||||
(w = []);
|
||||
} else
|
||||
b.delete(a),
|
||||
F(a, i, u),
|
||||
A(e, a.prev, a.next),
|
||||
A(e, a, n === null ? e.first : n.next),
|
||||
A(e, n, a),
|
||||
(n = a);
|
||||
continue;
|
||||
}
|
||||
for (p = [], w = []; i !== null && i.k !== _; )
|
||||
(i.e.f & X) === 0 && (b ?? (b = new Set())).add(i),
|
||||
w.push(i),
|
||||
(i = i.next);
|
||||
if (i === null) continue;
|
||||
a = i;
|
||||
}
|
||||
p.push(a), (n = a), (i = a.next);
|
||||
}
|
||||
if (i !== null || b !== void 0) {
|
||||
for (var C = b === void 0 ? [] : re(b); i !== null; )
|
||||
(i.e.f & X) === 0 && C.push(i), (i = i.next);
|
||||
var q = C.length;
|
||||
if (q > 0) {
|
||||
var le = (t & ae) !== 0 && y === 0 ? u : null;
|
||||
if (E) {
|
||||
for (l = 0; l < q; l += 1) (k = C[l].a) == null || k.measure();
|
||||
for (l = 0; l < q; l += 1) (z = C[l].a) == null || z.fix();
|
||||
}
|
||||
xe(e, C, le);
|
||||
}
|
||||
}
|
||||
E &&
|
||||
Ie(() => {
|
||||
var G;
|
||||
if (v !== void 0) for (a of v) (G = a.a) == null || G.apply();
|
||||
}),
|
||||
(f.first = e.first && e.first.e),
|
||||
(f.last = n && n.e);
|
||||
for (var te of s.values()) fe(te.e);
|
||||
s.clear();
|
||||
}
|
||||
function ie(f, r, e, s) {
|
||||
(s & O) !== 0 && $(f.v, r), (s & L) !== 0 ? $(f.i, e) : (f.i = e);
|
||||
}
|
||||
function Q(f, r, e, s, u, d, t, c, m, E, o) {
|
||||
var y = B,
|
||||
T = (m & O) !== 0,
|
||||
S = (m & we) === 0,
|
||||
i = T ? (S ? Ee(u, !1, !1) : j(u)) : u,
|
||||
b = (m & L) === 0 ? t : j(t),
|
||||
n = { i: b, v: i, k: d, a: null, e: null, prev: e, next: s };
|
||||
B = n;
|
||||
try {
|
||||
if (f === null) {
|
||||
var v = document.createDocumentFragment();
|
||||
v.append((f = ee()));
|
||||
}
|
||||
return (
|
||||
(n.e = P(() => c(f, i, b, E), N)),
|
||||
(n.e.prev = e && e.e),
|
||||
(n.e.next = s && s.e),
|
||||
e === null ? o || (r.first = n) : ((e.next = n), (e.e.next = n.e)),
|
||||
s !== null && ((s.prev = n), (s.e.prev = n.e)),
|
||||
n
|
||||
);
|
||||
} finally {
|
||||
B = y;
|
||||
}
|
||||
}
|
||||
function F(f, r, e) {
|
||||
for (
|
||||
var s = f.next ? f.next.e.nodes_start : e,
|
||||
u = r ? r.e.nodes_start : e,
|
||||
d = f.e.nodes_start;
|
||||
d !== null && d !== s;
|
||||
|
||||
) {
|
||||
var t = ge(d);
|
||||
u.before(d), (d = t);
|
||||
}
|
||||
}
|
||||
function A(f, r, e) {
|
||||
r === null ? (f.first = e) : ((r.next = e), (r.e.next = e && e.e)),
|
||||
e !== null && ((e.prev = r), (e.e.prev = r && r.e));
|
||||
}
|
||||
export { B as c, He as e, Re as i };
|
||||
@@ -1 +0,0 @@
|
||||
import"./B2cHk4HI.js";import{p as m,f as c,t as d,b as f,c as v,d as y,s as _,r as h}from"./BDALf20I.js";import{p as w,i as x,r as E}from"./Bke_korE.js";import{b as T,a as r,s as S}from"./BNZUboE0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"35111e7039e8c68cc677344b7f7c6971567f6820"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="bfaa257f-561a-4221-9d82-ad8618895a89",e._sentryDebugIdIdentifier="sentry-dbid-bfaa257f-561a-4221-9d82-ad8618895a89")})()}catch{}const B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAAXNSR0IArs4c6QAAABJQTFRFAQEBAAAAHGHnRcxVStlbMXLnk8SHtQAAAAF0Uk5TAEDm2GYAAABMSURBVHjadc9JCgAhDERRa7r/lZs0ikawdv+tkvEYALS07U2QawmOTo1oQBKr8/cUMLY7JLEPYLW0oISSNLtgiojRBfv0AuB67vH3B+FjAY/0rrGiAAAAAElFTkSuQmCC";var L=c("<span>wplace</span>"),R=c('<div><img alt="Wplace logo"/> <!></div>');function z(e,a){m(a,!0);let t=w(a,"size",3,"default"),g=E(a,["$$slots","$$events","$$legacy","hasText","size"]);var l=R();T(l,()=>({...g,class:`flex items-center gap-1.5 ${a.class??""}`}));var i=y(l);let o;var p=_(i,2);{var u=s=>{var n=L();let A;d(b=>A=r(n,1,"text-base-content font-pixel",null,A,b),[()=>({"text-4xl":t()==="default","text-5xl":t()==="lg"||t()==="medium"})]),f(s,n)};x(p,s=>{a.hasText&&s(u)})}h(l),d(s=>{o=r(i,1,"pixelated",null,o,s),S(i,"src",B)},[()=>({"size-10":t()==="default","size-16":t()==="medium","size-20":t()==="lg"})]),f(e,l),v()}export{z as L};
|
||||
@@ -1,244 +0,0 @@
|
||||
import {
|
||||
j as ee,
|
||||
i as se,
|
||||
N as ae,
|
||||
O as V,
|
||||
h as N,
|
||||
P as ue,
|
||||
e as de,
|
||||
g as J,
|
||||
Q as ve,
|
||||
R as oe,
|
||||
T as _e,
|
||||
U as K,
|
||||
V as U,
|
||||
o as S,
|
||||
W as ce,
|
||||
X as he,
|
||||
k as P,
|
||||
m as pe,
|
||||
Y as O,
|
||||
Z as L,
|
||||
l as Ee,
|
||||
_ as $,
|
||||
a0 as me,
|
||||
a1 as j,
|
||||
a2 as re,
|
||||
a3 as Te,
|
||||
a4 as ne,
|
||||
q as be,
|
||||
a5 as we,
|
||||
a6 as X,
|
||||
L as Ie,
|
||||
a7 as fe,
|
||||
a8 as Ae,
|
||||
a9 as ge,
|
||||
aa as ye,
|
||||
ab as De,
|
||||
ac as Ne,
|
||||
ad as xe,
|
||||
} from "./BDALf20I.js";
|
||||
(function () {
|
||||
try {
|
||||
var f = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
||||
f.SENTRY_RELEASE = { id: "35111e7039e8c68cc677344b7f7c6971567f6820" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var f = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {},
|
||||
r = new f.Error().stack;
|
||||
r && ((f._sentryDebugIds = f._sentryDebugIds || {}), (f._sentryDebugIds[r] = "ac89915e-f261-4f84-9428-f4a8e4a48872"), (f._sentryDebugIdIdentifier = "sentry-dbid-ac89915e-f261-4f84-9428-f4a8e4a48872"));
|
||||
})();
|
||||
} catch {}
|
||||
let B = null;
|
||||
function Me(f, r) {
|
||||
return r;
|
||||
}
|
||||
function Ce(f, r, e) {
|
||||
for (var s = f.items, u = [], d = r.length, t = 0; t < d; t++) ye(r[t].e, u, !0);
|
||||
var c = d > 0 && u.length === 0 && e !== null;
|
||||
if (c) {
|
||||
var T = e.parentNode;
|
||||
De(T), T.append(e), s.clear(), A(f, r[0].prev, r[d - 1].next);
|
||||
}
|
||||
Ne(u, () => {
|
||||
for (var m = 0; m < d; m++) {
|
||||
var o = r[m];
|
||||
c || (s.delete(o.k), A(f, o.prev, o.next)), fe(o.e, !c);
|
||||
}
|
||||
});
|
||||
}
|
||||
function He(f, r, e, s, u, d = null) {
|
||||
var t = f,
|
||||
c = { flags: r, items: new Map(), first: null },
|
||||
T = (r & ae) !== 0;
|
||||
if (T) {
|
||||
var m = f;
|
||||
t = N ? V(ue(m)) : m.appendChild(ee());
|
||||
}
|
||||
N && de();
|
||||
var o = null,
|
||||
y = !1,
|
||||
b = new Map(),
|
||||
x = ve(() => {
|
||||
var v = e();
|
||||
return Te(v) ? v : v == null ? [] : re(v);
|
||||
}),
|
||||
i,
|
||||
p;
|
||||
function n() {
|
||||
Re(p, i, c, b, t, u, r, s, e),
|
||||
d !== null &&
|
||||
(i.length === 0
|
||||
? o
|
||||
? ne(o)
|
||||
: (o = P(() => d(t)))
|
||||
: o !== null &&
|
||||
be(o, () => {
|
||||
o = null;
|
||||
}));
|
||||
}
|
||||
se(() => {
|
||||
p ?? (p = xe), (i = J(x));
|
||||
var v = i.length;
|
||||
if (y && v === 0) return;
|
||||
y = v === 0;
|
||||
let E = !1;
|
||||
if (N) {
|
||||
var w = oe(t) === _e;
|
||||
w !== (v === 0) && ((t = K()), V(t), U(!1), (E = !0));
|
||||
}
|
||||
if (N) {
|
||||
for (var g = null, _, a = 0; a < v; a++) {
|
||||
if (S.nodeType === ce && S.data === he) {
|
||||
(t = S), (E = !0), U(!1);
|
||||
break;
|
||||
}
|
||||
var l = i[a],
|
||||
h = s(l, a);
|
||||
(_ = Q(S, c, g, null, l, h, a, u, r, e)), c.items.set(h, _), (g = _);
|
||||
}
|
||||
v > 0 && V(K());
|
||||
}
|
||||
if (N) v === 0 && d && (o = P(() => d(t)));
|
||||
else if (pe()) {
|
||||
var C = new Set(),
|
||||
M = Ee;
|
||||
for (a = 0; a < v; a += 1) {
|
||||
(l = i[a]), (h = s(l, a));
|
||||
var D = c.items.get(h) ?? b.get(h);
|
||||
D ? (r & (O | L)) !== 0 && ie(D, l, a, r) : ((_ = Q(null, c, null, null, l, h, a, u, r, e, !0)), b.set(h, _)), C.add(h);
|
||||
}
|
||||
for (const [I, H] of c.items) C.has(I) || M.skipped_effects.add(H.e);
|
||||
M.add_callback(n);
|
||||
} else n();
|
||||
E && U(!0), J(x);
|
||||
}),
|
||||
N && (t = S);
|
||||
}
|
||||
function Re(f, r, e, s, u, d, t, c, T) {
|
||||
var W, Z, k, z;
|
||||
var m = (t & Ae) !== 0,
|
||||
o = (t & (O | L)) !== 0,
|
||||
y = r.length,
|
||||
b = e.items,
|
||||
x = e.first,
|
||||
i = x,
|
||||
p,
|
||||
n = null,
|
||||
v,
|
||||
E = [],
|
||||
w = [],
|
||||
g,
|
||||
_,
|
||||
a,
|
||||
l;
|
||||
if (m) for (l = 0; l < y; l += 1) (g = r[l]), (_ = c(g, l)), (a = b.get(_)), a !== void 0 && ((W = a.a) == null || W.measure(), (v ?? (v = new Set())).add(a));
|
||||
for (l = 0; l < y; l += 1) {
|
||||
if (((g = r[l]), (_ = c(g, l)), (a = b.get(_)), a === void 0)) {
|
||||
var h = s.get(_);
|
||||
if (h !== void 0) {
|
||||
s.delete(_), b.set(_, h);
|
||||
var C = n ? n.next : i;
|
||||
A(e, n, h), A(e, h, C), F(h, C, u), (n = h);
|
||||
} else {
|
||||
var M = i ? i.e.nodes_start : u;
|
||||
n = Q(M, e, n, n === null ? e.first : n.next, g, _, l, d, t, T);
|
||||
}
|
||||
b.set(_, n), (E = []), (w = []), (i = n.next);
|
||||
continue;
|
||||
}
|
||||
if ((o && ie(a, g, l, t), (a.e.f & X) !== 0 && (ne(a.e), m && ((Z = a.a) == null || Z.unfix(), (v ?? (v = new Set())).delete(a))), a !== i)) {
|
||||
if (p !== void 0 && p.has(a)) {
|
||||
if (E.length < w.length) {
|
||||
var D = w[0],
|
||||
I;
|
||||
n = D.prev;
|
||||
var H = E[0],
|
||||
Y = E[E.length - 1];
|
||||
for (I = 0; I < E.length; I += 1) F(E[I], D, u);
|
||||
for (I = 0; I < w.length; I += 1) p.delete(w[I]);
|
||||
A(e, H.prev, Y.next), A(e, n, H), A(e, Y, D), (i = D), (n = Y), (l -= 1), (E = []), (w = []);
|
||||
} else p.delete(a), F(a, i, u), A(e, a.prev, a.next), A(e, a, n === null ? e.first : n.next), A(e, n, a), (n = a);
|
||||
continue;
|
||||
}
|
||||
for (E = [], w = []; i !== null && i.k !== _; ) (i.e.f & X) === 0 && (p ?? (p = new Set())).add(i), w.push(i), (i = i.next);
|
||||
if (i === null) continue;
|
||||
a = i;
|
||||
}
|
||||
E.push(a), (n = a), (i = a.next);
|
||||
}
|
||||
if (i !== null || p !== void 0) {
|
||||
for (var R = p === void 0 ? [] : re(p); i !== null; ) (i.e.f & X) === 0 && R.push(i), (i = i.next);
|
||||
var q = R.length;
|
||||
if (q > 0) {
|
||||
var le = (t & ae) !== 0 && y === 0 ? u : null;
|
||||
if (m) {
|
||||
for (l = 0; l < q; l += 1) (k = R[l].a) == null || k.measure();
|
||||
for (l = 0; l < q; l += 1) (z = R[l].a) == null || z.fix();
|
||||
}
|
||||
Ce(e, R, le);
|
||||
}
|
||||
}
|
||||
m &&
|
||||
Ie(() => {
|
||||
var G;
|
||||
if (v !== void 0) for (a of v) (G = a.a) == null || G.apply();
|
||||
}),
|
||||
(f.first = e.first && e.first.e),
|
||||
(f.last = n && n.e);
|
||||
for (var te of s.values()) fe(te.e);
|
||||
s.clear();
|
||||
}
|
||||
function ie(f, r, e, s) {
|
||||
(s & O) !== 0 && $(f.v, r), (s & L) !== 0 ? $(f.i, e) : (f.i = e);
|
||||
}
|
||||
function Q(f, r, e, s, u, d, t, c, T, m, o) {
|
||||
var y = B,
|
||||
b = (T & O) !== 0,
|
||||
x = (T & we) === 0,
|
||||
i = b ? (x ? me(u, !1, !1) : j(u)) : u,
|
||||
p = (T & L) === 0 ? t : j(t),
|
||||
n = { i: p, v: i, k: d, a: null, e: null, prev: e, next: s };
|
||||
B = n;
|
||||
try {
|
||||
if (f === null) {
|
||||
var v = document.createDocumentFragment();
|
||||
v.append((f = ee()));
|
||||
}
|
||||
return (n.e = P(() => c(f, i, p, m), N)), (n.e.prev = e && e.e), (n.e.next = s && s.e), e === null ? o || (r.first = n) : ((e.next = n), (e.e.next = n.e)), s !== null && ((s.prev = n), (s.e.prev = n.e)), n;
|
||||
} finally {
|
||||
B = y;
|
||||
}
|
||||
}
|
||||
function F(f, r, e) {
|
||||
for (var s = f.next ? f.next.e.nodes_start : e, u = r ? r.e.nodes_start : e, d = f.e.nodes_start; d !== null && d !== s; ) {
|
||||
var t = ge(d);
|
||||
u.before(d), (d = t);
|
||||
}
|
||||
}
|
||||
function A(f, r, e) {
|
||||
r === null ? (f.first = e) : ((r.next = e), (r.e.next = e && e.e)), e !== null && ((e.prev = r), (e.e.prev = r && r.e));
|
||||
}
|
||||
export { B as c, He as e, Me as i };
|
||||
@@ -0,0 +1,40 @@
|
||||
import { g as n } from "./CV9xcpLq.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
d = new e.Error().stack;
|
||||
d &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[d] = "cb9cdd54-2441-45dd-bc58-9d9fa5dd59c8"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-cb9cdd54-2441-45dd-bc58-9d9fa5dd59c8"));
|
||||
})();
|
||||
} catch {}
|
||||
const o = () => "Add",
|
||||
t = () => "Adicionar",
|
||||
i = (e = {}, d = {}) => ((d.locale ?? n()) === "en" ? o() : t());
|
||||
export { i as a };
|
||||
@@ -0,0 +1,77 @@
|
||||
import {
|
||||
h as l,
|
||||
e as u,
|
||||
i as p,
|
||||
E as y,
|
||||
j as _,
|
||||
k as g,
|
||||
l as s,
|
||||
m as h,
|
||||
o as m,
|
||||
q as v,
|
||||
} from "./CMvZtFtm.js";
|
||||
(function () {
|
||||
try {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
e.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var e =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
a = new e.Error().stack;
|
||||
a &&
|
||||
((e._sentryDebugIds = e._sentryDebugIds || {}),
|
||||
(e._sentryDebugIds[a] = "9dc3bcaa-438f-488e-b391-6b55ffb9a6c0"),
|
||||
(e._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-9dc3bcaa-438f-488e-b391-6b55ffb9a6c0"));
|
||||
})();
|
||||
} catch {}
|
||||
function E(e, a, b) {
|
||||
l && u();
|
||||
var t = e,
|
||||
d,
|
||||
n,
|
||||
f = null,
|
||||
o = null;
|
||||
function c() {
|
||||
n && (v(n), (n = null)),
|
||||
f && (f.lastChild.remove(), t.before(f), (f = null)),
|
||||
(n = o),
|
||||
(o = null);
|
||||
}
|
||||
p(() => {
|
||||
if (d !== (d = a())) {
|
||||
var i = h();
|
||||
if (d) {
|
||||
var r = t;
|
||||
i &&
|
||||
((f = document.createDocumentFragment()),
|
||||
f.append((r = _())),
|
||||
n && s.skipped_effects.add(n)),
|
||||
(o = g(() => b(r, d)));
|
||||
}
|
||||
i ? s.add_callback(c) : c();
|
||||
}
|
||||
}, y),
|
||||
l && (t = m);
|
||||
}
|
||||
export { E as c };
|
||||
@@ -1,13 +0,0 @@
|
||||
import "./Bzak7iHL.js";
|
||||
import { q as p, b as q } from "./DUoKDNpf.js";
|
||||
import { a } from "./B1GmkH4o.js";
|
||||
import { r as e } from "./5NasrULQ.js";
|
||||
var l = p(
|
||||
'<svg><path d="M790-56 414-434q-47 11-87.5 33T254-346l-84-86q32-32 69-56t79-42l-90-90q-41 21-76.5 46.5T84-516L0-602q32-32 66.5-57.5T140-708l-84-84 56-56 736 736-58 56Zm-310-64q-42 0-71-29.5T380-220q0-42 29-71t71-29q42 0 71 29t29 71q0 41-29 70.5T480-120Zm236-238-29-29-29-29-144-144q81 8 151.5 41T790-432l-74 74Zm160-158q-77-77-178.5-120.5T480-680q-21 0-40.5 1.5T400-674L298-776q44-12 89.5-18t92.5-6q142 0 265 53t215 145l-84 86Z"></path></svg>'
|
||||
);
|
||||
function T(r, o) {
|
||||
let s = e(o, ["$$slots", "$$events", "$$legacy"]);
|
||||
var t = l();
|
||||
a(t, () => ({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 -960 960 960", fill: "currentColor", ...s })), q(r, t);
|
||||
}
|
||||
export { T as W };
|
||||
@@ -0,0 +1,159 @@
|
||||
import { g as s } from "./CV9xcpLq.js";
|
||||
import "./Ch2Ub8FX.js";
|
||||
import {
|
||||
p as O,
|
||||
g as o,
|
||||
u as R,
|
||||
aw as w,
|
||||
au as j,
|
||||
y as k,
|
||||
f as g,
|
||||
d as c,
|
||||
s as x,
|
||||
bj as C,
|
||||
r as l,
|
||||
t as v,
|
||||
b,
|
||||
c as N,
|
||||
} from "./CMvZtFtm.js";
|
||||
import { s as h } from "./DVA6u9-7.js";
|
||||
import { p as S, i as q, r as Y } from "./BF50aS-j.js";
|
||||
import { b as z, C as B } from "./C5yqZvKC.js";
|
||||
import { b as F } from "./Dpga8uG-.js";
|
||||
(function () {
|
||||
try {
|
||||
var t =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {};
|
||||
t.SENTRY_RELEASE = { id: "9ccec90dcd6b8d85831cf2b37643f1564d033383" };
|
||||
} catch {}
|
||||
})();
|
||||
try {
|
||||
(function () {
|
||||
var t =
|
||||
typeof window < "u"
|
||||
? window
|
||||
: typeof global < "u"
|
||||
? global
|
||||
: typeof globalThis < "u"
|
||||
? globalThis
|
||||
: typeof self < "u"
|
||||
? self
|
||||
: {},
|
||||
e = new t.Error().stack;
|
||||
e &&
|
||||
((t._sentryDebugIds = t._sentryDebugIds || {}),
|
||||
(t._sentryDebugIds[e] = "832b2d91-c507-495d-8a1f-d5c91dd6acad"),
|
||||
(t._sentryDebugIdIdentifier =
|
||||
"sentry-dbid-832b2d91-c507-495d-8a1f-d5c91dd6acad"));
|
||||
})();
|
||||
} catch {}
|
||||
const G = () => "Select the reason",
|
||||
H = () => "Selecione o motivo",
|
||||
xe = (t = {}, e = {}) => ((e.locale ?? s()) === "en" ? G() : H()),
|
||||
J = () => "Other",
|
||||
K = () => "Outro motivo",
|
||||
ve = (t = {}, e = {}) => ((e.locale ?? s()) === "en" ? J() : K()),
|
||||
P = () => "Extra context on what happened (required)",
|
||||
Q = () => "Mais informações sobre o que aconteceu (obrigatório)",
|
||||
be = (t = {}, e = {}) => ((e.locale ?? s()) === "en" ? P() : Q()),
|
||||
U = () => "Select the report reason",
|
||||
V = () => "Selecione o motivo da denúncia",
|
||||
he = (t = {}, e = {}) => ((e.locale ?? s()) === "en" ? U() : V()),
|
||||
W = () => "Required",
|
||||
X = () => "Obrigatório",
|
||||
Z = (t = {}, e = {}) => ((e.locale ?? s()) === "en" ? W() : X()),
|
||||
$ = (t) => `Min. characters: ${t.min}`,
|
||||
ee = (t) => `Mínimo de caracteres: ${t.min}`,
|
||||
te = (t, e = {}) => ((e.locale ?? s()) === "en" ? $(t) : ee(t)),
|
||||
ae = (t) => `Max. characters: ${t.max}`,
|
||||
re = (t) => `Máximo de caracteres: ${t.max}`,
|
||||
ne = (t, e = {}) => ((e.locale ?? s()) === "en" ? ae(t) : re(t));
|
||||
var se = g('<legend class="fieldset-legend"> </legend>'),
|
||||
oe = g('<span class="text-base-content/80"> </span>'),
|
||||
ce = g(
|
||||
'<fieldset class="fieldset"><!> <textarea></textarea> <div class="flex items-center justify-between text-xs"><span class="text-error"> </span> <!></div></fieldset>'
|
||||
);
|
||||
function ge(t, e) {
|
||||
O(e, !0);
|
||||
let r = S(e, "value", 15),
|
||||
E = S(e, "validate", 15),
|
||||
I = Y(e, [
|
||||
"$$slots",
|
||||
"$$events",
|
||||
"$$legacy",
|
||||
"label",
|
||||
"placeholder",
|
||||
"value",
|
||||
"max",
|
||||
"min",
|
||||
"validate",
|
||||
]),
|
||||
i = j("");
|
||||
const d = R(() => {
|
||||
var a;
|
||||
return ((a = r()) == null ? void 0 : a.length) ?? 0;
|
||||
});
|
||||
E(T);
|
||||
function T() {
|
||||
return e.min !== void 0 && o(d) < e.min
|
||||
? (w(i, e.min === 1 ? Z() : te({ min: e.min }), !0), !1)
|
||||
: e.max !== void 0 && o(d) > e.max
|
||||
? (w(i, ne({ max: e.max }), !0), !1)
|
||||
: !0;
|
||||
}
|
||||
k(() => {
|
||||
var a;
|
||||
e.max !== void 0 &&
|
||||
o(d) > e.max &&
|
||||
r((a = r()) == null ? void 0 : a.substring(0, e.max));
|
||||
});
|
||||
var f = ce(),
|
||||
y = c(f);
|
||||
{
|
||||
var L = (a) => {
|
||||
var n = se(),
|
||||
m = c(n, !0);
|
||||
l(n), v(() => h(m, e.label)), b(a, n);
|
||||
};
|
||||
q(y, (a) => {
|
||||
e.label && a(L);
|
||||
});
|
||||
}
|
||||
var u = x(y, 2);
|
||||
C(u),
|
||||
z(
|
||||
u,
|
||||
(a) => ({
|
||||
...I,
|
||||
class: `textarea w-full ${e.class ?? ""}`,
|
||||
placeholder: e.placeholder,
|
||||
[B]: a,
|
||||
}),
|
||||
[() => ({ "textarea-error": !!o(i) })]
|
||||
);
|
||||
var p = x(u, 2),
|
||||
_ = c(p),
|
||||
M = c(_, !0);
|
||||
l(_);
|
||||
var D = x(_, 2);
|
||||
{
|
||||
var A = (a) => {
|
||||
var n = oe(),
|
||||
m = c(n, !0);
|
||||
l(n), v(() => h(m, e.max - o(d))), b(a, n);
|
||||
};
|
||||
q(D, (a) => {
|
||||
e.max !== void 0 && a(A);
|
||||
});
|
||||
}
|
||||
l(p), l(f), v(() => h(M, o(i))), F(u, r), b(t, f), N();
|
||||
}
|
||||
export { ge as L, he as a, be as g, ve as o, xe as s };
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user